/* Praxis Florian Grüter. Tokens und Regeln: siehe DESIGN-SYSTEM.md */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #F1F1EE;          /* Kalkweiß, leicht kühl */
  --surface: #E5E6E1;     /* Putzgrau */
  --surface-2: #DADCD5;
  --ink: #1E2220;         /* Graphit */
  --ink-muted: #545A56;
  --line: rgb(30 34 32 / 0.14);
  --accent: #294619;      /* Praxisgrün (Teppich) */
  --accent-ink: #F4F5F1;
  --accent-soft: rgb(41 70 25 / 0.10);
  --shadow: 0 24px 60px -30px rgb(40 52 38 / 0.35);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, "Helvetica Neue", Arial, sans-serif;

  --r-s: 4px; --r-m: 10px; --r-pill: 999px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bewusst nur ein helles Farbschema: Handy und Desktop sehen gleich aus */
:root { color-scheme: only light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-muted);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-s); }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }

/* Typografie: genau diese Stufen, sonst keine
   Display (Hero) | h2 Abschnitt | h3 Unterabschnitt (Serife)
   h4 Punkt-Titel (Grotesk 600) | lead | Fließtext | small */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.05; }
h3 { font-size: clamp(1.6rem, 2.2vw, 1.9rem); line-height: 1.2; font-weight: 400; }
h4 { font: 600 1rem/1.4 var(--sans); margin: 0 0 .4rem; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
/* Einleitungen in derselben Schrift wie der Fließtext */
.lead { font-size: inherit; line-height: inherit; color: inherit; max-width: 60ch; }
.small { font-size: .94rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap;
  font: 500 0.98rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  padding: 1em 1.5em; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .25s, color .25s; }
.link-arrow:hover { border-color: var(--accent); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ink); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s; }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; text-decoration: none; letter-spacing: 0; line-height: 1; }
.nav__brand .logo-mark { --s: 34px; transition: transform .8s var(--ease); }
.nav__brand:hover .logo-mark { transform: rotate(-20deg); }

/* Logo als Maske: übernimmt immer die Textfarbe */
.logo-mark { display: inline-block; flex: none; width: var(--s, 32px); height: var(--s, 32px); background: currentColor;
  -webkit-mask: url("../img/logo.png") center / contain no-repeat; mask: url("../img/logo.png") center / contain no-repeat; }

/* Logo-Intro: Video (Logo zeichnet sich), dann gleitet das Logo in den Header */
.intro-screen { display: none; }
.has-intro .intro-screen { display: block; position: fixed; inset: 0; width: 100%; height: 100%; overflow: hidden; z-index: 100; cursor: pointer; --ld: clamp(112px, 22vmin, 220px); }
.has-intro body { overflow: hidden; }
.intro-screen__bg { position: absolute; inset: 0; background: #F0EFEC; }
/* Logo im Video: 280 px hoch bei 720 px Bildhöhe */
.intro-screen__video { position: absolute; left: 50%; top: 50%; --vh: calc(var(--ld) / 0.389); height: var(--vh); width: calc(var(--vh) * 16 / 9); max-width: none; margin: calc(var(--vh) / -2) 0 0 calc(var(--vh) * -8 / 9); object-fit: cover;
  -webkit-mask: radial-gradient(closest-side, #000 70%, transparent); mask: radial-gradient(closest-side, #000 70%, transparent); }
.intro-screen__fly { position: absolute; left: 50%; top: 50%; --s: var(--ld); margin: calc(var(--ld) / -2) 0 0 calc(var(--ld) / -2); color: #1E2220; opacity: 0; transform-origin: 50% 50%; will-change: transform; }
.intro-screen.is-flying .intro-screen__fly { opacity: 1; }
.intro-screen.is-flying .intro-screen__video { opacity: 0; }
.intro-screen.is-done { display: none !important; }
/* Ersatz, falls das Video nicht abspielt: Logo zeichnet sich per Maske */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.intro-screen.is-drawing .intro-screen__fly { opacity: 1;
  -webkit-mask: conic-gradient(from -30deg, #000 var(--sweep), transparent calc(var(--sweep) + 1deg)), url("../img/logo.png") center / contain no-repeat;
  mask: conic-gradient(from -30deg, #000 var(--sweep), transparent calc(var(--sweep) + 1deg)), url("../img/logo.png") center / contain no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: intro-draw 1.6s cubic-bezier(.65, 0, .35, 1) .2s both; }
.intro-screen.is-drawing .intro-screen__video { opacity: 0; }
@keyframes intro-draw { from { --sweep: 0deg; } to { --sweep: 361deg; } }
.has-intro .nav__brand .logo-mark { visibility: hidden; }
.has-intro .rise { animation-play-state: paused; }
.intro-reveal .rise { animation-play-state: running; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { text-decoration: none; font-size: 0.95rem; }
.nav__links .btn { padding: .8em 1.25em; font-size: .9rem; }
.nav.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav__toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: var(--r-pill); font: 500 .9rem/1 var(--sans); padding: .75em 1.1em; cursor: pointer; }
/* Über dem hellen Hero immer Graphit, unabhängig vom Farbschema */
.nav:not(.is-solid) { color: #1E2220; }
.nav:not(.is-solid) .btn--solid { background: #1E2220; color: #F1F1EE; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px var(--gutter) 28px; background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__links a:not(.btn) { display: block; padding: 12px 0; font-size: 1.15rem; }
  .nav__links .btn { margin-top: 12px; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: var(--bg); color: var(--ink); }
}

/* Hero */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; overflow: hidden; color: #1E2220; background: #E6E2DA; }
.hero__canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { object-fit: cover; object-position: 62% 50%; opacity: 0; transition: opacity .8s; }
.hero--static .hero__fallback { opacity: 1; }
.hero--static .hero__canvas { display: none; }
.hero__canvas { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero--ready .hero__canvas { opacity: 1; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(241 241 238 / .55) 0%, rgb(241 241 238 / .15) 42%, transparent 65%); }
.hero__content { position: relative; padding-bottom: clamp(56px, 11vh, 120px); padding-top: 120px; }
.hero h1 { font-size: clamp(3.6rem, 10.5vw, 9.6rem); line-height: 0.92; letter-spacing: -0.025em; font-weight: 300; }
.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 30ch; margin: 1.6rem 0 2.2rem; color: #3A403C; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn--solid { background: #1E2220; color: #F1F1EE; }
.hero .btn--solid:hover { background: #294619; }
.hero .btn--ghost { color: #1E2220; border-color: rgb(30 34 32 / .35); background: rgb(241 241 238 / .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .btn--ghost:hover { background: #1E2220; color: #F1F1EE; }

@media (max-aspect-ratio: 4/5) {
  .hero { align-items: start; }
  .hero__content { padding-top: 112px; padding-bottom: 28px; min-height: 100dvh; display: flex; flex-direction: column; }
  .hero__cta { margin-top: auto; }
  .hero__fallback { object-position: 50% 70%; }
  .hero__veil { background: linear-gradient(180deg, rgb(241 241 238 / .6) 0%, rgb(241 241 238 / .2) 45%, transparent 60%); }
}

/* Einstiegs-Choreografie */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.is-in { opacity: 1; transform: none; }
}

section { position: relative; }
.sec { padding: clamp(96px, 12vw, 160px) 0; }
.sec--tight { padding-top: 0; }

/* Abschnittskopf: immer gleich */
.sec-head { max-width: 880px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { margin-bottom: 1.5rem; }
.sec-head .lead { margin-bottom: 1.2rem; }
.sec-head p:not(.lead) { max-width: 60ch; }

/* Zeilen: links Titel, rechts Inhalt, durch eine Linie getrennt */
.row { display: grid; gap: 20px 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.row:last-child { padding-bottom: 0; }
@media (min-width: 900px) { .row { grid-template-columns: 4fr 8fr; padding: 48px 0; } }

.pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 48px; }
.pairs p { max-width: 44ch; }
@media (min-width: 640px) { .pairs { grid-template-columns: 1fr 1fr; } }
.steps { counter-reset: s; }
.steps li { counter-increment: s; }
.steps h4::before { content: counter(s) ". "; color: var(--accent); }

.list { list-style: none; margin: -12px 0 1.2rem; padding: 0; column-gap: 48px; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); break-inside: avoid; }
@media (min-width: 640px) { .list { columns: 2; } }

/* Hero-Zeile über dem Namen */
.hero__kicker { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #3A403C; margin: 0 0 1.2rem; }
.hero h1 { margin-bottom: 2.2rem; }

/* Willkommen */
.welcome__grid { display: grid; gap: 32px 64px; }
.welcome__grid h2 { max-width: 16ch; }
.welcome__text p { max-width: 62ch; }
.welcome__text a, .prose a, .steps a { color: var(--ink); }
@media (min-width: 960px) { .welcome__grid { grid-template-columns: 5fr 7fr; } }

/* Mein Angebot */
.angebot__h { margin-bottom: clamp(40px, 5vw, 64px); }
.teaser { margin-top: clamp(64px, 8vw, 112px); }
.teaser__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.teaser__body p { margin: 0; max-width: 46ch; }
.prose p { max-width: 64ch; }

/* Einleitung */
.intro__text { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.25; max-width: 30ch; }
.intro__meta { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 40px; font-size: .94rem; }

/* Angebot: zwei versetzte Felder */
.duo { display: grid; gap: 64px; }
.offer { display: grid; gap: 0; align-content: start; text-decoration: none; color: inherit; }
.offer:hover { color: inherit; }
.offer .link-arrow { justify-self: start; }
.offer__img { overflow: hidden; border-radius: var(--r-m); background: var(--surface); aspect-ratio: 4 / 5; margin-bottom: 24px; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.offer:hover .offer__img img { transform: scale(1.03); }
.offer h3 { margin-bottom: .5rem; }
.offer p { max-width: 44ch; margin-bottom: 1.2rem; }
.offer:hover .link-arrow { border-color: var(--accent); color: var(--accent); }
@media (min-width: 900px) {
  .duo { grid-template-columns: 7fr 5fr; gap: 56px; }
  .duo .offer:first-child .offer__img { aspect-ratio: 5 / 4; }
  .duo .offer:last-child { margin-top: clamp(80px, 10vw, 160px); }
}

/* Sportpsychologie */
.sport { background: var(--surface); }
.sport__band { height: clamp(280px, 44vw, 560px); overflow: hidden; }
.sport__band img { width: 100%; height: 118%; object-fit: cover; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sport__band img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: translateY(-12%); } to { transform: translateY(0); } }
  }
}
.sport .row { border-color: var(--line); }

.tabs__list { display: flex; gap: 0 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__btn { flex: none; appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 0 14px; font: 500 1rem/1.3 var(--sans); color: var(--ink-muted); cursor: pointer; transition: color .2s, border-color .2s; }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.tabs__panel p { margin-bottom: 20px; }
.tabs__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .tabs__panel:not([hidden]) { animation: fade .5s var(--ease); } @keyframes fade { from { opacity: 0; transform: translateY(6px); } } }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: .5em 1em; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .94rem; color: var(--ink); }

/* Über mich */
.about { display: grid; gap: clamp(40px, 6vw, 96px); }
.about__photo { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; align-self: start; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo.is-missing { display: grid; place-items: center; }
.about__photo.is-missing img { display: none; }
.about__photo.is-missing::after { content: "FG"; font: 300 clamp(5rem, 12vw, 9rem)/1 var(--serif); color: var(--accent); opacity: .5; }
.about .sec-head { margin-bottom: 40px; }
.cv { border-top: 1px solid var(--line); }
.cv details { border-bottom: 1px solid var(--line); }
.cv summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font: 400 clamp(1.6rem, 2.2vw, 1.9rem)/1.2 var(--serif); color: var(--ink); }
.cv summary::-webkit-details-marker { display: none; }
.cv summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--accent); transition: transform .3s var(--ease); }
.cv details[open] summary::after { transform: rotate(45deg); }
.cv__prose { padding: 0 0 28px; }
.cv__prose p { max-width: 62ch; }
.quote { margin: 24px 0 0; padding-left: 20px; border-left: 2px solid var(--accent); font: 400 clamp(1.4rem, 2vw, 1.7rem)/1.3 var(--serif); color: var(--ink); }
.refs { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 14px; }
.refs li { color: var(--ink); }
.refs small { display: block; color: var(--ink-muted); font-size: .94rem; }
.cv dl { display: grid; grid-template-columns: 104px 1fr; gap: 14px 20px; margin: 4px 0 28px; }
.cv dt { font-size: .94rem; font-variant-numeric: tabular-nums; padding-top: 1px; }
.cv dd { margin: 0; color: var(--ink); }
.cv dd small { display: block; color: var(--ink-muted); font-size: .94rem; }
@media (min-width: 960px) { .about { grid-template-columns: 5fr 7fr; } .about__photo { position: sticky; top: 104px; } }
@media (max-width: 480px) { .cv__prose { padding: 0 0 28px; }
.cv__prose p { max-width: 62ch; }
.quote { margin: 24px 0 0; padding-left: 20px; border-left: 2px solid var(--accent); font: 400 clamp(1.4rem, 2vw, 1.7rem)/1.3 var(--serif); color: var(--ink); }
.refs { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 14px; }
.refs li { color: var(--ink); }
.refs small { display: block; color: var(--ink-muted); font-size: .94rem; }
.cv dl { grid-template-columns: 1fr; gap: 2px; } .cv dd { margin-bottom: 12px; } }

/* Kontakt */
.contact { background: var(--surface); }
.contact__big { display: grid; gap: 4px; margin-bottom: clamp(48px, 6vw, 80px); }
.contact__big a { font: 300 clamp(1.9rem, 4.4vw, 3.4rem)/1.2 var(--serif); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; justify-self: start; transition: color .25s; }
.contact__big a:hover { color: var(--accent); }
.contact .pairs a { color: var(--ink); }
.contact .link-arrow { margin-top: 14px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .92rem; color: var(--ink-muted); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* Rechtstexte */
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 2.4rem; line-height: 1.05; }
.legal h2 { font-size: 1.7rem; margin: 2.4rem 0 .8rem; line-height: 1.2; }
.legal p, .legal li { color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 2rem; }

/* Bildband mit Überschrift (Psychotherapie, Sportpsychologie) */
.band { position: relative; height: clamp(380px, 52vw, 680px); overflow: hidden; background: #2A2F2B; }
.band__img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band__img { animation: drift linear both; animation-timeline: view(); }
  }
}
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgb(20 24 21 / .22) 58%, rgb(20 24 21 / .6) 100%),
    linear-gradient(90deg, rgb(20 24 21 / .28), transparent 60%); }
.band__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: clamp(28px, 4vw, 56px); color: #F4F5F1; }
.band__text h2 { text-shadow: 0 2px 30px rgb(0 0 0 / .18); color: #F4F5F1; font-size: clamp(3.4rem, 10vw, 9rem); line-height: .95; letter-spacing: -0.02em; }
.band__kicker { margin: 0 0 .9rem; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgb(244 245 241 / .88); }
.sec--after-band { padding-top: clamp(56px, 7vw, 96px); }

/* Aufklappbare Abschnitte über die volle Breite: Titel links, Text in der rechten Spalte */
.cv--wide { margin-top: clamp(16px, 3vw, 40px); }
.cv--wide .cv__prose { padding-bottom: 36px; }
@media (min-width: 900px) {
  .cv--wide .cv__prose { margin-left: calc(4 / 12 * 100% + 16px); }
}

/* Ablauf als Zeitstrahl, der sich beim Scrollen füllt */
.timeline { --dot: 11px; position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; display: grid; gap: 44px; }
.timeline::before, .timeline__fill { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__fill { background: var(--accent); width: 2px; left: 4.5px; transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 6px; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.timeline li.is-on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.timeline h4 { font: 400 clamp(1.4rem, 2vw, 1.65rem)/1.2 var(--serif); margin-bottom: .45rem; }
.timeline p { max-width: 52ch; }
@media (prefers-reduced-motion: no-preference) {
  .timeline.is-live li > * { opacity: .25; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .timeline.is-live li.is-on > * { opacity: 1; transform: none; }
}

/* Einheitliche Zeilen in Psychotherapie und Sportpsychologie */
.row__body > p:first-child { max-width: 60ch; margin-bottom: 20px; }
.row__body .tags { margin-bottom: 18px; }
.tags li.is-key { border-color: var(--accent); color: var(--accent); }
.key-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; border: 1px solid var(--accent); vertical-align: 1px; }

/* Referenzen als Raster */
.refgrid { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0 32px; }
.refgrid li { display: grid; gap: 4px; align-content: start; padding: 18px 0; border-top: 1px solid var(--line); }
.refgrid__sport { font-size: .82rem; letter-spacing: .04em; color: var(--accent); }
.refgrid strong { font: 400 1.3rem/1.25 var(--serif); color: var(--ink); }
.refgrid li > span:last-child { font-size: .94rem; }
@media (min-width: 640px) { .refgrid { grid-template-columns: 1fr 1fr; } }

/* Trennlinie zwischen Abschnitten (wie über Kontaktaufnahme) */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 clamp(56px, 7vw, 96px); }

/* Nie seitlich scrollen (verhindert auch, dass das Handy die Seite herauszoomt) */
html, body { overflow-x: clip; }

/* Kontakt: schlicht */
.contact__row { border-top: 0; padding-top: 0; }
.contact__row p { max-width: 60ch; }
.contact__list { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 24px 40px; }
.contact__list li { padding-top: 16px; border-top: 1px solid var(--line); }
.contact__list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 640px) { .contact__list { grid-template-columns: repeat(3, auto); justify-content: start; } }

/* Handy: nichts abschneiden */
.row > *, .duo > *, .pairs > *, .about > *, .welcome__grid > *, .tabs { min-width: 0; }
.band__text h2 { font-size: clamp(2.5rem, 10.5vw, 9rem); overflow-wrap: break-word; }
@media (max-width: 480px) {
  .hero .btn { padding: .95em 1.2em; font-size: .95rem; }
  .hero__cta { gap: 10px; }
  /* Tabs als umbrechende Kapseln statt seitlich scrollender Leiste */
  .tabs__list { flex-wrap: wrap; overflow: visible; white-space: normal; gap: 8px; border-bottom: 0; }
  .tabs__btn { border: 1px solid var(--line); border-radius: var(--r-pill); padding: .55em 1em; margin: 0; font-size: .92rem; }
  .tabs__btn[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
}

/* Störungsbilder: schlichte Aufzählung im Aufklapp-Abschnitt */
.liste { margin: 0 0 1em; padding-left: 1.1em; }
.liste li { margin: .35em 0; color: var(--ink); }
.liste li::marker { color: var(--accent); }

/* Kontakt: Bild links, Text rechts (wie "Über mich") */
.contact__grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__photo { margin: 0; aspect-ratio: 1 / 1; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact__text h2 { margin-bottom: 28px; }
.contact__text p { max-width: 60ch; }
@media (max-width: 959px) { .contact__photo { order: 2; max-width: 420px; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 5fr 7fr; } }
@media (min-width: 700px) { .tabs__panel .liste { columns: 2; column-gap: 48px; } .tabs__panel .liste li { break-inside: avoid; margin-top: 0; } }

/* KI-Kennzeichnung der generierten Fotos (Art. 50 KI-VO) */
.offer__img, .contact__photo { position: relative; }
/* Fotos: dezente Zeile direkt unter dem Bild. Hero: kein Platz darunter, daher zurückhaltend im Bild ohne Kasten. */
.ki-badge { position: absolute; right: 14px; bottom: 12px; z-index: 2; pointer-events: none;
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: .72rem; font-weight: 500; line-height: 1; letter-spacing: .03em;
  padding: 4px 7px; border-radius: 4px; background: rgb(241 241 238 / .72); color: #3A403C; }
.ki-note { margin: -14px 0 18px; font-size: .78rem; line-height: 1.3; letter-spacing: .02em; color: var(--ink-muted); text-align: right; }
.ki-note--band { margin: 10px 0 0; padding-right: 14px; }  /* bündig mit dem vollbreiten Bildband, gleicher Abstand wie der Hero-Hinweis */
/* Kontaktfoto: Rahmen sitzt jetzt am Bild, damit die Bildunterschrift darunter Platz hat */
.contact__photo { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
.contact__photo img { aspect-ratio: 1 / 1; height: auto; border-radius: var(--r-m); background: var(--surface-2); }
.contact__photo .ki-note { margin: 8px 0 0; }
.foot__credit a { text-decoration: underline; text-underline-offset: 2px; }
.offer .ki-note { max-width: none; width: 100%; margin: -14px 0 18px; }
/* Läuferbild: Läufer steht bei ca. 75 % der Breite, Ausschnitt nach rechts, damit er auch auf schmalen Bildschirmen zu sehen ist */
.band__img--laeufer { object-position: 80% 50%; }
