/* =========================================================
   Alex Dahmen – Rehab & Performance
   Layout-Idee: Trainingsprotokoll. Dunkle Bühne mit Video,
   helle Arbeitsflächen, das Logo-Motiv (▲ Kraft rauf, ▼ Schmerz
   runter) als einziges Ornament. Farben/Schrift: Brand Guide 2024.
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff") format("woff");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Primärfarben */
  --ink: #17171e;
  --mist: #f5f5f7;
  --stone: #dcdce0;
  --steel: #a6a8b2;
  /* abgeleitet für Lesbarkeit und Flächen */
  --ink-2: #1e1e27;
  --ink-line: #2d2d39;
  --muted: #53555f;            /* Fließtext auf hell, 7:1 */
  --muted-dark: #b4b6bf;       /* Fließtext auf dunkel */
  --paper: #ffffff;
  /* Akzent */
  --go: #85bc24;
  --go-strong: #94cc30;
  --go-deep: #4d7313;          /* grüner Text auf hell, AA */
  --warn: #c93b28;
  --todo: #9fcff2;

  --font: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --t-display: clamp(2.6rem, 1.25rem + 4.9vw, 5.4rem);
  --t-h2: clamp(1.85rem, 1.25rem + 2.3vw, 3.1rem);
  --t-h3: 1.25rem;
  --t-lead: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --radius: 8px;
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.65;
  background: var(--mist);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--go-deep);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink);
}

/* Browser-Flächen im Markenstil */
::selection { background: var(--go); color: var(--ink); }
html { scrollbar-color: var(--steel) var(--mist); }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 4px; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 40px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--mist); }
.section--ink ::selection { background: var(--go); color: var(--ink); }

.head { display: grid; gap: 1.1rem; max-width: 44rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.head p { color: var(--muted); font-size: var(--t-lead); max-width: 38rem; }
.section--ink .head p { color: var(--muted-dark); }

/* Platzhalter (nur bis zum Livegang sichtbar) */
.ph { background: color-mix(in srgb, var(--todo) 30%, transparent); outline: 1px dashed #5a8db3; border-radius: 3px; padding: 0 .3em; }

/* ---------- Logo-Motiv: Dreiecke ---------- */
.tri { display: inline-block; width: 1em; height: 1em; flex: none; fill: currentColor; }
.tri--up { color: var(--ink); }
.tri--down { color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .75rem 1.45rem;
  font: 600 1rem/1.2 var(--font); letter-spacing: -0.005em;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--go { background: var(--go); color: var(--ink); }
.btn--ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; background: transparent; }
.btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn--go:hover { background: var(--go-strong); }
  .btn--ghost:hover { border-color: currentColor; }
}

.more {
  display: inline-flex; align-items: center; gap: .5rem; justify-self: start;
  font-weight: 600; text-decoration: none; color: var(--ink);
  padding-bottom: 3px; background: linear-gradient(var(--go), var(--go)) 0 100% / 100% 2px no-repeat;
}
.more svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.section--ink .more { color: var(--mist); }
@media (hover: hover) and (pointer: fine) { .more:hover svg { transform: translateX(3px); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  color: var(--mist); border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: block; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted-dark); transition: color .2s ease; position: relative; }
.nav a[aria-current="page"] { color: var(--mist); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--go); border-radius: 2px; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--mist); } }
.nav .btn { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.nav-toggle { display: none; }

@media (max-width: 919px) {
  .brand img { height: 24px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--ink-line); border-radius: var(--radius);
    background: transparent; color: var(--mist); cursor: pointer;
  }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px));
  }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--ink-line); font-size: 1.05rem; color: var(--mist); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--mist); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,23,30,.95) 0%, rgba(23,23,30,.84) 40%, rgba(23,23,30,.42) 78%, rgba(23,23,30,.3) 100%),
    linear-gradient(0deg, rgba(23,23,30,.9) 0%, rgba(23,23,30,0) 32%);
}
.hero .wrap { padding-block: clamp(5.5rem, 3rem + 9vw, 10.5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.hero-copy { display: grid; gap: 1.6rem; max-width: 54rem; }
.hero h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -0.04em; max-width: 13.5em; }
.hero h1 .line { display: block; }
.hero h1 .soft { color: var(--steel); }
.hero-lead { font-size: var(--t-lead); color: var(--stone); max-width: 36rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem;
  margin: .4rem 0 0; padding: 1.4rem 0 0; list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--steel) 30%, transparent);
  font-size: .95rem; color: var(--muted-dark);
}
.hero-proof li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-proof strong { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-proof svg { width: 18px; height: 18px; color: var(--steel); }
.stars { display: inline-flex; gap: 2px; color: var(--go); }
.stars svg { width: 15px; height: 15px; color: var(--go); }

.video-toggle {
  position: absolute; z-index: 2; left: max(16px, env(safe-area-inset-left, 0px)); bottom: 1rem;
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  background: rgba(23,23,30,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--ink-line); color: var(--stone);
  border-radius: 999px; padding: .4rem .85rem; font: 500 .8rem/1 var(--font); cursor: pointer;
  transition: border-color .2s ease, transform .16s var(--ease-out);
}
.video-toggle:active { transform: scale(0.96); }
.video-toggle svg { width: 10px; height: 10px; }
@media (hover: hover) and (pointer: fine) { .video-toggle:hover { border-color: var(--steel); } }

@media (max-width: 859px) {
  .hero .wrap { padding-block: 4.25rem 4.75rem; }
  .hero-media::after { background: linear-gradient(180deg, rgba(23,23,30,.72) 0%, rgba(23,23,30,.86) 55%, rgba(23,23,30,.97) 100%); }
}

/* Das eine gezielte Moment: Hero baut sich beim Laden auf */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal .9s var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
  @keyframes reveal {
    from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
  }
}

/* ---------- Zwei Wege ---------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--stone); }
.way { display: grid; gap: 1.2rem; align-content: start; padding: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(0rem, -1rem + 3vw, 3rem) 0 0; }
.way + .way { border-left: 1px solid var(--stone); padding-left: clamp(1.5rem, 0.5rem + 3vw, 3rem); padding-right: 0; }
.way-sign { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .95rem; color: var(--muted); }
.way-sign .tri { width: 2.1rem; height: 2.1rem; }
.way h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.way > p { color: var(--muted); max-width: 32rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: .75rem; align-items: start; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; margin-top: .25rem;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%2385bc24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ways-note { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .97rem; }
.ways-note .mark { width: 34px; height: auto; flex: none; }
@media (max-width: 759px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way { padding-right: 0; }
  .way + .way { border-left: 0; border-top: 1px solid var(--stone); padding-left: 0; margin-top: 2.5rem; }
}

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step { display: grid; gap: .85rem; align-content: start; padding-right: 1.75rem; counter-increment: step; }
.step-top { display: flex; align-items: center; gap: .75rem; }
.step-num {
  flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1.5px solid var(--ink-line); border-radius: 50%;
  font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--mist);
  background: var(--ink-2);
}
.step-num::before { content: counter(step); }
.step-num { border-color: var(--go); }
.step-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--ink-line), var(--ink-line) 60%, transparent); }
.step:last-child .step-line { display: none; }
.step h3 { font-size: 1.15rem; margin-top: .35rem; }
.step p { color: var(--muted-dark); font-size: .97rem; }
.step dfn { font-style: normal; color: var(--mist); font-weight: 600; }
@media (max-width: 919px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .step { position: relative; padding: 0 0 0 3.6rem; }
  .step-top { position: absolute; left: 0; top: -.2rem; }
  .step-line { display: none; }
}

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.plan {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 1.5rem;
  background: var(--paper); border: 1px solid var(--stone); border-radius: 14px;
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem);
}
.plan--featured { background: var(--ink); color: var(--mist); border-color: var(--ink); box-shadow: 0 30px 60px -36px rgba(23,23,30,.55); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.plan-name { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.plan-badge { font-size: .8rem; font-weight: 600; color: var(--ink); background: var(--go); border-radius: 999px; padding: .3rem .75rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .9rem; }
.plan-price strong { font-size: clamp(2.8rem, 2.2rem + 2vw, 3.8rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: .95rem; }
.plan--featured .plan-price span { color: var(--muted-dark); }
.plan .btn { width: 100%; }
.plan:not(.plan--featured) .btn--ghost { color: var(--ink); }

/* Termin-Leiste: jeder Block ist ein Termin */
.sessions { display: grid; gap: .55rem; }
.sessions-bar { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; }
.sessions-bar span { height: 28px; border-radius: 4px; background: color-mix(in srgb, var(--go) 85%, var(--paper)); }
.sessions-bar span:first-child { background: var(--ink); }
.plan--featured .sessions-bar span:first-child { background: var(--mist); }
.sessions-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .82rem; color: var(--muted); }
.plan--featured .sessions-legend { color: var(--muted-dark); }
.sessions-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.sessions-legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--go); }
.sessions-legend i.a { background: var(--ink); }
.plan--featured .sessions-legend i.a { background: var(--mist); }
.plans-note { margin-top: 1.5rem; font-size: var(--t-small); color: var(--muted); max-width: 48rem; }
@media (max-width: 759px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.about-photo { position: relative; }
.about-photo img.photo { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 82%; border-radius: 14px; }
.about-photo .stamp {
  position: absolute; right: -14px; bottom: 28px; display: grid; gap: .1rem;
  background: var(--ink); color: var(--mist); padding: .9rem 1.1rem; border-radius: 10px;
  box-shadow: 0 18px 40px -20px rgba(23,23,30,.6); font-size: .85rem; line-height: 1.3;
}
.about-photo .stamp strong { font-size: 1.6rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.about-text { display: grid; gap: 1.2rem; min-width: 0; }
.about-text h2 { font-size: var(--t-h2); }
.about-text p { color: var(--muted); max-width: 38rem; }
.about-text p.lead { color: var(--ink); font-size: var(--t-lead); line-height: 1.55; }
.creds { list-style: none; padding: 1.4rem 0 0; margin: .4rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; border-top: 1px solid var(--stone); }
.creds li { display: grid; gap: .25rem; font-size: .9rem; color: var(--muted); }
.creds strong { color: var(--ink); font-weight: 600; font-size: 1rem; }
@media (max-width: 819px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 440px; }
  .about-photo .stamp { right: 12px; }
  .creds { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
}

/* ---------- Stimmen ---------- */
.voices-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.voices-head .head { margin-bottom: 0; }
.rating { display: flex; align-items: center; gap: .9rem; }
.rating strong { font-size: 2.8rem; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.rating span { font-size: var(--t-small); color: var(--muted); line-height: 1.5; }
.voices { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.voice { margin: 0; display: grid; gap: 1.1rem; }
.voice blockquote { margin: 0; }
.voice--lead blockquote { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.32; letter-spacing: -0.02em; font-weight: 500; }
.voice--lead .qmark { width: 40px; height: 32px; color: var(--go); }
.voice-list { display: grid; gap: 0; }
.voice-list .voice { padding: 1.6rem 0; border-top: 1px solid var(--stone); }
.voice-list .voice:first-child { padding-top: 0; border-top: 0; }
.voice-list blockquote { font-size: 1.02rem; line-height: 1.6; }
.voice figcaption { display: flex; flex-wrap: wrap; gap: .2rem .6rem; font-size: .9rem; }
.voice figcaption strong { font-weight: 600; }
.voice figcaption span { color: var(--muted); }
@media (max-width: 859px) { .voices { grid-template-columns: minmax(0, 1fr); } .voice-list .voice:first-child { padding-top: 1.6rem; border-top: 1px solid var(--stone); } }

/* ---------- Workshops ---------- */
.workshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.workshop-copy { display: grid; gap: 1.3rem; }
.workshop-copy p { color: var(--muted-dark); max-width: 34rem; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; }
.topics li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--ink-line); font-weight: 500; }
.topics li:first-child { border-top: 1px solid var(--ink-line); }
.topics li span { color: var(--steel); font-size: var(--t-small); font-weight: 400; white-space: nowrap; }
@media (max-width: 819px) { .workshop { grid-template-columns: minmax(0, 1fr); } .topics li { flex-direction: column; gap: .2rem; } }

/* ---------- Kooperationspartner ---------- */
.partners { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.partners .head { margin-bottom: 2.25rem; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.partner {
  display: grid; place-items: center; height: 124px; padding: 1.25rem 1.5rem;
  background: var(--paper); border: 1px solid var(--stone); border-radius: 14px;
  box-shadow: 0 12px 26px -20px rgba(23,23,30,.35);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.partner--dark { background: var(--ink); border-color: var(--ink); }
.partner img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (hover: hover) and (pointer: fine) { a.partner:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(23,23,30,.45); } }
a.partner:active { transform: scale(0.98); }
@media (max-width: 999px) { .partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .partner { height: 104px; padding: 1rem; } .partner img { max-height: 60px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.faq-grid .head { align-content: start; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq details:first-child { border-top: 1px solid var(--stone); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .25s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 40rem; }
@media (max-width: 819px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.contact-info { display: grid; gap: 1.25rem; align-content: start; }
.contact h2 { font-size: var(--t-display); line-height: .98; letter-spacing: -0.04em; }
.contact-lead { color: var(--muted-dark); font-size: var(--t-lead); max-width: 30rem; }
.contact-meta { display: grid; gap: .5rem; color: var(--muted-dark); font-size: .95rem; }
.contact-meta div { display: flex; gap: .6rem; align-items: start; }
.contact-meta svg { width: 18px; height: 18px; color: var(--steel); flex: none; margin-top: .2rem; }
.channels-label { margin-top: 1rem; font-weight: 600; color: var(--mist); }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.channel {
  display: grid; grid-template-columns: 24px 1fr; gap: .8rem; align-items: center;
  padding: .9rem 1rem; border: 1px solid var(--ink-line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s ease, background-color .2s ease;
}
.channel svg { width: 22px; height: 22px; color: var(--go); }
.channel small { display: block; color: var(--steel); font-size: .78rem; }
.channel strong { font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { a.channel:hover { border-color: var(--go); background: var(--ink-2); } }
@media (max-width: 479px) { .channels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 819px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.form {
  display: grid; gap: 1.15rem; background: var(--mist); color: var(--ink);
  border-radius: 16px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.form-title { font-size: 1.4rem; letter-spacing: -0.02em; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 559px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label { font-weight: 600; font-size: .92rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--stone); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--go) 40%, transparent); }
.field [aria-invalid="true"] { border-color: var(--warn); }
.field-error { color: #a32d1d; font-size: .85rem; font-weight: 500; }
.hint { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.field--check { grid-template-columns: 24px minmax(0, 1fr); gap: .75rem; align-items: start; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin: .15rem 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 400; font-size: .85rem; line-height: 1.55; color: var(--muted); overflow-wrap: break-word; }
.field--check a { color: var(--ink); }
.field--check .field-error { grid-column: 1 / -1; margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-submit[disabled] { opacity: .6; cursor: progress; }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--go-deep); }
.form-status.is-error { color: #a32d1d; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--steel); border-top: 1px solid var(--ink-line); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; padding-block: 2.25rem; }
.site-footer .wrap { padding-bottom: calc(2.25rem + 72px + env(safe-area-inset-bottom, 0px)); }
.site-footer img { height: 22px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--mist); } }
.claim { font-weight: 600; color: var(--mist); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--go); color: var(--ink); padding: .5rem 1rem; border-radius: var(--radius); }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* =========================================================
   Unterseiten
   ========================================================= */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--mist); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 1.4rem; padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.page-hero h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -0.04em; max-width: 16ch; }
.page-hero .lead { font-size: var(--t-lead); color: var(--stone); max-width: 38rem; line-height: 1.6; }
.page-hero .mark-bg { position: absolute; right: -4%; bottom: -12%; width: min(48vw, 560px); opacity: .07; pointer-events: none; }
.crumbs { font-size: var(--t-small); color: var(--steel); }
.crumbs a { color: var(--muted-dark); }

/* Zeilenliste statt Kartenraster */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.rows li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 1rem 3rem; padding: 1.6rem 0; border-bottom: 1px solid var(--stone); }
.rows h3 { font-size: 1.2rem; }
.rows .tag { display: block; margin-top: .35rem; font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.rows p { color: var(--muted); max-width: 40rem; }
@media (max-width: 699px) { .rows li { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.split .head { margin-bottom: 0; position: sticky; top: 104px; }
@media (max-width: 819px) { .split { grid-template-columns: minmax(0, 1fr); } .split .head { position: static; } }
.prose { display: grid; gap: 1rem; max-width: 42rem; min-width: 0; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose h3 { margin-top: .9rem; display: flex; align-items: center; gap: .7rem; }
.prose h3 .n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: var(--mist); font-size: .85rem; font-variant-numeric: tabular-nums; }

.notice { display: grid; grid-template-columns: 26px 1fr; gap: 1rem; margin-top: .75rem; padding: 1.35rem 1.5rem; border-radius: 12px; background: color-mix(in srgb, var(--warn) 7%, var(--paper)); border: 1px solid color-mix(in srgb, var(--warn) 30%, var(--paper)); }
.notice svg { width: 24px; height: 24px; color: var(--warn); margin-top: .1rem; }
.notice p, .notice li { color: var(--ink); font-size: .97rem; }
.notice ul { margin: .5rem 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; color: var(--muted); }
.notice li { color: var(--muted); }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.values li { display: grid; gap: .45rem; padding: 1.6rem 0; border-top: 1px solid var(--stone); }
.values p { color: var(--muted); }
@media (max-width: 699px) { .values { grid-template-columns: minmax(0, 1fr); } }

.cta-band { background: var(--ink); color: var(--mist); }
.cta-band .wrap { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--muted-dark); margin-top: .7rem; }

.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.termin { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1.25rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--stone); border-radius: 12px; }
.termin-date { font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.termin-date span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }
.termin-title { font-weight: 600; }
.termin-meta { font-size: .9rem; color: var(--muted); }
.termine-empty { padding: 1.4rem 1.5rem; border: 1px dashed var(--steel); border-radius: 12px; color: var(--muted); }
@media (max-width: 599px) { .termin { grid-template-columns: minmax(0, 1fr); gap: .4rem; } }

.legal { max-width: 46rem; }
.legal h1 { font-size: var(--t-h2); letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin-top: 2.25rem; margin-bottom: .6rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .8rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }
.draft-note { padding: 1rem 1.25rem; border-radius: 12px; background: color-mix(in srgb, var(--todo) 28%, var(--paper)); border: 1px dashed #5a8db3; color: var(--ink) !important; font-size: .95rem; }
.legal h3 { font-size: 1.02rem; margin-top: 1.4rem; margin-bottom: .4rem; letter-spacing: -0.01em; }
.legal p { overflow-wrap: anywhere; }

/* ---------- Qualifikationen (Über mich) ---------- */
.quals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.qual-group { display: grid; gap: .9rem; align-content: start; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.qual-group h3 { font-size: 1.05rem; }
.qual-group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.qual-group li { padding: .7rem 0; border-bottom: 1px solid var(--stone); font-weight: 500; line-height: 1.4; }
.qual-group li:first-child { padding-top: 0; }
.qual-group li span { display: block; margin-top: .15rem; font-size: var(--t-small); font-weight: 400; color: var(--muted); }
@media (max-width: 1023px) { .quals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .quals { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp-Button (schwebend) ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .55rem;
  height: 56px; padding: 0 1.25rem 0 1rem; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 20px rgb(23 23 30 / .22), 0 1px 3px rgb(23 23 30 / .18);
  transition: transform .16s ease, box-shadow .16s ease;
  animation: wa-in .4s cubic-bezier(.2,.8,.2,1) .8s both;
}
.wa-float svg { width: 28px; height: 28px; flex: none; display: block; }
.wa-float:active { transform: scale(.95); }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgb(23 23 30 / .26), 0 2px 4px rgb(23 23 30 / .18); } }
@media (max-width: 819px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; transition: none; } }
@media print { .wa-float { display: none; } }
h1, h2, h3 { overflow-wrap: break-word; }

/* ---------- Themen-Links & Quellen ---------- */
.topic-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.topic-links a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.25rem 1.35rem 1.35rem; border: 1px solid var(--stone); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.08rem; line-height: 1.35; transition: border-color .16s ease, transform .16s ease; }
.topic-links a span { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; }
.topic-links a svg { width: 18px; height: 18px; margin-top: auto; align-self: flex-start; color: var(--go-deep); }
.topic-links a:active { transform: scale(.98); }
@media (hover: hover) { .topic-links a:hover { border-color: var(--ink); } }
.section--white .topic-links a { background: var(--mist); }
.prose .source { font-size: .85rem; color: var(--muted); }
.prose .source a { color: inherit; }
.crumbs a + a, .crumbs a { color: inherit; }
.rating-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ticks a { color: inherit; text-decoration: underline; text-decoration-color: var(--go); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (hover: hover) { .ticks a:hover, .rating-link:hover { text-decoration-color: currentColor; } }
