/* ==========================================================================
   VARIANTE 37 — main37.css
   Design: Geometrie — Schieferblau & Koralle — Sidebar-Layout
   Farben: #1d2f5e (Schieferblau), #e05a3a (Koralle), #fafaf8 (Warmweiss)
   Schriften: Outfit (Headline), Inter (Text)
   SONDERFALL: Kein body padding-top! body margin-left statt horizontalem Header.
   ========================================================================== */

@import url("outfit.css");
@import url("inter.css");
@import url("font-awesome.css");

/* ==========================================================================
   CSS-VARIABLEN
   ========================================================================== */
:root {
  --farbe-primary:          #1d2f5e;
  --farbe-primary-tief:     #142248;
  --farbe-primary-mittel:   #263d7a;
  --farbe-primary-hell:     #3550a0;
  --farbe-accent:           #e05a3a;
  --farbe-accent-dunkel:    #c44828;
  --farbe-accent-hell:      #f07558;
  --farbe-warmweiss:        #fafaf8;
  --farbe-warmweiss-dunkel: #f0ede8;
  --farbe-weiss:            #ffffff;
  --farbe-text:             #1a1f2e;
  --farbe-text-hell:        #4a5268;
  --farbe-grau-hell:        #f4f5f9;
  --farbe-grau-mittel:      #dde0eb;
  --farbe-fehler:           #c0392b;

  --sidebar-breite:         270px;

  --schrift-headline: 'Outfit', system-ui, -apple-system, sans-serif;
  --schrift-text:     'Inter', system-ui, -apple-system, sans-serif;

  --schatten-sanft:   0 2px 16px rgba(var(--farbe-primary-rgb), 0.08);
  --schatten-mittel:  0 4px 28px rgba(var(--farbe-primary-rgb), 0.16);
  --schatten-stark:   0 8px 40px rgba(var(--farbe-primary-rgb), 0.25);

  --radius-btn:    6px;
  --radius-karte:  8px;
  --transition:    0.3s ease;
  /* RGB-Kanäle für rgba()-Nutzung */
  --farbe-accent-rgb:  224, 90, 58;
  --farbe-fehler-rgb:  192, 57, 43;
  --farbe-primary-rgb:  29, 47, 94;
  --farbe-primary-tief-rgb: 20, 34, 72;
  --farbe-warmweiss-rgb:  250, 250, 248;
  /* Autorenbox-Variablen (Wichtigste auf einen Blick) */
  --farbe-autorenbox-hintergrund: color-mix(in srgb, var(--farbe-accent) 6%, var(--farbe-weiss));
  --farbe-autorenbox-linie:       var(--farbe-linie);
  --farbe-autorenbox-akzent:      var(--farbe-accent);
  --farbe-autorenbox-icon:        var(--farbe-accent);
  --farbe-autorenbox-icon-text:   var(--farbe-weiss);
  --farbe-autorenbox-text:        var(--farbe-text);
  --farbe-autorenbox-text-stark:  var(--farbe-text);
}
/* Bruecke zu den generischen --color-*-Variablen aus der GETEILTEN css/global.css (Fund
   2026-08-26, Autor-Profilseite, siehe main9.css/main32.css als Vorbild). global.css
   definiert --color-primary etc. mit einem hartcodierten Rot (#e10816) als
   designneutralen Default - passt zu keinem main{N}.css-Theme. Betrifft u.a.
   .credential-badge, .autor-profile__avatar, .summary-box auf der Autor-Profilseite
   (tpl/include_einzelautor.tpl.htm). main{N}.css laedt NACH global.css, :root
   ueberschreibt sich sauber. */
:root {
  --color-primary:       var(--farbe-primary);
  --color-primary-dark:  var(--farbe-primary-tief);
  --color-primary-light: var(--farbe-warmweiss-dunkel);
  --color-text:          var(--farbe-text);
  --color-text-muted:    var(--farbe-text-hell);
  --color-border:        var(--farbe-grau-mittel);
}



/* ==========================================================================
   BASIS-RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--schrift-text);
  color: var(--farbe-text);
  background-color: var(--farbe-weiss);
  line-height: 1.7;
  overflow-x: hidden;
  /* Kein padding-top! Content-Bereich rechts neben der Sidebar */
  margin-left: var(--sidebar-breite);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* Fliesstext-Links (WCAG 1.4.1 + 1.4.3): erbt Textfarbe fuer garantierten Kontrast, Unterstreichung als Unterscheidungsmerkmal */
main p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

main p a:hover,
main p a:focus-visible {
  text-decoration-thickness: 2px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

strong { color: var(--farbe-primary); font-weight: 700; }

/* ==========================================================================
   TYPOGRAFIE
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--schrift-headline);
  line-height: 1.25;
  color: var(--farbe-primary);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
  font-size: 1rem;
  color: var(--farbe-text-hell);
  margin-bottom: 1rem;
  line-height: 1.75;
}

p:last-child { margin-bottom: 0; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-btn);
  font-family: var(--schrift-headline);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.3px;
}

/* Primär-Button (Koralle) */
.btn-primaer,
.btn-koralle,
.btn-akzent {
  background-color: var(--farbe-accent);
  color: var(--farbe-weiss);
  border-color: var(--farbe-accent);
}

.btn-primaer:hover,
.btn-koralle:hover,
.btn-akzent:hover {
  background-color: var(--farbe-accent-dunkel);
  border-color: var(--farbe-accent-dunkel);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--farbe-accent-rgb), 0.35);
  color: var(--farbe-weiss);
}

/* Sekundär-Button (Schieferblau) */
.btn-secondary,
.btn-blau {
  background-color: var(--farbe-primary);
  color: var(--farbe-weiss);
  border-color: var(--farbe-primary);
}

.btn-secondary:hover,
.btn-blau:hover {
  background-color: var(--farbe-primary-tief);
  border-color: var(--farbe-primary-tief);
  transform: translateY(-2px);
  box-shadow: var(--schatten-sanft);
  color: var(--farbe-weiss);
}

/* Outline Weiss (auf dunklem Hintergrund) */
.btn-outline-weiss,
.btn-hell {
  background-color: transparent;
  color: var(--farbe-weiss);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-weiss:hover,
.btn-hell:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--farbe-weiss);
  color: var(--farbe-weiss);
}

/* Outline Koralle */
.btn-outline-koralle {
  background-color: transparent;
  color: var(--farbe-accent);
  border-color: var(--farbe-accent);
}

.btn-outline-koralle:hover {
  background-color: var(--farbe-accent);
  color: var(--farbe-weiss);
}

/* Gold-Alias (CMS-Kompatibilität) */
.btn-gold { background-color: var(--farbe-accent); color: var(--farbe-weiss); border-color: var(--farbe-accent); }
.btn-gold:hover { background-color: var(--farbe-accent-dunkel); border-color: var(--farbe-accent-dunkel); color: var(--farbe-weiss); }

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   SKIP-LINK
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -200px;
  left: 1rem;
  background-color: var(--farbe-primary);
  color: var(--farbe-weiss);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-btn) var(--radius-btn);
  z-index: 9999;
  transition: top 0.3s ease;
  font-family: var(--schrift-headline);
  font-size: 0.875rem;
  font-weight: 700;
}

.skip-link:focus { top: 0; }

/* ==========================================================================
   SIDEBAR — VERTIKALE NAVIGATION (Geometrie-Stil)
   ========================================================================== */
.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-breite);
  height: 100vh;
  background: linear-gradient(180deg, var(--farbe-primary-tief) 0%, var(--farbe-primary) 100%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  /* Dezente rechte Trennlinie */
  border-right: 3px solid var(--farbe-accent);
}

/* Geometrische Deko-Linie oben */
.site-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--farbe-accent), var(--farbe-accent-hell), var(--farbe-accent));
}

/* Logo-Bereich — zentrierter Markenblock statt Logo-neben-Text:
   Logo als Signet oben, Firmierung ausbalanciert darunter, Slogan als
   Caption mit geometrischer Trennlinie (nimmt den Akzentstrich der
   Sidebar-Oberkante wieder auf). Grund: bei langen Firmierungen brach
   der Name in der schmalen Sidebar zufaellig 3-4x um, waehrend das
   Logo unbeweglich daneben klebte. */
.sidebar-logo {
  padding: 2.2rem 1.25rem 1.7rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.sidebar-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.sidebar-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: var(--radius-btn);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px;
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.sidebar-logo a:hover img {
  background-color: rgba(255, 255, 255, 0.18);
}

.sidebar-logo .logo-name {
  display: block;
  font-family: var(--schrift-headline);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--farbe-weiss);
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-wrap: balance;
  max-width: 20ch;
  margin-inline: auto;
}

.sidebar-logo .logo-untertitel {
  display: block;
  position: relative;
  font-family: var(--schrift-headline);
  font-size: 0.58rem;
  color: var(--farbe-accent);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.7;
  text-wrap: balance;
  max-width: 24ch;
  margin-inline: auto;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
}

/* Kleine geometrische Trennlinie zwischen Firmierung und Slogan */
.sidebar-logo .logo-untertitel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background-color: var(--farbe-accent);
}

/* Leerer Slogan (bei vielen Kunden) darf keine Linie/Luecke hinterlassen */
.sidebar-logo .logo-untertitel:empty { display: none; }

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: 1.2rem 0;
  overflow-y: auto;
}

.sidebar-nav > ul { list-style: none; }

.sidebar-nav > ul > li { position: relative; }

/* Haupt-Navigationspunkte */
.sidebar-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  font-family: var(--schrift-headline);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav > ul > li > a:hover {
  color: var(--farbe-weiss);
  background-color: rgba(255, 255, 255, 0.07);
  border-left-color: var(--farbe-accent);
  padding-left: 1.8rem;
}

.sidebar-nav > ul > li.aktiv > a {
  color: var(--farbe-weiss);
  background-color: rgba(var(--farbe-accent-rgb), 0.2);
  border-left-color: var(--farbe-accent);
}

/* Dropdown-Pfeil */
.sidebar-nav > ul > li.has-dropdown > a::after,
.sidebar-nav > ul > li.hat-dropdown > a::after {
  content: '▾';
  font-size: 0.65rem;
  flex-shrink: 0;
  transition: transform var(--transition);
  display: inline-block;
  margin-left: 0.3rem;
}

.sidebar-nav > ul > li.has-dropdown.offen > a::after,
.sidebar-nav > ul > li.hat-dropdown.offen > a::after {
  transform: rotate(180deg);
}

/* mobile-only immer sichtbar in Sidebar */
.sidebar-nav > ul > li.mobile-only { display: list-item; }

/* Dropdown-Untermenü */
.sidebar-nav > ul > li.has-dropdown > ul,
.sidebar-nav > ul > li.hat-dropdown > ul,
.sidebar-nav > ul > li.hat-dropdown > .sidebar-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: rgba(0, 0, 0, 0.2);
  border-left: 2px solid rgba(var(--farbe-accent-rgb), 0.3);
  margin-left: 1.5rem;
  list-style: none;
}

.sidebar-nav > ul > li.has-dropdown.offen > ul,
.sidebar-nav > ul > li.hat-dropdown.offen > ul,
.sidebar-nav > ul > li.hat-dropdown.offen > .sidebar-dropdown {
  max-height: 400px;
}

.sidebar-nav > ul > li.has-dropdown > ul > li > a,
.sidebar-nav > ul > li.hat-dropdown > ul > li > a,
.sidebar-nav > ul > li.hat-dropdown > .sidebar-dropdown > li > a {
  display: block;
  padding: 0.45rem 1rem 0.45rem 1.2rem;
  font-family: var(--schrift-text);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.sidebar-nav > ul > li.has-dropdown > ul > li > a:hover,
.sidebar-nav > ul > li.hat-dropdown > ul > li > a:hover,
.sidebar-nav > ul > li.hat-dropdown > .sidebar-dropdown > li > a:hover {
  color: var(--farbe-accent-hell);
  padding-left: 1.6rem;
}

/* Termin-Button in Navigation */
.sidebar-nav .nav-termin-btn > a {
  margin: 0.5rem 1.5rem;
  background-color: var(--farbe-accent);
  color: var(--farbe-weiss) !important;
  border-radius: var(--radius-btn);
  border-left: none !important;
  text-align: center;
  justify-content: center;
  padding: 0.6rem 0.5rem !important;
  font-size: 0.75rem !important;
  font-weight: 700;
}

.sidebar-nav .nav-termin-btn > a:hover {
  background-color: var(--farbe-accent-dunkel) !important;
  color: var(--farbe-weiss) !important;
  padding-left: 0.5rem !important;
}

/* Kontaktbereich unten in Sidebar */
.sidebar-kontakt {
  padding: 1.2rem 1.5rem 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.sidebar-kontakt-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.38rem 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-family: var(--schrift-text);
}

.sidebar-kontakt-item i {
  color: var(--farbe-accent);
  width: 14px;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.sidebar-kontakt-item a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.sidebar-kontakt-item a:hover { color: var(--farbe-accent); }

/* Burger-Button (nur auf Mobile) */
.burger-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1500;
  background-color: var(--farbe-primary);
  border: 2px solid var(--farbe-accent);
  border-radius: var(--radius-btn);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--farbe-weiss);
  transition: all var(--transition);
}

.burger-btn.aktiv span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.aktiv span:nth-child(2) { opacity: 0; }
.burger-btn.aktiv span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.burger-btn:hover { background-color: var(--farbe-accent); border-color: var(--farbe-accent); }

/* Sidebar-Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 990;
}

.sidebar-overlay.offen { display: block; }

/* ==========================================================================
   CONTAINER / UTILITIES
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--schrift-headline);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--farbe-accent);
  margin-bottom: 0.7rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--farbe-accent);
  flex-shrink: 0;
}

/* Akzentlinie unter Überschriften */
.section-linie,
.trennlinie-koralle,
.textblock-linie {
  width: 48px;
  height: 4px;
  background-color: var(--farbe-accent);
  margin: 0.8rem 0 1.5rem;
  border-radius: 2px;
}

.section-linie-mitte { margin-left: auto; margin-right: auto; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header .section-label { order: 1; }
.section-header h2 { margin-bottom: 1rem; order: 2; }
.section-header p { max-width: 600px; margin: 0 auto; color: var(--farbe-text-hell, #666); font-size: 1.05rem; order: 4; }
/* Fix 2026-08-27: Linie soll UNTER der Ueberschrift stehen statt zwischen Label und h2 */
.section-header .section-linie { margin: 0.4rem auto 1.5rem; order: 3; }

/* ==========================================================================
   BREADCRUMB
   2026-08-26: vorher komplett per display:none ausgeblendet (Sidebar-
   Layout) - dadurch auf JEDER Unterseite unsichtbar (Sweep-Fund: 62
   Treffer). Jetzt sichtbar mit einfachem, zum Sidebar-Layout passendem
   Minimalstil. list-style:none direkt auf dem li ergaenzt (Breadcrumb
   nutzt <ol>, der globale Reset trifft nur "ul").
   ========================================================================== */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumb li { list-style: none; display: flex; align-items: center; color: var(--farbe-text-hell); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; color: var(--farbe-text-hell); }
.breadcrumb a { color: var(--farbe-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   CMS SLIDER — .slider-bereich / .slider-container / .slider-folie
   KEIN margin-top! Sidebar-Layout hat keinen horizontalen Header-Offset.
   ========================================================================== */
.slider-bereich {
  position: relative;
  width: 100%;
  height: 600px;
  max-height: 600px;
  overflow: hidden;
  background-color: var(--farbe-primary-tief);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-folie {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-folie.aktiv { display: block; }

.slider-folie > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Overlay-Gradient — mehr links als bei v33 für geometrischen Effekt */
.slider-folie::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(var(--farbe-primary-rgb), 0.88) 0%,
    rgba(var(--farbe-primary-rgb), 0.55) 55%,
    rgba(var(--farbe-primary-rgb), 0.10) 100%
  );
  pointer-events: none;
}

.slider-inhalt {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* links mehr Abstand als rechts: der Pfeil-Button (.slider-pfeil-links, left:1.5rem,
     Breite 46px -> rechter Rand bei 70px) darf den Textblock nicht überlappen */
  padding: 0 3.5rem 4rem 6.5rem;
}

.slider-label {
  font-family: var(--schrift-headline);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--farbe-accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--farbe-accent);
}

.slider-inhalt h1,
.slider-inhalt h2 {
  color: var(--farbe-weiss);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 600px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.slider-inhalt p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.slider-aktionen {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dots */
.slider-punkte {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-punkt {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  padding: 0;
}

.slider-punkt.aktiv {
  background-color: var(--farbe-accent);
  width: 24px;
}

/* Pfeile */
.slider-pfeil,
.slider-pfeil-links,
.slider-pfeil-rechts {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--farbe-weiss);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.slider-pfeil-links,
#sliderZurueck { left: 1.5rem; }

.slider-pfeil-rechts,
#sliderVor { right: 1.5rem; }

.slider-pfeil:hover,
.slider-pfeil-links:hover,
.slider-pfeil-rechts:hover {
  background-color: var(--farbe-accent);
  border-color: var(--farbe-accent);
}

/* ==========================================================================
   SEITEN-HEADER (Unterseiten-Banner)
   ========================================================================== */
.seite-header {
  position: relative;
  background-color: var(--farbe-primary);
  padding: 4rem 0;
  overflow: hidden;
}

.seite-header:has(.header-bg) { padding: 0; }

.seite-header .header-bg {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center center;
}

.seite-header::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Transparenter als zuvor (war 0.88/0.7, dann 0.78/0.6) - mehr vom Hintergrundbild sichtbar,
     Alpha-Werte per Live-Kontrastmessung + rechnerischer Pruefung (worst-case helles Fotomotiv)
     so gewaehlt, dass Ueberschrift/Text in main37 UND allen 5 Farbvarianten weiterhin >=4.5:1 erreichen.
     Der 0%-Stop (tief) liegt an der Textposition (unten links) und ist kontrastkritisch, der
     100%-Stop (primary) liegt rechts ohne Text und darf daher staerker reduziert werden. */
  background: linear-gradient(105deg, rgba(var(--farbe-primary-tief-rgb), 0.74) 0%, rgba(var(--farbe-primary-rgb), 0.5) 100%);
  z-index: 1;
}

.seite-header .container {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
}

.seite-header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
  text-align: left;
}

.seite-header h1 {
  color: var(--farbe-weiss);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.seite-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

/* Korallene Akzentlinie vor Seitenheader */
.seite-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--farbe-accent);
  z-index: 10;
}

/* ==========================================================================
   SCHNELLINFOS-SECTION
   ========================================================================== */
.schnellinfos-section {
  background-color: var(--farbe-primary);
  padding: 2rem 0;
  position: relative;
}

.schnellinfos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.schnellinfo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.schnellinfo-item:last-child { border-right: none; }

.schnellinfo-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(var(--farbe-accent-rgb), 0.2);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.schnellinfo-icon i {
  color: var(--farbe-accent);
  font-size: 0.9rem;
}

.schnellinfo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.schnellinfo-text strong {
  font-family: var(--schrift-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--farbe-accent);
}

.schnellinfo-text a,
.schnellinfo-text span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.schnellinfo-text a:hover { color: var(--farbe-accent); }

/* ==========================================================================
   TEXTBLOCK-SECTION (einspaltig & zweispaltig)
   ========================================================================== */
.textblock-section {
  padding: 4.5rem 0;
}


.textblock-inhalt {
  max-width: 800px;
}

.textblock-inhalt h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--farbe-primary);
  margin-bottom: 0.5rem;
}

.textblock-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

.textblock-spalte p { margin-bottom: 1rem; }

/* ==========================================================================
   FLOAT-SECTION (Bild links/rechts mit umfließendem Text)
   ========================================================================== */
.float-section {
  padding: 4.5rem 0;
  overflow: hidden;
}

.float-section h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--farbe-primary);
  margin-bottom: 0.5rem;
}

.float-img-links {
  float: left;
  width: 42%;
  margin: 0 2.5rem 1.5rem 0;
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten-mittel);
}

.float-img-rechts {
  float: right;
  width: 42%;
  margin: 0 0 1.5rem 2.5rem;
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten-mittel);
}

.img-group-right {
  float: right;
  width: 42%;
  margin: 0 0 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.img-group-right img {
  width: 100%;
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten-mittel);
}

.float-section::after {
  content: '';
  display: table;
  clear: both;
}

/* ==========================================================================
   BILDSPALTEN-SECTION (2-spaltig grid)
   ========================================================================== */
.bildspalten-section {
  padding: 4.5rem 0;
}

.bildspalten-grid,
.bildspalten-grid-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bildspalten-grid-reverse .bildspalten-bild { order: 2; }
.bildspalten-grid-reverse .bildspalten-text { order: 1; }

.bildspalten-bild img {
  width: 100%;
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten-mittel);
}

.bildspalten-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--farbe-primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   WILLKOMMEN-SECTION
   ========================================================================== */
.willkommen-section {
  background-color: var(--farbe-weiss);
  padding: 5rem 0;
}

.willkommen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.willkommen-bild {
  position: relative;
  border-radius: var(--radius-karte);
  overflow: hidden;
  box-shadow: var(--schatten-mittel);
}

.willkommen-bild img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* Geometrisches Badge */
.willkommen-badge,
.willkommen-bild-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background-color: var(--farbe-accent);
  color: var(--farbe-weiss);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-karte) 0 0 var(--radius-karte);
  text-align: center;
  box-shadow: var(--schatten-mittel);
  font-family: var(--schrift-headline);
}

.willkommen-badge strong,
.willkommen-bild-badge .zahl {
  display: block;
  font-size: 2rem;
  color: var(--farbe-weiss);
  line-height: 1;
}

.willkommen-badge span,
.willkommen-bild-badge .text {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.85);
}

.willkommen-inhalt h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  color: var(--farbe-primary);
  margin-bottom: 0.8rem;
}

/* Kennzahlen im Willkommen-Block. Design 37 arbeitet geometrisch: die Karte
   greift die asymmetrische Eckenform des Bild-Badges auf, der kurze
   Akzentbalken oben links entspricht der Akzentkante von .praxis-fakt.
   Zahl in Navy (Outfit, negatives Tracking wie .praxis-fakt-zahl) - das
   Orange erreicht auf hellem Grund nur 3.7:1, Navy dagegen 12:1. */
.willkommen-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}

.stat-item {
  position: relative;
  background-color: var(--farbe-warmweiss);
  border: 1px solid var(--farbe-grau-mittel);
  border-radius: var(--radius-karte) 0 var(--radius-karte) 0;
  padding: 1.5rem 1.1rem 1.4rem;
  overflow: hidden;
  transition: all var(--transition);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 4px;
  background-color: var(--farbe-accent);
  transition: width var(--transition);
}

.stat-item:hover {
  border-color: rgba(var(--farbe-accent-rgb), 0.45);
  box-shadow: var(--schatten-sanft);
}

.stat-item:hover::before {
  width: 100%;
}

.stat-item strong {
  display: block;
  font-family: var(--schrift-headline);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--farbe-primary);
  margin-bottom: 0.35rem;
}

.stat-item span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--farbe-text-hell);
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Der Abstand haengt am BUTTON, nicht als margin-bottom am Kennzahlen-Block:
   auf Unterseiten fehlt .willkommen-stats komplett, dort waere der Abstand
   sonst 0px. */
.willkommen-inhalt > .btn {
  margin-top: 2.2rem;
}

@media (max-width: 620px) {
  .willkommen-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
}

@media (max-width: 380px) {
  .willkommen-stats { grid-template-columns: minmax(0, 1fr); }
}

/* Checkmark-Liste im Willkommen-Bereich */
.willkommen-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.willkommen-liste li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--farbe-text-hell);
}

.willkommen-liste li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(var(--farbe-accent-rgb), 0.15);
  border: 2px solid var(--farbe-accent);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23e05a3a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ==========================================================================
   GRUPPEN-SECTION (Inhaltsboxen mit/ohne Bild)
   ========================================================================== */
.gruppen-section {
  padding: 5rem 0;
}

.gruppen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.gruppe-karte {
  background-color: var(--farbe-weiss);
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten-sanft);
  border: 1px solid var(--farbe-grau-mittel);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  /* Geometrischer linker Akzent */
  border-left: 3px solid transparent;
}

.gruppe-karte:hover {
  transform: translateY(-5px);
  box-shadow: var(--schatten-mittel);
  border-left-color: var(--farbe-accent);
}

.gruppe-bild {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gruppe-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gruppe-karte:hover .gruppe-bild img {
  transform: scale(1.05);
}

.gruppe-bild-icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: var(--farbe-accent);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gruppe-bild-icon i {
  color: var(--farbe-weiss);
  font-size: 0.9rem;
}

.gruppe-inhalt {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gruppe-inhalt h3 {
  font-size: 1.05rem;
  color: var(--farbe-primary);
  margin-bottom: 0.6rem;
}

.gruppe-inhalt p {
  font-size: 0.9rem;
  color: var(--farbe-text-hell);
  flex: 1;
  margin-bottom: 1rem;
}

.gruppe-mehr {
  font-family: var(--schrift-headline);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--farbe-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
  margin-top: auto;
}

.gruppe-mehr:hover {
  color: var(--farbe-accent-dunkel);
  gap: 0.7rem;
}

/* Karte ohne Bild */
.gruppe-karte:not(:has(.gruppe-bild)) .gruppe-inhalt { padding: 2rem; }

.gruppe-karte:not(:has(.gruppe-bild))::before {
  content: '';
  display: block;
  height: 4px;
  background-color: var(--farbe-accent);
  border-radius: 0;
}

/* ==========================================================================
   HIGHLIGHT-SECTION / VORTEILE
   ========================================================================== */
.highlight-section {
  background-color: var(--farbe-primary);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Geometrische Deko-Elemente */
.highlight-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 60px solid rgba(var(--farbe-accent-rgb), 0.08);
  pointer-events: none;
}

.highlight-section .section-label { color: var(--farbe-accent); }
.highlight-section .section-label::before { background-color: var(--farbe-accent); }

.highlight-section h2 { color: var(--farbe-weiss); }

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.vorteil-item {
  text-align: center;
  padding: 2rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-karte);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vorteil-item:hover {
  background-color: rgba(var(--farbe-accent-rgb), 0.12);
  border-color: rgba(var(--farbe-accent-rgb), 0.35);
  transform: translateY(-4px);
}

.vorteil-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(var(--farbe-accent-rgb), 0.15);
  border: 2px solid rgba(var(--farbe-accent-rgb), 0.3);
  border-radius: var(--radius-karte);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.vorteil-icon i { color: var(--farbe-accent); font-size: 1.4rem; }

.vorteil-item h3,
.vorteil-item h4 { color: var(--farbe-weiss); font-size: 0.95rem; margin-bottom: 0.5rem; }

.vorteil-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0;
}

/* ==========================================================================
   ZITAT-SECTION
   ========================================================================== */
.natur-zitat-section {
  /* 2026-08-26: vorher identisch --farbe-warmweiss wie .faq-section - eine
     der beiden Alternationsfarben, kollidierte mit direkt benachbarten
     freien Sections (Sweep-Fund, Seite digitale-abdrucknahme). Nur dunkler
     per color-mix (nie heller). */
  background: color-mix(in srgb, var(--farbe-warmweiss) 88%, black 12%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.natur-zitat-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--farbe-accent);
}

.natur-zitat-section::after {
  content: '"';
  position: absolute;
  top: -2rem;
  right: 4rem;
  font-family: var(--schrift-headline);
  font-size: 20rem;
  color: rgba(var(--farbe-primary-rgb), 0.04);
  line-height: 1;
  pointer-events: none;
}

.zitat-inhalt {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.zitat-anfuehrung {
  display: block;
  font-family: var(--schrift-headline);
  font-size: 4rem;
  color: var(--farbe-accent);
  line-height: 0.7;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.zitat-text {
  font-family: var(--schrift-headline);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--farbe-primary);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.zitat-quelle {
  font-family: var(--schrift-headline);
  color: var(--farbe-accent);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* ==========================================================================
   REINE-PARALLAX-SECTION
   ========================================================================== */
.reine-parallax-section {
  height: 260px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.reine-parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--farbe-primary-rgb), 0.55);
}

.parallax-helper-img { display: none; }

/* ==========================================================================
   CTA-PARALLAX-SECTION
   ========================================================================== */
.cta-parallax-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(var(--farbe-primary-tief-rgb), 0.93) 0%, rgba(var(--farbe-primary-rgb), 0.88) 100%);
  z-index: 0;
}

.cta-parallax-inhalt {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.cta-parallax-inhalt h2 {
  color: var(--farbe-weiss);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.cta-parallax-inhalt p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.cta-aktionen,
.cta-buttons,
.slider-aktionen {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ==========================================================================
   PRAXIS-SECTION (Kennzahlen / Counter)
   ========================================================================== */
.praxis-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--farbe-primary-tief);
}

.praxis-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(var(--farbe-primary-tief-rgb), 0.95) 0%, rgba(var(--farbe-primary-rgb), 0.90) 100%);
  z-index: 0;
}

.praxis-inhalt {
  position: relative;
  z-index: 1;
  text-align: center;
}

.praxis-inhalt h2 { color: var(--farbe-weiss); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1rem; }

.praxis-inhalt > p { color: rgba(255, 255, 255, 0.78); max-width: 640px; margin: 0 auto 2.5rem; }

.praxis-fakten,
.praxis-fakten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.praxis-fakt {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(var(--farbe-accent-rgb), 0.25);
  border-radius: var(--radius-karte);
  padding: 2.2rem 1rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.praxis-fakt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--farbe-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.praxis-fakt:hover {
  background-color: rgba(var(--farbe-accent-rgb), 0.12);
  border-color: rgba(var(--farbe-accent-rgb), 0.45);
}

.praxis-fakt:hover::after {
  transform: scaleX(1);
}

.praxis-fakt-zahl {
  font-family: var(--schrift-headline);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--farbe-accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.praxis-fakt-text,
.praxis-fakt-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* ==========================================================================
   TEAM / BEHANDLER
   ========================================================================== */
.team-section { padding: 5rem 0; }
.team-section:nth-of-type(even) { background: var(--farbe-warmweiss-dunkel); }
.team-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.team-foto-karte { display: flex; flex-direction: row; align-items: flex-start; gap: 2.5rem; margin-bottom: 2.5rem; }
.team-foto-karte:last-child { margin-bottom: 0; }
.team-foto-karte .team-bild { flex-shrink: 0; width: 240px; height: 280px; border-radius: var(--radius-karte); overflow: hidden; box-shadow: var(--schatten-sanft); outline: 2px solid var(--farbe-primary); outline-offset: 3px; }
.team-foto-karte .team-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.4s ease; display: block; }
.team-foto-karte:hover .team-bild img { transform: scale(1.05); }
.team-foto-karte .team-info { flex: 1; background: var(--farbe-weiss); border-radius: var(--radius-karte); box-shadow: var(--schatten-sanft); border: 1px solid var(--farbe-grau-mittel); padding: 2rem 2.5rem; }
.team-foto-karte .team-name { font-size: 1.3rem; font-weight: 700; color: var(--farbe-primary-tief); margin-bottom: 0.3rem; }
.team-foto-karte .team-titel { font-size: 0.82rem; color: var(--farbe-accent); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.team-vita { font-size: 0.88rem; color: var(--farbe-text-hell); line-height: 1.7; }
.team-vita ul { list-style: none; margin-top: 0.8rem; }
.team-vita ul li { position: relative; padding-left: 1rem; margin-bottom: 0.35rem; list-style: none; }
.team-vita ul li::before { content: '›'; position: absolute; left: 0; color: var(--farbe-accent); }
.team-bild { height: 260px; overflow: hidden; flex-shrink: 0; }
.team-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s ease; }
.team-karte { background: var(--farbe-weiss); border: 1px solid var(--farbe-grau-mittel); border-radius: var(--radius-karte); overflow: hidden; box-shadow: var(--schatten-sanft); transition: box-shadow var(--transition); }
.team-karte:hover { box-shadow: var(--schatten-mittel); }
.team-info { padding: 1.5rem; }
.team-name { font-family: var(--schrift-headline); font-size: 1.05rem; color: var(--farbe-primary); margin-bottom: 0.2rem; font-weight: 600; }
.team-titel { font-size: 0.82rem; color: var(--farbe-accent); margin-bottom: 0.8rem; }
.team-rolle { background: var(--farbe-primary); color: var(--farbe-weiss); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem 1.2rem; }

/* --------------------------------------------------------------------------
   TEAM-KACHELN — Karten-Grid für team.html
   -------------------------------------------------------------------------- */
.team-kacheln-section { padding: 5rem 0; }
.team-kacheln-section:nth-of-type(even) { background: var(--farbe-warmweiss-dunkel); }
.team-kacheln-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.team-kachel { background: var(--farbe-weiss); border-radius: var(--radius-karte); overflow: hidden; border: 1px solid var(--farbe-grau-mittel); box-shadow: var(--schatten-sanft); transition: transform 0.28s ease, box-shadow 0.28s ease; display: flex; flex-direction: column; }
.team-kachel:hover { transform: translateY(-6px); box-shadow: var(--schatten-mittel); }
.team-kachel-bild { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.team-kachel-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform 0.45s ease; }
.team-kachel:hover .team-kachel-bild img { transform: scale(1.06); }
.team-kachel-bild-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.25) 100%); pointer-events: none; }
.team-kachel-info { padding: 1.25rem 1.2rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.team-kachel-abteilung { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--farbe-accent); margin: 0; }
.team-kachel-name { font-size: 1.08rem; font-weight: 700; color: var(--farbe-primary-tief); margin: 0.1rem 0 0; line-height: 1.3; }
.team-kachel-rolle { font-size: 0.82rem; color: var(--farbe-text-hell); margin: 0; }
.team-kachel-beschreibung { font-size: 0.82rem; color: var(--farbe-text-hell); line-height: 1.55; margin: 0.6rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--farbe-grau-mittel); }

@media (max-width: 768px) {
  .team-foto-karte { flex-direction: column; }
  .team-foto-karte .team-bild { width: 100%; height: auto; }
  .team-foto-karte .team-bild img { height: auto; min-height: unset; }
  .team-kacheln-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-kacheln-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ-SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-liste {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background-color: var(--farbe-weiss);
  border: 1px solid var(--farbe-grau-mittel);
  border-radius: var(--radius-karte);
  overflow: hidden;
  transition: box-shadow var(--transition);
  border-left: 3px solid transparent;
}

.faq-item:hover { box-shadow: var(--schatten-sanft); border-left-color: var(--farbe-grau-mittel); }

.faq-frage {
  padding: 1.2rem 1.5rem;
  font-family: var(--schrift-headline);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--farbe-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: background-color var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-frage:hover { background-color: var(--farbe-grau-hell); }

.faq-frage::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--farbe-accent);
  flex-shrink: 0;
  line-height: 1;
  font-family: var(--schrift-text);
}

.faq-item.offen {
  border-left-color: var(--farbe-accent);
}

.faq-item.offen .faq-frage {
  background-color: var(--farbe-primary);
  color: var(--farbe-weiss);
}

.faq-item.offen .faq-frage::after {
  content: '−';
  color: var(--farbe-accent);
}

.faq-antwort {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.35s ease;
  font-size: 0.95rem;
  color: var(--farbe-text-hell);
  padding: 0 1.5rem;
}

.faq-item.offen .faq-antwort {
  max-height: 600px;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--farbe-grau-mittel);
}

.faq-antwort-inner { line-height: 1.75; }

/* ==========================================================================
   KONTAKT-CTA-SECTION
   ========================================================================== */
.kontakt-cta-section {
  /* 2026-08-26: vorher identisch --farbe-primary wie .highlight-section -
     verschmolz sichtbar wenn beide direkt aufeinanderfolgen (Seite
     narkosen). Nur dunkler per color-mix (nie heller). */
  background-color: color-mix(in srgb, var(--farbe-primary) 78%, black 22%);
  padding: 3rem 0;
  position: relative;
}

/* Obere Korallenlinie */
.kontakt-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-color: var(--farbe-accent);
}

.kontakt-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.kontakt-cta-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: center;
}

.kontakt-cta-item:last-child { border-right: none; }

.kontakt-cta-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--farbe-accent-rgb), 0.2);
  border: 1px solid rgba(var(--farbe-accent-rgb), 0.35);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt-cta-icon i { color: var(--farbe-accent); font-size: 1.1rem; }

.kontakt-cta-text { display: flex; flex-direction: column; gap: 0.2rem; }

.kontakt-cta-text strong {
  font-family: var(--schrift-headline);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--farbe-accent);
  font-weight: 700;
}

.kontakt-cta-text a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition);
}

.kontakt-cta-text a:hover { color: var(--farbe-accent); }

/* ==========================================================================
   ANFAHRT-SECTION
   ========================================================================== */
.anfahrt-a {
  background-color: var(--farbe-weiss);
  padding: 5rem 0;
}

.textblock-section  + .anfahrt-a,
.float-section      + .anfahrt-a,
.bildspalten-section + .anfahrt-a,
.gruppen-section    + .anfahrt-a {
  background-color: var(--farbe-warmweiss);
}

.anfahrt-a-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.anfahrt-a-info { display: flex; flex-direction: column; gap: 1.5rem; }

.anfahrt-a-info h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--farbe-primary);
}

.anfahrt-a-linie {
  width: 50px;
  height: 4px;
  background-color: var(--farbe-accent);
  border-radius: 2px;
  margin: 0.5rem 0;
}

.anfahrt-a-kontakt-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anfahrt-a-kontakt-liste li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--farbe-text-hell);
}

.anfahrt-a-kontakt-liste .ico {
  width: 38px;
  height: 38px;
  background-color: var(--farbe-grau-hell);
  border: 1px solid var(--farbe-grau-mittel);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.anfahrt-a-kontakt-liste .ico i { color: var(--farbe-accent-dunkel); font-size: 0.9rem; }

.anfahrt-a-kontakt-liste a {
  color: var(--farbe-accent-dunkel);
  font-weight: 600;
  transition: color var(--transition);
}

.anfahrt-a-kontakt-liste a:hover { color: var(--farbe-primary); }

.btn-routenplaner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  background-color: var(--farbe-primary);
  color: var(--farbe-weiss);
  border-radius: var(--radius-btn);
  font-family: var(--schrift-headline);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--farbe-primary);
  transition: all var(--transition);
}

.btn-routenplaner:hover {
  background-color: transparent;
  color: var(--farbe-primary);
}

#map-zzam {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten-mittel);
  background-color: var(--farbe-grau-hell);
}

/* ==========================================================================
   KONTAKT-LAYOUT / FORMULAR
   ========================================================================== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.kontakt-info h2,
.kontakt-form h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--farbe-primary);
  margin-bottom: 1.5rem;
}

.kontakt-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--farbe-grau-mittel);
}

.kontakt-info-item:last-child { border-bottom: none; }

.kontakt-info-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(var(--farbe-accent-rgb), 0.1);
  border: 1px solid rgba(var(--farbe-accent-rgb), 0.2);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt-info-icon i { color: var(--farbe-accent); font-size: 0.95rem; }

.kontakt-info-text { display: flex; flex-direction: column; gap: 0.3rem; }

.kontakt-info-text strong {
  font-family: var(--schrift-headline);
  font-size: 0.8rem;
  color: var(--farbe-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.kontakt-info-text a {
  color: var(--farbe-accent-dunkel);
  font-weight: 600;
  transition: color var(--transition);
}

.kontakt-info-text a:hover { color: var(--farbe-primary); }

/* Öffnungszeiten-Tabelle */
.oeffnungszeiten-tabelle {
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--farbe-text-hell);
  width: 100%;
}

.oeffnungszeiten-tabelle td, .oeffnungszeiten-tabelle th { padding: 0.25rem 0.8rem 0.25rem 0; }

.oeffnungszeiten-tabelle td:first-child, .oeffnungszeiten-tabelle th {
  font-weight: 700;
  color: var(--farbe-primary);
  min-width: 100px;
}

/* Formular */
.form-gruppe {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-gruppe label {
  font-family: var(--schrift-headline);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--farbe-primary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-gruppe input,
.form-gruppe select,
.form-gruppe textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--farbe-grau-mittel);
  border-radius: var(--radius-btn);
  font-family: var(--schrift-text);
  font-size: 0.92rem;
  color: var(--farbe-text);
  background-color: var(--farbe-weiss);
  transition: border-color var(--transition);
  width: 100%;
}

.form-gruppe input:focus,
.form-gruppe select:focus,
.form-gruppe textarea:focus {
  outline: none;
  border-color: var(--farbe-accent);
  box-shadow: 0 0 0 3px rgba(var(--farbe-accent-rgb), 0.12);
}

.form-gruppe textarea {
  min-height: 130px;
  resize: vertical;
}

.form-datenschutz {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.form-datenschutz input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--farbe-accent);
}

.form-datenschutz label {
  font-size: 0.84rem;
  color: var(--farbe-text-hell);
  line-height: 1.5;
}

.form-datenschutz a { color: var(--farbe-accent-dunkel); text-decoration: underline; }

.form-feld-fehler {
  border-color: var(--farbe-fehler) !important;
  background-color: rgba(var(--farbe-fehler-rgb), 0.04) !important;
}

.form-meldung {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: none;
}

.form-meldung.erfolg {
  display: block;
  background-color: rgba(var(--farbe-accent-rgb), 0.08);
  border: 1px solid var(--farbe-accent);
  color: var(--farbe-accent-dunkel);
}

.form-meldung.fehler {
  display: block;
  background-color: rgba(var(--farbe-fehler-rgb), 0.08);
  border: 1px solid var(--farbe-fehler);
  color: var(--farbe-fehler);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--farbe-primary-tief);
  color: rgba(var(--farbe-warmweiss-rgb), 0.78);
  padding: 4rem 0 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
}

.footer-col h3 {
  font-family: var(--schrift-headline);
  color: var(--farbe-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(var(--farbe-accent-rgb), 0.25);
}

.footer-col p {
  color: rgba(var(--farbe-warmweiss-rgb), 0.65);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col a {
  display: block;
  color: rgba(var(--farbe-warmweiss-rgb), 0.65);
  font-size: 0.88rem;
  padding: 0.28rem 0;
  transition: all var(--transition);
}

.footer-col ul li a:hover,
.footer-col a:hover {
  color: var(--farbe-accent);
  padding-left: 0.5rem;
}

.footer-logo-text {
  font-family: var(--schrift-headline);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--farbe-weiss);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-kontakt-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0;
  color: rgba(var(--farbe-warmweiss-rgb), 0.65);
  font-size: 0.88rem;
}

.footer-kontakt-item i {
  color: var(--farbe-accent);
  width: 16px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  background-color: rgba(var(--farbe-accent-rgb), 0.1);
  border: 1px solid rgba(var(--farbe-accent-rgb), 0.25);
  color: var(--farbe-accent) !important;
  font-size: 0.9rem;
  transition: all var(--transition);
  padding: 0 !important;
}

.footer-social a:hover {
  background-color: var(--farbe-accent) !important;
  color: var(--farbe-weiss) !important;
  padding-left: 0 !important;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 1.2rem 2rem;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(var(--farbe-warmweiss-rgb), 0.45);
}

.footer-bottom-inner a {
  color: rgba(var(--farbe-warmweiss-rgb), 0.45);
  transition: color var(--transition);
}

.footer-bottom-inner a:hover { color: var(--farbe-accent); }

footer[role="contentinfo"] .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
}

footer[role="contentinfo"] { background-color: var(--farbe-primary-tief); padding: 4rem 0 0; }

.footer-adresse {
  font-style: normal;
  color: rgba(var(--farbe-warmweiss-rgb), 0.65);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-adresse a { color: rgba(var(--farbe-warmweiss-rgb), 0.65); transition: color var(--transition); }
.footer-adresse a:hover { color: var(--farbe-accent); }

.footer-schriftzug-zeile1 {
  font-family: var(--schrift-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--farbe-weiss);
  margin-bottom: 0.25rem;
}

.footer-schriftzug-zeile2 {
  font-family: var(--schrift-headline);
  font-size: 0.7rem;
  color: var(--farbe-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-oeffnung {
  border-collapse: collapse;
  font-size: 0.85rem;
  color: rgba(var(--farbe-warmweiss-rgb), 0.65);
  margin-top: 0.5rem;
}

.footer-oeffnung td { padding: 0.2rem 1rem 0.2rem 0; }

.footer-oeffnung td:first-child {
  color: var(--farbe-accent);
  font-weight: 700;
  min-width: 60px;
}


/* Öffnungszeiten-Tabelle im Footer */
.site-footer .oeffnungszeiten-tabelle td, .site-footer .oeffnungszeiten-tabelle th {
  color: rgba(var(--farbe-warmweiss-rgb), 0.65);
}

.site-footer .oeffnungszeiten-tabelle td:first-child, .site-footer .oeffnungszeiten-tabelle th {
  color: var(--farbe-accent);
}
/* ==========================================================================
   SCROLL-TO-TOP
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background-color: var(--farbe-accent);
  color: var(--farbe-weiss);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(var(--farbe-accent-rgb), 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 500;
}

.scroll-top.sichtbar { opacity: 1; visibility: visible; }

.scroll-top:hover {
  background-color: var(--farbe-accent-dunkel);
  transform: translateY(-3px);
}

/* ==========================================================================
   SCROLL-ANIMATE
   ========================================================================== */
.scroll-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-animate.sichtbar {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   GALERIE-SECTION
   ========================================================================== */
.galerie {
  padding: 4rem 0;
  background: var(--farbe-warmweiss-dunkel);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.galerie-item {
  overflow: hidden;
  border-radius: var(--radius-karte);
  position: relative;
  background: var(--farbe-primary);
}

.galerie-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.galerie-bild {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 180px;
}

.galerie-item:first-child .galerie-bild { min-height: 380px; }

.galerie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.galerie-item:hover .galerie-bild { transform: scale(1.06); }
.galerie-item:hover .galerie-overlay { background: rgba(var(--farbe-primary-rgb), 0.4); }

.galerie .section-header {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 640px;
  padding: 0 2rem;
}

.section-beschreibung {
  font-size: 1rem;
  color: var(--farbe-text-hell);
  line-height: 1.8;
  margin-top: 0.5rem;
}

/* ==========================================================================
   BARRIEREFREIHEIT
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--farbe-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet: bis 1200px */
@media (max-width: 1200px) {
  :root { --sidebar-breite: 230px; }

  /* Schmalere Sidebar: Markenblock kompakter, damit die Nav Platz behaelt */
  .sidebar-logo { padding: 1.8rem 1rem 1.4rem; }
  .sidebar-logo img { width: 54px; height: 54px; padding: 7px; }
  .sidebar-logo .logo-name { font-size: 0.85rem; max-width: 18ch; }

  .gruppen-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid,
  footer[role="contentinfo"] .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .vorteile-grid { grid-template-columns: repeat(2, 1fr); }

  .praxis-fakten,
  .praxis-fakten-grid { grid-template-columns: repeat(2, 1fr); }

  .schnellinfos-grid { grid-template-columns: repeat(2, 1fr); }

  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-item:first-child { grid-column: span 2; grid-row: span 1; }
  .galerie-item:first-child .galerie-bild { min-height: 280px; }
}

/* Tablet: bis 900px */
@media (max-width: 900px) {
  .willkommen-grid,
  .bildspalten-grid,
  .bildspalten-grid-reverse,
  .textblock-spalten,
  .anfahrt-a-grid,
  .kontakt-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .bildspalten-grid-reverse .bildspalten-bild { order: 0; }
  .bildspalten-grid-reverse .bildspalten-text { order: 0; }

  .float-img-links,
  .float-img-rechts,
  .img-group-right {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* Mobile: bis 768px — Sidebar wird zum Off-Canvas-Overlay */
@media (max-width: 768px) {
  body { margin-left: 0; }

  .site-sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    width: 290px;
    z-index: 1100;
  }

  .site-sidebar.offen { transform: translateX(0); }

  .burger-btn { display: flex; }

  /* Breadcrumb bekommt auf Mobile Platz oberhalb, damit der fixierte
     Burger-Button (top:16px/left:16px, 44x44px) den Text nicht ueberlagert
     ("Startseite" wurde sonst zu "rtseite" verdeckt) */
  .breadcrumb { padding-top: 4.5rem; }

  /* Slider-Inhalt (Label+H1+Text+Buttons) braucht auf Mobile deutlich mehr
     Platz als die alte Fixhoehe bot - sonst wird die H1 durch das
     overflow:hidden von .slider-bereich oben komplett unsichtbar
     (war hier sogar vollstaendig aus dem sichtbaren Bereich geschoben) */
  .slider-bereich { height: 500px; max-height: none; }
  .slider-inhalt { padding: 0 1.5rem 2rem; }
  .slider-inhalt h1,
  .slider-inhalt h2 { font-size: 1.5rem; }

  .gruppen-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-grid,
  footer[role="contentinfo"] .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .slider-pfeil,
  .slider-pfeil-links,
  .slider-pfeil-rechts { display: none; }

  .vorteile-grid { grid-template-columns: 1fr 1fr; }

  .praxis-fakten,
  .praxis-fakten-grid { grid-template-columns: 1fr 1fr; }

  .kontakt-cta-grid { grid-template-columns: 1fr; }
  .kontakt-cta-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .kontakt-cta-item:last-child { border-bottom: none; }

  .schnellinfos-grid { grid-template-columns: 1fr 1fr; }
  .schnellinfo-item { border-right: none; }

  .galerie-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; }
}

/* Sehr kleine Screens */
@media (max-width: 480px) {
  /* siehe Kommentar bei der 768px-Regel: Groessere feste Hoehe statt der alten, zu
     knapper Hoehe, sonst wird die H1 im Slider oben abgeschnitten */
  .slider-bereich { height: 500px; max-height: none; }

  .cta-buttons,
  .cta-aktionen,
  .slider-aktionen { flex-direction: column; align-items: center; }

  .vorteile-grid,
  .praxis-fakten,
  .praxis-fakten-grid { grid-template-columns: 1fr; }

  .schnellinfos-grid { grid-template-columns: 1fr; }

  .galerie-grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .galerie-item:first-child { grid-column: span 1; }
}

.oeffnungszeiten-tabelle th { text-align: left; font-weight: inherit; }

/* CMS-Freitext-Listen (redaktionell eingefuegte <ul> ohne Klasse):
   runde, eingerueckte, goldene/farbige Bullets statt Browser-Default
   bzw. zusammenhangloser Marker durch den globalen Reset */
main ul:not([class]) {
  list-style: disc !important;
  padding-left: 1.4em;
  margin: 0.8em 0;
}

main ul:not([class]) li {
  margin-bottom: 0.35em;
}

main ul:not([class]) li::marker {
  color: currentColor;
}

/* ==========================================================================
   FARBWECHSEL (Sektionen abwechselnd) - 2026-08-26
   Ersetzt ZWEI alte, unabhaengige :is()-Ketten (allgemeine Kette fuer
   textblock/float/bildspalten/gruppen-section UND eine separate zweite
   Kette nur fuer .faq-section) - main29-Bugtyp. Jetzt wie main29/32: JS
   (js/main37.js) läuft über main > section, überspringt fest eingefärbte
   Sections (.highlight-section, .cta-parallax-section, .praxis-section,
   .slider-bereich, .natur-zitat-section, .reine-parallax-section,
   .kontakt-cta-section) bei der Zählung und weist den übrigen "freien"
   Sections abwechselnd .js-bg-weiss/.js-bg-warmweiss zu. :where() bleibt
   als 0-Spezifitäts-CSS-only-Fallback.
   ========================================================================== */
:where(main > section:nth-of-type(odd))  { background-color: var(--farbe-weiss); }
:where(main > section:nth-of-type(even)) { background-color: var(--farbe-warmweiss); }

.js-bg-weiss     { background-color: var(--farbe-weiss); }
.js-bg-warmweiss { background-color: var(--farbe-warmweiss); }
