/* ============================================
   KÖRPERSPRECHSTUNDE — Landingpage
   Eigenständiges Editorial-Layout für diese eine
   Kampagnenseite (kein Teil des Hauptseiten-Templates,
   daher eigene CSS-Datei statt /assets/style.css).
   Struktur/Mechanik 1:1 aus verbindung.css übernommen,
   nur Farbe, Hero-Aufbau und Inhalt wurden angepasst.

   Auf Haus-Tokensystem umgestellt (siehe assets/tokens.css,
   muss im <head> VOR dieser Datei geladen werden). Schrift-
   familien, Typo-Konstanten (line-height/letter-spacing der
   Headings), Section-Rhythmus und Reveal-Timing kommen jetzt
   aus dem Haus-:root. Farben (--accent/--accent-deep) bleiben
   unverändert lokal.
   ============================================ */

:root {
  --bg: #fefefc;
  --bg-warm: #f6f3ec;
  --bg-soft: #f0ece3;
  --ink: #232629;
  --ink-soft: #3b3f43;
  --muted: #a9a9a9;
  --line: #e7e3d8;
  --line-soft: #efece4;
  /* Gedämpftes Terracotta als eigener Akzent dieser Seite (weder das
     Marken-Grün noch das Petrol von verbindung.html). --accent-deep ist
     die dunklere Variante für Button-Flächen mit weißem Text sowie für
     Text auf hellem Grund. Kontrast-Check (WCAG):
     - weißer Text auf --accent-deep (#A85A3E) = 5.00:1 (AA für Fließtext)
     - weißer Text auf --accent (#C9765C) = 3.37:1 (nur für großen Text,
       daher NICHT für Button-Fläche mit Fließtext-Größe verwendet)
     --accent bleibt für Linien, Eyebrow-Akzente und großformatige
     Textstellen reserviert; alle Buttons/Flächen nutzen --accent-deep. */
  --accent: #C9765C;
  --accent-deep: #A85A3E;
  --blue: #6a8ca3;
  --blue-deep: #4f7088;

  /* Schriftfamilien: jetzt aus assets/tokens.css (--font-serif/
     --font-display/--font-sans), hier nicht mehr lokal definiert. */

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Section-Rhythmus: --space-section wird hier lokal auf --space-lg
     (64px) ueberschrieben (Atmosphaeren-Doku §5: Sprechstunde ist der
     dichteste, direkteste Raum – Reportage-Takt statt Ausstellung).
     --section-py-lg bleibt beim Haus-Default (nicht angefordert). */
  --space-section: var(--space-lg);
  --section-py: var(--space-section);
  --section-py-lg: var(--space-section-lg);

  /* Reveal-Tempo (Atmosphaeren-Doku §5): direktestes Tempo im Haus,
     kaum Staffelung. */
  --reveal-duration: 600ms;
  --reveal-distance: 28px;
  --reveal-stagger: 80ms;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  scroll-behavior: smooth;
}
/* Durchgehend EIN Hintergrundton auf der ganzen Seite, kein Sektionswechsel. */
body {
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- typography ---------- */

.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: var(--letter-spacing-display);
  line-height: var(--line-height-display);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.4vw, 68px); }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-deep);
  display: inline-block;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.script { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.prose { display: flex; flex-direction: column; gap: 22px; }
.prose p {
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: var(--line-height-body);
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}
.prose p em { font-family: var(--font-serif); font-style: italic; color: var(--ink); }

/* ---------- layout primitives ---------- */

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-py) 0; position: relative; }

/* ---------- nav ---------- */

.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.is-scrolled {
  background: rgba(254,254,252,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.01em; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; background: url('logo.png') center/contain no-repeat; flex: none; }
.brand-name { letter-spacing: 0.02em; }

.nav-cta {
  position: absolute;
  top: 18px;
  right: var(--gutter);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 1;
}
/* Header-CTA mit Zustandswechsel: helle "gescrollt"-Optik ist die
   unbedingte Basis (immer lesbar); Hero-Zustand (durchsichtig/outline)
   ist die Ausnahme obendrauf, da der Hero hier hell/textbasiert ist und
   keinen dunklen Bildhintergrund hat, auf dem die Nav sonst sitzt. */
#navCta .btn--primary {
  background: rgba(254,254,252,0.85);
  color: var(--accent-deep);
  border-color: rgba(168,90,62,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -14px rgba(35,38,41,0.2);
  transition: background 300ms ease-out, color 300ms ease-out, border-color 300ms ease-out, box-shadow 300ms ease-out;
}
#navCta .btn--primary:hover {
  background: rgba(254,254,252,0.96);
}
@media (min-width: 768px) {
  #navCta {
    position: fixed;
    z-index: 90;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1), background 280ms ease, color 280ms ease, box-shadow 280ms ease, border-color 280ms ease, filter 280ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--ink); color: var(--bg); box-shadow: 0 1px 0 rgba(35,38,41,0.04), 0 12px 28px -16px rgba(35,38,41,0.5); }
.btn--primary:hover { background: #000; filter: brightness(1.08); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 36px -16px rgba(35,38,41,0.65); }

.btn--ghost { background: transparent; color: var(--accent-deep); border-color: rgba(168,90,62,0.4); }
.btn--ghost:hover { border-color: var(--accent-deep); background: rgba(168,90,62,0.06); }

/* Button-Fläche mit weißem Text: --accent-deep (5.00:1, AA-konform für
   Fließtext-Größe). --accent selbst bleibt hier bewusst ungenutzt für
   Flächen, da Weiß darauf nur 3.37:1 erreicht (siehe Kommentar oben). */
.btn--sage { background: var(--accent-deep); color: #fefefc; box-shadow: 0 12px 32px -18px rgba(168,90,62,0.55); }
.btn--sage:hover { background: #8c4a33; color: #fff; filter: brightness(1.05); }

/* ---------- hero (schlicht, textbasiert, kein Bild) ---------- */

.hero {
  position: relative;
  min-height: clamp(600px, 88vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(140px, 16vw, 180px) 0 clamp(96px, 11vw, 140px);
}
.hero__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.hero__intro { opacity: 0; transform: translateY(20px); animation: heroIntro 1600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards; }
@keyframes heroIntro { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero__intro { animation: none; opacity: 1; transform: none; } }

.hero__eyebrow { justify-content: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* Raumspezifisch leicht verkleinert (Atmosphaeren-Doku §5: Sprech-
     stunde als zurueckhaltendster Raum), innerhalb ±20%-Korridor um
     den bisherigen Wert – eigenstaendiger clamp(), nicht ratio-abgeleitet. */
  font-size: clamp(29px, 4.2vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
  margin: 26px auto 28px;
}

.hero__sub {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 auto 40px;
  text-wrap: pretty;
}

.hero__ctas { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; justify-content: center; }

.hero__cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.hero__cue .bar {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(35,38,41,0.35), rgba(35,38,41,0));
  animation: descend 2.4s ease-in-out infinite;
}
@keyframes descend {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 176px; }
  .hero__cue { bottom: 18px; gap: 8px; }
  .hero__cue .bar { height: 34px; }
}

/* ---------- generic text sections (safe) ---------- */

.safe__inner { max-width: 720px; margin: 0 auto; }
.safe__title { margin-bottom: clamp(28px, 4vw, 40px); }

/* ---------- Stimmen (Testimonial-Platzhalter) ----------
   Gestapelte Einzelzitate statt Karten-Grid (Haus-Regel: keine
   ueberladenen Karten). Nutzt ausschliesslich bestehende Raum-Tokens. */
.testimonials { display: flex; flex-direction: column; gap: 56px; }
.testimonial { text-align: center; }
.testimonial blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--ink); margin: 0 0 14px; }
.testimonial cite { display: block; font-family: var(--font-sans); font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.testimonial .platzhalter-note { margin-top: 16px; font-size: 12px; color: var(--muted); font-style: italic; padding: 10px 16px; border: 1px dashed var(--line); border-radius: var(--r-sm); display: inline-block; }

/* ---------- Auf einen Blick ---------- */

.details { max-width: 720px; margin: 0 auto; }
.details__panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 24px 56px -36px rgba(35,38,41,0.16);
}
.details__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.details__row:last-child { border-bottom: none; }
.details__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.details__value { font-family: var(--font-serif); font-size: clamp(17px, 1.5vw, 21px); color: var(--ink); line-height: 1.35; }
@media (max-width: 640px) {
  .details__row { grid-template-columns: 1fr; row-gap: 4px; padding: 18px 22px; }
}
.details__note {
  margin-top: clamp(28px, 4vw, 40px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  text-wrap: balance;
}
.details__cta { margin-top: clamp(28px, 4vw, 40px); }

/* ---------- Wer dich begleitet ---------- */

.teacher { display: flex; gap: 32px; align-items: flex-start; }
@media (max-width: 640px) { .teacher { flex-direction: column; } }
.teacher__group-photo {
  flex: none;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.teacher__group-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 68%;
  display: block;
}
.teacher__bio { font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }
.teacher__names { font-family: var(--font-serif); font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); line-height: 1.4; margin-bottom: 18px; }
.teacher__names strong { font-weight: 400; }

/* ---------- Häufige Fragen ---------- */

.faq { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-inner { max-width: 720px; margin: 0 auto; padding: var(--section-py) var(--gutter); }
.faq-inner h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  padding: 22px 40px 22px 0;
  position: relative;
  line-height: 1.5;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-deep);
  transition: transform .3s;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-item.open .faq-a { max-height: 500px; padding: 0 0 26px; }
.faq-a p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }

/* ---------- Finale Einladung ---------- */

.final-cta {
  text-align: center;
  padding: var(--section-py-lg) var(--gutter);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(168,90,62,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(106,140,163,0.08) 0%, transparent 60%);
}
.final-cta h2 { max-width: 24ch; margin: 0 auto 32px; font-size: clamp(30px, 4.2vw, 52px); }
.final-cta .lede { margin: 0 auto 32px; text-align: center; }
.final-cta__meta {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin: 0 auto 40px;
}
.final-cta__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */

.footer--minimal {
  border-top: 1px solid var(--line-soft);
  padding: 32px var(--gutter);
  background: var(--bg);
  text-align: center;
}
.footer--minimal a { transition: color 200ms ease; }
.footer--minimal a:hover { color: var(--accent-deep); }
.footer--minimal p { font-size: 13px; color: var(--muted); letter-spacing: 0.03em; }

/* ---------- mobile sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 40;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-pill);
  padding: 14px 18px 14px 22px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  transform: translateY(120%);
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__text strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 15px; line-height: 1.2; }
.sticky-cta__text span { font-size: 11px; letter-spacing: 0.1em; color: rgba(254,254,252,0.65); }
.sticky-cta__btn {
  background: var(--accent-deep);
  color: #fefefc;
  border-radius: var(--r-pill);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 880px) { .sticky-cta { display: flex; } }

/* Bottom-Sheet: jetzt zentral in assets/sheet.css (alle acht Seiten). */

/* ---------- scroll reveal ----------
   Timing kommt jetzt aus dem Haus-Token (--reveal-duration/
   --reveal-distance/--reveal-stagger in assets/tokens.css) statt
   hier erneut als Literal zu stehen. Identisch zum bisherigen Wert
   – keine optische Änderung. Das JS (.reveal -> .in per
   IntersectionObserver) bleibt vorerst inline im Seiten-<script>,
   siehe assets/reveal.js zur geplanten Ablösung. */

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) var(--ease-atmosphere), transform var(--reveal-duration) var(--ease-atmosphere);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: var(--reveal-stagger); }
.reveal-delay-2 { transition-delay: calc(var(--reveal-stagger) * 2); }
.reveal-delay-3 { transition-delay: calc(var(--reveal-stagger) * 3); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { transition: none; opacity: 1; transform: none; }
  .hero__cue .bar { animation: none !important; }
  #navCta .btn--primary { transition: none; }
}

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
