/* ==========================================================================
   ADHS Coaching München · Funda Öcal — Designsystem v4
   Eigenständige Komponentensprache: weiche, durchgängig abgerundete Kanten
   (Karten, Bilder, Buttons, Formularfelder), ruhige Flächen statt Schatten.
   Signatur bleibt "Der Faden": jedes Angebot (Begleitung, Online-Gruppen,
   Schulungen) hat eine eigene Farbe, die sich durch Navigation und die
   jeweilige Seite zieht — inklusive Blogartikeln, die inhaltlich zu einem
   Angebot gehören (siehe body[data-service] weiter unten).
   ========================================================================== */

:root {
  /* Neutrale Basis */
  --paper:         #F5F3EC;
  --paper-alt:     #EAE5D8;
  --surface:       #FFFFFF;
  --surface-alt:   #EFEAE0;
  --ink:           #1A1B1F;
  --ink-soft:      #4C4E54;
  --ink-faint:     #8C8E92;
  --border:        #DEDACE;
  --border-strong: #C8C1AE;

  /* Petrol-Anker — Header, Footer, neutrale Hero-Bänder */
  --band:        #0F5C6E;
  --band-deep:   #08313B;
  --band-text:      #F5F3EC;
  --band-text-soft: rgba(245,243,236,.82);
  --band-text-faint:rgba(245,243,236,.6);

  /* Die drei Angebotsfarben — der "Faden" */
  --c-begleitung:      #D9481C;
  --c-begleitung-tint: #FBE0D2;
  --c-gruppen:         #1B7E4D;
  --c-gruppen-tint:    #DCEEE1;
  --c-schulungen:      #1259B8;
  --c-schulungen-tint: #DAE6F8;

  --service:      var(--band);
  --service-tint: var(--surface-alt);

  --font-display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-xs:  0.8125rem;
  --fs-sm:  0.9375rem;
  --fs-base:1.0625rem;
  --fs-md:  1.25rem;
  --fs-lg:  1.7rem;
  --fs-xl:  2.4rem;
  --fs-2xl: 3.2rem;
  --fs-3xl: 4.6rem;

  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1.125rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: 3.75rem;
  --space-7: 5.5rem;
  --space-8: 8rem;

  /* Durchgängig abgerundete Kanten — Karten, Bilder, Buttons, Formularfelder,
     Badges. Skaliert mit der Elementgröße: kleine Bedienelemente bekommen
     einen kleineren Radius als große Bildflächen. */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,25,25,.06);
  --shadow-md: 0 8px 24px rgba(20,25,25,.08);
  --ease: cubic-bezier(.4,0,.2,1);
  --container-w: 1180px;
  --container-narrow: 720px;
}

body[data-service="begleitung"] { --service: var(--c-begleitung); --service-tint: var(--c-begleitung-tint); }
body[data-service="gruppen"]    { --service: var(--c-gruppen);    --service-tint: var(--c-gruppen-tint); }
body[data-service="schulungen"] { --service: var(--c-schulungen); --service-tint: var(--c-schulungen-tint); }

@media (prefers-color-scheme: dark) {
  :root {
    --paper:         #16191A;
    --paper-alt:     #1D2122;
    --surface:       #1F2324;
    --surface-alt:   #262A2B;
    --ink:           #F0EEE6;
    --ink-soft:      #C6C7C2;
    --ink-faint:     #8F9391;
    --border:        #33383A;
    --border-strong: #454B4D;

    --band:        #0B4A59;
    --band-deep:   #052024;

    --c-begleitung:      #F17C4C;
    --c-begleitung-tint: #3A2115;
    --c-gruppen:         #4FBE84;
    --c-gruppen-tint:    #163D28;
    --c-schulungen:      #6FA3EA;
    --c-schulungen-tint: #16273D;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.15; margin: 0 0 var(--space-3);
  letter-spacing: -0.015em; overflow-wrap: break-word; color: var(--ink);
}
p { margin: 0 0 var(--space-3); color: var(--ink-soft); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2.5px solid var(--service); outline-offset: 3px; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--space-4); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-4); }

@media (max-width: 640px) {
  :root {
    --fs-3xl: 2.6rem;
    --fs-2xl: 2rem;
    --fs-xl: 1.6rem;
    --fs-lg: 1.35rem;
    --space-7: 3.5rem;
    --space-8: 5rem;
  }
  .container, .container-narrow { padding: 0 var(--space-3); }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: .8rem 1.4rem;
}
.skip-link:focus { left: var(--space-4); top: var(--space-3); }

/* Eyebrow: reine Mono-Beschriftung, kein Strich-Ornament */
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--service);
  margin-bottom: var(--space-2);
}

.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.lede { font-size: var(--fs-md); color: var(--ink-soft); max-width: 56ch; }

/* ---------- Buttons: rechteckig, kein Pill-Look ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95rem 1.8rem; border-radius: var(--radius-xs);
  font-weight: 600; font-size: var(--fs-sm); border: 1.5px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
/* Hover-Zustände bleiben bewusst innerhalb der warmen Markenfarben — kein
   Umschlagen ins Schwarze, das für ein Coaching-/Therapie-Publikum zu hart
   und kalt wirkt. */
.btn-primary { background: var(--service); color: #FFFDF9; border-color: rgba(255,253,249,.4); }
.btn-primary:hover { filter: brightness(.87); border-color: rgba(255,253,249,.65); }
.btn-secondary { background: transparent; border-color: var(--btn-accent, var(--service)); color: var(--btn-accent, var(--service)); }
.btn-secondary:hover { background: var(--btn-accent, var(--service)); color: #FFFDF9; }
.btn-on-dark { background: transparent; border-color: rgba(245,243,236,.5); color: var(--band-text); }
.btn-on-dark:hover { background: rgba(245,243,236,.14); border-color: var(--band-text); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: var(--fs-base); }
.btn-icon { width: 18px; height: 18px; }

/* ---------- Header: flach, ohne Weichzeichner ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: var(--space-4); }

.brand-logo { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand-logo img { height: 40px; width: auto; display: block; }
/* Bis 1150px ausgeblendet: erst ab dort ist neben dem Logo-Icon, den
   Nav-Links und dem Button genug Platz für den Schriftzug (siehe
   Breite-Messung: mit Schriftzug braucht die Desktop-Nav ~1132px). Deckt
   sowohl Handy (Burger-Menü) als auch Tablet-Querformat (volle Nav ab
   960px) ab. */
@media (max-width: 1150px) { .brand-logo span { display: none; } }

.nav-desktop { display: flex; align-items: center; gap: var(--space-5); flex-wrap: nowrap; }
.nav-links { display: flex; gap: var(--space-4); flex-wrap: nowrap; }
.nav-links a {
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  position: relative; padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--service); border-color: var(--service); }
/* Hover-Farbvorschau: zeigt schon beim Überfahren die Farbe des jeweiligen
   Angebots, unabhängig davon, auf welcher Seite man sich gerade befindet. */
.nav-links a.nav-begleitung:hover { color: var(--c-begleitung); border-color: var(--c-begleitung); }
.nav-links a.nav-gruppen:hover { color: var(--c-gruppen); border-color: var(--c-gruppen); }
.nav-links a.nav-schulungen:hover { color: var(--c-schulungen); border-color: var(--c-schulungen); }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.nav-cta .btn { white-space: nowrap; }

.nav-toggle { display: block; background: none; border: none; color: var(--ink); padding: .5rem; flex-shrink: 0; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.mobile-panel { display: none; }
.mobile-actions { display: none; align-items: center; gap: var(--space-2); }
.mobile-cta { padding: .7rem 1.3rem; font-size: .8rem; white-space: nowrap; flex-shrink: 0; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .mobile-actions { display: flex; }
  .mobile-panel {
    display: flex; flex-direction: column; gap: var(--space-4);
    position: fixed; inset: 80px 0 0 0; background: var(--paper); z-index: 150;
    padding: var(--space-5) var(--space-4); transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); overflow-y: auto;
  }
  .mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-panel .nav-links { flex-direction: column; gap: var(--space-4); font-size: var(--fs-md); white-space: normal; }
  .mobile-panel .btn-lg { align-self: flex-start; }
}

/* ---------- Hero-Grafik: "Der Faden" als Hintergrundbild ----------
   Gilt für .hero (Startseite) und .page-hero (Unterseiten). Die Linien
   ziehen sich per var(--service) automatisch in der Farbe des jeweiligen
   Angebots. Ein Verlauf (::before) liegt IMMER über der Grafik und
   garantiert Lesbarkeit — die Grafik selbst ist bewusst nur eine dezente,
   halbtransparente Linienzeichnung, kein kontrastreiches Foto, damit auf
   jeder Bildschirmgröße genug Kontrast zum Text bleibt. */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero-art, .page-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-art .thread-line, .page-hero-art .thread-line { fill: none; stroke: var(--service); }
.hero-art .thread-dot, .page-hero-art .thread-dot { fill: var(--service); }
.hero-art .hero-blob, .page-hero-art .hero-blob { fill: var(--service); }
.hero-art .grad-stop-strong, .page-hero-art .grad-stop-strong { stop-color: var(--service); stop-opacity: .55; }
.hero-art .grad-stop-mid, .page-hero-art .grad-stop-mid { stop-color: var(--service); stop-opacity: .32; }
.hero-art .grad-stop-fade, .page-hero-art .grad-stop-fade { stop-color: var(--service); stop-opacity: 0; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--band) 0%, color-mix(in srgb, var(--band) 88%, transparent) 38%, color-mix(in srgb, var(--band) 70%, transparent) 100%);
}
@media (max-width: 640px) {
  /* Auf schmalen Screens läuft der Text über die volle Breite — Verlauf
     bleibt überall mindestens 80% deckend, damit nichts unlesbar wird. */
  .hero::before, .page-hero::before {
    background: linear-gradient(180deg, var(--band) 0%, color-mix(in srgb, var(--band) 82%, transparent) 100%);
  }
}

/* ---------- Page-Hero mit echtem Foto statt SVG-Grafik ----------
   Für einzelne Seiten, auf denen ein echtes Bild statt der abstrakten
   Fadengrafik passender ist (z.B. Coaching-Raum-Foto). Der Verlauf ist
   hier bewusst kräftiger als bei der Grafik-Variante, weil ein Foto viel
   mehr eigenen Kontrast/Bildinhalt mitbringt, der die Schrift stören
   könnte — Lesbarkeit hat immer Vorrang vor Bildwirkung. */
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.65) brightness(.9); }
.page-hero.has-photo::before {
  background: linear-gradient(100deg, var(--band) 0%, color-mix(in srgb, var(--band) 95%, transparent) 32%, color-mix(in srgb, var(--band) 78%, transparent) 100%);
}
@media (max-width: 640px) {
  .page-hero.has-photo::before {
    background: linear-gradient(180deg, var(--band) 0%, color-mix(in srgb, var(--band) 93%, transparent) 100%);
  }
}

/* ---------- Hero: freundlicher Farbverlauf statt Fläche, Bild kompakt ---------- */
.hero {
  background: linear-gradient(135deg, var(--band) 0%, color-mix(in srgb, var(--band) 55%, var(--service) 45%) 100%);
  color: var(--band-text); padding: var(--space-7) 0 var(--space-6);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.hero .eyebrow { color: color-mix(in srgb, var(--service) 65%, white); }
.hero h1 { font-size: var(--fs-3xl); line-height: 1.03; color: var(--band-text); -webkit-hyphens: auto; hyphens: auto; }
.hero h1 em { font-style: italic; color: color-mix(in srgb, var(--service) 70%, white); }
.hero-tagline { font-size: var(--fs-md); font-weight: 700; line-height: 1.3; color: color-mix(in srgb, var(--service) 45%, white); margin: var(--space-2) 0 var(--space-4); }
.hero-lede { font-size: var(--fs-md); color: var(--band-text-soft); max-width: 50ch; margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Kleiner klickbarer Hinweis-Badge oberhalb der Hero-Überschrift — für
   Ankündigungen, die above-the-fold sichtbar sein sollen, ohne mit den
   beiden Haupt-CTAs weiter unten zu konkurrieren. */
.hero-badge {
  display: inline-flex; align-items: center; gap: .6em;
  background: rgba(255,255,255,.08); border: 1px solid rgba(245,243,236,.32);
  border-radius: var(--radius-pill); padding: .5rem 1.1rem .5rem .65rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--band-text);
  margin-bottom: var(--space-4); transition: border-color .2s var(--ease), background .2s var(--ease);
}
.hero-badge:hover { background: rgba(255,255,255,.16); border-color: rgba(245,243,236,.6); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gruppen); flex-shrink: 0; }
.hero-media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  max-width: 260px; margin-left: auto;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; filter: saturate(.85); }
@media (max-width: 640px) {
  .hero h1 { font-size: 2.15rem; }
  .hero-media { aspect-ratio: 16/10; max-width: 200px; }
}

/* Variante für freigestellte Grafiken (z.B. transparente Illustrationen)
   statt Foto-Ausschnitten — kein Zuschnitt/Filter, quadratisches Format. */
.hero-media.is-contain { max-width: 460px; }
.hero-media.is-contain img { object-fit: contain; aspect-ratio: 1/1; filter: none; }
@media (max-width: 640px) { .hero-media.is-contain { aspect-ratio: 1/1; max-width: 280px; } }
.hero-media-caption { margin-top: var(--space-3); text-align: center; font-size: var(--fs-xs); line-height: 1.5; color: var(--band-text-soft); }
.hero-media-caption strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--band-text); margin-bottom: .15em; }

/* ---------- Abschnitt mit Hintergrundfoto (z.B. "Ablauf" bei Online-Gruppen) ----------
   Gleiches Prinzip wie .page-hero.has-photo: Foto als Hintergrund, kräftiger
   Verlauf darüber für Lesbarkeit, Text in heller Schrift. */
.section-photo { position: relative; overflow: hidden; color: var(--band-text); }
.section-photo-bg { position: absolute; inset: 0; z-index: 0; }
.section-photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--band) 0%, color-mix(in srgb, var(--band) 90%, transparent) 45%, color-mix(in srgb, var(--band) 60%, transparent) 100%);
}
@media (max-width: 640px) {
  .section-photo::before { background: linear-gradient(180deg, var(--band) 0%, color-mix(in srgb, var(--band) 88%, transparent) 100%); }
}
.section-photo .container { position: relative; z-index: 2; }
.section-photo .eyebrow { color: color-mix(in srgb, var(--service) 65%, white); }
.section-photo h2 { color: var(--band-text); }
.section-photo p { color: var(--band-text-soft); }

/* Icon-Variante des Hero-Bildkastens — für Seiten ohne passendes Foto
   (z.B. Blog-Übersicht, Blogartikel), damit nicht auf jeder Seite dasselbe
   Porträt wiederverwendet werden muss. Badge-Look statt flacher Fläche:
   runder Farbkreis mit weißem Icon, sanfter Verlaufshintergrund und
   dezenter Schattentiefe. */
.hero-icon-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  max-width: 260px; margin-left: auto; aspect-ratio: 4/5;
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--service) 22%, var(--surface)) 0%,
    color-mix(in srgb, var(--service) 8%, var(--surface)) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-icon-panel .icon-badge {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, var(--service), color-mix(in srgb, var(--service) 78%, black));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px -6px color-mix(in srgb, var(--service) 55%, transparent);
}
.hero-icon-panel .icon-badge svg { width: 52%; height: 52%; color: #FFFDF9; }
@media (max-width: 640px) { .hero-icon-panel { aspect-ratio: 16/10; max-width: 200px; } }

/* ---------- Klammer / gemeinsame Ausrichtung ---------- */
.klammer-band { background: var(--paper-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.klammer-band .container { padding-top: var(--space-5); padding-bottom: var(--space-5); text-align: center; }
.klammer-band p { font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; color: var(--band); max-width: 46ch; margin: 0 auto; line-height: 1.35; }

/* ---------- Sections ---------- */
section { padding: var(--space-7) 0; }
.section-alt { background: var(--paper-alt); }
.section-white { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: var(--space-6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { font-size: var(--fs-md); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-5); } }

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.emph { font-family: var(--font-display); font-style: italic; color: var(--band); }

/* ---------- Der Faden: Angebots-Karten, abgerundet mit Farbakzent oben ---------- */
.thread-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 980px) { .thread-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .thread-grid { grid-template-columns: 1fr; } }
/* Variante für genau drei Angebote (Startseite): auf großen Screens 3
   Spalten, darunter greifen die normalen .thread-grid-Regeln (2, dann 1
   Spalte) -- vorher stand das als Inline-Style fest auf 3 Spalten und
   überschrieb die responsiven Regeln auch auf dem Handy. */
@media (min-width: 981px) { .thread-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.thread-card {
  background: color-mix(in srgb, var(--card-accent, var(--service)) 5%, var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
  padding: var(--space-5) var(--space-4); display: flex; flex-direction: column; height: 100%;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.thread-card:hover { border-color: var(--card-accent, var(--service)); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.thread-card .card-icon svg { width: 24px; height: 24px; color: var(--card-accent, var(--service)); margin-bottom: var(--space-3); }
.thread-card h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.thread-card p { font-size: var(--fs-sm); flex: 1; }
.thread-card .card-link { margin-top: var(--space-3); font-size: var(--fs-sm); font-weight: 700; color: var(--card-accent, var(--service)); display: inline-flex; align-items: center; gap: .4em; }
.thread-card .card-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.thread-card:hover .card-link svg { transform: translateX(3px); }
.thread-card.is-begleitung { --card-accent: var(--c-begleitung); }
.thread-card.is-gruppen { --card-accent: var(--c-gruppen); }
.thread-card.is-schulungen { --card-accent: var(--c-schulungen); }

/* ---------- Angebots-Karten (Begleitung: Coaching/Mentoring/Therapie) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; gap: var(--space-4); } }
.offer-card {
  background: color-mix(in srgb, var(--service) 6%, var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
  padding: var(--space-5); display: flex; flex-direction: column; height: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--service); }
.offer-card .eyebrow { margin-bottom: var(--space-3); }
.offer-card h3 { font-size: var(--fs-lg); }
.offer-card p { flex: 1; }
.offer-card.is-planned { border-style: dashed; }
.status-tag { display: inline-flex; align-items: center; gap: .4em; font-size: var(--fs-xs); font-weight: 700; color: #fff; background: var(--service); border-radius: var(--radius-pill); padding: .35rem .9rem; margin-bottom: var(--space-3); width: fit-content; }

/* ---------- Callout ---------- */
/* Kräftige Flächenfarbe statt blassem Tint: sorgt für echten Kontrast zum
   Seitenhintergrund und hebt sich klar von hellen Karten (z. B. Testimonials)
   ab, statt wie eine zweite, nur leicht andersfarbene Box zu wirken. */
.callout { background: var(--service); color: #FFFDF9; padding: var(--space-5); border-radius: var(--radius-md); }
.callout p:last-child { margin-bottom: 0; }
.callout p { color: color-mix(in srgb, #FFFDF9 88%, transparent); }
.callout h3 { color: #FFFDF9; font-size: var(--fs-md); }

/* ---------- Cards: abgerundete Flächen mit Farbkante oben ---------- */
.card {
  background: color-mix(in srgb, var(--service) 6%, var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; padding: var(--space-4);
}
.card h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.card p { margin: 0; font-size: var(--fs-sm); }
.card-icon { display: block; margin-bottom: var(--space-3); }
.card-icon svg { width: 24px; height: 24px; color: var(--service); }
/* Karten, die als eigenständige Flächen wirken sollen (z.B. Formulare) */
.card.is-panel { padding: var(--space-5); }

/* Hover-Effekt für reine Inhalts-Karten (nicht für Formular-Container –
   sonst würde die ganze Karte beim Tippen im Formular "wackeln"). */
.card:not(:has(form)) { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.card:not(:has(form)):hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--service); }

.check-list li { display: flex; align-items: flex-start; gap: .75em; margin-bottom: var(--space-3); font-size: var(--fs-base); color: var(--ink); }
.check-list svg { width: 18px; height: 18px; color: var(--service); flex-shrink: 0; margin-top: 3px; }
.check-list.cols-2 { max-width: 680px; }
@media (min-width: 640px) {
  .check-list.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-5); }
}

/* ---------- Ablauf: nummeriert (echte Sequenz), keine Kreis-Icons ---------- */
.timeline { display: flex; flex-direction: column; gap: var(--space-5); }
.timeline-item { display: grid; grid-template-columns: 4rem 1fr; column-gap: var(--space-3); row-gap: .2rem; padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-icon { display: none; }
.timeline-item .step-tag {
  font-family: var(--font-display); font-weight: 700; font-style: normal; font-size: var(--fs-xl); color: var(--service);
  line-height: 1; grid-row: 1 / 3; white-space: nowrap;
}
.timeline-item h3 { margin: 0 0 .3rem; font-size: var(--fs-lg); }

/* Variante für Uhrzeiten (z.B. Tagesablauf) statt kurzer Schrittnummern —
   breitere erste Spalte, kleinere Schriftgröße, damit "09:00" nicht
   überläuft. */
.timeline.is-schedule .timeline-item { grid-template-columns: 4.6rem 1fr; }
.timeline.is-schedule .step-tag { font-size: var(--fs-md); font-family: var(--font-mono); font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (max-width: 760px) { .testimonial-grid { grid-template-columns: 1fr; } }
/* Klare weiße Fläche statt blassem Farb-Tint (der neben dem Callout sonst
   wie eine zweite, kaum unterscheidbare Box wirkt) + ein großes, dezentes
   Anführungszeichen als eigenständiges Gestaltungselement statt reiner
   Flächenfarbe. */
.testimonial-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; padding: var(--space-5); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--service); }
.testimonial-card::before {
  content: "\201C"; position: absolute; top: -.35rem; left: var(--space-4);
  font-family: var(--font-display); font-size: 4.5rem; line-height: 1;
  color: color-mix(in srgb, var(--service) 18%, var(--surface)); pointer-events: none;
}
.testimonial-card .stars, .testimonial-card p, .testimonial-card .testimonial-meta { position: relative; }
.testimonial-card .stars { color: #E8A23D; letter-spacing: .1em; margin-bottom: var(--space-2); font-size: .9rem; }
.testimonial-card p { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-md); font-style: italic; line-height: 1.4; margin-bottom: var(--space-3); flex: 1; }
.testimonial-meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-soft); }

/* ---------- Accordion: Plus/Minus als Zeichen, keine Kreis-Buttons ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  background: none; border: none; text-align: left; padding: var(--space-4) 0;
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; color: var(--ink);
}
.accordion-trigger:hover { color: var(--service); }
.accordion-trigger .plus { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.accordion-trigger .plus svg { display: none; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ""; position: absolute; background: var(--ink); transition: transform .25s var(--ease), background .2s var(--ease);
}
.accordion-trigger .plus::before { left: 2px; right: 2px; top: 50%; height: 2px; transform: translateY(-50%); }
.accordion-trigger .plus::after { top: 2px; bottom: 2px; left: 50%; width: 2px; transform: translateX(-50%); }
.accordion-trigger[aria-expanded="true"] .plus::before, .accordion-trigger[aria-expanded="true"] .plus::after { background: var(--service); }
.accordion-trigger[aria-expanded="true"] .plus::after { transform: translateX(-50%) scaleY(0); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.accordion-panel-inner { padding-bottom: var(--space-4); max-width: 62ch; }
.accordion-panel-inner p { margin: 0; }

/* ---------- CTA band: flach, mit Farbkante statt Glow ---------- */
.cta-band { background: var(--band); color: var(--band-text); padding: var(--space-6); border-left: 5px solid var(--service); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.cta-band h2 { color: var(--band-text); font-size: var(--fs-xl); margin-bottom: var(--space-2); overflow-wrap: break-word; }
.cta-band p { color: var(--band-text-soft); margin: 0; max-width: 44ch; }
.cta-band-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-band { padding: var(--space-5); }
  .cta-band-inner { flex-direction: column; align-items: stretch; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
/* min-width: 0 verhindert, dass ein Eingabefeld (z.B. lange E-Mail-Adresse)
   die Grid-Spalte über ihre eigentliche Breite hinausdrückt — ohne das
   würde das Feld aus seiner Spalte/dem umgebenden Container ausbrechen. */
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: var(--space-3); min-width: 0; }
.form-field label { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft); }
.form-field label .req { color: var(--service); }
.form-field input:not([type="checkbox"]):not([type="radio"]), .form-field textarea, .form-field select {
  width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  padding: .85rem 1rem; color: var(--ink); transition: border-color .2s var(--ease);
}
.form-field input:not([type="checkbox"]):not([type="radio"]):focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--service); outline: none; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.8rem; cursor: pointer;
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%234C4E54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  .form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23C6C7C2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.form-hint { font-size: var(--fs-xs); color: var(--ink-faint); margin: 0 0 var(--space-3); }
.form-field.has-error input:not([type="checkbox"]):not([type="radio"]), .form-field.has-error textarea, .form-field.has-error select { border-color: #8C2F1E; }
.field-error { font-size: var(--fs-xs); color: #8C2F1E; margin: -.2rem 0 0; }
@media (prefers-color-scheme: dark) { .field-error { color: #E7A492; } }
.form-check { display: flex; align-items: flex-start; gap: .8em; font-size: var(--fs-sm); color: var(--ink-soft); margin: var(--space-4) 0; }
.form-check input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; accent-color: var(--service); cursor: pointer; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.cf-turnstile { margin: var(--space-3) 0; }
.form-status { font-size: var(--fs-sm); font-weight: 500; padding: .8rem 1rem; border-radius: var(--radius-xs); margin-bottom: var(--space-3); display: none; }
.form-status.success { display: block; background: var(--service-tint); color: var(--ink); }

/* ---------- Eigenes Dropdown (ersetzt <select> optisch komplett) ----------
   Das ursprüngliche <select> bleibt im DOM (für Formular-Übermittlung und
   als Fallback ohne JavaScript), wird aber unsichtbar über den sichtbaren
   Trigger-Button gelegt. So bleibt "Label anklicken" & Tastaturbedienung
   nahtlos, nur das Popup/die Liste ist jetzt eigenes, gestaltbares Markup
   statt der nicht stylebaren Browser-eigenen Optionsliste. */
.dropdown { position: relative; }
.dropdown select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; border: 0; padding: 0;
}
.dropdown-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  padding: .85rem 1rem; color: var(--ink); font-family: inherit; font-size: 1rem; text-align: left;
  cursor: pointer; transition: border-color .2s var(--ease);
}
.dropdown-trigger:hover, .dropdown-trigger:focus-visible { border-color: var(--service); outline: none; }
.dropdown.is-open .dropdown-trigger { border-color: var(--service); }
.dropdown-trigger:disabled { cursor: not-allowed; opacity: .55; }
.dropdown-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-value.is-placeholder { color: var(--ink-faint); }
.dropdown-caret { width: 14px; height: 14px; flex-shrink: 0; color: var(--ink-faint); transition: transform .2s var(--ease); }
.dropdown.is-open .dropdown-caret { transform: rotate(180deg); }
.dropdown-listbox {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0;
  max-height: 260px; overflow-y: auto; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: .4rem; list-style: none;
}
.dropdown-option { padding: .6rem .75rem; border-radius: var(--radius-xs); cursor: pointer; font-size: var(--fs-sm); color: var(--ink); }
.dropdown-option.is-highlighted { background: color-mix(in srgb, var(--service) 12%, var(--surface)); }
.dropdown-option.is-selected { font-weight: 700; color: var(--service); }

/* ---------- Eigener Datumsauswähler (ersetzt <input type="date">) ---------- */
.datepicker { position: relative; }
.datepicker input[type="date"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; border: 0; padding: 0;
}
.datepicker-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  padding: .85rem 1rem; color: var(--ink); font-family: inherit; font-size: 1rem; text-align: left;
  cursor: pointer; transition: border-color .2s var(--ease);
}
.datepicker-trigger:hover, .datepicker-trigger:focus-visible { border-color: var(--service); outline: none; }
.datepicker.is-open .datepicker-trigger { border-color: var(--service); }
.datepicker-trigger:disabled { cursor: not-allowed; opacity: .55; }
.datepicker-value.is-placeholder { color: var(--ink-faint); }
.datepicker-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink-faint); }
.datepicker-panel {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 272px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: var(--space-3);
}
.datepicker-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.datepicker-header button {
  background: none; border: none; color: var(--ink-soft); cursor: pointer; padding: .35rem;
  border-radius: var(--radius-xs); display: flex;
}
.datepicker-header button:hover { background: var(--surface-alt); color: var(--ink); }
.datepicker-header button:disabled { opacity: .3; cursor: not-allowed; }
.datepicker-header button:disabled:hover { background: none; }
.datepicker-header svg { width: 16px; height: 16px; }
.datepicker-month-label { font-weight: 700; font-size: var(--fs-sm); }
.datepicker-weekdays, .datepicker-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.datepicker-weekdays span { font-size: .68rem; font-weight: 600; color: var(--ink-faint); padding: .3rem 0; }
.datepicker-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: none; background: none;
  border-radius: 50%; font-size: var(--fs-sm); color: var(--ink); cursor: pointer;
}
.datepicker-day:hover:not(:disabled) { background: var(--surface-alt); }
.datepicker-day.is-today { font-weight: 700; color: var(--service); }
.datepicker-day.is-selected { background: var(--service); color: #FFFDF9; }
.datepicker-day.is-outside { color: var(--ink-faint); opacity: .4; }
.datepicker-day:disabled { opacity: .3; cursor: not-allowed; }
.form-status.error { display: block; background: #F5DEDA; color: #8C2F1E; }
@media (prefers-color-scheme: dark) { .form-status.error { background: #3A211C; color: #E7A492; } }
.form-status.form-status-final { margin-bottom: 0; padding: var(--space-5) var(--space-4); font-size: var(--fs-md); text-align: center; }

/* ---------- Mehrfachauswahl (Themen-Checkboxen in Formularen) ---------- */
.choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: var(--space-3); }
@media (max-width: 480px) { .choice-group { grid-template-columns: 1fr; } }
.choice-item {
  display: flex; align-items: flex-start; gap: .6em; font-size: var(--fs-sm); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  padding: .65rem .85rem; cursor: pointer; transition: border-color .2s var(--ease);
  min-width: 0;
}
.choice-item:has(input:checked) { border-color: var(--service); background: var(--service-tint); }
.choice-item input { accent-color: var(--service); margin-top: 3px; flex-shrink: 0; }
.choice-item span { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }

.booking-embed { border: 1px solid var(--border); border-top: 4px solid var(--service); border-radius: var(--radius-md); overflow: hidden; position: relative; }
.booking-embed iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.booking-fallback { text-align: center; font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }

/* Sichtbar, wenn der Kalender nicht innerhalb weniger Sekunden lädt
   (siehe assets/js/main.js) — ersetzt optisch den leeren/hängenden iframe. */
.booking-error {
  padding: var(--space-6) var(--space-4); text-align: center; background: var(--surface-alt);
}
.booking-error p { max-width: 46ch; margin: 0 auto var(--space-4); color: var(--ink); }
.booking-error[hidden] { display: none; }

/* ---------- Footer: zweizonig statt vierspaltigem Card-Raster ---------- */
.site-footer { background: var(--band-deep); color: var(--band-text-faint); padding: var(--space-7) 0 var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-5); padding-bottom: var(--space-6); border-bottom: 1px solid rgba(245,243,236,.16); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--band-text); margin-bottom: var(--space-3); }
.footer-brand img { height: 36px; width: auto; display: block; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; color: var(--band-text); margin-bottom: var(--space-3); }
.footer-col ul li { margin-bottom: .6rem; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--band-text); text-decoration: underline; }

/* Social-Icons im Footer statt Textlinks */
.social-links { display: flex; gap: .6rem; margin-top: .3rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(245,243,236,.28);
  color: var(--band-text-faint); transition: color .2s var(--ease), border-color .2s var(--ease);
}
.social-links a:hover { color: var(--band-text); border-color: var(--band-text); text-decoration: none; }
.social-links svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-4); font-size: var(--fs-xs); }
.footer-bottom a { margin-left: var(--space-4); }
.footer-bottom-links a:first-child { margin-left: 0; }
/* Sobald die Zeile umbricht (Handy), soll das Copyright unten stehen statt
   oben -- Quellreihenfolge im HTML bleibt für Screenreader unverändert,
   nur die visuelle Reihenfolge wird per "order" getauscht. */
@media (max-width: 640px) {
  .footer-bottom span:first-child { order: 2; }
  .footer-bottom-links { order: 1; }
}

/* ---------- Page hero (Unterseiten): mit Bildkarte statt reiner Fläche ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--band) 0%, color-mix(in srgb, var(--band) 55%, var(--service) 45%) 100%);
  color: var(--band-text); padding: var(--space-6) 0 var(--space-5); border-bottom: 6px solid var(--service);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--band-text); font-size: var(--fs-2xl); max-width: 32ch; overflow-wrap: break-word; }
.page-hero h1 .accent { color: color-mix(in srgb, var(--service) 45%, white); }
.page-hero p { color: var(--band-text-soft); max-width: 58ch; font-size: var(--fs-md); }
.hero h1 .accent { color: color-mix(in srgb, var(--service) 45%, white); }
.breadcrumb { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--service) 65%, white); margin-bottom: var(--space-3); }
.breadcrumb a { color: rgba(245,243,236,.6); }

/* Zweispaltiger Page-Hero mit echter Bildkarte statt Fließtext-Fläche allein
   — Text links, rundes Foto rechts, wie beim Startseiten-Hero. */
.page-hero-grid { display: grid; grid-template-columns: 1.8fr .8fr; gap: var(--space-6); align-items: center; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.page-hero-grid.page-hero-grid--single { grid-template-columns: 1fr; max-width: 62ch; }
.page-hero-grid .hero-media { aspect-ratio: 4/5; }
@media (max-width: 640px) { .page-hero-grid .hero-media { aspect-ratio: 16/10; max-width: 200px; } }

/* ---------- Prose (Impressum/Datenschutz/Blog) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--space-6); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--space-4); }
.prose a { color: var(--band); text-decoration: underline; text-underline-offset: 2px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: var(--space-3); }
.prose li { margin-bottom: .4em; color: var(--ink-soft); }
.prose blockquote { margin: var(--space-5) 0; padding-left: var(--space-4); border-left: 3px solid var(--service); font-family: var(--font-display); font-style: italic; font-size: var(--fs-md); color: var(--ink); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: color-mix(in srgb, var(--service) 6%, var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
  padding: var(--space-5); display: flex; flex-direction: column; height: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card time { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--service); }
.post-card h3 { font-size: var(--fs-lg); margin-top: var(--space-2); }
.post-card p { flex: 1; }
.post-meta { display: flex; gap: var(--space-3); align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--space-4); }
.post-meta .tag { color: var(--service); }
.post-hero-image { overflow: hidden; border-top: 4px solid var(--service); border-radius: var(--radius-md); margin: var(--space-5) 0; aspect-ratio: 16/9; }
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.podcast-embed { border: 1px solid var(--border); border-top: 4px solid var(--service); border-radius: var(--radius-md); overflow: hidden; margin: var(--space-4) 0; }
.podcast-embed iframe { width: 100%; border: 0; display: block; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 200;
  max-width: 560px; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--radius-md);
  padding: var(--space-4); transform: translateY(140%); transition: transform .4s var(--ease);
  /* Absicherung gegen zu langen Text auf kleinen Bildschirmen: die Box
     bricht dann nie über den sichtbaren Viewport hinaus, sondern scrollt
     stattdessen intern. */
  max-height: calc(100dvh - 2 * var(--space-4)); overflow-y: auto;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: var(--fs-xs); margin-bottom: var(--space-3); }
.cookie-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.cookie-actions .btn { padding: .7rem 1.2rem; font-size: var(--fs-xs); }

/* ---------- Reveal on scroll: sanftes Schärferwerden statt Slide-up ---------- */
[data-reveal] { opacity: 0; transform: scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: scale(1); }
[data-reveal-group] > * { opacity: 0; transform: scale(.985); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
[data-reveal-group].in-view > * { opacity: 1; transform: scale(1); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: var(--space-4); bottom: var(--space-4); width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--service); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), background .3s var(--ease); z-index: 90;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
