﻿:root {
  --bg:          #f9f8f6;
  --white:       #ffffff;

  /* Primärfarbe: Salbeigrün — edel, medizinisch, nicht klinisch */
  --sage:        #6b8f7e;
  --sage-dark:   #3d6352;
  --sage-deep:   #22473a;   /* für Header/Footer/Kontakt */
  --sage-light:  #edf4f1;
  --sage-mid:    #b8d3cb;

  /* Sekundärfarbe: warmes Terrakotta — dezent, nicht fett-braun */
  --terra:       #b07a5a;
  --terra-light: #f2ece6;
  --terra-mid:   #d4b09a;

  --text:        #1c1a18;
  --text-mid:    #4a4642;
  --text-muted:  #8a8480;
  --border:      #e4e0da;
  --gold:        #c4956a;   /* nur für Sterne */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }

/* ════════════════════════════════
   HEADER — transparent → scrolled warm
════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .4s, box-shadow .3s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,249,247,.96);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 88px;
}

.logo { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500; letter-spacing: .02em;
  color: var(--terra); transition: color .4s;
}
.site-header.scrolled .logo-name { color: var(--text); }
.logo-title {
  font-size: .65rem; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .4s;
}
.site-header.scrolled .logo-title { color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: .8rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.site-header.scrolled .main-nav a { color: var(--text-mid); }
.site-header.scrolled .main-nav a:hover { color: var(--terra); border-color: var(--terra); }

.nav-tel {
  font-size: .82rem !important; font-weight: 600 !important;
  color: var(--terra) !important;
  border: 1px solid rgba(176,122,90,.55) !important;
  padding: 8px 20px !important; border-bottom: 1px solid rgba(176,122,90,.55) !important;
  transition: background .2s !important;
  letter-spacing: .04em !important;
}
.nav-tel:hover { background: rgba(176,122,90,.12) !important; }
.site-header.scrolled .nav-tel {
  color: var(--terra) !important;
  border-color: var(--terra-mid) !important;
}
.site-header.scrolled .nav-tel:hover { background: var(--terra-light) !important; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
  background: none; border: none; cursor: pointer;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: background .4s; }
.site-header.scrolled .nav-burger span { background: var(--text); }

.nav-mobile {
  background: var(--white); border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.nav-mobile.open { max-height: 420px; }
.nav-mobile a {
  display: block; padding: 16px 48px; font-size: 1rem;
  color: var(--text-mid); font-weight: 500; border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--terra); background: var(--terra-light); }
.nav-mobile a.nav-mobile-tel { color: var(--sage-dark); font-weight: 600; }
.nav-mobile a.nav-mobile-tel:hover { color: var(--sage-dark); background: var(--terra-light); }

/* ════════════════════════════════
   SLIDESHOW
════════════════════════════════ */
.slideshow {
  position: relative; width: 100%; height: 100svh;
  overflow: hidden; background: var(--sage-deep);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.active { opacity: 1; }
.slide-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease; }
.slide.active .slide-img { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(34,71,58,.2) 0%, rgba(34,71,58,.4) 50%, rgba(34,71,58,.78) 100%);
}
.slide-ph {
  width: 100%; height: 100%;
}
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 80px 72px; z-index: 5;
}
.slide-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sage-mid); margin-bottom: 16px;
}
.slide-tag::before { content: ''; width: 24px; height: 1px; background: var(--sage-mid); }
.slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1; color: var(--white); max-width: 14ch;
}
.slide-title em { font-style: italic; color: var(--terra-mid); }

.slide-dots { position: absolute; bottom: 32px; right: 80px; display: flex; gap: 10px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; cursor: pointer; transition: background .3s, transform .3s; }
.dot.active { background: var(--white); transform: scale(1.3); }
/* slide-progress entfernt */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10; color: rgba(255,255,255,.4);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }

/* ════════════════════════════════
   PRAXIS-INTRO — im Seitendesign
════════════════════════════════ */
.hero {
  background: var(--white);
  padding: 108px 0 100px;
  position: relative; overflow: hidden;
}
.hero-bg-word {
  position: absolute; right: -0.04em; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 22vw; font-weight: 300;
  color: rgba(107,143,126,.06); line-height: 1;
  pointer-events: none; user-select: none;
}

/* Zeile 1: Headline links, Streifen rechts — dezent */
.hero-row1 {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end;
  margin-bottom: 0;
  padding-bottom: 28px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 14px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300; line-height: 1.15; color: var(--text);
}
.hero-title em { font-style: italic; color: var(--terra); }

/* Streifen — dezent, klein, rechts ausgerichtet */
.hero-strips { display: flex; flex-direction: column; gap: 0; }
.hero-strip {
  display: flex; align-items: baseline; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: .82rem;
}
.hero-strip:first-child { border-top: 1px solid var(--border); }
.hero-strip-key { color: var(--text-muted); font-size: .75rem; min-width: 72px; }
.hero-strip-val { color: var(--text-mid); font-weight: 400; white-space: nowrap; }

/* Zeile 2: links mit Foto auf Höhe der Team-Fotos rechts */
.hero-row2 {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: stretch;
  margin-bottom: 32px;
}

/* Ärztin-Card — Foto links, Text rechts oben ausgerichtet */
.doctor-card {
  display: grid; grid-template-columns: 150px 1fr;
  gap: 28px; align-items: start;
}
.doctor-photo-wrap {
  background: var(--terra-light);
  overflow: hidden; aspect-ratio: 3/4;
}
.doctor-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .5s ease;
}
.doctor-card:hover .doctor-photo-wrap img { transform: scale(1.04); }

/* Text neben Foto — oben ausgerichtet */
.doctor-info {
  padding: 0;
  display: flex; flex-direction: column;
}
.doctor-tag {
  font-size: .62rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 10px;
}
.doctor-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--text);
  line-height: 1.2; margin-bottom: 12px;
}
.doctor-spec {
  font-size: .8rem; font-weight: 300; color: var(--text-muted); line-height: 1.65;
}

/* Rechte Seite: Text + Team + Tags */
.hero-right-col {
  display: flex; flex-direction: column; gap: 16px;
}
.hero-text {
  font-size: .95rem; font-weight: 300; color: var(--text-mid); line-height: 1.9;
}

.team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.team-thumb { aspect-ratio: 1; background: var(--terra-light); overflow: hidden; }
.team-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: filter .4s, transform .4s; }
.team-thumb:hover img { filter: grayscale(0); transform: scale(1.06); }
.team-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: .6rem; color: var(--text-muted); text-align: center; padding: 6px; }

/* Info-Tags unter Team-Fotos */
.info-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.info-tag {
  padding: 7px 14px;
  border: 1px solid var(--border);
  font-size: .75rem; font-weight: 400;
  color: var(--text-muted); background: transparent;
  letter-spacing: .02em; cursor: default;
}

/* Zeile 3: Grid — linke Seite Buttons, rechte Seite leer
   align-items: end → Buttons-Unterkante bündig mit Tags-Unterkante rechts */
.hero-row3 {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; padding: 14px 34px;
  background: var(--sage-dark); color: var(--white);
  font-size: .88rem; font-weight: 500; letter-spacing: .06em;
  border: 2px solid var(--sage-dark); transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 14px 28px;
  color: var(--text-mid); font-size: .88rem; font-weight: 500;
  border: 1.5px solid var(--border); transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--sage-dark); background: var(--sage-light); }

/* ════════════════════════════════
   LEISTUNGEN — Accordion-Stil
   13 Zeilen, Hover klappt auf
════════════════════════════════ */
.leistungen { background: var(--bg); padding: 100px 0; }

.leistungen-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: end; margin-bottom: 60px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.leistungen-sub { font-size: .93rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; }

/* Zwei Spalten nebeneinander */
.leistungen-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 3px;
  background: var(--border);
}

.leistungen-col { background: var(--bg); }

.leistung-row {
  display: grid;
  grid-template-rows: auto 0fr;  /* Collapsed */
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: grid-template-rows .38s ease, background .25s;
  cursor: default;
}
.leistung-row:first-child { border-top: 1px solid var(--border); }
.leistung-row:hover {
  grid-template-rows: auto 1fr;  /* Expanded */
  background: var(--white);
}

.leistung-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
}

.leistung-head-left { display: flex; align-items: center; gap: 14px; }

.leistung-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300;
  color: var(--terra-mid); min-width: 28px;
  transition: color .25s;
}
.leistung-row:hover .leistung-num { color: var(--sage-dark); }

.leistung-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400; color: var(--text);
  line-height: 1.3; transition: color .25s;
}
.leistung-row:hover .leistung-name { color: var(--terra); }

/* Plus → × Icon rechts */
.leistung-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  position: relative; opacity: .35; transition: opacity .25s, transform .35s;
}
.leistung-icon::before,
.leistung-icon::after {
  content: ''; position: absolute;
  background: var(--sage-dark); border-radius: 1px;
}
.leistung-icon::before { width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.leistung-icon::after  { width: 1.5px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .35s; }
.leistung-row:hover .leistung-icon { opacity: 1; }
.leistung-row:hover .leistung-icon::after { transform: translate(-50%,-50%) rotate(90deg); }

/* Aufklapp-Inhalt */
.leistung-body {
  overflow: hidden; min-height: 0;
}
.leistung-body-inner {
  padding: 0 24px 18px 66px;
  font-size: .88rem; font-weight: 300; color: var(--text-muted); line-height: 1.75;
}

/* ════════════════════════════════
   BEWERTUNGEN
════════════════════════════════ */
.bewertungen { background: var(--white); padding: 100px 0; }
.bew-header { margin-bottom: 60px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.bew-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.bew-card {
  background: var(--bg); border: 1px solid var(--border);
  padding: 32px 28px 26px; display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.bew-card:hover {
  border-color: var(--terra-mid);
  box-shadow: 0 8px 32px rgba(176,122,90,.1);
  transform: translateY(-3px);
}
.bew-stars { color: var(--gold); font-size: .85rem; letter-spacing: 2px; margin-bottom: 14px; }
.bew-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--text-mid); line-height: 1.75; flex: 1; margin-bottom: 18px;
}
.bew-meta { font-size: .72rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* ════════════════════════════════
   TERMIN — edles Dunkelgrün
════════════════════════════════ */
.termin-section { background: var(--sage-deep); padding: 100px 0; position: relative; overflow: hidden; }
.termin-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(184,211,203,.06) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.termin-section::after {
  content: 'Kontakt';
  position: absolute; right: -0.02em; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18vw; font-weight: 300;
  color: rgba(184,211,203,.04); line-height: 1; pointer-events: none; user-select: none;
}
.termin-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.t-label { font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-mid); display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.t-label::before { content: ''; width: 24px; height: 1px; background: var(--sage-mid); }
.t-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.t-title em { font-style: italic; color: var(--terra); }
.t-sub { font-size: .95rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.85; margin-bottom: 32px; max-width: 40ch; }
.t-hinweis { padding: 18px 22px; background: rgba(184,211,203,.08); border-left: 2px solid var(--sage-mid); font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.t-hinweis strong { color: rgba(255,255,255,.8); }
.t-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 40px 36px; }
.t-block { margin-bottom: 32px; }
.t-block:last-child { margin-bottom: 0; }
.t-block-label { font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.t-tel { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; color: var(--white); line-height: 1.4; }
.t-tel > a { color: var(--terra); transition: color .2s; }
.t-tel > a:hover { color: var(--terra-mid); }
.t-tel-sec { display: inline-block; font-size: 1.05rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.t-mail { font-size: .88rem; color: rgba(255,255,255,.55); margin-top: 8px; }
.t-mail a { color: inherit; }
.t-mail small { display: block; font-size: .72rem; color: rgba(255,255,255,.3); margin-top: 4px; }
.oeff { width: 100%; border-collapse: collapse; }
.oeff tr { border-bottom: 1px solid rgba(255,255,255,.07); }
.oeff tr:last-child { border-bottom: none; }
.oeff td { padding: 9px 0; font-size: .88rem; color: rgba(255,255,255,.6); }
.oeff td:last-child { text-align: right; color: rgba(255,255,255,.85); }

/* ════════════════════════════════
   ANFAHRT — neu, im Seitendesign
════════════════════════════════ */
.anfahrt { background: var(--bg); padding: 100px 0; }

/* Intro-Block oben — zentriert wie Section-Header */
.anfahrt-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: end; margin-bottom: 60px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.anfahrt-intro-sub {
  font-size: .93rem; font-weight: 300; color: var(--text-muted); line-height: 1.8;
}

/* Info-Zeilen — wie doctor-strips, selbe Typografie */
.anfahrt-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
  margin-bottom: 48px;
}
.anfahrt-fact {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--border);
  font-size: .9rem;
}
.anfahrt-fact:last-child { border-bottom: 1px solid var(--border); }
.anfahrt-fact-key {
  min-width: 110px; color: var(--text-muted);
  font-size: .78rem; font-weight: 400; flex-shrink: 0;
}
.anfahrt-fact-val { color: var(--text-mid); font-weight: 300; line-height: 1.6; }

/* Parkplatz-Hinweis — dezent wie terra-hinweis */
.anfahrt-park {
  margin-bottom: 48px; padding: 14px 20px;
  background: var(--terra-light); border-left: 2px solid var(--terra-mid);
  font-size: .82rem; color: var(--terra); line-height: 1.65;
}

/* Karte — volle Container-Breite, vertikal groß */
.map-wrap {
  width: 100%; overflow: hidden;
  border: 1px solid var(--border);
  height: 480px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
  filter: grayscale(.15) saturate(.9);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer { background: var(--sage-deep); padding: 64px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.f-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 6px; }
.f-logo-sub { font-size: .7rem; color: rgba(255,255,255,.3); letter-spacing: .12em; }
.f-col-title { font-size: .65rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer p, .footer a { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.9; display: block; }
.footer a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.f-bottom-left { display: flex; flex-direction: column; gap: 5px; }
.f-copy { font-size: .72rem; color: rgba(255,255,255,.25); letter-spacing: .06em; }
.f-bottom-left .f-copy { display: block; }
.footer-bottom a { display: inline; line-height: inherit; }
.f-dev-link { color: var(--white) !important; border-bottom: none !important; }
.f-dev-link:hover { color: rgba(255,255,255,.85) !important; }
.f-legal { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.f-legal a { font-size: .72rem; color: rgba(255,255,255,.3); transition: color .2s; display: inline !important; }
.f-legal a:hover { color: rgba(255,255,255,.65); }

/* ════════════════════════════════
   SHARED
════════════════════════════════ */
.section-label { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--terra); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--terra); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--text); line-height: 1.15; }
.section-title em { font-style: italic; color: var(--terra); }

/* Reveal — startet sichtbar, animiert beim Scrollen */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.hidden {
  opacity: 0;
  transform: translateY(22px);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .leistungen-header { grid-template-columns: 1fr; gap: 16px; }
  .leistungen-cols { grid-template-columns: 1fr; }
  .bew-grid { grid-template-columns: 1fr 1fr; }
  .termin-inner { grid-template-columns: 1fr; gap: 40px; }
  .anfahrt-intro { grid-template-columns: 1fr; gap: 16px; }
  .anfahrt-facts { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-burger { display: flex; }
  .header-inner { padding: 0 24px; }
      .slide-caption { padding: 0 40px 60px; }
      .slide-dots { right: 40px; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  .bew-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  section { padding: 72px 0; }
      .slide-caption { padding: 0 24px 52px; }
      .slide-dots { right: 24px; }
}


/* ════════════════════════════════════════════════════════════
   NEUE ERGÄNZUNGEN — v2 Upgrade
════════════════════════════════════════════════════════════ */

/* ── Progress Bar ─────────────────────────────────────────── */
.progress-bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--terra);
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Section Divider ──────────────────────────────────────── */
.section-divider {
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

/* ── Slide Controls (Dots + Pause) ───────────────────────── */
.slide-controls {
  position: absolute; bottom: 32px; right: 80px;
  display: flex; align-items: center; gap: 16px; z-index: 10;
}
.slide-pause {
  background: none; border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7); cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; transition: border-color .2s, color .2s;
  padding: 0;
}
.slide-pause:hover { border-color: rgba(255,255,255,.7); color: var(--white); }
.slide-pause .play-icon { display: none; }
.slide-pause.paused .pause-icon { display: none; }
.slide-pause.paused .play-icon { display: inline; }

/* ── Photo Placeholder ────────────────────────────────────── */
.photo-placeholder {
  width: 100%; height: 100%;
  background: var(--terra-light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--terra);
  font-size: .7rem; font-weight: 400;
  letter-spacing: .08em; text-align: center;
  aspect-ratio: 3/4;
}

/* ── Bewertungen: Rating-Zeile ────────────────────────────── */
.bew-rating {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
}
.bew-rating .bew-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; }
.bew-rating-label { font-size: .78rem; color: var(--text-muted); }
.bew-card blockquote { margin: 0; }

/* ── Anfahrt: dl/dt/dd semantisch ────────────────────────── */
.anfahrt-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-bottom: 48px; }
.anfahrt-fact  { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.anfahrt-fact:last-child { border-bottom: 1px solid var(--border); }
dt.anfahrt-fact-key { min-width: 110px; color: var(--text-muted); font-size: .78rem; font-weight: 400; flex-shrink: 0; }
dd.anfahrt-fact-val { margin: 0; color: var(--text-mid); font-weight: 300; line-height: 1.6; }

/* ── Google Maps: DSGVO 2-Klick ─────────────────────────── */
.map-consent-wrap {
  width: 100%;
  border: 1px solid var(--border);
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: stretch;
}
.map-consent-overlay {
  position: absolute; inset: 0;
  background: var(--terra-light);
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.map-consent-box {
  max-width: 440px; padding: 40px 36px; text-align: center;
}
.map-consent-icon {
  margin: 0 auto 16px;
  color: var(--terra);
  width: 28px; height: 28px;
}
.map-consent-text {
  font-size: .9rem; font-weight: 300; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 24px;
}
.map-consent-text a { color: var(--terra); text-decoration: underline; text-underline-offset: 2px; }
.map-consent-btn { cursor: pointer; }
.map-wrap {
  width: 100%; height: 480px;
  flex: 1;
}
.map-wrap iframe { filter: grayscale(.15) saturate(.9); }

/* ── Accordion: Keyboard & Click ─────────────────────────── */
.leistung-row:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: -2px;
  background: var(--white);
}
.leistung-row.open {
  grid-template-rows: auto 1fr;
  background: var(--white);
}
.leistung-row.open .leistung-num { color: var(--sage-dark); }
.leistung-row.open .leistung-name { color: var(--terra); }
.leistung-row.open .leistung-icon { opacity: 1; }
.leistung-row.open .leistung-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.leistung-row.open .leistung-body { /* handled by grid-template-rows */ }

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.hidden { opacity: 1 !important; transform: none !important; transition: none !important; }
  .slide { transition: opacity .1s; }
  .scroll-line { animation: none; }
}

/* ── Mobile: slide-controls ──────────────────────────────── */
@media (max-width: 1024px) {
  .slide-controls { right: 40px; }
  .anfahrt-facts  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .slide-controls { right: 24px; bottom: 24px; }
  .map-consent-box { padding: 28px 20px; }
}
