/* ==========================================================================
   Naturheilpraxis Kirchenbauer – Gold/Weiß Theme-Override
   Überschreibt das türkisfarbene Standard-Theme mit Rebeccas Marken-Gold.
   Wird NACH style.css geladen und lässt das Template unverändert.
   Marken-Gold: #b9994c (aus der bestehenden Seite ausgelesen)
   ========================================================================== */

:root {
  /* Kernfarben: Türkis -> Gold */
  --bs-primary: #b9994c;
  --bs-primary-rgb: 185, 153, 76;
  --bs-secondary: #c9ad6b;
  --bs-secondary-rgb: 201, 173, 107;

  /* Helle Flächen: kühles Mint -> warmes Creme */
  --bs-primary-bg-subtle: #faf7f0;
  --bs-secondary-bg-subtle: #f5eedd;

  /* Hover / Links */
  --bs-link-hover-color: #9c7f3a;
  --bs-link-hover-color-rgb: 156, 127, 58;

  /* Dunkel: kühles Anthrazit -> warmes, edles Anthrazit */
  --bs-dark: #201d17;
  --bs-dark-rgb: 32, 29, 23;

  /* Weichere, warme Schatten in Gold statt Türkis */
  --bs-box-shadow: 0px 1px 2px 1px rgba(185, 153, 76, 0.14);
  --bs-box-shadow-lg: 0px 20px 40px 0px rgba(185, 153, 76, 0.10);

  /* Fließtext etwas wärmer */
  --bs-body-color: #4a463d;
  --bs-body-color-rgb: 74, 70, 61;
}

/* Reinweißer, leicht warmer Seitenhintergrund */
body {
  background-color: #ffffff;
}

/* --- Primär-Buttons: dunkler Text auf Gold (Lesbarkeit + edler Look) --- */
.btn-primary {
  --bs-btn-color: #201d17;
  --bs-btn-hover-color: #201d17;
  --bs-btn-active-color: #201d17;
}

/* Outline-Buttons: etwas dunkleres Gold für bessere Lesbarkeit */
.btn-outline-primary {
  --bs-btn-color: #9c7f3a;
  --bs-btn-border-color: #b9994c;
  --bs-btn-hover-color: #201d17;
}

/* --- Hartkodierte Türkis-Reste -> weiches Gold --- */
.bg_primary_light[class*="shape"] {
  background-color: #ece0c4;
}
.office_hour_list ul > li:not(:last-child) {
  border-bottom-color: #e7dcc3;
}
.hero_image_wrap:after {
  background-color: #ece0c4;
}
/* Deko-Blatt links im Hero etwas tiefer setzen (Wunsch) */
.hero_section .shape_leaf {
  top: 300px;
}

/* --- Footer: helles Warmweiß mit Gold-Akzenten (Wunsch Rebecca: weiß-gold statt schwarz) --- */
.site_footer.bg_primary {
  background-color: #faf8f3;
  border-top: 3px solid #b9994c;
}
/* Footer-Texte & Links dunkel für Lesbarkeit auf hellem Grund */
.site_footer .info_list .info_text,
.site_footer .copyright_text {
  color: #201d17;
}
.site_footer .info_list a:hover .info_text,
.site_footer .copyright_text a {
  color: #9c7f3a;
}
.site_footer .info_list .info_icon,
.site_footer .social_links a {
  color: #b9994c;
}
.site_footer .social_links a:hover {
  color: #9c7f3a;
}

/* Kleine Politur: Sektionsüberschrift-Mark klar in Gold */
mark {
  color: var(--bs-primary);
  font-weight: 700;
}

/* --- Dropdown-Menüs: türkiser Rand & Schatten -> Gold --- */
.dropdown-menu {
  border-color: rgba(185, 153, 76, 0.35);
  -webkit-box-shadow: 0 5px 20px 0 rgba(185, 153, 76, 0.14);
          box-shadow: 0 5px 20px 0 rgba(185, 153, 76, 0.14);
}
.main_menu_list .dropdown-menu:before {
  background-color: transparent;
}

/* --- Header-Menü: 6 Punkte kompakter, damit nichts umbricht --- */
.main_menu_list > li:not(:last-child) {
  margin-right: 2px;
}
.main_menu_list > li > a {
  padding: 8px 9px;
  font-size: 14px;
}

/* --- Header-CTA: "Termin vereinbaren" statt Telefonnummer --- */
.header_cta_btn.btn {
  --bs-btn-padding-y: 12px;
  --bs-btn-padding-x: 22px;
  font-size: 15px;
}

/* --- Hero Trust-Counter: sauber in einer Reihe, kompakter --- */
.hero_section_counter {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  align-items: stretch;
}
.hero_section_counter > li {
  padding: 0;
  flex: 1 1 0;
}
.hero_section_counter .counter_value {
  font-size: 30px;
  line-height: 1.1;
}
.hero_section_counter hr {
  margin: 10px 0 9px;
}
.hero_section_counter .counter_description {
  font-size: 13px;
  line-height: 19px;
}

/* Elfe-Logo (Rebecca) sauber einpassen – Header & Footer */
.site_header .site_logo img {
  height: clamp(84px, 6.2vw, 100px);
  width: auto;
  flex: 0 0 auto;
}
/* Beim Scrollen (sticky) wieder die kompaktere Ursprungsgroesse */
.site_header.sticky .site_logo img {
  height: clamp(72px, 6vw, 104px);
}
/* Ab genug Bildschirmbreite darf das Logo deutlich groesser werden */
@media screen and (min-width: 1400px) {
  .site_header .site_logo img {
    height: clamp(92px, 6.1vw, 128px);
  }
}
/* Wortlogo neben der Elfe (wie alte Seite): "Naturheilpraxis Kirchenbauer" + Unterzeile */
/* Fluid: skaliert mit der Bildschirmbreite (clamp) */
.site_logo .site_logo_lockup {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.7vw, 12px);
  text-decoration: none;
  max-width: 100%;
}
.site_wordmark {
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
}
/* Logo ist größer -> Kopfzeile neu aufteilen, damit der Schriftzug
   nicht ins Menü läuft (Logo etwas mehr, Menü etwas weniger Platz). */
@media screen and (min-width: 1200px) {
  .site_header .row { flex-wrap: nowrap; }
  /* Logo & CTA nehmen ihre natürliche Breite, das Menü bekommt den Rest.
     Keine festen Prozente -> das Logo kann wachsen, ohne dass etwas kollidiert. */
  .site_header .row > .col-xl-3:first-child,
  .site_header .row > .col-xl-3:last-child {
    width: auto;
    flex: 0 0 auto;
  }
  .site_header .row > .col-xl-6 {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  /* Etwas engere Menue-Abstaende, damit das groessere Logo Platz hat
     und die Navigation einzeilig bleibt. */
  .main_menu_list {
    flex-wrap: nowrap;
  }
  /* Sicherheitsabstand zwischen letztem Menuepunkt und dem CTA-Button */
  .site_header .row > .col-xl-6 {
    padding-right: 28px;
  }
  .main_menu_list > li:not(:last-child) {
    margin-right: 6px;
  }
  .main_menu_list > li > a {
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 15px;
  }
  /* Dropdown-Pfeil nicht floaten lassen - sonst rutscht er in eine 2. Zeile */
  .main_menu_list .dropdown > a:after {
    float: none;
    display: inline-block;
    vertical-align: middle;
  }
}
.site_wordmark_title {
  font-size: clamp(15px, 1.08vw, 20px);
  font-weight: 700;
  color: #b9994c;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.site_wordmark_sub {
  font-size: clamp(11px, 0.86vw, 14px);
  font-weight: 500;
  color: #cbb06a;
  white-space: nowrap;
}
.site_footer .site_logo img {
  height: 130px;
  width: auto;
}

/* --- Menü: Hauptpunkte Diagnostik/Therapien sind selbst Links.
       Auf Desktop klappt das Submenü beim Hovern auf (kein Klick nötig),
       der Klick führt direkt auf die Übersichtsseite. --- */
@media screen and (min-width: 1200px) {
  .main_menu_list .dropdown:hover > .dropdown-menu,
  .main_menu_list .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: perspective(300px) rotateX(0deg);
            transform: perspective(300px) rotateX(0deg);
  }
}

/* Icon-Kreise der Leistungs-/Pain-Karten: dezenter Creme-Hintergrund + Gold-Icon */
.service_item .item_icon {
  background-color: var(--bs-primary-bg-subtle);
  border: 1px solid #ece0c4;
  transition: var(--bs-transition);
}
.service_item:hover .item_icon {
  background-color: #ffffff;
  border-color: #ffffff;
}
.service_item .item_icon i {
  line-height: 1;
}

/* --- Karten (Pain Points & Leistungen) alle gleich hoch --- */
.service_item {
  height: 100%;
}

/* --- Kontakt-Map: Höhe an die Kontakt-Spalte anpassen (nicht 790px) --- */
.contact_section .gmap_canvas,
.contact_section .gmap_canvas iframe {
  height: 100%;
}
.contact_section .gmap_canvas {
  min-height: 360px;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

/* --- Scroll-Timeline: "So läuft Ihre Behandlung ab" --- */
.timeline_track {
  position: relative;
}
/* Hintergrund-Linie + goldener Fortschrittsbalken */
.timeline_line,
.timeline_progress {
  position: absolute;
  left: 31px;
  width: 3px;
  border-radius: 3px;
  top: 0;
  bottom: 0;
}
.timeline_line {
  background-color: #e7d8b3;
}
.timeline_progress {
  bottom: auto;
  height: 0;
  background-color: var(--bs-primary);
  box-shadow: 0 0 12px rgba(185, 153, 76, 0.55);
  transition: height 0.12s linear;
}
.timeline_item {
  position: relative;
  padding-left: 96px;
  padding-bottom: 34px;
}
.timeline_item:last-child {
  padding-bottom: 0;
}
.timeline_marker {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 100%;
  background-color: #ffffff;
  color: var(--bs-primary);
  border: 2px solid #e7d8b3;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bs-font-heading);
  transition: all 0.35s ease;
}
.timeline_item.is-active .timeline_marker {
  background-color: var(--bs-primary);
  color: #201d17;
  border-color: var(--bs-primary);
  box-shadow: 0 8px 20px 0 rgba(185, 153, 76, 0.40);
  transform: scale(1.06);
}
.timeline_card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--bs-box-shadow);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.timeline_item.is-active .timeline_card {
  box-shadow: var(--bs-box-shadow-lg);
  transform: translateY(-2px);
}
.timeline_card .item_title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline_card p {
  margin-bottom: 0;
}
/* Bild rechts – vertikal mittig zur Timeline (nicht mehr oben angeheftet) */
.timeline_image {
  position: static;
}
.timeline_image img {
  width: 100%;
  border-radius: var(--bs-border-radius);
}
@media (max-width: 991px) {
  .timeline_image {
    position: static;
    margin-bottom: 40px;
  }
}

/* Rechtlicher Hinweis (HWG) im Footer */
.legal_disclaimer {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(32, 29, 23, 0.72);
  max-width: 960px;
  margin: 24px auto 0;
  text-align: center;
}

/* ==========================================================================
   MOBILE-OPTIMIERUNG
   ========================================================================== */

/* Custom-Cursor komplett abgeschaltet (Wunsch Rebecca) – normaler Mauszeiger überall */
.cb-cursor {
  display: none !important;
}
* {
  cursor: auto !important;
}
/* Klickbares weiterhin mit Zeigefinger */
a,
button,
.btn,
.btn-link,
[role="button"],
.mobile_menu_btn,
input[type="submit"],
label[for],
select,
summary {
  cursor: pointer !important;
}
input,
textarea {
  cursor: text !important;
}

@media screen and (max-width: 1199px) {
  /* Schwere Blur-/Deko-Elemente aus -> flüssigeres Scrollen */
  .shape_blur_shadow,
  .hero_section .shape_leaf,
  .decoration_item.shape_leaf_1,
  .decoration_item.shape_leaf_2 {
    display: none !important;
  }

  /* Header-CTA aus der engen Ecke nehmen (liegt jetzt im Menue-Panel) */
  .header_cta_btn {
    display: none !important;
  }

  /* Das Template blendet den Burger erst unter 992px ein - zwischen 992 und
     1199px (iPad quer) gab es dadurch gar keine Navigation. */
  .header_btns_group > li:first-child {
    display: inline-block !important;
  }

  /* Der Menue-Wrapper braucht keine eigene Positionierung mehr,
     das Panel positioniert sich selbst. */
  .main_menu {
    position: static !important;
    top: auto !important;
  }

  /* Wortmarke gehoert auch auf Handy/Tablet neben das Logo.
     Dafuer bekommt die Logo-Spalte den ganzen freien Platz, die
     (leere) Menue-Spalte keinen, und der Burger nur seine Breite. */
  .site_header .site_wordmark.d-none {
    display: flex !important;
  }
  .site_header .row {
    flex-wrap: nowrap;
  }
  .site_header .row > div:first-child {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  .site_header .row > div:nth-child(2) {
    width: 0;
    flex: 0 0 auto;
    padding: 0;
  }
  .site_header .row > div:last-child {
    width: auto;
    flex: 0 0 auto;
  }
  .site_logo .site_logo_lockup {
    min-width: 0;
  }
  .site_wordmark_title,
  .site_wordmark_sub {
    white-space: normal;
  }

  /* Kompakterer Header: auf kleinen Geraeten zaehlt jeder Pixel Hoehe */
  .site_header {
    padding: 12px 0 !important;
  }
  .site_header.sticky {
    padding: 8px 0 !important;
  }
  .site_header .site_logo img,
  .site_header.sticky .site_logo img {
    height: 68px;
  }

  /* Hamburger: grosszuegige Tap-Flaeche, Marken-Gold */
  .mobile_menu_btn {
    width: 48px;
    height: 48px;
    font-size: 19px;
    background-color: var(--bs-primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 16px 0 rgba(185, 153, 76, 0.30);
  }

  /* ------------------------------------------------------------------
     Mobiles Menue als Off-Canvas-Panel (schiebt von rechts herein)
     ------------------------------------------------------------------ */
  .main_menu .main_menu_inner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    width: min(88vw, 380px);
    max-width: 100%;
    display: flex !important;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: -18px 0 44px rgba(32, 29, 23, 0.18);
    transform: translateX(101%);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 calc(24px + env(safe-area-inset-bottom));
    visibility: hidden;
  }
  .cb-nav-open .main_menu .main_menu_inner {
    transform: translateX(0);
    visibility: visible;
  }

  /* Kopfzeile im Panel: Wortmarke + Schliessen-Button */
  .cb_nav_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #f0e8d6;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
  }
  .cb_nav_head_title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .cb_nav_head_title b {
    font-size: 15px;
    font-weight: 700;
    color: #b9994c;
  }
  .cb_nav_head_title span {
    font-size: 11.5px;
    color: #cbb06a;
  }
  .cb_nav_close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid #ece0c4;
    border-radius: 50%;
    background: #faf7f0;
    color: #b9994c;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease;
  }
  .cb_nav_close:hover,
  .cb_nav_close:focus-visible {
    background: var(--bs-primary);
    color: #ffffff;
  }

  /* Abdunkelnder Hintergrund */
  .cb_nav_backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(32, 29, 23, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
  }
  .cb-nav-open .cb_nav_backdrop {
    opacity: 1;
    visibility: visible;
  }
  /* Der Header bildet einen eigenen Stapelkontext - beim geoeffneten Menue
     muss er ueber dem Overlay liegen, damit das Panel nicht abgedunkelt wird. */
  .cb-nav-open .site_header {
    z-index: 1003;
  }
  /* Bei geoeffnetem Menue verschwinden Logo und Burger aus dem Header -
     der Burger sass sonst genau unter dem Schliessen-Kreuz des Panels und
     es sah aus wie zwei Knoepfe uebereinander. Bewusst display:none statt
     nur opacity, damit wirklich nichts stehen bleibt. */
  .cb-nav-open .site_header .site_logo,
  .cb-nav-open .site_header .header_btns_group {
    display: none !important;
  }

  /* Menuepunkte */
  .main_menu_list {
    display: block;
    width: 100%;
    padding: 10px 12px 0 !important;
    margin: 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    border-radius: 0 !important;
  }
  .main_menu_list > li {
    display: block;
    width: 100%;
    margin: 0 !important;
    position: relative;
    border-bottom: 1px solid #f4efe3;
  }
  .main_menu_list > li:last-child,
  .main_menu_list > li.menu_cta_item {
    border-bottom: none;
  }
  .main_menu_list > li > a {
    display: block;
    padding: 17px 52px 17px 14px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-dark);
    border: none;
    border-radius: 12px;
    white-space: normal;
  }
  .main_menu_list > li.active > a {
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
  }
  /* Original-Pfeil des Templates aus - wir nutzen einen eigenen Aufklapp-Button */
  .main_menu_list .dropdown > a:after {
    display: none !important;
  }
  .cb_sub_toggle {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 3;
    width: 52px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #9c7f3a;
    font-size: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.2s ease;
  }
  .cb_sub_toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    color: var(--bs-primary);
  }

  /* Untermenue als sanftes Akkordeon */
  .main_menu_list .dropdown-menu {
    display: block !important;
    position: static !important;
    float: none;
    width: auto;
    margin: 0 6px;
    padding: 0;
    border: none;
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, margin 0.25s ease, padding 0.25s ease;
  }
  .main_menu_list .dropdown.cb-sub-open > .dropdown-menu {
    max-height: 720px;
    margin: 4px 6px 14px;
    padding: 8px 0;
  }
  .main_menu_list .dropdown-menu > li > a {
    display: block;
    padding: 13px 16px 13px 26px;
    font-size: 15.5px;
    font-weight: 500;
    color: #5c5748;
    border-radius: 8px;
  }
  .main_menu_list .dropdown-menu > li > a:hover {
    color: var(--bs-primary);
  }
  /* Die Seite, auf der man gerade ist */
  .main_menu_list .dropdown-menu > li.active > a {
    color: var(--bs-primary);
    font-weight: 700;
  }

  /* "Termin vereinbaren" als voller Button unten im Panel */
  .main_menu_list > li.menu_cta_item {
    margin-top: 26px !important;
    padding: 0 2px;
    border-top: none;
  }
  .menu_cta_item .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Der Button erbt sonst das Menuepunkt-Padding (52px rechts) und sitzt schief */
    padding: 0 22px !important;
    height: 54px;
    font-size: 16px;
    line-height: 1;
    border-radius: 999px !important;
    white-space: nowrap;
  }
  .menu_cta_item .btn .btn_text {
    padding: 0 !important;
  }
  .menu_cta_item .btn .btn_icon {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    font-size: 13px;
  }
  /* Der Roll-Hover des Templates zeigt den Text sonst doppelt (kein Hover auf Touch) */
  .menu_cta_item .btn .btn_text:before {
    display: none;
  }

  /* Groessere Tippflaeche fuer Textlinks ("Mehr erfahren" & Co.) auf Touch-Geraeten */
  .btn-link {
    padding: 9px 0 !important;
  }

  /* Formularfelder mindestens 16px - sonst zoomt iOS Safari beim Antippen
     automatisch in die Seite hinein. */
  input,
  select,
  textarea,
  .form_item input,
  .form_item textarea {
    font-size: 16px !important;
  }

  /* "Nach oben" als vollwertige Tippflaeche */
  .backtotop .scroll {
    width: 48px;
    height: 48px;
  }

  /* Seite nicht mitscrollen, solange das Menue offen ist */
  .cb-nav-open body {
    overflow: hidden;
  }
}

/* Die Bausteine des mobilen Menues (Panel-Kopf, Aufklapp-Pfeile, Overlay)
   werden per JS immer eingefuegt - auf dem Desktop bleiben sie unsichtbar. */
@media screen and (min-width: 1200px) {
  .cb_nav_head,
  .cb_sub_toggle,
  .cb_nav_backdrop {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .site_header .site_logo img,
  .site_header.sticky .site_logo img {
    height: 56px;
  }

  /* Etwas kompaktere Abschnitte - die Startseite ist auf dem Handy sonst sehr lang */
  .section_space_lg {
    padding-top: 56px !important;
    padding-bottom: 60px !important;
  }
  .service_item {
    padding: 28px 24px 24px !important;
  }
  .service_item .item_icon {
    width: 68px !important;
    height: 68px !important;
    margin-bottom: 20px !important;
  }
  .service_item .item_icon i {
    font-size: 26px !important;
  }

  /* Abschnitts-Ueberschriften eine Spur kleiner - sonst vier Zeilen Titel */
  .section_heading .section_heading_text {
    font-size: 26px;
    line-height: 34px;
  }

  /* Wortmarke skaliert mit der Bildschirmbreite, damit sie neben Logo und
     Burger immer einzeilig bleibt (gemessen: die beiden belegen ~145px). */
  .site_wordmark {
    flex: 1 1 auto;
    min-width: 0;
  }
  .site_wordmark_title {
    font-size: clamp(9.5px, 3.1vw, 15px);
    line-height: 1.25;
    white-space: nowrap;
  }
  .site_wordmark_sub {
    font-size: clamp(8px, 2.45vw, 12px);
    line-height: 1.3;
    white-space: nowrap;
  }

  /* Aufzaehlungspunkte der Footer-Links rutschen beim Umbruch an den
     Zeilenrand - auf dem Handy sieht die Liste ohne sie sauberer aus. */
  .site_footer .info_list .info_icon {
    display: none;
  }
  .site_footer .info_list > li {
    margin: 2px 10px;
  }
}

/* Deutsche Woerter nicht mitten im Wort trennen (Template nutzt break-all),
   lange Mailadressen/URLs duerfen weiterhin umbrechen. */
.contact_info_list > li,
.contact_info_box {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Sehr schmale Handys: Logo etwas kleiner, damit die Wortmarke Platz hat */
@media screen and (max-width: 400px) {
  .site_header .site_logo img,
  .site_header.sticky .site_logo img {
    height: 48px;
  }
}

/* ==========================================================================
   UNTERSEITEN – Detail-, Preis-, CTA- und Rechtstext-Bausteine
   ========================================================================== */
.content_subheading {
  font-size: 22px;
  font-weight: 700;
  color: #1e1c18;
  margin: 30px 0 14px;
}
.page_content p { line-height: 1.7; }

/* HWG-Hinweisbox */
.hinweis_box {
  background-color: #faf6ec;
  border: 1px solid #ece0c4;
  border-left: 4px solid var(--bs-primary);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b6559;
  margin-top: 26px;
}
.hinweis_box i { color: var(--bs-primary); margin-right: 6px; }

/* CTA-Band unten auf Unterseiten */
.cta_band { padding: 0 0 100px; }
.cta_inner {
  background: linear-gradient(135deg, #faf8f3 0%, #f2e9d5 100%);
  border: 1px solid #ece0c4;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}
.cta_title { font-size: 28px; font-weight: 700; color: #1e1c18; margin-bottom: 10px; }
.cta_sub { color: #6b6559; margin-bottom: 26px; }

/* Preis-Karten */
.price_card {
  background: #ffffff;
  border: 1px solid #ece0c4;
  border-radius: 20px;
  padding: 34px 26px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px rgba(185,153,76,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.price_card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(185,153,76,0.16); }
.price_card--featured { border-color: var(--bs-primary); box-shadow: 0 16px 40px rgba(185,153,76,0.18); }
.price_name { font-size: 18px; font-weight: 600; color: #6b6559; margin-bottom: 12px; }
.price_value { font-size: 42px; font-weight: 800; color: var(--bs-primary); line-height: 1; }
.price_value span { font-size: 18px; font-weight: 600; color: #9c7f3a; }
.price_note { font-size: 14px; color: #6b6559; margin: 14px 0 0; line-height: 1.5; }

/* Rechtstexte (Impressum/Datenschutz) */
.legal_prose h2 { font-size: 20px; font-weight: 700; color: #1e1c18; margin: 30px 0 8px; }
.legal_prose h2:first-child { margin-top: 0; }
.legal_prose p { color: #4a453d; margin-bottom: 0; }
.legal_prose a { color: #9c7f3a; }
.legal_prose ul { color: #4a453d; margin: 6px 0 0; padding-left: 20px; list-style: disc; }
.legal_prose ul li { margin-bottom: 2px; }
.legal_prose ul.bild_quellen li { word-break: break-word; }

/* Service-Karte mit Bild oben (Übersichtsseiten) */
.service_item.has_image { padding: 0; overflow: hidden; }
.service_item.has_image .item_contact { padding: 24px 26px 28px; }

/* Detailseiten-Bild soll nicht zu hoch werden */
.image_widget img { width: 100%; }

/* ==========================================================================
   KONTAKT – Infoliste einheitlich, Download-Buttons, Kontaktformular
   ========================================================================== */
/* Alle Kontaktangaben einheitlich dunkel (auch die Link-Werte), Hover Gold */
.contact_info_list .item_info,
.contact_info_list .item_info a { color: #201d17; }
.contact_info_list .item_info a:hover { color: #b9994c; }
/* Mehr Luft zwischen den Einträgen + mehr Zeilenabstand (v. a. Adresse) */
.contact_info_list > li { margin-bottom: 26px; }
.contact_info_list > li:last-child { margin-bottom: 0; }
.contact_info_list .item_info { line-height: 1.8; }

/* Download-Buttons Anamnesebogen */
.download_group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.download_hint { list-style: none; padding: 0; margin: 0; font-size: 14px; color: #6b6559; }
.download_hint li { margin-bottom: 4px; }

/* Google-Bewertungen (Kontakt & Anfahrt) */
.review_note {
  padding: 30px 32px;
  border: 1px solid rgba(185, 153, 76, 0.28);
  border-radius: var(--bs-border-radius);
  background-color: #faf8f3;
}
.review_note_head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.review_note_head .content_subheading { margin: 0; }
.review_stars { display: inline-flex; gap: 3px; color: var(--bs-primary); font-size: 17px; line-height: 1; }
.review_note p { color: #4a453d; margin-bottom: 18px; }
.review_note .download_group { margin-bottom: 0; }
@media (max-width: 575px) { .review_note { padding: 24px 20px; } }

/* Kontaktformular */
.contact_form_wrap {
  background: #faf8f3;
  border: 1px solid #ece0c4;
  border-radius: 24px;
  padding: 44px 40px;
}
.contact_form .form_group { margin-bottom: 20px; }
.contact_form label { display: block; font-size: 14px; font-weight: 600; color: #201d17; margin-bottom: 7px; }
.contact_form input,
.contact_form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e3d8bf;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: #201d17;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact_form input::placeholder,
.contact_form textarea::placeholder { color: #a99f8c; }
.contact_form input:focus,
.contact_form textarea:focus {
  outline: none;
  border-color: #b9994c;
  box-shadow: 0 0 0 3px rgba(185,153,76,0.15);
}
.contact_form textarea { resize: vertical; min-height: 130px; }
.form_check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #4a453d; line-height: 1.55; cursor: pointer; }
.form_check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #b9994c; }
.form_check a { color: #9c7f3a; }
@media (max-width: 575px) { .contact_form_wrap { padding: 30px 22px; } }

/* ==========================================================================
   ANAMNESE-FUNNEL (mehrstufiges Online-Formular)
   ========================================================================== */
.funnel_card {
  background: #ffffff;
  border: 1px solid #ece0c4;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 44px rgba(185,153,76,0.10);
}
.funnel_progress { height: 8px; background: #f0e7d3; border-radius: 8px; overflow: hidden; }
.funnel_progress_bar { height: 100%; width: 14%; background: linear-gradient(90deg,#cbb06a,#b9994c); border-radius: 8px; transition: width .35s ease; }
.funnel_stepmeta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: #9c7f3a; margin: 10px 2px 26px; }
.funnel_step_title { font-size: 24px; font-weight: 700; color: #1e1c18; margin-bottom: 22px; }
.funnel_step .form_group { margin-bottom: 20px; }
.funnel_step label { display: block; font-size: 14px; font-weight: 600; color: #201d17; margin-bottom: 7px; }
.funnel_hint { font-size: 13px; color: #6b6559; margin: -3px 0 8px; font-weight: 400; }
.funnel_step input[type="text"],
.funnel_step textarea {
  width: 100%; background: #fff; border: 1px solid #e3d8bf; border-radius: 12px;
  padding: 12px 15px; font-size: 15px; color: #201d17; transition: border-color .2s, box-shadow .2s;
}
.funnel_step input[type="text"]:focus,
.funnel_step textarea:focus { outline: none; border-color: #b9994c; box-shadow: 0 0 0 3px rgba(185,153,76,0.15); }
.funnel_step textarea { resize: vertical; min-height: 100px; }
.funnel_step .field_error { border-color: #cc5b4a !important; box-shadow: 0 0 0 3px rgba(204,91,74,0.12) !important; }
.funnel_checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.funnel_chk { display: inline-flex; align-items: center; gap: 8px; font-weight: 500 !important; margin: 0 !important; cursor: pointer; }
.funnel_chk input { width: 18px; height: 18px; accent-color: #b9994c; }
.funnel_note { background: #faf6ec; border: 1px solid #ece0c4; border-radius: 12px; padding: 16px 18px; font-size: 14px; line-height: 1.6; color: #4a453d; margin-bottom: 20px; }
.form_check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 14px; color: #4a453d; line-height: 1.55; cursor: pointer; }
.form_check input { width: 19px; height: 19px; margin-top: 2px; flex: 0 0 auto; accent-color: #b9994c; }
.funnel_nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.funnel_done { text-align: center; padding: 20px 10px; }
.funnel_done_icon { font-size: 60px; color: #b9994c; margin-bottom: 12px; }
.funnel_done h2 { font-size: 26px; font-weight: 700; color: #1e1c18; margin-bottom: 10px; }
.funnel_done p { color: #4a453d; max-width: 560px; margin: 0 auto 22px; line-height: 1.6; }
.funnel_done #doneActions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 575px) { .funnel_card { padding: 26px 20px; } }

/* ------------------------------------------------------------------
   Abstand unter dem fixierten Header
   Das Template arbeitet mit festen Werten (118/90/68/62px), die vom
   kleinen Original-Logo stammen. Mit dem größeren Elfen-Logo ist der
   Header deutlich höher -> Seitenbanner und Hero rutschten darunter.
   --cb-header-h wird von custom-nav.js live gemessen; die Werte hier
   sind der Fallback, bis das Skript läuft.
   ------------------------------------------------------------------ */
:root { --cb-header-h: calc(clamp(72px, 6vw, 104px) + 80px); }
@media screen and (max-width: 1440px) { :root { --cb-header-h: calc(clamp(72px, 6vw, 104px) + 52px); } }
@media screen and (max-width: 1199px) { :root { --cb-header-h: calc(clamp(72px, 6vw, 104px) + 30px); } }

.site_header + main > .page_banner { margin-top: var(--cb-header-h); }
.hero_section { padding-top: calc(var(--cb-header-h) + 40px); }

/* ==========================================================================
   Google-Maps-Karte erst auf Klick laden (DSGVO: keine Übertragung der
   IP-Adresse an Google ohne Einwilligung)
   ========================================================================== */
.map_consent {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 460px;
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--bs-border-radius);
  border: 1px solid #ece0c4;
  background: linear-gradient(135deg, #faf8f3 0%, #f2e9d5 100%);
  overflow: hidden;
}
.map_consent_inner {
  max-width: 420px;
}
.map_consent_icon {
  font-size: 34px;
  color: var(--bs-primary);
  margin-bottom: 14px;
}
.map_consent_title {
  font-size: 20px;
  font-weight: 700;
  color: #1e1c18;
  margin-bottom: 10px;
}
.map_consent_text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b6559;
  margin-bottom: 20px;
}
.map_consent_text a {
  color: var(--bs-primary);
  text-decoration: underline;
}
.map_consent_alt {
  margin: 14px 0 0;
  font-size: 13.5px;
}
.map_consent_alt a {
  color: #9c7f3a;
  text-decoration: underline;
}
.map_consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--bs-border-radius);
}
@media screen and (max-width: 767px) {
  .map_consent {
    min-height: 340px;
    padding: 24px 18px;
  }
  .map_consent_btn {
    width: 100%;
    justify-content: center;
  }
}

/* Sprunglink: nur sichtbar, wenn er per Tastatur angesprungen wird */
.skip_to_content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--bs-primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0 0 10px 0;
}
.skip_to_content:focus {
  left: 0;
}
#hauptinhalt:focus {
  outline: none;
}

/* ---------- Fehlerseite 404 ---------- */
.error_code {
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 800;
  line-height: 1;
  color: var(--bs-primary);
  opacity: .32;
  margin: 0 0 6px;
}
.error_title { font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: #1e1c18; margin-bottom: 14px; }
.error_text { color: #6b6559; max-width: 560px; margin: 0 auto 30px; }
.error_links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 34px; }
.error_nav { flex-wrap: wrap; gap: 8px 22px; }
.error_nav > li > a { color: #9c7f3a; text-decoration: underline; }
.error_nav > li > a:hover { color: var(--bs-primary); }
@media screen and (max-width: 575px) {
  .error_links .btn { width: 100%; justify-content: center; }
}
