/* ------------------------------------------------------------------
   Schriften: selbst gehostet (DSGVO), Barlow / Barlow Condensed, SIL OFL 1.1
------------------------------------------------------------------ */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   Tokens
   Radius-System: Bedienelemente = Pill, Flächen = 20px, Felder/Icons = 12px
------------------------------------------------------------------ */
:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --tint: #e8eef1;
  --ink: #0e1e28;
  --ink-soft: #33454f;
  --muted: #5a6b75;
  --line: #dee5e9;
  --line-strong: #c9d4da;

  --navy: #152733;          /* Marineblau aus dem Logo: Hauptfarbe, dunkle Flächen */
  --navy-2: #1d3443;
  --on-dark: #eef3fa;
  --on-dark-muted: #b4c2d6;
  --accent-on-dark: #8fb4ff;
  --accent: #2563eb;        /* Blau aus dem App-Icon: Buttons und Akzente */
  --accent-hover: #1d4ed8;
  --accent-soft: #e3ecfd;
  --accent-ink: #ffffff;

  --danger: #b4332b;
  --danger-soft: #fbefed;
  --success: #2f6f4f;

  --font-sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", var(--font-sans);

  --radius-s: 12px;
  --radius-m: 20px;

  --shadow-tint: 14, 30, 40;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  --z-header: 10;
  --z-menu: 9;
  --z-skip: 20;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

/* Display: Barlow Condensed, sportlich und kompakt */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
}

p { margin: 0; text-wrap: pretty; }

/* Deutsche Komposita dürfen trennen statt überzulaufen */
p, li, h3, blockquote, .checkbox { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
a { hyphens: manual; -webkit-hyphens: manual; }

/* Bedienelemente: kein Tap-Delay, kein Markieren bei Long-Press */
a, button, select, label, [role="button"] { touch-action: manipulation; }

.button, .nav a, .logo, .text-link {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline:
    max(var(--gutter), env(safe-area-inset-left, 0px))
    max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Buttons & Links
------------------------------------------------------------------ */
.button {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 500 16px/1 var(--font-sans);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease;
}

.button:active { transform: scale(0.97); }

.button--small { height: 40px; padding: 0 18px; font-size: 14px; flex-shrink: 0; }

.button--block { width: 100%; }

.button__icon {
  font-size: 18px;
  transition: transform 200ms var(--ease-out);
}

.button__icon-wrap {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin: -6px -14px -6px 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 300ms var(--ease-out);
}

.button--large.button--slide {
  gap: 0;
  padding: 8px;
  white-space: nowrap;
}
.button--slide .button__icon-wrap { width: 40px; height: 40px; margin: 0; overflow: hidden; }
.button--slide .button__text { padding: 0 16px; }
.button--slide .button__icon-wrap,
.button--slide .button__text { transition: transform 550ms var(--ease-in-out); }
/* Mit GSAP (.is-gsap setzt script.js) steuert das Skript die Bewegung: CSS-Übergänge und CSS-Hover aus */
.button--slide.is-gsap { position: relative; overflow: hidden; }
.button--slide.is-gsap :is(.button__icon-wrap, .button__text, .button__icon) { transition: none; }

/* Umgekehrte Farbvariante, die script.js beim Hover vom Kreis aus aufdeckt (clip-path).
   Hell auf dunklen Abschnitten, dunkel auf hellen, damit sich der Button immer vom Hintergrund abhebt. */
.button__flood {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: inherit;
  padding: inherit;
  border-radius: inherit;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  pointer-events: none;
}
.button__flood .button__icon-wrap { background: none; }
.section--dark .button__flood { background: #fff; color: var(--navy); }
.section--dark .button__flood .button__icon { color: var(--accent); }

/* Hover: Kreis gleitet ans rechte Ende, Text rutscht nach links (--travel misst script.js).
   :where() hält die Spezifität niedrig, damit die Regel für reduzierte Bewegung weiter gewinnt. */
@media (hover: hover) and (pointer: fine) {
  .button--slide:where(:not(.is-gsap)):hover .button__icon-wrap { transform: translateX(var(--travel, 0px)); }
  .button--slide:where(:not(.is-gsap)):hover .button__text { transform: translateX(-40px); }
}
@media (prefers-reduced-motion: reduce) {
  .button--slide:hover .button__icon-wrap,
  .button--slide:hover .button__text { transform: none; }
}

/* Auf schmalen Handys darf der Text umbrechen, dort gibt es kein Hover */
@media (max-width: 480px) {
  .button--large.button--slide { white-space: normal; text-align: left; }
}

.label-short { display: none; }

@media (max-width: 400px) {
  .label-long { display: none; }
  .label-short { display: inline; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 4px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover { --btn-bg: var(--accent-hover); }
  .button:hover .button__icon { transform: translateX(3px); }
  .button:not(.button--slide):hover .button__icon-wrap { transform: translate(2px, -1px) scale(1.06); }
  .button:hover .button__icon-wrap .button__icon { transform: none; }
  .text-link:hover { text-decoration-color: var(--accent); }
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(245, 247, 248, 0);
  color: var(--ink);
  transition: background-color 250ms ease, box-shadow 250ms ease, color 250ms ease;
}

/* Ganz oben: Marineblau wie der Hero, damit kein heller Streifen darüber liegt */
.header:not([data-scrolled="true"]) {
  --ink: var(--on-dark);
  --ink-soft: var(--on-dark-muted);
  --muted: var(--on-dark-muted);
  background: var(--navy);
}

/* Glas auf einem Pseudo-Element: backdrop-filter am Header selbst würde
   die fixierte Seitenleiste des Menüs im Header einsperren */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 247, 248, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  opacity: 0;
  transition: opacity 250ms ease;
}
.header[data-scrolled="true"]::before { opacity: 1; }
.header[data-scrolled="true"] { box-shadow: 0 1px 0 var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

/* margin-top: Text mittig zum R statt zur Zeichenbox, der Ball ragt oben über */
.logo__text { display: grid; line-height: 1.05; margin-top: 7px; }
/* Wie im Logo: „DER“ klein und gesperrt über dem Schriftzug */
.logo__der { font-size: 11px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; }
.logo__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Logo-Zeichen (R mit Ball) übernimmt die Textfarbe des Headers */
.logo__mark {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--ink);
}

.logo__mark svg { display: block; width: 100%; height: 100%; }

.nav { display: flex; gap: 4px; }
.nav__cta, .menu-backdrop { display: none; }

.nav > a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav > a:hover { color: var(--ink); background: rgba(var(--shadow-tint), 0.05); }
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}
.menu-toggle__lines { position: relative; display: block; width: 22px; height: 14px; }
.menu-toggle__lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 300ms var(--ease-out), opacity 150ms ease;
}
.menu-toggle__lines span:nth-child(1) { top: 0; }
.menu-toggle__lines span:nth-child(2) { top: 6px; }
.menu-toggle__lines span:nth-child(3) { top: 12px; }
.header[data-open="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header[data-open="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.header[data-open="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Unter 1024px: Navigation als Seitenleiste von rechts, Termin-Button darin */
@media (max-width: 1023px) {
  .menu-toggle { display: grid; position: relative; z-index: 1; }
  .header__inner { gap: 12px; }
  .header__inner > [data-cta="header"] { display: none; }

  .header[data-open="true"] .menu-toggle { color: var(--on-dark); }

  .nav {
    --ink: var(--on-dark);
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 80px) max(24px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--navy);
    color: var(--on-dark);
    box-shadow: -24px 0 48px -24px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 420ms var(--ease-out), visibility 0s 420ms;
  }
  .header[data-open="true"] .nav { transform: none; visibility: visible; transition-delay: 0s; }

  /* Menüpunkte: Nummer · Wort · Pfeil; beim Antippen läuft eine Fläche von links ein */
  .nav { counter-reset: nav; }
  .nav > a {
    counter-increment: nav;
    display: grid;
    grid-template-columns: 34px 1fr 20px;
    align-items: center;
    margin: 0 -12px;
    padding: 16px 12px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--on-dark);
    text-decoration: none;
    background:
      linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)) left / 0% 100% no-repeat,
      linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09)) bottom 0 left 12px / calc(100% - 24px) 1px no-repeat;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 250ms ease, transform 450ms var(--ease-out), background-size 380ms var(--ease-out);
  }
  .nav > a::before {
    content: counter(nav, decimal-leading-zero);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--on-dark-muted);
    transition: color 200ms ease;
  }
  .nav > a::after {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.3;
    transform: translateX(-6px);
    transition: opacity 200ms ease, transform 380ms var(--ease-out);
  }
  .nav > a:is(:active, .is-tapped) {
    background-size: 100% 100%, calc(100% - 24px) 1px;
  }
  .nav > a:is(:active, .is-tapped)::before { color: #8fb0ff; }
  .nav > a:is(:active, .is-tapped)::after { opacity: 1; transform: none; }
  @media (hover: hover) and (pointer: fine) {
    .nav > a:hover { background-size: 100% 100%, calc(100% - 24px) 1px; }
    .nav > a:hover::after { opacity: 1; transform: none; }
  }
  .nav__cta {
    display: block;
    margin-top: auto;
    padding-top: 32px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 250ms ease, transform 450ms var(--ease-out);
  }
  .nav__cta .button { white-space: normal; text-align: left; }
  .header[data-open="true"] :is(.nav > a, .nav__cta) { opacity: 1; transform: none; }
  .header[data-open="true"] .nav > :nth-child(1) { transition-delay: 60ms; }
  .header[data-open="true"] .nav > :nth-child(2) { transition-delay: 90ms; }
  .header[data-open="true"] .nav > :nth-child(3) { transition-delay: 120ms; }
  .header[data-open="true"] .nav > :nth-child(4) { transition-delay: 150ms; }
  .header[data-open="true"] .nav > :nth-child(5) { transition-delay: 180ms; }
  .header[data-open="true"] .nav > :nth-child(6) { transition-delay: 210ms; }
  .header[data-open="true"] .nav > :nth-child(7) { transition-delay: 260ms; }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(8, 16, 22, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 0s 300ms;
  }
  .header[data-open="true"] .menu-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
}

@media (max-width: 400px) {
  .header__inner { height: 64px; }
  .logo__brand { font-size: 20px; }
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Sektionen: hell, weiß, getönt, dunkel
------------------------------------------------------------------ */
.section { padding: clamp(72px, 9vw, 128px) 0 clamp(80px, 10vw, 136px); }
.section--white { background: var(--surface); }
.section--tint { background: var(--tint); }

.section--dark {
  --ink: var(--on-dark);
  --ink-soft: var(--on-dark);
  --muted: var(--on-dark-muted);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  background: var(--navy);
  color: var(--on-dark);
}
.section--dark .eyebrow { color: var(--accent-on-dark); }
.section--dark :focus-visible { outline-color: var(--accent-on-dark); }

.section__title {
  max-width: 22ch;
  font-size: clamp(36px, 3vw + 22px, 60px);
  line-height: 1;
}

/* Schmale Inhalte bleiben links bündig mit den anderen Sektionen */
.narrow > * { max-width: 860px; }

.lead {
  max-width: 60ch;
  margin-top: 28px;
  font-size: clamp(18px, 0.6vw + 15px, 21px);
  line-height: 1.6;
  color: var(--muted);
}

.subhead {
  margin-top: clamp(56px, 6vw, 80px);
  font-size: 22px;
}

.button--large { height: auto; min-height: 56px; padding: 16px 28px; font-size: 17px; white-space: normal; text-align: left; }

/* ------------------------------------------------------------------
   1 Hero
------------------------------------------------------------------ */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero:focus { outline: none; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(40px, 3.6vw + 22px, 74px);
  line-height: 0.98;
}
.hero__accent { display: block; color: var(--accent-on-dark); }

.hero__lead {
  max-width: 50ch;
  hyphens: manual;
  -webkit-hyphens: manual;
  margin-top: 24px;
  font-size: clamp(17px, 0.5vw + 15px, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions { margin-top: 32px; }

.trust {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
  color: var(--on-dark);
}
.trust li { display: flex; gap: 10px; align-items: baseline; }
.trust .icon { position: relative; top: 2px; color: var(--accent-on-dark); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------
   Videos (selbst gehostet, laden erst beim Abspielen)
------------------------------------------------------------------ */
.video { margin: 0; }
.video video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-m);
  background: #000;
  object-fit: cover;
}
.video--landscape video { aspect-ratio: 16 / 9; }
.video--portrait video { aspect-ratio: 9 / 16; }
.video figcaption:not(.visually-hidden) { margin-top: 12px; font-weight: 600; }

.hero__video { border-radius: var(--radius-m); }

/* Doppelrahmen: das Video liegt wie eine Platte in einer flachen Schale */
.bezel {
  padding: 6px;
  border-radius: calc(var(--radius-m) + 6px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

/* Eigener Player (Reels-Stil), wird per JS aufgebaut */
.player { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-m); }
.player video { border-radius: 0; cursor: pointer; }

/* Leichter Verlauf unten, damit Zeitleiste und Name auf hellen Bildern lesbar bleiben */
.player::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
  z-index: 0;
}
.player > :not(video) { z-index: 1; }

.player figcaption:not(.visually-hidden) {
  position: absolute;
  left: 16px;
  bottom: 30px;
  margin: 0;
  color: #fff;
  font-size: 17px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.player__toggle {
  --scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(var(--scale));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 250ms ease, transform 350ms var(--ease-out);
}

/* Feiner Ring, der bei Hover um den Knopf einblendet */
.player__toggle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 250ms ease, transform 350ms var(--ease-out);
  pointer-events: none;
}

/* Play und Pause liegen übereinander und tauschen weich */
.player__toggle .icon {
  grid-area: 1 / 1;
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.player__toggle .icon:last-child { opacity: 0; transform: scale(0.5); }

/* Abspielen: Knopf wächst kurz und löst sich auf */
.player[data-state="playing"] .player__toggle { --scale: 1.25; opacity: 0; }
.player[data-state="playing"] .player__toggle .icon:first-child { opacity: 0; transform: scale(0.5); }
.player[data-state="playing"] .player__toggle .icon:last-child { opacity: 1; transform: none; }

.player__toggle:active { --scale: 0.94; }
.player__toggle:focus-visible { opacity: 1 !important; --scale: 1; outline: 3px solid #fff; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  /* Hover pausiert: etwas größer, Ring erscheint */
  .player:not([data-state="playing"]):hover .player__toggle { --scale: 1.08; }
  .player:not([data-state="playing"]):hover .player__toggle::before { opacity: 1; transform: scale(1); }
  .player:not([data-state="playing"]) .player__toggle:active { --scale: 0.94; }

  /* Hover während der Wiedergabe: Pause-Knopf taucht in normaler Größe auf */
  .player[data-state="playing"]:hover .player__toggle { --scale: 1; opacity: 0.9; }
}

/* Zeitleiste und Lautstärke: echte Range-Inputs, umgestylt */
.player__seek,
.player__volume {
  --p: 0%;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.player__seek { position: absolute; left: 12px; right: 12px; bottom: 6px; width: auto; height: 22px; }

.player__seek::-webkit-slider-runnable-track,
.player__volume::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #fff var(--p), rgba(255, 255, 255, 0.35) var(--p));
  transition: height 150ms ease;
}
.player__seek::-moz-range-track,
.player__volume::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); }
.player__seek::-moz-range-progress,
.player__volume::-moz-range-progress { height: 4px; border-radius: 2px; background: #fff; }

.player__seek::-webkit-slider-thumb,
.player__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 150ms var(--ease-out);
}
.player__seek::-moz-range-thumb,
.player__volume::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; transform: scale(0); transition: transform 150ms var(--ease-out); }

.player__seek:is(:hover, :focus-visible, :active)::-webkit-slider-thumb,
.player__volume:is(:hover, :focus-visible, :active)::-webkit-slider-thumb { transform: scale(1); }
.player__seek:is(:hover, :focus-visible, :active)::-moz-range-thumb,
.player__volume:is(:hover, :focus-visible, :active)::-moz-range-thumb { transform: scale(1); }
.player__seek:focus-visible,
.player__volume:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Touch: Anfasser immer sichtbar, damit man ihn greifen kann */
@media (pointer: coarse) {
  .player__seek::-webkit-slider-thumb { transform: scale(1); }
  .player__seek::-moz-range-thumb { transform: scale(1); }
}

/* Ton nur am PC: Knopf oben rechts, Regler klappt bei Hover aus */
.player__sound { display: none; }

@media (hover: hover) and (pointer: fine) {
  .player__sound {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: row-reverse; /* Knopf bleibt rechts fest unter dem Zeiger, Regler klappt nach links aus */
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 200ms ease;
  }
  .player:is(:hover, :focus-within) .player__sound,
  .player[data-state="playing"] .player__sound { opacity: 1; }

  .player__mute {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
  }
  .player__mute .icon:last-child { display: none; }
  .player[data-muted="true"] .player__mute .icon:first-child { display: none; }
  .player[data-muted="true"] .player__mute .icon:last-child { display: block; }
  .player__mute:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

  .player__volume { width: 0; height: 22px; opacity: 0; transition: width 200ms var(--ease-out), opacity 150ms ease, margin 200ms var(--ease-out); }
  .player__sound:is(:hover, :focus-within) .player__volume { width: 72px; margin: 0 4px 0 8px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .player__toggle, .player__sound, .player__volume { transition: none; }
  .player__toggle, .player__toggle:active, .player[data-state="playing"] .player__toggle { --scale: 1 !important; }
  .player__toggle::before, .player__toggle .icon { transition: opacity 200ms ease; }
}

/* ------------------------------------------------------------------
   2 Typische Beschwerden
------------------------------------------------------------------ */
.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.topic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 240px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.topic--knee { background: var(--navy); color: var(--on-dark); box-shadow: none; }
.topic--other { background: var(--accent-soft); box-shadow: none; }

.topic__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 3vw + 24px, 72px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}
.topic--knee .topic__title { color: var(--accent-on-dark); }
.topic__text { max-width: 26ch; font-size: 18px; line-height: 1.45; }

@media (max-width: 900px) {
  .topics { grid-template-columns: minmax(0, 1fr); }
  .topic { min-height: 0; gap: 24px; }
}

/* ------------------------------------------------------------------
   3 Über Philipp
------------------------------------------------------------------ */
.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about__media { position: relative; padding-bottom: 12%; }
.about__media img { width: 100%; height: auto; border-radius: var(--radius-m); object-fit: cover; }
.about__media-small {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 42% !important;
  aspect-ratio: 1;
  border: 6px solid var(--surface);
}

.about__text { max-width: 52ch; margin-top: 24px; font-size: 18px; color: var(--ink-soft); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.facts dt {
  font-family: var(--font-display);
  font-size: clamp(28px, 1.4vw + 18px, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--muted); }

@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__media-small { right: 0; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; gap: 16px; }
}

/* ------------------------------------------------------------------
   4 Behandlungsansatz
------------------------------------------------------------------ */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.steps { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(18px, 0.6vw + 15px, 21px);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.approach__videos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.approach__video-offset { margin-top: 48px; }

/* Video unter der Maus (oder im Fokus) wird dezent größer, das andere tritt zurück.
   Nur transform: Layout und Höhe der Sektion bleiben unverändert. */
.approach__videos > .video { transition: transform 400ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .approach__videos:has(> .video:is(:hover, :focus-within)) > .video { transform: scale(0.96); }
  .approach__videos:has(> .video:is(:hover, :focus-within)) > .video:is(:hover, :focus-within) { position: relative; z-index: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .approach__videos > .video { transition: none; }
}

@media (max-width: 900px) {
  .approach { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------
   5 Coaching
------------------------------------------------------------------ */
.coaching {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.coaching .section__title { margin-top: 12px; }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
}
.checklist li { display: flex; gap: 12px; align-items: baseline; }
.checklist .icon { position: relative; top: 3px; font-size: 18px; color: var(--accent); }

.coaching__note { margin: 28px 0 32px; color: var(--muted); }

.coaching__media { margin: 0; }
.coaching__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }

@media (max-width: 900px) {
  .coaching { grid-template-columns: minmax(0, 1fr); }
  .coaching__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .checklist { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   6 Kundenstimmen
------------------------------------------------------------------ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
}
.testimonials--more { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin-top: 24px; }

.reviews {
  columns: 3 300px;
  column-gap: 20px;
  margin-top: 24px;
}
.review {
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 24px;
  border-radius: var(--radius-m);
  background: var(--surface);
}
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.review figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; }
.review__stars { margin-right: 6px; color: #b07900; letter-spacing: 1px; }

.rating { margin-top: 8px; font-size: 15px; color: var(--muted); }
.reviews__note { max-width: 70ch; margin-top: 4px; font-size: 14px; color: var(--muted); }

@media (max-width: 760px) {
  .testimonials { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .testimonials > * { scroll-snap-align: start; }
}

/* ------------------------------------------------------------------
   7 Volleyball und Berufsalltag: Überschrift links, Text rechts
------------------------------------------------------------------ */
.alltag {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.alltag .lead { margin-top: 0; }

@media (max-width: 900px) {
  .alltag { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ------------------------------------------------------------------
   8 FAQ
------------------------------------------------------------------ */
.faq { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: clamp(18px, 0.5vw + 16px, 20px);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 24px; color: var(--muted); }

/* ------------------------------------------------------------------
   9 Abschluss und Kontakt
------------------------------------------------------------------ */
.closing { display: grid; gap: 32px; justify-items: start; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.contact__label { font-size: 20px; font-weight: 600; }
.channels { display: grid; gap: 4px; margin: 16px 0 0; padding: 0; list-style: none; }
.channels a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.channels .icon { font-size: 22px; color: var(--accent-on-dark); }
.contact__aside { margin-top: 24px; font-size: 15px; color: var(--muted); }
.contact__aside a { color: var(--on-dark); }

@media (hover: hover) and (pointer: fine) {
  .channels a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

/* Formular bleibt eine helle Karte, auch im dunklen Bereich */
.section--dark .form {
  --ink: #0e1e28;
  --ink-soft: #33454f;
  --muted: #5a6b75;
  --line: #dee5e9;
  --line-strong: #c9d4da;
  color: var(--ink);
}

@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 48px -32px rgba(var(--shadow-tint), 0.22);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: grid; gap: 8px; align-content: start; }

.field__label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }

.field__optional { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font: 16px/1.4 var(--font-sans); /* 16px verhindert iOS-Zoom */
  appearance: none;
  transition: box-shadow 150ms ease, background-color 150ms ease;
}

.field textarea { resize: vertical; min-height: 120px; }

.field select {
  padding-right: 40px;
  /* Phosphor caret-down */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%235a6b75'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field select:invalid { color: var(--muted); }

.field ::placeholder { color: var(--muted); opacity: 1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--surface);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-soft);
}

.checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.checkbox > span:not(.field__error) { flex: 1; min-width: 0; }

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--accent);
}

/* Chips: Wo zwickt's? */
.chips { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }

.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease,
    gap 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip .icon {
  width: 0;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.6);
  transition:
    width 200ms var(--ease-out),
    opacity 150ms ease,
    transform 200ms var(--ease-out);
}

.chip:active { transform: scale(0.97); }

.chip:has(input:checked) {
  gap: 8px;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent-ink);
}
.chip:has(input:checked) .icon { width: 14px; opacity: 1; transform: none; }

.chip:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover:not(:has(input:checked)) { box-shadow: inset 0 0 0 1px var(--accent); color: var(--ink); }
}

/* Inline-Validierung */
.field__error {
  display: block;
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.4;
  color: var(--danger);
  opacity: 1;
  transform: none;
  transition: opacity 200ms ease, transform 200ms var(--ease-out);

  @starting-style {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.field__error[hidden] { display: none; }

.checkbox .field__error { padding-left: 30px; }

.field [aria-invalid="true"] {
  background-color: var(--danger-soft);
  box-shadow: inset 0 0 0 1px var(--danger);
}
.field [aria-invalid="true"]:focus {
  box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 4px var(--danger-soft);
}

/* Submit-Button: Label-Crossfade mit Blur */
.form .button { display: grid; height: auto; min-height: 52px; padding-block: 12px; margin-top: 4px; white-space: normal; text-align: center; }

.button__label {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(6px);
  transition:
    opacity 200ms ease,
    filter 200ms ease,
    transform 250ms var(--ease-out);
}

.button[data-state="idle"]    [data-label="idle"],
.button[data-state="sending"] [data-label="sending"],
.button[data-state="success"] [data-label="success"] {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.button[data-state="sending"] { pointer-events: none; }
.button[data-state="success"] { --btn-bg: var(--success); pointer-events: none; }

/* Erfolg: Haken wird von links nach rechts aufgedeckt */
.check-icon {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 400ms var(--ease-out) 120ms;
}
.button[data-state="success"] .check-icon { clip-path: inset(0 0 0 0); }

.form__status { font-size: 14px; color: var(--muted); text-align: center; }
.form__status:empty { display: none; }

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}
/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.footer {
  --ink: #ffffff;
  padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e1b24;
  font-size: 14px;
  color: var(--on-dark-muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer__nav { display: flex; gap: 12px; }

/* Touch-Ziel mindestens 24px hoch (WCAG 2.5.8) */
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 4px;
  text-decoration: none;
  transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover { color: var(--ink); }
}

/* ------------------------------------------------------------------
   Rechtstexte (impressum.html, datenschutz.html)
------------------------------------------------------------------ */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 128px); }
.legal__body { max-width: 65ch; }
.legal h1 { font-size: clamp(44px, 2.4vw + 32px, 64px); }
.legal h2 { margin-top: 40px; font-size: 22px; letter-spacing: -0.02em; }
.legal p { margin-top: 12px; color: var(--ink-soft); }
.legal .todo {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
}

/* ------------------------------------------------------------------
   Motion: Scroll-Reveal & Hero-Bild
   Nur wenn JS läuft. Ohne JS ist alles sofort sichtbar.
------------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 500ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero-Titel: sanftes Einblenden per CSS, startet sofort ohne auf Skripte zu warten */
.hero__title { animation: hero-in 700ms var(--ease-out) 100ms both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } }

/* 4 Schritte: Linie läuft beim Scrollen durch, erreichte Nummern füllen sich */
.steps { position: relative; }
.steps__num { position: relative; z-index: 1; }
.steps--animated::before,
.steps__line {
  content: "";
  position: absolute;
  left: 21px;
  top: 42px;
  bottom: 42px;
  width: 2px;
  border-radius: 1px;
}
.steps--animated::before { background: var(--line-strong); }
.steps__line { background: var(--accent); transform-origin: top; transform: scaleY(0); transition: transform 500ms var(--ease-out); }
.steps--animated .steps__num {
  background: var(--navy);
  box-shadow: inset 0 0 0 2px var(--line-strong);
  color: var(--on-dark-muted);
  transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease;
}
.steps--animated li.is-active .steps__num { background: var(--accent); box-shadow: none; color: #fff; }

/* Reduced Motion: nur Opacity, keine Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-reveal] { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .menu-toggle__lines span, .nav > a, .nav > a::after, .nav__cta, .button__icon-wrap { transition: none !important; }
  .hero__title { animation: none; }

  .nav, .menu-backdrop, .faq summary::after { transition: none !important; }

  .button__label { transform: none; transition-property: opacity, filter; }
  .button:active { transform: none; }
  .check-icon { clip-path: none; transition: none; }
  .field__error { transition: opacity 200ms ease; transform: none; }
  .skip-link { transition: none; }
  .chip, .chip .icon { transition-property: background-color, color, box-shadow, opacity; }
  .chip:active { transform: none; }
}

/* Weniger Transparenz gewünscht: solide Flächen statt Glas */
@media (prefers-reduced-transparency: reduce) {
  .header::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Mehr Kontrast gewünscht: klare Kanten, dunklere Sekundärtexte */
@media (prefers-contrast: more) {
  :root { --muted: #33454f; --line: #8796a0; --line-strong: #586a75; }
  .review, .topic { box-shadow: 0 0 0 1px var(--line); }
}
