/* ============================================
   THERAPEUTEN-WORKSHOP — 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
   (Split-Hero: Text links, Bild rechts, randlos),
   nur Farbe, Hero-Inhalt und Sektionen 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) kommen aus dem Haus-:root. Section-Rhythmus,
   Reveal-Timing und Hero-Titelgröße sind hier raumspezifisch
   überschrieben (Atmosphaeren-Doku §5: Therapeut ist verwandt
   mit Verbindung in der Ruhe, aber wärmer und zugänglicher).
   ============================================ */

:root {
  --bg: #fefefc;
  --bg-warm: #f6f3ec;
  --bg-soft: #f0ece3;
  --ink: #232629;
  --ink-soft: #3b3f43;
  --muted: #a9a9a9;
  --line: #e7e3d8;
  --line-soft: #efece4;
  /* Gedaempftes Oxblood/Ziegelrot, abgeleitet aus Mareike Klemms
     Praxis-Logo. --accent-deep ist die dunklere Hover-Variante.
     Kontrast-Check (WCAG), bestaetigt vor dem Seitenbau:
     - weisser Text auf --accent (#8B2417) = 8.89:1 (AA + AAA)
     - weisser Text auf --accent-deep (#6E1D12) = 11.36:1 (AA + AAA)
     - --accent als Text/Linie auf --bg (#fefefc) = 8.80:1 (AA + AAA)
     Anders als bei Sprechstunde (dort verfehlt --accent selbst AA
     fuer Flaechen) traegt --accent hier bereits Buttons mit weissem
     Text direkt (Verbindung-Muster: bg=--accent, Hover=--accent-deep). */
  --accent: #8B2417;
  --accent-deep: #6E1D12;
  --blue: #6a8ca3;
  --blue-deep: #4f7088;

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

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

  /* Section-Rhythmus (Atmosphaeren-Doku §5): grosszuegiger als
     Sprechstunde (dichtester Raum, --space-lg/64px) und als der
     Haus-Default, aber deutlich zurueckhaltender als Verbindung
     (leerster Raum, clamp(140px,16.5vw,220px)) — "Ruhe ja, aber
     nicht museal-distanziert". */
  --space-section: clamp(115px, 14.5vw, 190px);
  --section-py: var(--space-section);
  --section-py-lg: var(--space-section-lg);

  /* Reveal-Tempo (Atmosphaeren-Doku §5): naeher an Verbindung
     (1100ms/16px/200ms) als an Sprechstunde (600ms/28px/80ms) –
     ruhiger, kompetenter Takt statt Reportage-Tempo. */
  --reveal-duration: 950ms;
  --reveal-distance: 20px;
  --reveal-stagger: 150ms;

  --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;
}
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(40px, 6.4vw, 88px); }
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-Text hier ueber dem hellen
   Bildbereich rechts sitzt, nicht ueber einem dunklen Vollflaechenfoto. */
#navCta .btn--primary {
  background: rgba(254,254,252,0.85);
  color: var(--accent-deep);
  border-color: rgba(139,36,23,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(139,36,23,0.4); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(139,36,23,0.06); }

/* Buttonflaeche mit weissem Text direkt auf --accent (8.89:1, AA/AAA
   fuer Flaechen), Hover auf die dunklere --accent-deep (11.36:1) –
   Verbindung-Muster, siehe Kontrast-Kommentar im :root oben. */
.btn--sage { background: var(--accent); color: #fefefc; box-shadow: 0 12px 32px -18px rgba(110,29,18,0.55); }
.btn--sage:hover { background: var(--accent-deep); color: #fff; filter: brightness(1.05); }

/* ---------- hero (Split-Layout: Text links / Bild rechts) ---------- */

.hero {
  position: relative;
}

.hero__split {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: clamp(640px, 85vh, 920px);
}

.hero__col-text {
  display: flex;
  align-items: center;
  padding: clamp(120px, 11vw, 160px) clamp(40px, 6vw, 88px) clamp(72px, 9vw, 100px) clamp(40px, 6vw, 88px);
}

.hero__copy { max-width: 560px; }

.hero__intro { opacity: 0; transform: translateY(20px); animation: heroIntro 1600ms cubic-bezier(0.16, 1, 0.3, 1) 500ms forwards; }
@keyframes heroIntro { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero__intro { animation: none; opacity: 1; transform: none; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* Raumspezifisch zwischen Verbindung (65px) und Sprechstunde
     (48px) positioniert (Atmosphaeren-Doku §5: kompetent-ruhig,
     nicht monumental), unter Beruecksichtigung der laengeren
     Headline (~62 Zeichen, vergleichbar mit Verbindungs 73-Zeichen-
     Zeile) – eigenstaendiger clamp(), nicht ratio-abgeleitet. */
  font-size: clamp(35px, 4.3vw, 57px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 22px;
}

.hero__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero__sub:last-of-type { margin-bottom: 40px; }

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

.hero__col-media { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  display: block;
}

@media (max-width: 960px) {
  .hero__split { grid-template-columns: 1fr; min-height: auto; }
  .hero__col-media { order: -1; min-height: clamp(300px, 46vh, 420px); }
  .hero__col-text { padding: 64px clamp(24px, 6vw, 40px) 160px; }
  .hero__copy { max-width: none; }
  .hero__cue { bottom: 18px; gap: 8px; }
  .hero__cue .bar { height: 34px; }
}

.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; }
}

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

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

/* ---------- 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;
  /* Label-Spalte auf 190px verbreitert (statt 140px): das laengste
     Label dieser Karte, "FORTBILDUNGSPUNKTE", braucht bei 11px/0.22em
     Letter-Spacing ca. 170px und stiess bei 140px fast ohne Abstand
     an die Wertspalte. 190px + 24px Gap lassen fuer alle Zeilen
     durchgaengig sichtbaren Freiraum. */
  grid-template-columns: 190px 1fr;
  gap: 24px;
  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); }

/* ---------- 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(139,36,23,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(106,140,163,0.06) 0%, transparent 60%);
}
.final-cta h2 { max-width: 24ch; margin: 0 auto 32px; font-size: clamp(32px, 4.5vw, 56px); }
.final-cta h2 em.script { color: var(--accent-deep); }
.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);
  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). */

/* ---------- Wer diesen Tag leitet (Text, kein Bild) ---------- */

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

/* ---------- scroll reveal ----------
   Timing kommt aus dem Raum-Token (--reveal-duration/-distance/
   -stagger, oben lokal im :root ueberschrieben). Das JS (.reveal ->
   .in per IntersectionObserver) bleibt 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; }
