/* ==========================================================================
   Autocentrale Thiel — Design-System
   Bühne: Nacht-Anthrazit · Ford-Blau (kalt) ⚔ Natrium-Bernstein (warm)
   Schrift: Archivo Expanded (Display) + Archivo (Body)
   → self-hosted, liegt in assets/fonts.css (aktiv seit 10.08.2026, alle woff2 200)
   ========================================================================== */

:root {
  --nacht: #0b0e13;
  --nacht-2: #12161d;
  --nacht-3: #171c25;
  --linie: rgba(232, 237, 243, 0.1);
  --linie-stark: rgba(232, 237, 243, 0.2);
  --chrom: #e8edf3;
  --stahl: #8e9db0;
  --stahl-tief: #65717f;
  --ford: #0b63e5;
  --ford-hell: #4d93ff;
  --natrium: #f2a73b;
  --natrium-tief: #c97f14;

  --display:
    "Archivo Exp", "Archivo", ui-sans-serif, "Segoe UI Variable Display",
    "Segoe UI", system-ui, sans-serif;
  --body:
    "Archivo", ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", system-ui,
    sans-serif;

  --rand: clamp(1.25rem, 4vw, 5rem);
  --max: 82rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--nacht);
  color: var(--chrom);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip statt hidden — hidden bricht position:sticky */
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
::selection {
  background: var(--natrium);
  color: #0b0e13;
}

.wrap {
  width: min(100% - var(--rand) * 2, var(--max));
  margin-inline: auto;
}
.wrap-breit {
  width: min(100% - var(--rand) * 2, 96rem);
  margin-inline: auto;
}

/* --- Typo-Skala --------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.d1 {
  font-size: clamp(2.6rem, 1.1rem + 6.4vw, 7.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.d2 {
  font-size: clamp(1.95rem, 1.1rem + 3.5vw, 4.15rem);
  letter-spacing: -0.025em;
}
.d3 {
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.3rem);
  letter-spacing: -0.02em;
}
p {
  margin: 0 0 1.1em;
}
.lead {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.4rem);
  color: #c5cfdb;
  line-height: 1.55;
  max-width: 46ch;
}
.grau {
  color: var(--stahl);
}
.klein {
  font-size: 0.94rem;
  line-height: 1.6;
}

.kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--natrium);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
}
.kicker::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--natrium);
  flex: none;
  opacity: 0.8;
}
.kicker.kalt {
  color: var(--ford-hell);
}
.kicker.kalt::before {
  background: var(--ford-hell);
}
/* Karten-Unterlabel (z. B. "Immer inklusive") — visuell wie .kicker, aber
   kein Sektionskopf, deshalb eigene Klasse (§0b Nr. 2 Sektionskopf-Budget). */
.karten-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--natrium);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
}
.karten-label::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--natrium);
  flex: none;
  opacity: 0.8;
}

/* Kompakte Zwei-Spalten-Liste statt Karten-Raster (ueber-uns) — Abwechslung
   zum Card-Grid der anderen Seiten, weniger Wiederholung. */
.angebot-liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.angebot-liste h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--natrium);
}
.angebot-liste ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.angebot-liste li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--linie);
  color: var(--chrom);
  line-height: 1.5;
}
.angebot-liste li:first-child {
  border-top: none;
  padding-top: 0;
}
@media (max-width: 700px) {
  .angebot-liste {
    grid-template-columns: 1fr;
  }
}

/* Karte, Zwei-Klick-Einbindung (kontakt.html) — echt und interaktiv nach
   Klick (§0e-79: keine gezeichnete Deko-Karte). */
.karten-feld {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  aspect-ratio: 16 / 9;
  width: 100%;
}
.karte-consent {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: var(--nacht-2);
  box-shadow: 0 0 0 1px var(--linie-stark);
}
.karte-consent p {
  color: var(--stahl);
  max-width: 32ch;
  margin: 0;
}

/* Echte Fahrzeug-Auswahl (fahrzeuge.html) — reale mobile.de-Daten, kein
   Platzhalter. Kompakte Karte: Titel, Preis, Kerndaten, Link zum Original. */
.fahrzeug-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .fahrzeug-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .fahrzeug-raster {
    grid-template-columns: 1fr;
  }
}
.fahrzeug-karte {
  background: var(--nacht-2);
  padding: 1.5rem;
  box-shadow: 0 0 0 1px var(--linie);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.fahrzeug-karte h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
}
.fahrzeug-karte .preis-gross {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--natrium);
}
.fahrzeug-karte .daten {
  font-size: 0.84rem;
  color: var(--stahl);
  line-height: 1.6;
}
.fahrzeug-karte a {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ford-hell);
  text-decoration: none;
  border-top: 1px solid var(--linie);
  padding-top: 0.7rem;
}
.fahrzeug-karte a:hover {
  color: var(--natrium);
}

/* Echte Bruchstelle im Card-Grid: ein Leistungspunkt tritt groß hervor statt
   in derselben Karten-Reihe zu verschwinden (Anti-Skelett, K6). */
.leistung-feature {
  border-left: 3px solid var(--natrium);
  padding: 1.5rem 0 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  max-width: 46rem;
}
.leistung-feature h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.6rem;
}
.leistung-feature p {
  color: var(--stahl);
  font-size: 1.05rem;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: 0.35s var(--ease);
  cursor: pointer;
}
/* Schwebender Anruf-Button — unten rechts, auf JEDER Seite, ab Pixel 1
   sichtbar (§0e-83). Die tel:-Kopfzeile allein erfuellt das NICHT: auf 390px
   zeigt der Kopf nur Logo+Burger, kein sichtbares Telefon. */
.fab-anruf {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--natrium);
  color: #0b0e13;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.55);
  transition: 0.3s var(--ease);
}
.fab-anruf:hover {
  background: #ffc163;
  transform: translateY(-2px);
}
.fab-anruf svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}
.fab-anruf .fab-text {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .fab-anruf {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.85rem;
  }
  .fab-anruf .fab-text {
    display: none;
  }
}
.btn-warm {
  background: var(--natrium);
  color: #0b0e13;
}
.btn-warm:hover {
  background: #ffc163;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -12px rgba(242, 167, 59, 0.7);
}
.btn-geist {
  border-color: var(--linie-stark);
  color: var(--chrom);
  background: rgba(232, 237, 243, 0.03);
}
.btn-geist:hover {
  border-color: var(--ford-hell);
  color: #fff;
  background: rgba(11, 99, 229, 0.14);
  transform: translateY(-2px);
}
.btn svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}

.tel-link {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--chrom);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid transparent;
  transition: 0.3s var(--ease);
  white-space: nowrap;
}
.tel-link:hover {
  color: var(--natrium);
  border-bottom-color: var(--natrium);
}

/* --- Kopf --------------------------------------------------------------- */
.kopf {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.kopf.fest {
  background: rgba(11, 14, 19, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--linie);
}
.kopf-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.marke {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.marke img,
.marke svg {
  height: 2.4rem;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #aebaca;
  padding: 0.7rem 0.75rem;
  position: relative;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.45rem;
  height: 1px;
  background: var(--natrium);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover {
  color: #fff;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="page"] {
  color: #fff;
}
.kopf-tel {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: none;
}

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--linie-stark);
  background: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  height: 1.5px;
  background: var(--chrom);
  transition: 0.35s var(--ease);
}
.burger span:nth-child(1) {
  top: 1rem;
}
.burger span:nth-child(2) {
  bottom: 1rem;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  top: 1.32rem;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  bottom: 1.32rem;
  transform: rotate(-45deg);
}

.mobilnav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 14, 19, 0.985);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 6rem var(--rand) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s var(--ease);
  overflow-y: auto;
}
.mobilnav.auf {
  opacity: 1;
  visibility: visible;
}
.mobilnav a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 6.5vw, 2.2rem);
  text-decoration: none;
  color: var(--chrom);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--linie);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.mobilnav a span {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--natrium);
  font-weight: 600;
}
.mobilnav .mobil-fuss {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mobilnav .mobil-fuss a {
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  justify-content: center;
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 9rem 0 clamp(2.5rem, 5vw, 4.5rem);
  background: #070910;
}
.hero-buehne {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-buehne video,
.hero-buehne img.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Code-Bühne, solange kein Clip da ist: Hallenneon kalt ⚔ Hofsodium warm */
/* liegt ÜBER dem Schleier und leuchtet additiv — sonst frisst der Schleier das Farbereignis */
.buehne-licht {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.buehne-licht::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -12%;
  width: 78%;
  height: 125%;
  background: radial-gradient(
    ellipse at 32% 30%,
    rgba(11, 99, 229, 0.55),
    rgba(11, 99, 229, 0.18) 42%,
    rgba(11, 99, 229, 0) 66%
  );
  filter: blur(14px);
  animation: neon 9s var(--ease) infinite alternate;
}
.buehne-licht::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -8%;
  width: 78%;
  height: 118%;
  background: radial-gradient(
    ellipse at 62% 62%,
    rgba(242, 167, 59, 0.52),
    rgba(214, 122, 26, 0.2) 40%,
    rgba(242, 167, 59, 0) 66%
  );
  filter: blur(16px);
  animation: sodium 11s var(--ease) infinite alternate;
}
@keyframes neon {
  from {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0.95;
    transform: translate3d(2%, 3%, 0);
  }
}
@keyframes sodium {
  from {
    opacity: 0.5;
    transform: translate3d(0, 4%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(-3%, -2%, 0);
  }
}

/* Lichtkeil, der über den Hallenboden wandert */
.buehne-keil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(
    105deg,
    rgba(242, 167, 59, 0) 6%,
    rgba(242, 167, 59, 0.34) 44%,
    rgba(242, 167, 59, 0) 80%
  );
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  animation: keil 14s linear infinite alternate;
}
@keyframes keil {
  from {
    transform: translateX(-28%);
  }
  to {
    transform: translateX(28%);
  }
}

/* Der „Betonboden" war ein perspektivisches repeating-linear-gradient-Raster
   ueber der Hero-Unterkante (18 % Deckkraft, mix-blend-mode: screen). Entfernt am
   14.08.2026 zusammen mit dem Raster der Signature-Szene: ein Raster ist kein
   Material (§0e-6), und wer eines wegnimmt, nimmt alle weg — sonst steht dasselbe
   Muster morgen wieder woanders (§0e-132a). Der Hero traegt jetzt allein das Video.
*/
.hero-schleier {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(11, 14, 19, 0.9) 2%,
    rgba(11, 14, 19, 0.48) 45%,
    rgba(11, 14, 19, 0.28) 100%
  );
}

/* Liegt ein echter Clip in der Buehne, tritt die Code-Buehne zurueck.
   Sie war als ERSATZ fuer das fehlende Video gebaut — ueber dem Clip frisst
   sie per mix-blend-mode:screen die halbe Bildflaeche. Ohne Video bleiben die
   vollen Werte stehen, damit der Hero auch dann traegt. */
.hero:has(.hero-buehne video) .buehne-licht {
  opacity: 0.38;
}
.hero:has(.hero-buehne video) .buehne-keil {
  opacity: 0.42;
}

.hero-in {
  position: relative;
  z-index: 3;
  width: min(100% - var(--rand) * 2, 96rem);
  margin-inline: auto;
}
.hero h1 {
  margin-bottom: 1.5rem;
  /* Eigene, kleinere Skala als .d1 (7.25rem) — die 3-zeilige Hero-H1 (Firma +
     Leistung + Pointe) braucht Zeilen, die bei JEDER Breite einzeilig bleiben,
     sonst bricht eine .zeile (overflow:hidden, 1 Zeile = 1 Reveal-Schritt)
     mitten im Wort und die Stagger-Animation clippt die zweite Zeile. */
  font-size: clamp(2.2rem, 0.9rem + 4.6vw, 5.25rem);
}
.hero h1 .zeile {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero h1 .zeile > span {
  display: block;
  transform: translateY(105%);
  animation: aufsteigen 0.95s var(--ease) forwards;
}
.hero h1 .zeile:nth-child(1) > span {
  animation-delay: 0.15s;
}
.hero h1 .zeile:nth-child(2) > span {
  animation-delay: 0.28s;
}
.hero h1 .zeile:nth-child(3) > span {
  animation-delay: 0.41s;
}
@keyframes aufsteigen {
  to {
    transform: translateY(0);
  }
}
.hero .warm {
  color: var(--natrium);
}
.hero-sub {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 0.9rem + 0.7vw, 1.4rem);
  letter-spacing: 0.005em;
  color: var(--chrom);
  margin: 0;
}
/* "Autocentrale" (längstes Wort der H1) muss auch auf schmalen Telefonen
   ohne Anschnitt in die Zeile passen — nur dort die Display-Größe koppeln. */
@media (max-width: 430px) {
  .hero h1 {
    font-size: min(10.6vw, 2.6rem);
  }
}
/* Markenname wird nie getrennt — "Autocen-trale" ist ein Handwerksfehler,
   kein Layout-Zwang. Gilt nur fuer die Hero-H1 (Firmenzeile). */
.hero h1 {
  hyphens: none;
  overflow-wrap: normal;
}
/* Lange deutsche Komposita („Neuwagenpreis", „Datenschutzerklärung") liefen auf
   Telefonbreite aus der Zeile und wurden vom Seiten-Clip angeschnitten —
   Silbentrennung nur dort, wo die Zeile sonst nicht passt. */
@media (max-width: 480px) {
  main h1 {
    hyphens: auto;
    overflow-wrap: break-word;
  }
}
.hero-unten {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
}
.hero-unten > div:first-child {
  flex: 1 1 30rem;
  max-width: 46rem;
}
/* Ab Desktop steht die Faktenspalte als Datenblatt RECHTS neben dem Fließtext,
   statt als Zeile darunter — sonst klafft die rechte Bildhälfte leer. */
@media (min-width: 1041px) {
  .hero-fakt {
    flex-direction: column;
    gap: 1.15rem;
    align-items: flex-start;
    border-left: 1px solid var(--linie-stark);
    padding-left: 2rem;
    margin-bottom: 0.35rem;
  }
  .hero-fakt div {
    border-left: none;
    padding-left: 0;
  }
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.hero-fakt {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  flex-wrap: wrap;
}
.hero-fakt div {
  border-left: 1px solid var(--linie-stark);
  padding-left: 1rem;
}
.hero-fakt b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
}
.hero-fakt span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stahl);
}
.einblenden {
  opacity: 0;
  animation: auf 0.9s var(--ease) forwards;
  animation-delay: 0.6s;
}
@keyframes auf {
  to {
    opacity: 1;
  }
}

/* --- Sektionen ---------------------------------------------------------- */
section {
  position: relative;
}
.sek {
  padding: clamp(4.5rem, 9vw, 9rem) 0;
}
.sek-2 {
  background: var(--nacht-2);
}
.sek-kopf {
  max-width: 56rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* Nummern-Erzählung */
.nummern {
  border-top: 1px solid var(--linie);
  /* Der Hover-Schimmer (.nr::before) greift bewusst 1,5rem nach links und rechts
     ueber die Zeile hinaus. Auf 390px ist das Wrap-Padding schmaler als dieser
     Ueberhang — ohne die Klammer hier ragt er 4px aus dem Viewport und das Handy
     laesst sich seitlich wackeln. `clip` statt `hidden`: es begrenzt, ohne einen
     Scroll-Container aufzumachen (sticky-Szenen bleiben unberuehrt). */
  overflow-x: clip;
}
.nr {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 3.2vw, 2.9rem) 0;
  border-bottom: 1px solid var(--linie);
  position: relative;
  isolation: isolate;
}
.nr::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  right: -1.5rem;
  top: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 99, 229, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.nr:hover::before {
  opacity: 1;
}
.nr-zahl {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1;
  color: rgba(101, 113, 127, 0.35);
  -webkit-text-stroke: 1px var(--stahl-tief);
  transition: 0.45s var(--ease);
}
.nr:hover .nr-zahl {
  -webkit-text-stroke-color: var(--natrium);
  color: rgba(242, 167, 59, 0.18);
}
.nr h3 {
  font-size: clamp(1.3rem, 1rem + 1.3vw, 1.95rem);
}
.nr h3 a {
  text-decoration: none;
  background-image: linear-gradient(var(--natrium), var(--natrium));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.45s var(--ease);
}
.nr:hover h3 a {
  background-size: 100% 1px;
}
.nr p {
  margin: 0;
  color: var(--stahl);
}
.nr-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.pill {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--linie-stark);
  border-radius: 99px;
  padding: 0.32rem 0.8rem;
  color: var(--stahl);
}

/* --- ⭐ Signature: Der Tag im Haus (gepinnt) ---------------------------- */
.tag {
  background: var(--nacht);
}
.tag-bahn {
  height: 420vh;
  position: relative;
}
.tag-buehne {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Vier Bildbuehnen statt gezeichneter Rolltore.
   Vorher standen hier CSS-Tore mit repeating-linear-gradient-Blenden — auf dem
   Schirm ein Linien-Raster mit zwei Dritteln Leere daneben (Hamada 14.08.2026:
   "visuell Schrott"). Ein Raster ist kein Motiv (§0e-6), und das Rolltor war als
   Video-Motiv schon wegen §0e-46 gestrichen; im CSS kam es durch die Hintertuer
   zurueck. Jetzt traegt jedes Kapitel ein echtes Standbild aus dem abgenommenen
   Head-Clip derselben Szene. */
.tag-buehnen {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #0b0e13;
}
.tag-bild {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.tag-bild.sicht {
  opacity: 1;
}
.tag-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Schleier NUR unter dem Textblock — die Buehne bleibt Material (§0e-13),
   der Text bekommt trotzdem seinen Grund (Kontrast-Kopplung §0e-3f). */
.tag-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(11, 14, 19, 0.92) 0%,
      rgba(11, 14, 19, 0.72) 34%,
      rgba(11, 14, 19, 0.12) 62%,
      rgba(11, 14, 19, 0.3) 100%
    ),
    linear-gradient(to top, rgba(11, 14, 19, 0.6), transparent 42%);
}

.tag-text {
  position: relative;
  z-index: 3;
  width: min(100% - var(--rand) * 2, 96rem);
  margin-inline: auto;
}
.tag-karte {
  max-width: 34rem;
}
.tag-karte .stufe {
  display: none;
}
.tag-karte .stufe.aktiv {
  display: block;
  animation: stufe-auf 0.7s var(--ease) both;
}
/* eigenes Keyframe mit from — @keyframes auf hat nur ein to und animierte hier 1 nach 1 */
@keyframes stufe-auf {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tag-karte {
  min-height: 20rem;
}
.tag-karte h3 {
  font-size: clamp(1.75rem, 1.1rem + 2.5vw, 3.3rem);
  margin-bottom: 1rem;
}
.tag-karte p {
  color: #c5cfdb;
  max-width: 36ch;
}
.tag-uhr {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--natrium);
  margin-bottom: 1rem;
  display: block;
}
.tag-fortschritt {
  position: absolute;
  left: var(--rand);
  right: var(--rand);
  bottom: 2.2rem;
  z-index: 4;
  height: 1px;
  background: var(--linie);
}
/* transform statt width — width loest auf jedem Scrollframe ein Layout aus */
.tag-fortschritt i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--natrium);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s linear;
}

/* --- Karten / Raster ---------------------------------------------------- */
/* Fugenlinien gehoeren an die Kinder, nicht an den Container — sonst faerben sich
   leere Grid-Zellen in der Fugenfarbe und sehen aus wie kaputte Platzhalter. */
.raster {
  display: grid;
  gap: 1px;
}
.r-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.r-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Großformatiges Sektionsbild — echtes Material statt Textfläche (§0e-13).
   Ein Foto pro Sektion, groß, kein Thumbnail-Mosaik. */
.sektion-bild {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--linie-stark);
}
.sektion-bild-wrap {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.karte {
  background: var(--nacht-2);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  transition: background 0.4s var(--ease);
  box-shadow: 0 0 0 1px var(--linie);
}
.karte:hover {
  background: var(--nacht-3);
}
/* Auf dunklen Sektionen braucht die Karte einen eigenen Ton, sonst verschwindet sie */
.sek-2 .karte,
.sek-2 .person {
  background: var(--nacht-3);
}
.sek-2 .karte:hover,
.sek-2 .person:hover {
  background: #1d2430;
}
.karte h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}
.karte p {
  margin: 0;
  color: var(--stahl);
  font-size: 0.96rem;
}
.karte .preis {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--natrium);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

/* Preistabelle */
.tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.tabelle caption {
  text-align: left;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  padding-bottom: 1rem;
  color: var(--chrom);
}
.tabelle th {
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stahl);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--linie-stark);
}
.tabelle td {
  padding: 1rem;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.tabelle tbody tr:hover td {
  background: rgba(11, 99, 229, 0.07);
}
/* Letzte Spalte = Preisspalte. .frei nimmt das wieder zurück (mehrspaltige Tabellen). */
.tabelle td:last-child {
  text-align: right;
  font-family: var(--display);
  font-weight: 800;
  color: var(--natrium);
  white-space: nowrap;
}
.tabelle td.frei,
.tabelle td:last-child.frei {
  text-align: left;
  font-family: var(--body);
  font-weight: 400;
  color: var(--stahl);
  white-space: normal;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
}
.person {
  background: var(--nacht-2);
  padding: 1.8rem;
  transition: background 0.4s var(--ease);
  box-shadow: 0 0 0 1px var(--linie);
}
.person:hover {
  background: var(--nacht-3);
}
.person .initialen {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.55rem;
  line-height: 1;
  color: rgba(77, 147, 255, 0.14);
  -webkit-text-stroke: 1px var(--ford-hell);
  margin-bottom: 1.1rem;
}
.person h3 {
  font-size: 1.08rem;
  margin-bottom: 0.15rem;
}
.person .rolle {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--natrium);
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.person a {
  display: block;
  font-size: 0.9rem;
  color: var(--stahl);
  text-decoration: none;
  transition: color 0.3s;
  word-break: break-word;
}
.person a:hover {
  color: var(--chrom);
}

/* Bewertung */
.bewertung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--linie-stark);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(120deg, rgba(11, 99, 229, 0.1), transparent 60%);
}
.bewertung .note {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  color: var(--natrium);
}
.diashow-band {
  /* Kein Rahmen oben/unten mehr: die Karten bringen ihre eigene Kante mit, zwei
     zusaetzliche Linien machten daraus einen Kasten im Kasten. Die Maske ist
     schmaler als vorher (6% -> 2.5%), damit man die anlaufenden Karten am Rand
     wirklich sieht — daran erkennt man die Bewegung. */
  margin-top: clamp(2rem, 3.5vw, 3rem);
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2.5%,
    #000 97.5%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2.5%,
    #000 97.5%,
    transparent
  );
}
.diashow-track {
  display: flex;
  align-items: stretch; /* alle Karten gleich hoch, egal wie lang das Zitat */
  width: max-content;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  animation: diashow-lauf 32s linear infinite;
  will-change: transform;
}
.diashow-band:hover .diashow-track,
.diashow-band:focus-within .diashow-track,
.diashow-band.angetippt .diashow-track {
  /* Hover UND Fokus UND Touch — auf dem Handy gibt es kein Hover, dort haelt
     der Finger das Band an (design-dna §3: "Pause bei Hover/Fokus/Touch"). */
  animation-play-state: paused;
}
/* ECHTE Karten, kein Textband (Hamada 14.08.2026: „DIE DIASHOW IST SEHR SCHMAL,
   ICH WILL GRÖSSERE KÄSTCHEN, WIE SONST AUCH IMMER"). Maß und Aufbau kommen aus
   dem Haus-Standard (Cartronic Motorsport): feste Kartenbreite, eigene Fläche,
   Hairline-Rahmen, großzügiges Padding, Sterne oben, Zitat in der Mitte, Name +
   Quelle unten über einer Trennlinie. Vorher war jede „Karte" eine einzeilige
   nowrap-Zeile — dadurch wirkte das Band wie eine Laufschrift, nicht wie eine
   Bewertungs-Sektion. */
.diashow-karte {
  /* 340px: bei 1440 stehen ~4 Karten im Bild und an beiden Rändern läuft
     sichtbar eine an — daran erkennt man die Bewegung überhaupt erst. */
  flex: 0 0 min(340px, 82vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  background: var(--nacht-2);
  box-shadow: inset 0 0 0 1px var(--linie);
  white-space: normal;
  font-style: normal;
  text-align: left;
}
.diashow-karte .stars {
  color: var(--natrium);
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}
.diashow-karte blockquote {
  margin: 0;
}
.diashow-karte p {
  margin: 0;
  color: var(--chrom);
  font-size: 1rem;
  line-height: 1.6;
}
.diashow-karte .revkarte__who {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--linie);
  color: var(--stahl-tief);
  font-size: 0.84rem;
  line-height: 1.5;
}
.diashow-karte .revkarte__who b {
  color: var(--stahl);
  font-weight: 700;
}
/* Mobil kein Laufband (§0e-67 + Haus-Standard): auf 390px zeigt ein ziehendes
   Band nie eine ganze Karte, Hover-Pause gibt es nicht, und ein reines
   Wisch-Band verrät nirgends, dass man wischen kann. Also gestapelt — die
   Duplikat-Spur fliegt dabei raus, sonst stünde jedes Zitat zweimal da. */
@media (max-width: 620px) {
  .diashow-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.9rem;
  }
  .diashow-karte {
    flex: 1 1 100%;
  }
  .diashow-karte.dup {
    display: none;
  }
  .diashow-band {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@keyframes diashow-lauf {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.sterne {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.sterne svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: var(--natrium);
}

/* Formular */
.formular {
  display: grid;
  gap: 1.1rem;
}
.feld {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.feld label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stahl);
  font-weight: 600;
}
.feld input,
.feld select,
.feld textarea {
  background: var(--nacht);
  border: 1px solid var(--linie-stark);
  color: var(--chrom);
  padding: 0.95rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  border-radius: 2px;
  transition: 0.3s var(--ease);
  width: 100%;
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--ford-hell);
  box-shadow: 0 0 0 3px rgba(11, 99, 229, 0.22);
}
.feld textarea {
  min-height: 8rem;
  resize: vertical;
}
.feld-zwei {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 480px) {
  .feld-zwei {
    grid-template-columns: 1fr;
  }
}
.zustimmung {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--stahl);
  line-height: 1.5;
}
.zustimmung input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--ford);
  flex: none;
  margin-top: 0.15rem;
}
.zustimmung a {
  color: var(--ford-hell);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.formular-hinweis {
  font-size: 0.9rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--natrium);
  background: rgba(242, 167, 59, 0.08);
  display: none;
}
.formular-hinweis.zeigen {
  display: block;
}

/* Zwei-Spalten */
.zwei {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.zwei.eng {
  grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
}

/* Info-Streifen — bewusst KEIN Card-Grid (§0b Nr. 1: das eine erlaubte
   auto-fit-Raster ist .team); Flex-Wrap verhält sich beim Umbruch gleich. */
.streifen {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--linie);
  border-block: 1px solid var(--linie);
}
.streifen div {
  flex: 1 1 13rem;
  background: var(--nacht);
  padding: 1.5rem clamp(1rem, 2vw, 1.8rem);
}
.streifen b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}
.streifen span {
  font-size: 0.86rem;
  color: var(--stahl);
}
.streifen a {
  color: inherit;
  text-decoration: none;
}
.streifen a:hover {
  color: var(--natrium);
}

/* CTA-Band */
.band {
  background: linear-gradient(
    115deg,
    var(--nacht-2),
    rgba(11, 99, 229, 0.16) 55%,
    rgba(242, 167, 59, 0.12)
  );
  border-block: 1px solid var(--linie-stark);
}
.band .wrap {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

/* Fuß */
.fuss {
  background: #070910;
  border-top: 1px solid var(--linie);
  /* Unten extra Luft: der fixe Anruf-Button (.fab-anruf) sitzt ueber der
     rechten unteren Ecke — ohne diese Reserve deckt er auf kurzen Seiten
     (z. B. 404.html) den Impressum-Link zu. */
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 6rem);
}
.fuss-raster {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.fuss img {
  height: 2.6rem;
  width: auto;
  margin-bottom: 1.2rem;
}
.fuss h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stahl);
  margin-bottom: 1.1rem;
}
.fuss a {
  color: #b7c2d0;
  text-decoration: none;
  font-size: 0.92rem;
  display: block;
  padding: 0.22rem 0;
  transition: color 0.3s;
}
.fuss a:hover {
  color: var(--natrium);
}
.fuss-unten {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--stahl-tief);
}
.fuss-unten a {
  display: inline;
  font-size: 0.84rem;
}

/* Rechtsseiten & Innenköpfe */
.kopfbereich {
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  background: var(--nacht);
}
.kopfbereich::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      60% 90% at 12% 0%,
      rgba(11, 99, 229, 0.22),
      transparent 70%
    ),
    radial-gradient(
      50% 80% at 92% 100%,
      rgba(242, 167, 59, 0.14),
      transparent 70%
    );
}
.kopfbereich .wrap {
  position: relative;
  z-index: 2;
}

/* Head-Clip der Unterseiten (10 s, siehe video-plan.md) */
.kopf-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.kopf-video video,
.kopf-video img.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Lesbarkeits-Schleier: Text steht auf z-index 2, der Clip auf 0 — dieser Verlauf
   dazwischen hält den Kontrast der Headline auch über hellen Frames (§0e-58). */
.kopf-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 9, 16, 0.82) 0%,
    rgba(7, 9, 16, 0.62) 45%,
    rgba(7, 9, 16, 0.88) 100%
  );
}
/* Reduced Motion: der Clip wird per JS angehalten, das Poster bleibt stehen —
   deshalb hier KEIN display:none (das würde auch das Poster wegnehmen). */

.recht {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
}
.recht .wrap {
  max-width: 52rem;
}
.recht h2 {
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem);
  margin: 2.6rem 0 0.9rem;
}
.recht h3 {
  font-size: 1.06rem;
  margin: 1.8rem 0 0.5rem;
  font-family: var(--body);
  font-weight: 700;
}
.recht p,
.recht li {
  color: #b7c2d0;
  font-size: 1rem;
}
.recht ul {
  padding-left: 1.2rem;
}
.recht .datenblock {
  border: 1px solid var(--linie-stark);
  padding: 1.6rem 1.8rem;
  margin: 1.5rem 0;
  background: var(--nacht-2);
  font-size: 1rem;
  line-height: 1.9;
}
.recht .datenblock b {
  color: var(--chrom);
}

/* Reveal */
[data-auf] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
[data-auf].sichtbar {
  opacity: 1;
  transform: none;
}

/* Skip-Link + Fokus */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--natrium);
  color: #0b0e13;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}
:focus-visible {
  outline: 2px solid var(--natrium);
  outline-offset: 3px;
}

/* --- Responsiv ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a {
    font-size: 0.7rem;
    padding: 0.7rem 0.55rem;
  }
  .kopf-tel .tel-link {
    font-size: 0.92rem;
  }
}
@media (max-width: 1040px) {
  .nav,
  .kopf-tel {
    display: none;
  }
  .burger {
    display: block;
  }
  .fuss-raster {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .zwei,
  .zwei.eng,
  .r-3,
  .r-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .nr {
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 0.9rem 1.25rem;
  }
  .nr > p {
    grid-column: 2;
  }
  .hero-unten {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .tag-bahn {
    height: 360vh;
  }
  .tag-buehnen {
    /* Auf schmalen Schirmen traegt das Bild die ganze Buehne — kein
       beschnittener Streifen, sonst ist wieder Flaeche ohne Motiv da. */
    inset: 0;
  }
  /* Der diagonale Scrim ist fuer die linke Textspalte des Desktops gebaut. Auf
     390px nimmt der Text die volle Breite und laeuft rechts ins helle Bild —
     gemessen 1,68:1 (Soll 4,5:1). Statt die ganze Buehne zuzuschleiern (das
     killt das Material, §0e-13) bekommt NUR der Textblock seinen Grund:
     weicher Verlauf, keine Kastenkante, kein Rahmen, kein Radius. */
  .tag-scrim {
    background: linear-gradient(
      180deg,
      rgba(11, 14, 19, 0.45) 0%,
      rgba(11, 14, 19, 0.2) 55%,
      rgba(11, 14, 19, 0.75) 100%
    );
  }
  .tag-karte {
    background: linear-gradient(
      180deg,
      rgba(11, 14, 19, 0) 0%,
      rgba(11, 14, 19, 0.88) 8%,
      rgba(11, 14, 19, 0.88) 92%,
      rgba(11, 14, 19, 0) 100%
    );
    /* Bis an den Bildschirmrand ziehen: mit Innenabstand haette der Verlauf
       zwei harte senkrechte Kanten und laese sich als Info-Kasten — genau die
       Optik, die im Head verboten ist (§0e-129). Oben und unten laeuft er
       ohnehin weich aus, seitlich gibt es jetzt gar keine Kante mehr. */
    padding: 2rem var(--rand);
    margin-inline: calc(var(--rand) * -1);
  }
  .bewertung {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .fuss-raster {
    grid-template-columns: 1fr;
  }
  .tabelle {
    font-size: 0.9rem;
  }
  .tabelle th,
  .tabelle td {
    padding: 0.75rem 0.5rem;
  }
  .hero-fakt {
    gap: 1rem;
  }
  .hero-fakt div {
    padding-left: 0.75rem;
  }
  .hero-fakt b {
    font-size: 1.25rem;
  }
  .hero-cta {
    width: 100%;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .tag-karte p {
    max-width: none;
  }
}

/* ==========================================================================
   Korrekturen aus dem Haertetest (Phase C)
   ========================================================================== */

/* Sprungziele landen sonst unter dem fixen Kopf */
[id] {
  scroll-margin-top: 6rem;
}

/* Tastaturfokus in Formularfeldern war praktisch unsichtbar */
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: 2px solid var(--natrium);
  outline-offset: 2px;
  border-color: var(--ford-hell);
  box-shadow: 0 0 0 3px rgba(11, 99, 229, 0.35);
}

/* Fusszeilen-Abschluss lag unter AA (3,9:1) */
.fuss-unten {
  color: var(--stahl);
}

/* Die Desktop-Faktenspalte darf nur im Hero greifen, nicht auf der 404-Seite */
@media (min-width: 1041px) {
  .hero-fakt {
    flex-direction: row;
    gap: clamp(1.25rem, 2.5vw, 2.75rem);
    border-left: none;
    padding-left: 0;
  }
  .hero-fakt div {
    border-left: 1px solid var(--linie-stark);
    padding-left: 1rem;
  }
  .hero-unten .hero-fakt {
    flex-direction: column;
    gap: 1.15rem;
    align-items: flex-start;
    border-left: 1px solid var(--linie-stark);
    padding-left: 2rem;
    margin-bottom: 0.35rem;
  }
  .hero-unten .hero-fakt div {
    border-left: none;
    padding-left: 0;
  }
}

/* Kopfzeile lief zwischen 1041 und ~1120 px rechts aus dem Bild */
@media (max-width: 1180px) {
  .kopf-tel .btn {
    display: none;
  }
}

/* Breite Tabellen bekommen echtes Scrollen statt Wort-fuer-Wort-Umbruch */
.tabelle-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tabelle-scroll .tabelle {
  min-width: 44rem;
}
/* Scroll-Hinweis auf schmalen Screens — die Tabelle ist breiter als der
   Viewport, ohne Hinweis wirkt sie wie abgeschnitten statt scrollbar. */
@media (max-width: 700px) {
  .tabelle-scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .tabelle-hinweis {
    display: block;
  }
}
.tabelle-hinweis {
  display: none;
  font-size: 0.8rem;
  color: var(--stahl);
  margin-top: 0.6rem;
}
.tabelle-hinweis svg {
  width: 0.9rem;
  height: 0.9rem;
  vertical-align: -0.15em;
  margin-right: 0.3rem;
}
@media (max-width: 1100px) {
  .tabelle td:last-child {
    white-space: normal;
  }
}

/* Mobilmenue: bei kurzem Viewport war der obere Rand nicht erreichbar */
@media (max-height: 640px) {
  .mobilnav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diashow-track {
    animation: none;
    flex-wrap: wrap;
    transform: none;
  }
  /* Ohne Bewegung wird aus dem Laufband ein statisches, umbrechendes Grid —
     sonst stuende eine abgeschnittene Einzelzeile da, von der man nur das
     erste Zitat lesen koennte (design-dna §3: "reduced-motion = statisches
     Grid ohne Duplikat-Spur"). */
  .diashow-karte.dup {
    display: none;
  }
  .diashow-track {
    flex-wrap: wrap;
    width: auto;
    gap: 1rem 2rem;
    padding-inline: var(--rand);
  }
  .diashow-karte {
    white-space: normal;
    /* min(): auf 390px passt die Karte in den Schirm, auf breiten Schirmen
       bleibt sie bei angenehmer Lesebreite stehen. */
    max-width: min(34rem, 100%);
    flex: 1 1 18rem;
  }
  .diashow-band {
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* Ohne Bewegung ist die gepinnte Szene vier Bildschirme tote Halle —
     deshalb wird sie zur normalen Textsektion aufgeloest. */
  .tag-bahn {
    height: auto;
  }
  .tag-buehne {
    position: static;
    height: auto;
    display: block;
    padding: clamp(3rem, 7vw, 5rem) 0;
  }
  .tag-buehnen,
  .tag-fortschritt {
    display: none;
  }
  .tag-karte {
    min-height: 0;
    max-width: none;
  }
  .tag-karte .stufe {
    display: block;
    margin-bottom: 2.5rem;
  }
  .tag-karte p {
    max-width: 60ch;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero h1 .zeile > span {
    transform: none;
  }
  .einblenden {
    opacity: 1;
  }
  [data-auf] {
    opacity: 1;
    transform: none;
  }
}

/* --- Kontakt-Sektion der Startseite (design-dna §3) ----------------------
   Die Pflichtausstattung verlangt sie auf der Startseite, nicht nur auf
   kontakt.html: Ansprechpartner MIT NAMEN vor dem Formular, max. 4 Felder,
   Button mit Zusage statt "Senden", Antwortversprechen darunter, dazu die
   Zwei-Klick-Karte mit Route-Link. */
.start-kontakt .ansprech {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--linie);
}
.start-kontakt .ansprech .initialen {
  flex: none;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--natrium);
  background: var(--nacht-3);
  box-shadow: inset 0 0 0 1px var(--linie-stark);
}
.start-kontakt .ansprech strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.2;
}
.start-kontakt .karten-feld {
  margin-top: 0;
}

/* --- Bestand in Preis-Kapiteln (fahrzeuge.html) -------------------------
   Vorbild: Wiessner Tuning /fahrzeuge — der Bestand wird NICHT als
   gleichförmiges Raster gezeigt, sondern preisgewichtet: die teuersten
   Fahrzeuge bekommen die größte Fläche (2 Spalten, Bild 16:10), die
   günstigeren rücken auf 3 Spalten zusammen. Ein Raster aus zehn gleich
   großen Karten sagt dem Besucher nichts darüber, was das Haus ausmacht.
   Markup + Daten: data/fahrzeuge.json → _fahrzeuge-bauen.mjs. */
.fz-kapitel + .fz-kapitel {
  padding-top: 0;
}
/* Preisklassen-Angabe UNTER dem Lead — bewusst kein .kicker: drei Kapitel mit
   voller Kicker/H2/Lead-Formel waeren dreimal dasselbe Sektionsmuster (§0b Nr. 2). */
.fz-spanne {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stahl-tief);
  margin: 0.9rem 0 0;
}
.fz-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.fz-raster--gross {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}
@media (max-width: 1000px) {
  .fz-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .fz-raster,
  .fz-raster--gross {
    grid-template-columns: 1fr;
  }
}
.fz-karte {
  display: flex;
  flex-direction: column;
  background: var(--nacht-2);
  box-shadow: inset 0 0 0 1px var(--linie);
  overflow: hidden;
}
.fz-karte img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.fz-karte--gross img {
  aspect-ratio: 16 / 10;
}
.fz-kein-bild {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--nacht-3);
  color: var(--stahl-tief);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fz-inhalt {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.1rem, 1.6vw, 1.5rem);
  flex: 1;
}
.fz-zustand {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ford-hell);
}
.fz-titel {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.25;
}
.fz-karte--gross .fz-titel {
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
}
.fz-zusatz {
  margin: 0;
  font-size: 0.86rem;
  color: var(--stahl);
  line-height: 1.5;
}
.fz-preis {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--natrium);
}
.fz-karte--gross .fz-preis {
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
}
.fz-daten {
  margin: 0;
  font-size: 0.84rem;
  color: var(--stahl);
  line-height: 1.6;
}
.fz-link {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--linie);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ford-hell);
  text-decoration: none;
}
.fz-link:hover {
  color: var(--natrium);
}
