/* Fahrschule in den Quadraten – Stilblatt
   Dunkles Kino-Thema in den Markenfarben Rot, Schwarz und Weiß.
   Schrift Figtree als Datei auf dem eigenen Server (SIL Open Font License,
   siehe schrift/OFL.txt). Es wird nichts von fremden Servern geladen. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../schrift/figtree-latin-wght-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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../schrift/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --hintergrund: #0b0d10;
  --flaeche: #13161b;
  --flaeche-2: #191d23;
  --text: #f3f4f6;
  --text-2: #aab1bb;
  --text-3: #727a86;
  --akzent: #dc1e24;
  --akzent-hell: #ff4a50;
  --akzent-dunkel: #a3151a;
  --akzent-2: #9fb3c8;
  --linie: rgba(255, 255, 255, 0.08);
  --linie-stark: rgba(255, 255, 255, 0.16);
  --schrift: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  --radius: 18px;
  --radius-klein: 10px;
  --innen-breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --kopf-hoehe: 76px;
  --kopf-hoehe-klein: 58px;
  --uebergang: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, canvas, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
.unsichtbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.innen { width: min(100% - 2 * var(--rand), var(--innen-breite)); margin-inline: auto; }

.sprung {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 14px; background: var(--akzent); color: #fff; border-radius: 8px; font-weight: 600;
}
.sprung:focus { top: 12px; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
  transition: transform var(--uebergang), box-shadow var(--uebergang), background var(--uebergang), border-color var(--uebergang);
}
.knopf:active { transform: translateY(1px) scale(0.99); }
.knopf-haupt {
  color: #fff;
  background: linear-gradient(180deg, var(--akzent-hell) 0%, var(--akzent) 55%, var(--akzent-dunkel) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 -2px 0 rgba(0, 0, 0, 0.25) inset, 0 10px 24px -10px rgba(220, 30, 36, 0.8);
}
.knopf-haupt:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 -2px 0 rgba(0, 0, 0, 0.25) inset, 0 16px 30px -12px rgba(220, 30, 36, 0.95); }
.knopf-haupt:disabled { opacity: 0.6; cursor: wait; transform: none; }
.knopf-glas {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.knopf-glas:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.knopf-klein { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.knopf:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--akzent-hell); outline-offset: 3px;
}

.vorzeile {
  margin: 0 0 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--akzent-hell);
}

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--kopf-hoehe);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.85), rgba(11, 13, 16, 0));
  transition: height 260ms ease, background 260ms ease, box-shadow 260ms ease;
}
.kopf.klein, .kopf.offen {
  height: var(--kopf-hoehe-klein);
  background: rgba(11, 13, 16, 0.8);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--linie);
}
/* Schrumpfende Kopfzeile ohne JavaScript, wo der Browser Scroll-Animationen kann */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    @keyframes kopf-schrumpfen {
      to {
        height: var(--kopf-hoehe-klein);
        background: rgba(11, 13, 16, 0.8);
        box-shadow: 0 1px 0 var(--linie);
      }
    }
    .kopf {
      animation: kopf-schrumpfen linear both;
      animation-timeline: scroll(root);
      animation-range: 0 140px;
    }
  }
}
.kopf-innen {
  width: min(100% - 2 * var(--rand), var(--innen-breite)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.marke img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.marke-text strong { font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; }
.marke-text small { color: var(--text-2); font-size: 0.78rem; }
.navigation { display: flex; align-items: center; gap: 24px; }
.navigation a { text-decoration: none; font-weight: 600; color: var(--text-2); transition: color var(--uebergang); white-space: nowrap; }
.navigation a:hover { color: var(--text); }
.navigation .knopf { color: #fff; margin-left: 6px; }
.menueknopf {
  display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--linie-stark); border-radius: 999px;
  color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
.menueknopf-linie {
  position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.menueknopf-linie::before, .menueknopf-linie::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.menueknopf-linie::before { top: -6px; }
.menueknopf-linie::after { top: 6px; }

/* ---------- Scroll-Film ---------- */
.film { position: relative; height: 560vh; }
.film-buehne {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  background: #05080c;
}
.film-poster, .film-poster img, .film-leinwand {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.film-poster img { object-fit: cover; }
.film-leinwand { opacity: 0; transition: opacity 400ms ease; }
.film.bereit .film-leinwand { opacity: 1; }
.film-schleier {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.84) 0%, rgba(5, 8, 12, 0.5) 38%, rgba(5, 8, 12, 0) 68%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.55) 0%, rgba(5, 8, 12, 0) 28%, rgba(5, 8, 12, 0) 70%, rgba(5, 8, 12, 0.75) 100%);
}
.kapitel {
  position: absolute; left: var(--rand); right: var(--rand); top: 50%;
  max-width: 620px;
  transform: translate3d(0, -50%, 0);
  opacity: 0; visibility: hidden;
  will-change: opacity, transform;
}
.kapitel.sichtbar { visibility: visible; }
.kapitel h1, .kapitel h2 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }
.kapitel-text { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 52ch; }
.kapitel-held .kapitel-text { color: #d8dde3; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.schlagworte { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.schlagworte li {
  padding: 7px 13px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.bewertung {
  display: inline-flex; flex-direction: column; gap: 2px; margin-top: 26px; padding: 10px 16px;
  border-radius: 12px; text-decoration: none;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--uebergang);
}
.bewertung:hover { background: rgba(255, 255, 255, 0.12); }
.bewertung strong { font-size: 1.05rem; }
.bewertung strong span { color: #ffc93c; letter-spacing: 0.08em; margin-left: 4px; }
.bewertung > span { font-size: 0.82rem; color: var(--text-2); }
.film-fortschritt {
  position: absolute; left: var(--rand); right: var(--rand); bottom: 26px; height: 2px;
  background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden;
}
.film-fortschritt-balken { display: block; height: 100%; width: 0; background: var(--akzent-hell); transform-origin: left; }
.film-hinweis {
  position: absolute; right: var(--rand); bottom: 42px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
  transition: opacity 400ms ease;
}
.film.gescrollt .film-hinweis { opacity: 0; }
.film-hinweis-rad {
  width: 18px; height: 28px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 10px; position: relative;
}
.film-hinweis-rad::after {
  content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px;
  background: var(--akzent-hell); border-radius: 2px; animation: rad-rollen 1.6s ease-in-out infinite;
}
@keyframes rad-rollen { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }

/* Ohne Bewegung oder ohne JavaScript: Kapitel untereinander, Film als Standbild */
@media (prefers-reduced-motion: reduce) {
  .film { height: auto; }
  .film-buehne { position: relative; height: auto; min-height: 70vh; overflow: visible; padding: 120px var(--rand) 60px; }
  .film-poster, .film-poster img, .film-schleier { position: absolute; }
  .film-leinwand { display: none; }
  .kapitel { position: relative; top: auto; left: auto; right: auto; transform: none; opacity: 1; visibility: visible; margin: 0 0 60px; }
  .film-fortschritt, .film-hinweis { display: none; }
  .film-hinweis-rad::after { animation: none; }
}

/* ---------- Abschnitte ---------- */
section.warum, section.ablauf, section.preise, section.team, section.fragen, section.anmeldung {
  position: relative; z-index: 2; background: var(--hintergrund);
  padding-block: clamp(72px, 10vw, 130px);
}
section.warum { border-top: 1px solid var(--linie); padding-block: clamp(56px, 8vw, 100px); }
.abschnittkopf { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.abschnitttext { margin-top: 18px; color: var(--text-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.abschnitt-knopf { margin-top: clamp(40px, 6vw, 72px); }
.punkt-liste { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; color: var(--text-2); }
.punkt-liste li { position: relative; padding-left: 22px; }
.punkt-liste li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--akzent); box-shadow: 0 0 0 3px rgba(220, 30, 36, 0.2);
}

/* Warum wir */
.warum-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.warum-punkt {
  display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 26px; border-radius: var(--radius);
  background: var(--flaeche); border: 1px solid var(--linie); border-left: 3px solid var(--akzent);
}
.warum-punkt strong { font-size: 1.1rem; }
.warum-punkt span { color: var(--text-2); font-size: 0.98rem; }

/* Ablauf: abwechselnde Bild-Text-Zeilen */
.schritte { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.schritt {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.schritt:nth-child(even) .schritt-bild { order: 2; }
.schritt-bild {
  margin: 0; border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--linie);
}
.schritt-bild img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transform: scale(1.02); transition: transform 700ms ease; }
.schritt:hover .schritt-bild img { transform: scale(1.06); }
.schritt-nummer {
  display: inline-block; margin-bottom: 14px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.2em; color: var(--akzent-hell);
}
.schritt-text > p { margin-top: 14px; color: var(--text-2); }

/* ---------- 3D-Bühne (Klassen) ---------- */
.fuhrpark { position: relative; z-index: 2; height: 420vh; background: var(--hintergrund); }
.fuhrpark-buehne {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background:
    radial-gradient(55% 45% at 72% 62%, rgba(220, 30, 36, 0.16), transparent 70%),
    radial-gradient(50% 45% at 28% 30%, rgba(159, 179, 200, 0.10), transparent 70%),
    linear-gradient(180deg, #0f1216, #0b0d10);
}
.fuhrpark-leinwand { position: absolute; inset: 0; width: 100%; height: 100%; }
.fuhrpark-ersatz { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; object-fit: contain; object-position: center bottom; opacity: 0.95; }
.fuhrpark-kopf {
  position: absolute; left: var(--rand); right: var(--rand); top: calc(var(--kopf-hoehe) + 24px); max-width: 560px;
}
.klassen {
  position: absolute; right: var(--rand); top: 50%; width: min(440px, 42vw);
  transform: translateY(-50%);
}
.klasse {
  position: absolute; inset: auto 0 auto 0; top: 50%;
  padding: 26px 28px; border-radius: var(--radius);
  background: rgba(19, 22, 27, 0.74); border: 1px solid var(--linie-stark);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  opacity: 0; visibility: hidden; transform: translate3d(0, -50%, 0);
  will-change: opacity, transform;
}
.klasse.sichtbar { visibility: visible; }
.klasse-kuerzel {
  display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 8px;
  background: var(--akzent); color: #fff; font-weight: 800; letter-spacing: 0.04em;
}
.klasse > p { margin-top: 10px; color: var(--text-2); }
.klasse .punkt-liste { font-size: 0.95rem; }
.fuhrpark-punkte {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px;
}
.fuhrpark-punkte span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transition: background var(--uebergang), transform var(--uebergang); }
.fuhrpark-punkte span.aktiv { background: var(--akzent-hell); transform: scale(1.25); }

/* Optionaler Scroll-Film in der Klassen-Bühne (Drehvideo des echten Golfs) */
.fuhrpark .film-poster, .fuhrpark .film-poster img, .fuhrpark .film-leinwand { position: absolute; inset: 0; width: 100%; height: 100%; }
.fuhrpark .film-poster img { object-fit: cover; }
.fuhrpark .film-poster, .fuhrpark .film-leinwand { display: none; }
.fuhrpark.mit-film .film-poster, .fuhrpark.mit-film .film-leinwand { display: block; }
.fuhrpark.mit-film .fuhrpark-leinwand, .fuhrpark.mit-film .fuhrpark-ersatz { display: none; }
.fuhrpark .film-leinwand { opacity: 0; transition: opacity 400ms ease; }
.fuhrpark.mit-film.bereit .film-leinwand { opacity: 1; }
.fuhrpark.mit-film .fuhrpark-buehne::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.55) 0%, rgba(11, 13, 16, 0) 30%, rgba(11, 13, 16, 0) 75%, rgba(11, 13, 16, 0.7) 100%);
}
.fuhrpark.mit-film .fuhrpark-kopf, .fuhrpark.mit-film .klassen, .fuhrpark.mit-film .fuhrpark-punkte { z-index: 2; }

/* Ohne 3D (kein WebGL) oder ohne Bewegung: Karten als Liste */
.fuhrpark.ohne-3d { height: auto; }
.fuhrpark.ohne-3d .fuhrpark-buehne { position: relative; height: auto; overflow: visible; padding: clamp(72px, 10vw, 130px) var(--rand); }
.fuhrpark.ohne-3d .fuhrpark-kopf { position: relative; top: auto; left: auto; right: auto; margin: 0 auto 40px; max-width: var(--innen-breite); }
.fuhrpark.ohne-3d .klassen {
  position: relative; right: auto; top: auto; width: min(100%, var(--innen-breite)); margin: 0 auto; transform: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.fuhrpark.ohne-3d .klasse { position: relative; top: auto; transform: none; opacity: 1; visibility: visible; }
.fuhrpark.ohne-3d .fuhrpark-leinwand, .fuhrpark.ohne-3d .fuhrpark-punkte { display: none; }
.fuhrpark.ohne-3d .fuhrpark-ersatz { position: relative; height: auto; max-width: 760px; margin: 0 auto 32px; }
@media (prefers-reduced-motion: reduce) {
  .fuhrpark { height: auto; }
  .fuhrpark .fuhrpark-buehne { position: relative; height: auto; overflow: visible; padding: clamp(72px, 10vw, 130px) var(--rand); }
  .fuhrpark .fuhrpark-kopf { position: relative; top: auto; left: auto; right: auto; margin: 0 auto 40px; max-width: var(--innen-breite); }
  .fuhrpark .klassen { position: relative; right: auto; top: auto; width: min(100%, var(--innen-breite)); margin: 0 auto; transform: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
  .fuhrpark .klasse { position: relative; top: auto; transform: none; opacity: 1; visibility: visible; }
  .fuhrpark .fuhrpark-leinwand, .fuhrpark .fuhrpark-punkte { display: none; }
  .fuhrpark .fuhrpark-ersatz { display: block; position: relative; height: auto; max-width: 760px; margin: 0 auto 32px; }
}

/* ---------- Preise ---------- */
.rechner {
  margin-bottom: 28px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius);
  background: var(--flaeche); border: 1px solid var(--linie-stark);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 40px);
}
.rechner h3 { grid-column: 1 / -1; }
.rechner-feld { display: flex; flex-direction: column; gap: 12px; }
.rechner-feld legend { font-weight: 700; margin-bottom: 12px; }
.rechner-hinweis { color: var(--text-3); font-size: 0.9rem; }
.wahlkarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.wahlkarten-zwei { grid-template-columns: repeat(2, 1fr); }
.wahlkarte { position: relative; display: block; cursor: pointer; }
.wahlkarte input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahlkarte span {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-klein);
  background: #0b0d10; border: 1px solid var(--linie-stark); transition: border-color var(--uebergang), background var(--uebergang), box-shadow var(--uebergang);
}
.wahlkarte strong { font-size: 1rem; }
.wahlkarte small { color: var(--text-3); font-size: 0.82rem; }
.wahlkarte input:checked + span { border-color: var(--akzent); background: rgba(220, 30, 36, 0.12); box-shadow: 0 0 0 3px rgba(220, 30, 36, 0.18); }
.wahlkarte input:focus-visible + span { outline: 2px solid var(--akzent-hell); outline-offset: 2px; }
.haekchen { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); cursor: pointer; }
.haekchen input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--akzent); flex: none; }
.schieber { display: flex; flex-direction: column; gap: 10px; }
.schieber input[type="range"] { width: 100%; accent-color: var(--akzent); }
.schieber output { font-weight: 700; font-size: 1.1rem; }
.rechner-ergebnis {
  grid-column: 2; grid-row: 2 / span 2; align-self: start;
  padding: 20px 22px; border-radius: var(--radius-klein); background: #0b0d10; border: 1px solid var(--linie);
}
.rechner-posten { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; color: var(--text-2); }
.rechner-posten li { display: flex; justify-content: space-between; gap: 12px; }
.rechner-posten li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rechner-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 12px; padding-top: 14px; border-top: 1px solid var(--linie-stark); }
.rechner-summe strong { font-size: 1.6rem; color: var(--akzent-hell); font-variant-numeric: tabular-nums; }

.preistabelle-rahmen {
  border-radius: var(--radius); border: 1px solid var(--linie-stark); background: var(--flaeche); overflow: hidden;
}
.preistabelle { width: 100%; border-collapse: collapse; }
.preistabelle caption { padding: 18px 24px 6px; text-align: left; font-weight: 700; color: var(--text); }
.preistabelle th, .preistabelle td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--linie); }
.preistabelle th { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.preistabelle td:not(:first-child), .preistabelle th:not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preistabelle td:not(:first-child) { font-weight: 600; }
.preistabelle tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.preisnotiz { padding: 18px 24px; color: var(--text-2); font-size: 0.95rem; }

/* FAQ */
.faq { margin-top: 28px; }
.faq h3 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--linie); }
.faq details:last-of-type { border-bottom: 1px solid var(--linie); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linie-stark); color: var(--akzent-hell); font-weight: 700; transition: transform var(--uebergang);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--text-2); max-width: 72ch; }
.faq details a { color: var(--text); }

/* ---------- Team ---------- */
.team-raster { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; }
.team-karte {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--flaeche); border: 1px solid var(--linie);
  transition: transform var(--uebergang), border-color var(--uebergang);
}
.team-karte:hover { transform: translateY(-3px); border-color: var(--linie-stark); }
.team-karte img { width: 100%; height: auto; object-fit: cover; }
.team-person img { aspect-ratio: 1; }
.team-auto img { aspect-ratio: 3 / 2; background: radial-gradient(60% 60% at 50% 55%, #2a2f36, #0b0d10); }
.team-karte-text { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; }
.team-rolle { color: var(--akzent-hell); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.team-karte-text strong { font-size: 1.25rem; }
.team-karte-text p { color: var(--text-2); }
.team-klassen { color: var(--text-3); font-size: 0.9rem; }
.raeume { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 18px; }
.raum { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie); }
.raum img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.raum figcaption { padding: 14px 18px; color: var(--text-2); font-size: 0.92rem; }
.raum-text > p { margin-top: 14px; color: var(--text-2); }
.raum-text .knopf { margin-top: 8px; }

/* ---------- Anmeldung und Kontakt ---------- */
.anmeldung-raster { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.kontakt { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; color: var(--text-2); }
.kontakt strong { color: var(--text); }
.kontakt a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--linie-stark); }
.kontakt a:hover { border-color: var(--akzent-hell); }
.sozial { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sozial a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--linie-stark); transition: background var(--uebergang), border-color var(--uebergang);
}
.sozial a:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--akzent-hell); }
.formular {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie-stark);
}
.formular-kopf h3 { margin-bottom: 8px; }
.formular-hinweis { color: var(--text-2); }
.formular-gruppe { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.formular-gruppe legend { font-weight: 700; margin-bottom: 12px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: 0.95rem; }
.feld-hinweis { color: var(--text-3); font-size: 0.88rem; margin-top: 8px; }
.optional { color: var(--text-3); font-weight: 400; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-klein);
  background: #0b0d10; border: 1px solid var(--linie-stark); color: var(--text);
  font: inherit; transition: border-color var(--uebergang), box-shadow var(--uebergang);
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--akzent-hell); box-shadow: 0 0 0 3px rgba(220, 30, 36, 0.2); outline: none; }
.feld input:user-invalid, .feld select:user-invalid, .feld textarea:user-invalid { border-color: #ff6b6b; }
.feld textarea { resize: vertical; min-height: 110px; }
.feld-falle { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.feld-zustimmung { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.feld-zustimmung input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--akzent); }
.feld-zustimmung label { font-weight: 400; color: var(--text-2); font-size: 0.95rem; }
.formular-status { margin-top: 8px; min-height: 1.4em; color: var(--text-2); }
.formular-status.erfolg { color: #6fd49a; font-weight: 600; }
.formular-status.fehler { color: #ff8c8c; font-weight: 600; }
.formular.gesendet .feld:not(.feld-breit), .formular.gesendet .formular-gruppe, .formular.gesendet .feld-zustimmung, .formular.gesendet button, .formular.gesendet .feld-breit:not(:last-child) { display: none; }

/* ---------- Fuß ---------- */
.fuss { position: relative; z-index: 2; background: #07090b; border-top: 1px solid var(--linie); padding: 48px 0 36px; color: var(--text-2); font-size: 0.95rem; }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.fuss strong { color: var(--text); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--text); }
.fuss-marke img { width: 120px; height: auto; margin-bottom: 14px; border-radius: 10px; background: #fff; padding: 8px; }
.fuss-nav, .fuss-recht { display: flex; flex-direction: column; gap: 8px; }
.fuss-recht { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 18px; padding-top: 24px; border-top: 1px solid var(--linie); }
.fuss-zeiten { display: flex; flex-direction: column; gap: 12px; }
.fuss-notiz { grid-column: 1 / -1; color: var(--text-3); font-size: 0.85rem; }

/* ---------- Erscheinen beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes erscheinen {
      from { opacity: 0; transform: translateY(28px); }
    }
    .erscheint {
      animation: erscheinen 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .js .erscheint { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
    .js .erscheint.sichtbar { opacity: 1; transform: none; }
  }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.textseite { padding: calc(var(--kopf-hoehe) + 48px) 0 80px; max-width: 760px; }
.textseite h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.textseite h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.textseite h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.textseite p, .textseite li { color: var(--text-2); margin-bottom: 12px; }
.textseite ul { list-style: disc; padding-left: 22px; }
.textseite a { color: var(--text); }
.entwurf {
  display: block; margin-bottom: 28px; padding: 14px 16px; border-radius: var(--radius-klein);
  background: rgba(220, 30, 36, 0.12); border: 1px solid rgba(220, 30, 36, 0.4); color: #ff8a8f; font-weight: 600;
}

/* ---------- Kleine und mittlere Bildschirme ---------- */
@media (max-width: 1000px) {
  .warum-raster { grid-template-columns: repeat(2, 1fr); }
  .anmeldung-raster { grid-template-columns: 1fr; }
  .team-raster { grid-template-columns: 1fr; }
  .klassen { width: min(440px, 46vw); }
  .rechner { grid-template-columns: 1fr; }
  .rechner-ergebnis { grid-column: auto; grid-row: auto; }
  .navigation { gap: 16px; }
  .marke-text small { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .menueknopf { display: inline-flex; }
  .navigation {
    position: fixed; left: 0; right: 0; top: var(--kopf-hoehe-klein);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px var(--rand) 18px; background: #0b0d10;
    border-bottom: 1px solid var(--linie); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.8); display: none;
  }
  .navigation a { padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .navigation .knopf { margin: 14px 0 0; border: 0; }
  .kopf.offen .navigation { display: flex; }
  .kopf.offen { height: var(--kopf-hoehe-klein); }
  .marke-text strong { font-size: 0.95rem; white-space: normal; line-height: 1.05; }
  .film { height: 480vh; }
  .kapitel { top: auto; bottom: 84px; transform: none; max-width: none; }
  .kapitel-text { font-size: 1rem; }
  .bewertung { margin-top: 18px; }
  .film-schleier {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.5) 0%, rgba(5, 8, 12, 0) 22%, rgba(5, 8, 12, 0.1) 45%, rgba(5, 8, 12, 0.9) 100%);
  }
  .film-hinweis { display: none; }
  .warum-raster { grid-template-columns: 1fr; }
  .schritt { grid-template-columns: 1fr; }
  .schritt:nth-child(even) .schritt-bild { order: 0; }
  .fuhrpark { height: 400vh; }
  .fuhrpark-kopf { top: calc(var(--kopf-hoehe-klein) + 16px); }
  .fuhrpark-kopf h2 { font-size: 1.6rem; }
  .klassen { right: var(--rand); left: var(--rand); top: auto; bottom: 48px; width: auto; transform: none; }
  .klasse { top: auto; bottom: 0; transform: translate3d(0, 0, 0); padding: 18px 20px; }
  .klasse .punkt-liste { display: none; }
  .raeume { grid-template-columns: 1fr; }
  .formular { grid-template-columns: 1fr; }
  .wahlkarten { grid-template-columns: repeat(2, 1fr); }
  .fuss-raster { grid-template-columns: 1fr; }
  .preistabelle th, .preistabelle td { padding: 12px 12px; font-size: 0.92rem; }
  .preistabelle caption { padding: 16px 12px 4px; }
  .preisnotiz { padding: 16px 12px; }
}
