/* floorgeneral.de – Gestaltung nach DESIGN.md (hell oder dunkel, dunkle App-Fenster, Schwarz/Weiß für Aktionen statt Cyan seit 02.11.2026, Orange nur am Ball). */

@font-face { font-family: 'Saira'; font-style: normal; font-weight: 700 800; font-display: swap; src: url('../schriften/saira.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../schriften/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../schriften/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../schriften/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../schriften/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../schriften/barlow-semi-condensed-600.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f6f9;
  --surface-hover: #e8ecf2;
  --border: #d5dce5;
  --border-hover: #7d8a9c;
  --text: #0f1b2d;
  --text-secondary: #4f5d70;
  --text-tertiary: #5f6e82;
  --accent: #111418;
  --accent-hover: #2b313a;
  --accent-text: #111418;
  --accent-text-hover: #000000;
  --on-accent: #ffffff;
  /* Hervorhebung in den dunklen App-Fenstern (Bühne): Weiß wie in der App */
  --stage-accent: #f4f7fb;
  --ball: #ff9c04;
  --stage: #01101e;
  --stage-surface: #0f1b2d;
  --stage-border: #24364f;
  --stage-text: #f4f7fb;
  --stage-muted: #9aa9bc;
  --bg-rgb: 255, 255, 255;
  --schatten-rgb: 15, 27, 45;
  --accent-rgb: 17, 20, 24;
  --stage-accent-rgb: 244, 247, 251;
  --stage-rgb: 1, 16, 30;
  --success: #1e7f55;
  --error: #c62828;
  --focus: #111418;

  --font-display: 'Saira', 'Bahnschrift', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Barlow', 'Bahnschrift', 'Segoe UI', system-ui, sans-serif;
  --font-label: 'Barlow Semi Condensed', 'Bahnschrift', 'Arial Narrow', sans-serif;

  --rand: clamp(16px, 4vw, 40px);
  --abschnitt: clamp(72px, 10vw, 128px);
  --schatten-buehne: 0 1px 2px rgba(var(--schatten-rgb), .06), 0 24px 60px -24px rgba(var(--schatten-rgb), .35);
  color-scheme: light;
}
/* Dunkel (Hendrik 02.11.): js/design.js setzt data-theme aus gemerkter Wahl oder Systemeinstellung. Die Seite liegt
   eine Stufe heller als die App-Fenster (--stage), damit die Fenster weiter als Bildschirme lesbar bleiben. */
:root[data-theme='dunkel'] {
  --bg: #0c1726;
  --surface: #111e30;
  --surface-alt: #111e30;
  --surface-hover: #17263b;
  --border: #24364f;
  --border-hover: #5b7190;
  --text: #f4f7fb;
  --text-secondary: #b3c0cf;
  --text-tertiary: #9aa9bc;
  --accent: #f4f7fb;
  --accent-hover: #d5dce5;
  --accent-text: #f4f7fb;
  --accent-text-hover: #ffffff;
  --on-accent: #01101e;
  --bg-rgb: 12, 23, 38;
  --schatten-rgb: 0, 0, 0;
  --accent-rgb: 244, 247, 251;
  --success: #3ddc97;
  --error: #ff6b6b;
  --focus: #f4f7fb;
  --schatten-buehne: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-secondary);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--text); margin: 0; }
p { margin: 0; }
a { color: inherit; }

.container { width: min(100% - 2 * var(--rand), 1200px); margin-inline: auto; }
.schmal { width: min(100% - 2 * var(--rand), 720px); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt.alt { background: var(--surface-alt); }
.nur-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: var(--rand); top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: 8px; }
.sprung:focus { top: 12px; }

/* ── Typografie ─────────────────────────────────────────── */
.h1 { font: 800 clamp(2.5rem, 2rem + 3.2vw, 4.25rem)/1.04 var(--font-display); letter-spacing: -.01em; }
.h2 { font: 700 clamp(1.85rem, 1.5rem + 1.6vw, 2.75rem)/1.1 var(--font-display); letter-spacing: -.005em; }
.h3 { font: 700 1.375rem/1.25 var(--font-body); }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 34em; }
.klein { font-size: .9375rem; line-height: 1.5; color: var(--text-tertiary); }
.slogan { font: 700 .875rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.kopfzeile { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.kopfzeile.mitte { margin-inline: auto; text-align: center; justify-items: center; }
.text a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .15s ease, text-decoration-thickness .15s ease; }
.text a:hover { color: var(--accent-text-hover); text-decoration-thickness: 2px; }
.text a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

/* ── Knöpfe ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.375rem;
  font: 600 1rem/1 var(--font-label); letter-spacing: .01em;
  border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}
.btn .pfeil { width: 18px; height: 18px; flex: none; transition: transform .18s ease; }
.btn:hover .pfeil { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; transform: none; }
.btn:disabled .pfeil { transform: none; }
.btn-primaer { background: var(--accent); color: var(--on-accent); }
.btn-primaer:hover, .btn-primaer:active { background: var(--accent-hover); }
.btn-sekundaer { background: transparent; color: var(--text); border-color: var(--text); }
.btn-sekundaer:hover, .btn-sekundaer:active { background: var(--text); color: var(--bg); }
.btn-text { background: none; color: var(--accent-text); padding: 0 .25rem; }
.btn-text:hover { color: var(--accent-text-hover); }
.btn-text .play { width: 22px; height: 22px; }

/* ── Kopf ───────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 50; height: 68px;
  display: flex; align-items: center;
  background: rgba(var(--bg-rgb), 0); border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.kopf.gescrollt { background: rgba(var(--bg-rgb), .92); border-bottom-color: var(--border); box-shadow: 0 1px 2px rgba(var(--schatten-rgb), .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kopf .container { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); }
.marke { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--text); border-radius: 6px; }
.marke:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.marke svg { width: 46px; height: auto; overflow: visible; }
.marke .auge-linie, .marke .auge-bogen { fill: currentColor; }
.logo-dunkel, [data-theme='dunkel'] .logo-hell { display: none; }
[data-theme='dunkel'] .logo-dunkel { display: block; }
.marke .wortmarke { font: 800 1.125rem/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.pupille { transition: transform .12s linear; transform-box: fill-box; transform-origin: center; }
.badge { display: inline-block; padding: .2rem .5rem; font: 600 .75rem/1 var(--font-label); letter-spacing: .04em; color: var(--text); background: var(--surface-alt); border: 1px solid var(--border); border-radius: 999px; }
.kopf nav { margin-left: auto; }
.kopf nav ul { display: flex; gap: clamp(12px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.kopf nav a { display: inline-block; font: 500 1rem/1 var(--font-body); color: var(--text-secondary); text-decoration: none; padding: .75rem .25rem; transition: color .15s ease, box-shadow .15s ease; }
.kopf nav a:hover { color: var(--text); }
.kopf nav a[aria-current='true'] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.kopf nav a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.kopf .aktionen { display: flex; align-items: center; gap: 12px; }
.kopf .btn { min-height: 44px; padding: 0 1rem; }
.menue-knopf { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; }
.menue-knopf:hover { background: var(--surface-hover); }
.menue-knopf:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* nur mit JavaScript (ohne bleibt die Seite hell) */
.design-knopf { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; transition: background-color .15s ease; }
.js .design-knopf { display: inline-flex; }
.design-knopf:hover { background: var(--surface-hover); }
.design-knopf:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.design-knopf svg { width: 20px; height: 20px; }
.design-knopf .mond, [data-theme='dunkel'] .design-knopf .sonne { display: none; }
[data-theme='dunkel'] .design-knopf .mond { display: block; }
/* Handy: Schalter als Zeile im Menü, damit die Kopfleiste nicht überläuft */
.design-zeile { display: none; }
.design-knopf.mit-text { width: auto; height: auto; min-height: 44px; gap: .625rem; justify-content: flex-start; padding: .875rem 0; border: 0; font: 500 1rem/1 var(--font-body); color: var(--text-secondary); }
.design-knopf.mit-text:hover { background: none; color: var(--text); }

.sprache { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.sprache button { min-height: 36px; min-width: 44px; font: 600 .875rem/1 var(--font-label); color: var(--text-secondary); background: var(--bg); border: 0; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sprache button:hover { background: var(--surface-hover); color: var(--text); }
.sprache button[aria-pressed='true'] { background: var(--text); color: var(--bg); }
.sprache button:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding-block: clamp(40px, 6vw, 80px) var(--abschnitt); }
.zweispaltig { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-titel { margin-bottom: clamp(28px, 3.5vw, 48px); line-height: 1.06; }
.hero-unten { align-items: start; }
@media (min-width: 1024px) { .hero-text { padding-top: 8px; } }
.hero-text { display: grid; gap: 1.5rem; justify-items: start; }
.h1-zeile { display: block; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ── App-Fenster ────────────────────────────────────────── */
.fenster {
  position: relative; overflow: hidden; margin: 0;
  background: var(--stage); border: 1px solid var(--stage-border); border-radius: 14px;
  box-shadow: var(--schatten-buehne);
  aspect-ratio: 16 / 9;
}
/* Der App-Export hat 4 % Rand; leicht vergrößert verschwindet er hinter dem Fensterrand. */
.fenster img.poster, .fenster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); }
.fenster video { opacity: 0; transition: opacity .35s ease; }
.fenster video.aktiv { opacity: 1; }
.fenster-etikett {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: .375rem .625rem; border-radius: 6px;
  font: 600 .8125rem/1 var(--font-label); letter-spacing: .02em;
  color: var(--stage-text); background: rgba(var(--stage-rgb), .78); border: 1px solid var(--stage-border);
}
.abspiel-knopf {
  position: absolute; inset: 0; z-index: 3; display: none; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; color: var(--stage-text);
}
.abspiel-knopf span { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-radius: 8px; background: rgba(var(--stage-rgb), .8); border: 1px solid var(--stage-border); font: 600 1rem/1 var(--font-label); }
.abspiel-knopf:focus-visible span { outline: 3px solid var(--stage-accent); outline-offset: 2px; }
.fenster.angehalten .abspiel-knopf { display: flex; }

/* ── Ansichten (Herzstück) ──────────────────────────────── */
.ansichten-steuerung { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 20px; }
.umschalter { display: inline-flex; padding: 4px; gap: 4px; background: var(--stage-surface); border: 1px solid var(--stage-border); border-radius: 10px; }
.umschalter button {
  min-height: 44px; min-width: 96px; padding: 0 1rem;
  font: 600 1rem/1 var(--font-label); color: var(--stage-muted);
  background: transparent; border: 0; border-radius: 7px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.umschalter button:hover { color: var(--stage-text); background: rgba(var(--stage-accent-rgb), .12); }
.umschalter button[aria-pressed='true'] { background: var(--stage-accent); color: var(--stage); }
.umschalter button:focus-visible { outline: 3px solid var(--stage-accent); outline-offset: 2px; }
.umschalter button:disabled { opacity: .4; cursor: not-allowed; }
.ansicht-text { display: grid; gap: .25rem; max-width: 36rem; min-height: 4.8em; }
.ansicht-text strong { color: var(--text); font-weight: 600; }

/* ── So geht's ──────────────────────────────────────────── */
/* Taktik-Symbolik wie in der App: Spielerpunkte über den Karten, Pass gestrichelt, Laufweg durchgezogen mit Pfeil.
   Gleiches Raster wie .schritte (3 Spalten, 24px Abstand), damit die Punkte genau über den Kartenmitten sitzen. */
.laufweg { --spalte: calc((100% - 48px) / 3); --r: 9px; position: relative; display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; height: 28px; margin-bottom: 20px; }
.laufweg .punkt { position: relative; z-index: 1; justify-self: center; align-self: center; width: calc(2 * var(--r)); height: calc(2 * var(--r)); border-radius: 50%; background: var(--stage-surface); border: 3px solid var(--accent); }
.laufweg .linie { position: absolute; top: calc(50% - 1.25px); height: 2.5px; width: calc(var(--spalte) + 24px - 2 * var(--r) - 16px); transform-origin: left center; }
.laufweg .pass { left: calc(var(--spalte) / 2 + var(--r) + 8px); background: repeating-linear-gradient(90deg, var(--text) 0 7px, transparent 7px 14px); }
.laufweg .lauf { left: calc(var(--spalte) * 1.5 + 24px + var(--r) + 8px); background: var(--text); }
.laufweg .lauf::after { content: ''; position: absolute; right: 1px; top: -4.5px; width: 11px; height: 11px; border-top: 2.5px solid var(--text); border-right: 2.5px solid var(--text); transform: rotate(45deg); }
.js .laufweg .linie { transform: scaleX(0); transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.js .laufweg .lauf { transition-delay: .6s; }
.js .sichtbar .laufweg .linie { transform: none; }
.schritte { display: grid; gap: 24px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.schritt { display: grid; gap: 1rem; align-content: start; }
.schritt .bild { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; border: 1px solid var(--stage-border); background: var(--stage); box-shadow: var(--schatten-buehne); }
.schritt .bild img { width: 100%; height: 100%; object-fit: cover; }
.schritt p { max-width: 30em; }

/* ── Team ───────────────────────────────────────────────── */
.handy {
  justify-self: center; width: min(300px, 78vw); aspect-ratio: 390 / 760; overflow: hidden;
  border: 10px solid var(--stage-surface); border-radius: 36px; background: var(--stage);
  box-shadow: var(--schatten-buehne);
}
.handy img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-text { display: grid; gap: 1.25rem; }
.fakten { display: grid; gap: 1rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.fakten li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start; }
.fakten svg { width: 28px; height: 28px; color: var(--text); }
.fakten strong { color: var(--text); font-weight: 600; }

/* ── Beta ───────────────────────────────────────────────── */
.beta-text { display: grid; gap: 1.25rem; align-content: start; }
.formular { position: relative; display: grid; gap: 1.125rem; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.formular .zeile { display: grid; gap: 1.125rem; grid-template-columns: 1fr; }
.feld { display: grid; gap: .375rem; }
.feld label { font: 600 .9375rem/1.3 var(--font-label); color: var(--text); }
.feld .optional { font-weight: 400; color: var(--text-tertiary); }
.feld input, .feld select {
  width: 100%; min-height: 48px; padding: 0 .875rem; font: 400 1rem var(--font-body); color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border-hover); border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.feld input:hover, .feld select:hover { border-color: var(--text-secondary); }
.feld input:focus-visible, .feld select:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .35); }
.feld input:disabled, .feld select:disabled { background: var(--surface-alt); color: var(--text-tertiary); cursor: not-allowed; }
.feld input[aria-invalid='true'] { border-color: var(--error); }
.feld .fehler { color: var(--error); font-size: .9375rem; }
.einwilligung { display: flex; gap: .625rem; align-items: flex-start; font-size: .9375rem; line-height: 1.5; color: var(--text-secondary); }
.einwilligung input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent-text); cursor: pointer; }
.einwilligung input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.formular .btn { width: 100%; }
.meldung { min-height: 1.5em; font-weight: 600; }
.meldung.ok { color: var(--success); }
.meldung.fehler { color: var(--error); }
.formular.gesendet .felder { display: none; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Fuß ────────────────────────────────────────────────── */
.fuss { background: var(--stage); color: var(--stage-muted); padding-block: 48px 32px; }
.fuss .container { display: grid; gap: 28px; }
.fuss-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.fuss .marke { display: inline-flex; padding: 0; color: var(--stage-text); }
.fuss .slogan { color: var(--stage-muted); margin-top: .75rem; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--stage-text); text-decoration: none; display: inline-block; padding: .5rem 0; transition: color .15s ease; }
.fuss a:hover { color: var(--stage-accent); text-decoration: underline; text-underline-offset: .2em; }
.fuss a:focus-visible { outline: 3px solid var(--stage-accent); outline-offset: 2px; border-radius: 2px; }
.fuss-unten { border-top: 1px solid var(--stage-border); padding-top: 20px; font-size: .9375rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ── Rechtstexte ────────────────────────────────────────── */
.recht { padding-block: clamp(40px, 6vw, 80px) var(--abschnitt); }
.recht h1 { font: 700 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/1.1 var(--font-display); margin-bottom: 1.5rem; }
.recht h2 { font: 700 1.375rem/1.3 var(--font-body); margin: 2.25rem 0 .75rem; }
.recht h3 { font: 600 1.125rem/1.3 var(--font-body); margin: 1.5rem 0 .5rem; }
.recht p, .recht ul { margin: 0 0 1rem; }
.recht ul { padding-left: 1.25rem; }
.recht address { font-style: normal; margin-bottom: 1rem; }

/* ── Bewegung (L2) ──────────────────────────────────────── */
.js .einblenden { opacity: 0; transform: translateY(12px); transition: opacity .35s cubic-bezier(.16, 1, .3, 1), transform .35s cubic-bezier(.16, 1, .3, 1); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(12px); transition: opacity .35s cubic-bezier(.16, 1, .3, 1), transform .35s cubic-bezier(.16, 1, .3, 1); }
.js .sichtbar [data-stagger] > *, .js [data-stagger].sichtbar > * { opacity: 1; transform: none; }
.js .h1-zeile { clip-path: inset(0 0 100% 0); transform: translateY(.3em); animation: zeileRein .45s cubic-bezier(.16, 1, .3, 1) forwards; }
.js .h1-zeile:nth-child(2) { animation-delay: .05s; }
.js .h1-zeile:nth-child(3) { animation-delay: .1s; }
@keyframes zeileRein { to { clip-path: inset(-20% -5% -30% -5%); transform: none; } }
.js .hero-text > :not(h1) { opacity: 0; animation: einfach .3s ease .1s forwards; }
@keyframes einfach { to { opacity: 1; } }
@supports (animation-timeline: view()) {
  .parallaxe { animation: parallaxe linear both; animation-timeline: view(); animation-range: cover 40% cover 100%; }
  @keyframes parallaxe { to { transform: translateY(-24px); } }
}

/* ── Responsiv ──────────────────────────────────────────── */
@media (min-width: 640px) {
  .formular .zeile { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .schritte { grid-template-columns: repeat(3, 1fr); }
  .laufweg { display: grid; }
}
@media (min-width: 1024px) {
  .zweispaltig { grid-template-columns: 5fr 7fr; }
  .zweispaltig.umgekehrt { grid-template-columns: 7fr 5fr; }
  .zweispaltig.team { grid-template-columns: 5fr 6fr; }
  .zweispaltig.beta { grid-template-columns: 5fr 6fr; align-items: start; }
}
@media (max-width: 899px) {
  .schritte { position: relative; padding-left: 28px; }
  .schritte::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; border-left: 2.5px dashed var(--text); opacity: .5; }
  .schritt { position: relative; }
  .schritt::before { content: ''; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--stage-surface); border: 3px solid var(--accent); }
}
@media (max-width: 860px) {
  .kopf nav { position: absolute; top: 68px; left: 0; right: 0; display: none; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px -16px rgba(var(--schatten-rgb), .3); }
  .kopf nav.offen { display: block; }
  .kopf nav ul { flex-direction: column; gap: 0; padding: 8px var(--rand) 16px; }
  .kopf nav a { display: block; padding: .875rem 0; min-height: 44px; }
  .menue-knopf { display: inline-flex; }
  .kopf .aktionen { margin-left: auto; }
}
@media (max-width: 639px) {
  .kopf .btn-kopf { display: none; }
  .kopf .aktionen > .design-knopf { display: none; }
  .js .design-zeile { display: block; }
  .marke .wortmarke { font-size: 1rem; }
  .badge { display: none; }
  .umschalter { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .umschalter button { min-width: 0; }
  .fenster.hochkant-mobil { aspect-ratio: 4 / 5; }
  .fenster { border-radius: 12px; }
  .hero-aktionen .btn { width: 100%; }
}
@media (max-width: 380px) {
  .marke .wortmarke { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .einblenden, .js [data-stagger] > *, .js .h1-zeile, .js .hero-text > :not(h1) { opacity: 1; transform: none; clip-path: none; animation: none; }
  .js .laufweg .linie { transform: none; }
  .parallaxe { animation: none; }
}
