/* Ergänzungen zum Original-CSS von hfp.at: Barrierefreiheit, Ersatz für Font Awesome, WordPress */

:root {
  /* Kontrast auf mind. 4.5:1 angehoben (live #878787 / #ADADAD) */
  --tp-text-body: #6e6e6e;
  --tp-grey-1: #767676;
  --hfp-focus: #c71748;
}

body { color: var(--tp-text-body); }
p { color: var(--tp-text-body); }

/* Fokus sichtbar, aber nur bei Tastatur */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--hfp-focus);
  outline-offset: 3px;
}
.headerkarriere :focus-visible,
.black-bg :focus-visible,
.off-canvas-bg :focus-visible,
.tp-footer__area :focus-visible,
.top-footer-copyright :focus-visible,
.tp-slider-text :focus-visible {
  outline-color: #fff;
}

.hfp-skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100000;
  background: var(--tp-common-black);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}
.hfp-skip-link:focus { top: 1rem; color: #fff; }

main:focus { outline: none; }

/* Umschalter als Link wie auf hfp.at (role=button) */
[role="button"] { cursor: pointer; }


/* Untermenü auch per Tastatur */
.main-menu ul li.has-dropdown:focus-within > .submenu,
.main-menu ul li.has-dropdown.is-open > .submenu {
  top: 100%;
  visibility: visible;
  opacity: 1;
}
.main-menu ul li a[aria-current="page"] { color: var(--tp-common-black); }

/* Offcanvas als Dialog */
.offcanvas__area[hidden] { display: block !important; visibility: hidden; }
.offcanvas__area.opened { visibility: visible; }
.offcanvas__close-btn a { color: #fff; }
.offcanvas__close-btn .hfp-ico { width: 22px; height: 22px; stroke-width: 2.6; vertical-align: -3px; }
.offcanvas-ct-info .tp-footer__widget-title { color: #fff; }
.offcanvas-ct-info a { color: #fff; }
.offcanva-btn .hfp-portal-link,
.offcanva-btn .hfp-portal-link:hover,
.offcanva-btn .hfp-portal-link:focus-visible { color: #fff; }
body.hfp-noscroll { overflow: hidden; }

/* Mobiles Menü (Optik meanmenu) */
.tp-mobile-menu .mean-nav ul { list-style: none; margin: 0; padding: 0; }
.tp-mobile-menu .mean-nav li { position: relative; }
.tp-mobile-menu .mean-nav li > a,
.tp-mobile-menu .mean-nav li > .hfp-mnav-label {
  display: block;
  width: 100%;
  padding: 10px 40px 10px 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: uppercase;
}
.tp-mobile-menu .mean-nav > ul > li:first-child > a,
.tp-mobile-menu .mean-nav > ul > li:first-child > .hfp-mnav-label { border-top: 0; }
.tp-mobile-menu .mean-nav .sub-menu li > a { padding-left: 22px; }
.tp-mobile-menu .mean-expand {
  position: absolute;
  right: 0;
  top: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
}
.tp-mobile-menu .mean-expand:hover,
.tp-mobile-menu .mean-expand[aria-expanded="true"] { border-color: rgba(255, 255, 255, 0.6) !important; }
.tp-mobile-menu .mean-expand span { display: inline-block; transition: transform 0.2s; }
.tp-mobile-menu .mean-expand[aria-expanded="true"] span { transform: rotate(45deg); }

/* Kreisbutton: Fokus am Kreis zeigen */
.tp-theme-btn-link:focus-visible { outline: none; }
.tp-theme-btn-link:focus-visible .tp-theme-btn { outline: 2px solid var(--hfp-focus); outline-offset: 4px; }

/* Nach oben: Pfeil wie fa-long-arrow-up, ohne Font Awesome */
.progress-wrap::after {
  content: "" !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Cpath d='M23 14v18M17.5 19.5L23 14l5.5 5.5' fill='none' stroke='%232c3941' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 46px 46px no-repeat;
}

/* Footer */
.hfp-footer-pattern { background: url('../hfp/img/bg-pattern-grey.jpg') repeat 0 0; }
.tp-footer__area address { margin: 0; font-style: normal; line-height: inherit; }
.tp-footer__area .menu-item a { color: #fff; }

/* Seitenkopf: h1 behält die Optik des früheren h3 */
.breadcrumb__title { margin-bottom: 8px; }
.breadcrumb__list a { color: inherit; }

/* Cookie/Einwilligung */
#elc-cookie-consent {
  position: fixed;
  bottom: 1em;
  right: 1em;
  padding: 2em;
  background: #fff;
  font-size: 14px;
  width: 36em;
  max-width: calc(100% - 2em);
  max-height: calc(100% - 2em);
  overflow: auto;
  border-radius: 0.3em;
  z-index: 10000;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}
#elc-cookie-consent[hidden], #elc-cookie-tab[hidden] { display: none; }
#elc-cookie-consent .elc-primary-heading { font-weight: 700; font-size: 20px; margin: 0 0 10px; color: #171717; }
#elc-cookie-consent .elc-header-description { font-size: 14px; line-height: 1.6; }
#elc-cookie-consent .elc-header-description a { color: var(--tp-common-black); text-decoration: underline; }
#elc-cookie-consent .button-container { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 15px; }
#elc-cookie-consent .elc-button-link {
  background: #c71748;
  border: 1px solid #c71748;
  color: #fff;
  padding: 8px 14px;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
}
#elc-cookie-consent .elc-button-link.elc-secondary { background: #fff !important; color: #c71748; }
#elc-cookie-tab {
  position: fixed;
  bottom: 0;
  right: 0;
  background: #c71748;
  z-index: 9999;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}
#elc-cookie-tab button {
  background: none;
  border: 0;
  color: #fff;
  padding: 0.3em 1em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Platzhalter für externe Medien (früher .no-consent-given) */
.no-consent-given {
  background-color: #c71748;
  min-height: 500px;
  padding: 40px 20px;
}
.no-consent-given p { color: #fff; }
.no-consent-given .hfp-consent-title { color: #fff; font-size: 20px; margin-bottom: 8px; }
.btn-black {
  margin-top: 20px;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  background: transparent;
  border: 2px solid #000;
  padding: 15px 30px;
  color: #000;
  min-width: 200px;
}
.no-consent-given .btn-black { color: #fff; border-color: #fff; }
.no-consent-given .btn-black:hover { background: #000; border-color: #000; }
.hfp-embed { position: relative; padding-top: 56.25%; }
.hfp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Formulare */
.hfp-form .hfp-field { margin-bottom: 20px; }
.hfp-form label { display: block; font-size: 14px; color: #171717; margin-bottom: 6px; }
.hfp-form .hfp-req { color: #c71748; }
.hfp-form input[type="text"], .hfp-form input[type="email"], .hfp-form input[type="tel"],
.hfp-form textarea, .hfp-form select { width: 100%; }
.hfp-form [aria-invalid="true"] { border-color: #c71748 !important; }
.hfp-form .hfp-error { color: #a3123a; font-size: 14px; margin-top: 4px; }
.hfp-form .hfp-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hfp-form-notice { padding: 15px 20px; margin-bottom: 25px; border-left: 4px solid; }
.hfp-form-notice.is-success { border-color: #1e7e34; background: #eef8f0; color: #155724; }
.hfp-form-notice.is-error { border-color: #c71748; background: #fdf0f3; color: #8a0f30; }
.hfp-form .form-check { display: flex; gap: 10px; align-items: flex-start; }
.hfp-form .form-check-input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; }
.hfp-form .form-check-input:checked { background-color: #c71748; border-color: #c71748; }

/* Bilder aus der Mediathek */
img { max-width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Kacheln: ganze Kachel klickbar, Titel ist der Link */
.tp-service { position: relative; }
.tp-service .tp-service__title a::after { content: ""; position: absolute; inset: 0; }
.tp-service .tp-service__title a:focus-visible { outline: none; }
.tp-service:focus-within { outline: 2px solid var(--hfp-focus); outline-offset: 2px; }

.hfp-bg-red { background-color: #c71748; }
.tp-section-subtitle { margin-top: 0; }

/* Slider-Steuerung */
.hfp-slider-nav {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hfp-slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.hfp-slider-btn:hover { background: #c71748; border-color: #c71748; }
[data-hfp-slide][hidden] { display: none !important; }

/* Linkliste */
.style-list li a { color: inherit; }
.style-list li a:hover { color: var(--tp-common-black); }

/* Font-Awesome-Glyphen aus dem Original-CSS als SVG-Maske */
.main-menu ul li.has-dropdown > a::after,
.normal-menu ul li.has-dropdown > a::after,
.wd-hide-border ul li::before {
  content: "" !important;
  width: 0.62em;
  height: 1em;
  vertical-align: -0.1em;
  background-color: currentColor;
  -webkit-mask: var(--hfp-angle) center / contain no-repeat;
  mask: var(--hfp-angle) center / contain no-repeat;
  --hfp-angle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M1 5.5l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
}
.wd-hide-border ul li::before {
  width: 5px;
  --hfp-angle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M3.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
  display: inline-block;
}
.hfp-ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; }

/* Social-Logos im Copyright-Balken */
.tp-footer-social-icon .hfp-social { list-style: none; margin: 0; padding: 0; display: inline-flex; align-items: center; gap: 14px; }
.tp-footer-social-icon .hfp-social li { line-height: 0; margin: 0 !important; display: block; }
.tp-footer-social-icon .hfp-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tp-footer-social-icon .hfp-social li a:hover,
.tp-footer-social-icon .hfp-social li a:focus-visible { opacity: 0.75; transform: translateY(-2px); color: #fff; }
.tp-footer-social-icon .hfp-social li a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tp-footer-social-icon .hfp-social .hfp-brand { width: 22px; height: 22px; display: block; }
.top-footer-copyright .tp-footer-social-icon { line-height: 1; }
@media (max-width: 767px) {
  .top-footer-copyright .tp-copyrigh-text { margin-bottom: 12px; }
  .top-footer-copyright .tp-footer-social-icon { text-align: left; margin-bottom: 26px; }
  .tp-footer-social-icon .hfp-social { margin-left: -5px; }
}

/* Turnstile: nur sichtbar, wenn Cloudflare eine Rückfrage braucht */
.hfp-turnstile { margin: 0 0 20px; }
.hfp-turnstile:empty { margin: 0; }

/* Datei-Upload im Stil der übrigen Felder */
.hfp-upload { position: relative; }
.hfp-upload__input {
  position: absolute;
  inset: 0 0 auto 0;
  height: 76px;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.hfp-form .hfp-upload__box {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 14px 20px;
  margin: 0;
  background: #f5f5f3;
  border: 1px dashed #cfcfcf;
  color: #171717;
  transition: border-color 0.2s, background-color 0.2s;
}
.hfp-upload__icon { width: 22px; height: 22px; flex: 0 0 22px; color: var(--tp-common-black); }
.hfp-upload__text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.hfp-form .hfp-upload__text span { margin: 0; display: block; }
.hfp-upload__name { font-size: 15px; color: #171717; }
.hfp-upload__sub { font-size: 13px; color: var(--tp-text-body); }
.hfp-upload__btn {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 1px solid rgba(135, 135, 135, 0.35);
  background: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tp-common-black);
  transition: background-color 0.2s, color 0.2s;
}
.hfp-upload:hover .hfp-upload__box,
.hfp-upload.is-drag .hfp-upload__box { border-color: var(--tp-common-black); background: #fdf3f6; }
.hfp-upload:hover .hfp-upload__btn,
.hfp-upload.is-drag .hfp-upload__btn { background: var(--tp-common-black); color: #fff; border-color: var(--tp-common-black); }
.hfp-upload__input:focus-visible + .hfp-upload__box { outline: 2px solid var(--hfp-focus); outline-offset: 3px; }
.hfp-upload.has-files .hfp-upload__box { border-style: solid; border-color: #b9b9b9; }
.hfp-upload.is-invalid .hfp-upload__box { border: 1px solid #c71748; }
.hfp-upload__files { list-style: none; margin: 8px 0 0; padding: 0; }
.hfp-upload__files li { font-size: 14px; color: #171717; padding: 3px 0 3px 22px; position: relative; word-break: break-word; }
.hfp-upload__files li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 9px; height: 5px; border-left: 1.5px solid #1e7e34; border-bottom: 1.5px solid #1e7e34; transform: rotate(-45deg); }
.hfp-upload__files li.is-error { color: #a3123a; }
.hfp-upload__files li.is-error::before { border-color: #a3123a; }
.hfp-upload__hint { font-size: 13px; color: var(--tp-text-body); margin: 6px 0 0; }
@media (max-width: 575px) {
  .hfp-upload__btn { display: none; }
}

.hfp-form .hfp-form-hint { font-size: 13px; line-height: 1.6; margin: 5px 0 25px; color: var(--tp-text-body); }
.hfp-form .hfp-form-hint a { color: var(--tp-common-black); text-decoration: underline; }
.hfp-form .ff-fieldtype-file { margin-bottom: 22px; }

/* Formular steckt schon in einem tp-contact-form der Vorlage: inneren Rahmen nicht doppelt zeichnen */
.tp-contact-form .hfp-form-wrap.tp-contact-form { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.tp-contact-form .hfp-form-wrap.tp-contact-form::before,
.tp-contact-form .hfp-form-wrap.tp-contact-form::after { display: none; }
.hfp-form .hfp-upload__name .hfp-upload__opt { display: inline; font-size: 13px; color: var(--tp-text-body); }

/* PDF-Ansicht im Modal */
.hfp-pdf {
  position: fixed;
  inset: 0;
  margin: auto !important;
  width: min(1100px, 94vw);
  height: 92vh;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-bottom: 5px solid var(--tp-common-black);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.hfp-pdf[open] { display: flex; flex-direction: column; }
.hfp-pdf::backdrop { background: rgba(23, 23, 23, 0.72); }
.hfp-pdf__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid #eee;
  flex: 0 0 auto;
}
.hfp-pdf__title {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hfp-pdf__actions { display: flex; align-items: center; gap: 10px; }
.hfp-pdf__btn {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(135, 135, 135, 0.35);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tp-common-black);
  transition: background-color 0.2s, color 0.2s;
}
.hfp-pdf__btn:hover { background: var(--tp-common-black); border-color: var(--tp-common-black); color: #fff; }
.hfp-pdf__close { background: none; border: 0; padding: 8px; color: #171717; cursor: pointer; line-height: 0; }
.hfp-pdf__close:hover { color: var(--tp-common-black); }
.hfp-pdf__frame { flex: 1; width: 100%; border: 0; background: #525659; }

/* Text-Bild: mehrere Absätze mit durchgehender Linie, wie ein Absatz mit Leerzeile */
.tp-ab-info p:has(+ p) { margin-bottom: 0; padding-bottom: 1lh; }

/* Mobil: nichts darf seitlich überstehen, sonst zoomt der Browser heraus */
html, body { overflow-x: clip; }
body { overflow-wrap: break-word; }
@media (max-width: 767px) {
  main :is(h1, h2, h3, h4) { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
}

/* Mobil: eine Schriftskala statt der vielen Einzelgrößen der Vorlage.
   Mit vw, damit es auch bei vergrößerter Systemschrift passt. */
@media (max-width: 767px) {
  .breadcrumb__title { font-size: clamp(26px, 7.8vw, 34px); line-height: 1.2; }
  .tp-section-title-large { font-size: clamp(21px, 6.2vw, 26px); line-height: 1.3; }
  .tp-section-title,
  .tp-title-size,
  .tp-ab-title,
  .tp-pt-size,
  .tp-sv__title,
  .tp-portfolio-title,
  .tp-slider-title,
  .team-ct-heading-text { font-size: clamp(22px, 6.6vw, 28px); line-height: 1.25; }
  .tp-sv__subtitle { font-size: clamp(19px, 5.4vw, 22px); }
  .tp-portfolio-title { margin-bottom: 20px; }

  /* Kontakt-Kreis: kleiner und mittig statt links am Rand */
  .tp-cta-wrapper { padding-top: 50px; padding-bottom: 60px; }
  .tp-cta-wrapper .row > [class*=col-lg-4] { justify-content: center !important; margin-top: 30px; }
  .tp-theme-btn { width: 210px; height: 210px; }
  .tp-theme-btn b { font-size: 20px; line-height: 28px; padding: 10px 0; }
}
@media (max-width: 767px) {
  /* Formular-Karten: Felder nicht bis an den Kartenrand */
  .tp-contact-form.white-bg { padding: 36px 20px !important; }
}
@media (max-width: 767px) {
  /* Abstände der Vorlage sind für Desktop gedacht und am Handy viel zu luftig */
  .pt-100, .pt-105, .pt-110, .pt-120, .pt-130, .pt-135, .pt-140, .pt-150 { padding-top: 64px; }
  .pb-100, .pb-105, .pb-110, .pb-120, .pb-130, .pb-135, .pb-140, .pb-150 { padding-bottom: 64px; }
  .pt-80, .pt-90, .pt-95 { padding-top: 52px; }
  .pb-80, .pb-90, .pb-95 { padding-bottom: 52px; }
  .mt-70 { margin-top: 44px; }
  .mb-70 { margin-bottom: 44px; }
  .mb-140 { margin-bottom: 70px; }

  /* News-Liste: Beiträge mit Trennlinie statt großer Lücken */
  .postbox__item.format-image { margin-bottom: 0; border-bottom: 1px solid #ececec; }
  .postbox__item.format-image .postbox__content { padding-top: 28px; padding-bottom: 32px; }
  .postbox__item.format-image .postbox__meta { margin-bottom: 12px; }
}
@media (max-width: 767px) {
  main :is(h2, h3, h4) { line-height: 1.3; }
}
@media (max-width: 767px) {
  /* Einzüge der Desktop-Spalten am Handy weg, damit Text die volle Breite nutzt */
  .about-details-info.pr-65, .tp-ab-info.pr-40 { padding-right: 0; }
  .tp-cta-2-left, .tp-cta-2-right { padding-left: 20px; padding-right: 20px; }
  .tp-contact-form-2.mr-60 { margin-right: 0; }
  .tp-ct-info.pl-50 { padding-left: 24px; padding-right: 24px; }
  .tp-ct-info:has(> .tp-ct-info-icons:only-child:empty) { display: none; }
  .tp-service.pt-60 { padding-top: 32px; }
  .tp-service .tp-service__title.pt-40 { padding-top: 0; }
}
@media (max-width: 767px) {
  /* Benefits: kurze Kacheln zu zweit nebeneinander */
  .hfp-benefits-teaser { padding-top: 56px; }
  .hfp-benefit-col { width: 50%; }
  .hfp-benefit-col .tp-service { padding: 24px 8px 20px; margin-bottom: 16px; height: calc(100% - 16px); }
  .hfp-benefit-col .tp-service__title { padding: 12px 0 0; font-size: 16px; hyphens: auto; }
  .hfp-benefit-col .tp-service p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
  .hfp-benefit-col .tp-service__icon i { font-size: 40px; }
}
hr.hfp-rule { border: 0; border-top: 1px solid currentColor; opacity: .35; margin: 1.6em 0; }
@media (max-width: 767px) {
  .postbox__title { font-size: clamp(20px, 5.8vw, 24px); line-height: 1.3; }
}
span.hfp-rule { display: block; border-top: 1px solid currentColor; opacity: .35; margin: 1em 0; }
@media (max-width: 767px) {
  .tp-section-title-sm, .t-box-title { font-size: clamp(22px, 6.6vw, 28px); line-height: 1.25; }
}
/* Nach oben: weißer Grund, damit der Button nicht durchsichtig über Text liegt */
.progress-wrap { background: #fff; box-shadow: inset 0 0 0 2px rgba(23, 23, 23, 0.12), 0 2px 10px rgba(0, 0, 0, 0.12); }
@media (max-width: 767px) {
  .progress-wrap { right: 12px; bottom: 12px; }
}
/* Sprachwahl im Menü: aktive Sprache klar erkennbar */
.offcanvas__area .langSwitcher .tp-btn-border { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.offcanvas__area .langSwitcher .tp-btn-border.acitve,
.offcanvas__area .langSwitcher .tp-btn-border:hover { background: #fff; color: var(--tp-common-black); border-color: #fff; }

@media (max-width: 575px) {
  /* Cookie-Hinweis: Buttons volle Breite untereinander */
  #elc-cookie-consent { left: 12px; right: 12px; bottom: 12px; width: auto !important; max-width: none; padding: 20px; }
  #elc-cookie-consent .button-container { flex-direction: column; }
  #elc-cookie-consent .elc-button-link { width: 100% !important; text-align: center; }
}
/* Lange Wörter in Kacheltiteln (z. B. „Berechnungsprogramm“) liefen aus der Kachel */
.tp-service__title { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 6 6; }
/* Kopfzeile 1200–1399px: Klientenportal und Sprachen in einer Zeile statt gestapelt */
.header__main_right .langSwitcher { display: flex; gap: 6px; }
.header__main_right .tp-btn-border-kl { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) {
  .header__main_right .offcanvas-toggle-btn.tp-btn-border-kl { padding: 10px 12px !important; letter-spacing: 0.12em; }
  .header__main_right .spracheinstellung { margin-left: 6px; }
}
@media (max-width: 991px) {
  .tp-cta-wrapper { padding-top: 50px; padding-bottom: 60px; }
}
