/* =========================================================================
   Sheriff Cars – Designsystem „Werkstattschild“
   Farben vom Fassadenschild der Halle (Foto 2016): Schild-Blau, weiße Schmalschrift.
   Gemessen im Sonnenlicht #4b72bb, für den Bildschirm kräftiger gesetzt (#1d4fb5).
   Dazu Sheriff-Gold als Akzent (Stern, Knöpfe) und das Grau der Trapezblech-Fassade.
   Leitmotive: das blaue Band (wie das Schild an der Halle), der Sheriff-Stern,
   die senkrechten Rillen der Blechfassade.
   Schrift: Archivo (variabel, Breite 62–125 %): Überschriften schmal, kräftig, in Versalien.
   Bewegung nur über opacity und transform. Bei „Bewegung reduzieren“ ist alles ruhig.
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variabel.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: optional;
}

:root {
  --blau: #1d4fb5;
  --blau-tief: #163f93;
  --blau-hell: #4b72bb;
  --blau-zart: #e9effb;
  --nacht: #0b1631;
  --nacht-2: #13214a;
  --nacht-3: #1f3063;
  --stern: #f7b500;
  --stern-tief: #e29f00;
  --stern-zart: #fff4d1;
  --blech: #eef1f5;
  --blech-2: #e3e8ef;
  --linie: #d8dee8;
  --linie-dunkel: #26386b;
  --papier: #f8f9fb;
  --text: #0e1a33;
  --text-2: #46526b;
  --text-3: #69748b;
  --text-hell: #f2f5fb;
  --text-hell-2: #a9b5ce;
  --gruen: #13814a;
  --warn: #e7a300;
  --rot: #d1352b;

  --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --schmal: 70%;
  --huelle: 1240px;
  --rand: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(11, 22, 49, .06), 0 14px 34px -16px rgba(11, 22, 49, .28);
  --schatten-gross: 0 2px 4px rgba(11, 22, 49, .05), 0 32px 64px -26px rgba(11, 22, 49, .42);
  --kopf-hoehe: 76px;
  --sanft: cubic-bezier(.22, .8, .24, 1);
  /* Trapezblech: senkrechte Rillen wie an der Halle */
  --rillen-hell: repeating-linear-gradient(90deg, transparent 0 30px, rgba(11, 22, 49, .035) 30px 34px, rgba(255, 255, 255, .7) 34px 35px, transparent 35px 44px);
  --rillen-dunkel: repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, .035) 30px 34px, rgba(0, 0, 0, .12) 34px 35px, transparent 35px 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2 {
  font-weight: 850;
  font-stretch: var(--schmal);
  line-height: .96;
  letter-spacing: .005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.7rem); }
h3 { font-size: clamp(1.28rem, 1.1rem + .6vw, 1.6rem); font-weight: 780; font-stretch: 84%; line-height: 1.12; letter-spacing: -.005em; }
h4 { font-size: 1.1rem; font-weight: 750; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 4px; }
.dunkel :focus-visible, .fuss :focus-visible, .held :focus-visible, .seitenkopf :focus-visible, .aufruf :focus-visible, .cockpit :focus-visible, .bestand :focus-visible { outline-color: var(--stern); }
::selection { background: var(--stern); color: var(--nacht); }

.sprung { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--nacht); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 700; }
.sprung:focus { top: 12px; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.huelle { width: 100%; max-width: calc(var(--huelle) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.huelle--schmal { max-width: calc(840px + 2 * var(--rand)); }

/* ---------- Bausteine ---------- */
.marke {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1rem;
  font-size: .8rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blau);
}
.marke::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: var(--stern);
  clip-path: polygon(50% 0, 62% 30%, 93% 25%, 72% 50%, 93% 75%, 62% 70%, 50% 100%, 38% 70%, 7% 75%, 28% 50%, 7% 25%, 38% 30%);
}
.dunkel .marke, .held .marke, .seitenkopf .marke, .aufruf .marke { color: var(--stern); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.dunkel .lead { color: var(--text-hell-2); }
.text-link { font-weight: 700; color: var(--blau); text-decoration: underline; text-decoration-color: var(--stern); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--blau); }
.dunkel .text-link { color: #fff; }
.dunkel .text-link:hover { text-decoration-color: #fff; }

.knopf {
  --k-bg: var(--stern); --k-fg: var(--nacht); --k-hover: var(--stern-tief);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .8em 1.45em;
  border: 0; border-radius: 12px;
  background: var(--k-bg); color: var(--k-fg);
  font-weight: 780; font-size: 1.02rem; line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; isolation: isolate; overflow: hidden;
  box-shadow: 0 1px 0 rgba(11, 22, 49, .14), 0 12px 24px -14px rgba(160, 110, 0, .8);
  transition: transform .25s var(--sanft), box-shadow .25s var(--sanft), color .25s;
}
.knopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--k-hover); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sanft); }
.knopf:hover { transform: translateY(-2px); }
.knopf:hover::after { transform: scaleX(1); }
.knopf:active { transform: translateY(0); }
.knopf svg { width: 1.2em; height: 1.2em; flex: none; }
.knopf .pfeil { transition: transform .25s var(--sanft); }
.knopf:hover .pfeil { transform: translateX(3px); }
.knopf--blau { --k-bg: var(--blau); --k-fg: #fff; --k-hover: var(--blau-tief); box-shadow: 0 12px 24px -14px rgba(29, 79, 181, .9); }
.knopf--rand { --k-bg: transparent; --k-fg: var(--nacht); --k-hover: var(--nacht); box-shadow: inset 0 0 0 2px var(--nacht); }
.knopf--rand:hover { --k-fg: #fff; }
.dunkel .knopf--rand, .held .knopf--rand, .aufruf .knopf--rand, .seitenkopf .knopf--rand, .knopf--rand-hell { --k-bg: transparent; --k-fg: #fff; --k-hover: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.dunkel .knopf--rand:hover, .held .knopf--rand:hover, .aufruf .knopf--rand:hover, .seitenkopf .knopf--rand:hover, .knopf--rand-hell:hover { --k-fg: var(--nacht); }
.knopf--klein { white-space: nowrap; min-height: 44px; padding: .6em 1.1em; font-size: .95rem; border-radius: 10px; }
.knopf.laedt { pointer-events: none; color: transparent; }
.knopf.laedt::before { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--nacht); border-right-color: transparent; border-radius: 50%; animation: drehen .8s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Geöffnet/geschlossen (per Skript, Zeitzone Berlin) */
.status { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 650; line-height: 1.2; }
.status__punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); flex: none; box-shadow: 0 0 0 3px rgba(105, 116, 139, .2); }
.status.ist-offen .status__punkt { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.status.ist-zu .status__punkt { background: #f97316; box-shadow: 0 0 0 3px rgba(249, 115, 22, .22); }
.status--chip { padding: .5em .9em; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.status--hell { padding: .5em .9em; border-radius: 999px; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--linie); }

/* Sheriff-Stern (Logo-Zeichen) */
.stern { fill: var(--stern); }
.stern__kante { fill: none; stroke: var(--stern-tief); stroke-width: 2.4; stroke-linejoin: round; }
.stern__mitte { fill: var(--nacht); }
.stern__ring { fill: none; stroke: var(--stern); stroke-width: 2.4; }

/* Einblenden */
.js .ein { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--sanft), transform .7s var(--sanft); transition-delay: var(--v, 0s); }
.js .ein.ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .ein { opacity: 1; transform: none; transition: none; } }

/* ---------- Kopf ---------- */
.infoleiste { background: var(--nacht); color: var(--text-hell-2); font-size: .84rem; }
.infoleiste__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.infoleiste ul { display: flex; gap: 22px; list-style: none; }
.infoleiste a { color: #fff; text-decoration: none; font-weight: 600; }
.infoleiste a:hover { color: var(--stern); }
.infoleiste b { font-weight: 600; color: var(--text-hell-2); margin-right: .35em; }
.infoleiste .status { color: #fff; font-size: .84rem; }
@media (max-width: 1120px) { .infoleiste { display: none; } }

.kopf { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blau) 0 70%, var(--stern) 70% 100%); }
.kopf.ist-gescrollt { box-shadow: 0 10px 30px -18px rgba(11, 22, 49, .5); }
.kopf__innen { display: flex; align-items: center; gap: 24px; min-height: var(--kopf-hoehe); }

/* Logo: das blaue Band mit „SHERIFF CARS“, nachgebaut nach dem Fassadenschild (werkzeuge/logo.swift) */
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo__band { display: block; width: auto; height: 40px; transition: transform .3s var(--sanft); }
.logo:hover .logo__band { transform: translateY(-1px); }
.fuss .logo__band { height: 44px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }

.menue { display: flex; align-items: center; gap: 4px; list-style: none; margin-left: auto; }
.menue a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 650; font-size: 1rem; text-decoration: none; color: var(--text); position: relative; }
.menue a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--stern); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sanft); }
.menue a:hover::after, .menue a[aria-current="page"]::after { transform: scaleX(1); }
.menue a[aria-current="page"] { color: var(--blau); }
.kopf__aktion { display: flex; align-items: center; gap: 10px; flex: none; }
.kopf__tel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 750; color: var(--nacht); white-space: nowrap; }
.kopf__tel svg { width: 22px; height: 22px; color: var(--blau); }
.kopf__tel:hover { background: var(--blau-zart); }
.kopf__tel-text small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); line-height: 1; margin-bottom: 2px; }
.kopf__burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--nacht); cursor: pointer; position: relative; }
.kopf__burger span, .kopf__burger span::before, .kopf__burger span::after { position: absolute; left: 13px; width: 22px; height: 2.5px; border-radius: 2px; background: #fff; content: ""; transition: transform .3s var(--sanft), opacity .2s; }
.kopf__burger span { top: 23px; }
.kopf__burger span::before { left: 0; top: -7px; }
.kopf__burger span::after { left: 0; top: 7px; }
.kopf__burger[aria-expanded="true"] span { background: transparent; }
.kopf__burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.kopf__burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1400px) { .kopf__tel-text { display: none; } .menue a { padding-inline: 11px; } .menue a::after { left: 11px; right: 11px; } }
@media (max-width: 1120px) {
  .kopf nav { display: none; }
  .kopf__aktion { margin-left: auto; }
  .kopf__burger { display: block; }
}
@media (max-width: 560px) {
  :root { --kopf-hoehe: 66px; }
  .logo__band { height: 34px; }
}
@media (max-width: 700px) { .kopf__cta { display: none; } }
@media (max-width: 359px) { .logo__band { height: 30px; } .kopf__tel { padding: 8px 6px; } .kopf__innen { gap: 10px; } .kopf__aktion { gap: 6px; } }

/* Mobilmenü */
.mobil { position: fixed; inset: var(--kopf-hoehe) 0 0 0; z-index: 99; background: var(--nacht); background-image: var(--rillen-dunkel); color: #fff; overflow-y: auto; padding: 18px var(--rand) 40px; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s var(--sanft), transform .3s var(--sanft), visibility 0s .3s; }
.mobil.ist-offen { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobil ul { list-style: none; }
.mobil > ul > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--linie-dunkel); font-size: 1.7rem; font-weight: 820; font-stretch: 72%; text-transform: uppercase; text-decoration: none; }
.mobil > ul > li > a[aria-current="page"] { color: var(--stern); }
.mobil__kontakt { display: grid; gap: 10px; margin-top: 26px; }
.mobil__kontakt a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--nacht-2); text-decoration: none; }
.mobil__kontakt small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-hell-2); }
.mobil__kontakt b { font-size: 1.1rem; }
.mobil__kontakt svg { width: 22px; height: 22px; color: var(--stern); flex: none; }
.mobil .knopf { width: 100%; margin-top: 18px; }
.mobil .status { margin-top: 22px; }
body.menue-offen { overflow: hidden; }
@media (min-width: 1121px) { .mobil { display: none; } }

/* ---------- Startseite: Held ---------- */
.held { position: relative; color: #fff; background: var(--nacht); overflow: hidden; isolation: isolate; }
.held__bild { position: absolute; inset: 0; z-index: -2; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.held::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 22, 49, .94) 0%, rgba(11, 22, 49, .82) 38%, rgba(11, 22, 49, .25) 72%, rgba(11, 22, 49, .1) 100%), linear-gradient(0deg, rgba(11, 22, 49, .85) 0%, rgba(11, 22, 49, 0) 42%); }
.held__innen { display: flex; flex-direction: column; justify-content: center; min-height: min(78vh, 760px); padding-block: clamp(56px, 9vw, 120px) clamp(150px, 16vw, 200px); }
.held__text { max-width: 760px; }
.held h1 { font-size: clamp(2.6rem, 1.4rem + 4.3vw, 5.2rem); }
.held h1 { margin-bottom: .32em; }
.held h1 .gold { color: var(--stern); display: block; }
.held .lead { color: #d7deec; max-width: 34em; margin-bottom: 1.6em; }
.held .status { display: flex; width: fit-content; margin-bottom: 22px; }
.held__fakten { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; list-style: none; font-size: .95rem; color: #d7deec; }
.held__fakten li { display: inline-flex; align-items: center; gap: 8px; }
.held__fakten svg { width: 18px; height: 18px; color: var(--stern); }
@media (max-width: 760px) {
  .held__bild img { object-position: 70% 40%; }
  .held::before { background: linear-gradient(180deg, rgba(11, 22, 49, .55) 0%, rgba(11, 22, 49, .86) 45%, rgba(11, 22, 49, .97) 100%); }
  .held__innen { min-height: 0; padding-top: 150px; padding-bottom: 60px; }
}

/* Drei Abteilungen (überlappen den Held) */
.abteilungen { position: relative; z-index: 2; margin-top: clamp(-150px, -12vw, -110px); }
.abteilungen__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.abteilung { position: relative; display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--schatten-gross); }
.abteilung__kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.abteilung__symbol { width: 52px; height: 52px; border-radius: 14px; background: var(--blau); color: #fff; display: grid; place-items: center; flex: none; }
.abteilung__symbol svg { width: 28px; height: 28px; }
.abteilung h2, .abteilung h3 { font-size: 1.6rem; font-weight: 850; font-stretch: 70%; text-transform: uppercase; margin: 0; line-height: 1; }
.abteilung h2 small, .abteilung h3 small { display: block; font-size: .78rem; font-stretch: 100%; font-weight: 650; letter-spacing: .1em; color: var(--text-3); margin-top: 5px; }
.abteilung p { color: var(--text-2); font-size: .98rem; margin-bottom: 16px; }
.abteilung__wege { margin-top: auto; display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--linie); }
.abteilung__wege a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--nacht); padding: 4px 0; overflow-wrap: anywhere; }
.abteilung__wege a:hover { color: var(--blau); }
.abteilung__wege svg { width: 19px; height: 19px; color: var(--blau); flex: none; }
.abteilung__mehr { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blech); color: var(--nacht); transition: background .25s, transform .25s var(--sanft); }
.abteilung__mehr svg { width: 20px; height: 20px; }
.abteilung__mehr:hover { background: var(--stern); transform: translateX(3px); }
@media (max-width: 980px) { .abteilungen__raster { grid-template-columns: 1fr; } .abteilungen { margin-top: -40px; } }
@media (max-width: 760px) { .abteilungen { margin-top: 0; padding-top: 22px; } }

/* ---------- Das blaue Band (wie das Schild an der Halle) ---------- */
.band { position: relative; margin-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 40px); overflow: hidden; padding-block: 18px; }
.band__streifen { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: nowrap; width: 112%; margin-left: -6%; padding: 16px 0; background: var(--blau); color: #fff; transform: rotate(-2.2deg); box-shadow: 0 18px 30px -20px rgba(29, 79, 181, .9); white-space: nowrap; }
.band__streifen span { font-size: clamp(1.1rem, .8rem + 1.5vw, 2rem); font-weight: 820; font-stretch: 66%; letter-spacing: .03em; text-transform: uppercase; }
.band__streifen svg { width: clamp(16px, 1.6vw, 22px); height: auto; flex: none; }
@media (max-width: 700px) { .band__streifen span:nth-of-type(n+3), .band__streifen svg:nth-of-type(n+2) { display: none; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(64px, 9vw, 120px); }
.abschnitt--blech { background-color: var(--blech); background-image: var(--rillen-hell); }
.abschnitt--weiss { background: #fff; }
.abschnitt--eng { padding-block: clamp(44px, 6vw, 72px); }
.dunkel { background-color: var(--nacht); background-image: var(--rillen-dunkel); color: var(--text-hell); }
.abschnitt__kopf { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.abschnitt__kopf--mitte { margin-inline: auto; text-align: center; }
.abschnitt__kopf--mitte .marke { justify-content: center; }
.abschnitt__kopf--mitte .lead { margin-inline: auto; }
.abschnitt__kopf--zeile { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.abschnitt__kopf--zeile > div { max-width: 720px; }

.zwei { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.zwei--umgekehrt > :first-child { order: 2; }
.zwei--oben, .zwei--formular, .zwei--termin { align-items: start; }
.zwei--formular { grid-template-columns: 1.2fr .8fr; }
.zwei--termin { grid-template-columns: 1.35fr .65fr; }
@media (max-width: 900px) { .zwei, .zwei--formular, .zwei--termin { grid-template-columns: minmax(0, 1fr); } .zwei--umgekehrt > :first-child { order: 0; } }

.bild-rahmen { position: relative; }
.bild-rahmen img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten-gross); }
.bild-rahmen--schraeg img { clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); border-radius: 0; }
.bild-rahmen__marke { position: absolute; left: -14px; bottom: 26px; padding: 12px 18px 12px 16px; background: var(--blau); color: #fff; font-weight: 820; font-stretch: 70%; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; transform: rotate(-2.2deg); box-shadow: 0 16px 28px -18px rgba(11, 22, 49, .9); }
.bild-rahmen__marke small { display: block; font-size: .72rem; font-stretch: 100%; font-weight: 600; letter-spacing: .1em; color: #c9d6f2; }
@media (max-width: 560px) { .bild-rahmen__marke { left: 10px; } }

.fliess p { color: var(--text-2); }
.fliess p strong { color: var(--text); }
.dunkel .fliess p { color: var(--text-hell-2); }

/* Zahlen/Fakten */
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 34px; border-top: 2px solid var(--nacht); }
.fakt { padding: 18px 16px 4px 0; }
.fakt b { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 880; font-stretch: 66%; line-height: 1; color: var(--blau); text-transform: uppercase; }
.fakt span { display: block; margin-top: 6px; font-size: .92rem; color: var(--text-2); line-height: 1.35; }
@media (max-width: 640px) { .fakten { grid-template-columns: 1fr 1fr; } }

/* Marken */
.marken { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
.marken li { padding: 7px 13px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); font-weight: 700; font-size: .92rem; }
.marken li.ist-schwerpunkt { background: var(--blau); color: #fff; box-shadow: none; }
.marken-hinweis { margin-top: 10px; font-size: .88rem; color: var(--text-3); }

/* Schwerpunkte (drei große Karten) */
.schwerpunkte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: sp; }
.schwerpunkt { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--nacht-2); box-shadow: inset 0 0 0 1px var(--linie-dunkel); overflow: hidden; counter-increment: sp; }
.schwerpunkt::before { content: "0" counter(sp); position: absolute; right: 20px; top: 8px; font-size: 4.6rem; font-weight: 900; font-stretch: 62%; color: rgba(255, 255, 255, .06); line-height: 1; }
.schwerpunkt__symbol { width: 58px; height: 58px; border-radius: 14px; background: var(--stern); color: var(--nacht); display: grid; place-items: center; margin-bottom: 22px; }
.schwerpunkt__symbol svg { width: 32px; height: 32px; }
.schwerpunkt h3 { color: #fff; }
.schwerpunkt p { color: var(--text-hell-2); margin-bottom: 0; }
.schwerpunkt ul { list-style: none; margin-top: 16px; display: grid; gap: 6px; font-size: .95rem; color: #d6deee; }
.schwerpunkt li { display: flex; gap: 9px; }
.schwerpunkt li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; flex: none; background: var(--stern); transform: rotate(45deg); }
.abschnitt--weiss .schwerpunkt, .abschnitt--blech .schwerpunkt { background: var(--nacht); }
@media (max-width: 960px) { .schwerpunkte { grid-template-columns: 1fr; } }

/* Leistungsraster */
.leistungen { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; list-style: none; }
.leistung { display: flex; gap: 16px; padding: 20px 20px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); transition: box-shadow .25s, transform .25s var(--sanft); }
.leistung:hover { box-shadow: inset 0 0 0 2px var(--blau); transform: translateY(-2px); }
.leistung__symbol { width: 46px; height: 46px; border-radius: 12px; background: var(--blau-zart); color: var(--blau); display: grid; place-items: center; flex: none; }
.leistung__symbol svg { width: 25px; height: 25px; }
.leistung h3 { font-size: 1.12rem; font-stretch: 92%; margin: 2px 0 4px; }
.leistung p { margin: 0; font-size: .93rem; color: var(--text-2); line-height: 1.45; }
.leistung a { color: inherit; text-decoration: none; }

/* Ablauf */
.ablauf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; counter-reset: schritt; position: relative; }
.ablauf li { position: relative; padding: 26px 24px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); counter-increment: schritt; }
.ablauf li::before { content: counter(schritt); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--nacht); color: var(--stern); font-weight: 850; font-size: 1.2rem; }
.ablauf h3 { font-size: 1.2rem; }
.ablauf p { margin: 0; color: var(--text-2); font-size: .97rem; }
@media (max-width: 860px) { .ablauf { grid-template-columns: 1fr; } }

/* ---------- Plaketten-Check (HU) ---------- */
.plakette-check { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 22px; background: #fff; box-shadow: var(--schatten-gross); }
.plakette { position: relative; width: 100%; max-width: 340px; margin-inline: auto; aspect-ratio: 1; }
.plakette svg { width: 100%; height: 100%; overflow: visible; }
.plakette__grund { transition: fill .5s var(--sanft); }
.plakette__ring { transform-origin: 120px 120px; transition: transform .8s var(--sanft); }
.plakette__zahl { font: 800 17px var(--schrift); fill: #111; text-anchor: middle; dominant-baseline: central; cursor: pointer; }
.plakette__zahl:hover { fill: #fff; }
.plakette__jahr { font: 900 88px var(--schrift); font-stretch: 66%; fill: #111; text-anchor: middle; dominant-baseline: central; }
.plakette__klein { font: 700 9.5px var(--schrift); letter-spacing: .2em; fill: #111; text-anchor: middle; }
.plakette__zeiger { fill: var(--nacht); }
.plakette__hinweis { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.plakette-check__steuer { display: grid; gap: 22px; }
.plakette-check h2 { margin-bottom: .2em; }
.auswahl-zeile { display: grid; gap: 10px; }
.auswahl-zeile > span, .auswahl-zeile > legend { font-weight: 700; font-size: .95rem; padding: 0; }
fieldset.auswahl-zeile { border: 0; margin: 0; padding: 0; min-width: 0; }
.jahre { display: flex; flex-wrap: wrap; gap: 8px; }
.jahre label { position: relative; cursor: pointer; }
.jahre input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.jahre span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--linie); font-weight: 750; transition: box-shadow .2s, background .2s; }
.jahre span i { width: 16px; height: 16px; border-radius: 50%; background: var(--farbe); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.jahre input:checked + span { box-shadow: inset 0 0 0 2.5px var(--nacht); background: var(--blech); }
.jahre input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.ergebnis-hu { display: grid; gap: 6px; padding: 18px 20px; border-radius: 14px; background: var(--blech); border-left: 6px solid var(--gruen); }
.ergebnis-hu[data-stufe="bald"] { border-left-color: var(--warn); }
.ergebnis-hu[data-stufe="ueber"] { border-left-color: var(--rot); }
.ergebnis-hu b { font-size: 1.35rem; font-weight: 850; font-stretch: 72%; text-transform: uppercase; line-height: 1.1; }
.ergebnis-hu p { margin: 0; color: var(--text-2); font-size: .97rem; }
.ergebnis-hu .pille { justify-self: start; }
.pille { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .82rem; font-weight: 750; background: #dcfce7; color: #14532d; }
.pille[data-stufe="bald"] { background: #fef3c7; color: #78350f; }
.pille[data-stufe="ueber"] { background: #fee2e2; color: #7f1d1d; }
.hu-zeiten { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--text-2); }
.hu-zeiten b { color: var(--text); }
@media (max-width: 820px) { .plakette-check { grid-template-columns: 1fr; } .plakette { max-width: 260px; margin-top: 18px; } }

/* ---------- Kontrollleuchten-Lotse ---------- */
.lotse { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.cockpit { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: radial-gradient(120% 90% at 50% 0%, #1a2445 0%, #080d1d 70%); box-shadow: inset 0 0 0 2px #243159, inset 0 -30px 60px rgba(0, 0, 0, .5), var(--schatten-gross); }
.cockpit__titel { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7d8bb0; }
.leuchten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; }
.leuchte { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; border: 0; border-radius: 16px; background: #0e1530; color: #3a4467; cursor: pointer; box-shadow: inset 0 0 0 1.5px #1f2a4d; transition: color .3s, box-shadow .3s, background .3s, transform .2s var(--sanft); }
.leuchte svg { width: clamp(26px, 3.6vw, 42px); height: clamp(26px, 3.6vw, 42px); }
.leuchte[data-farbe="gelb"] { color: #7a6125; }
.leuchte[data-farbe="rot"] { color: #7c3434; }
.leuchte span { font-size: .68rem; font-weight: 650; letter-spacing: .02em; color: #6c78a0; line-height: 1.15; text-align: center; padding-inline: 4px; }
.leuchte:hover { transform: translateY(-2px); }
.leuchte[data-farbe="gelb"]:hover, .leuchte[data-farbe="gelb"][aria-pressed="true"] { color: #ffb21a; box-shadow: inset 0 0 0 1.5px #5c4718, 0 0 26px -6px rgba(255, 178, 26, .65); background: #1b1a1f; }
.leuchte[data-farbe="rot"]:hover, .leuchte[data-farbe="rot"][aria-pressed="true"] { color: #ff4a3d; box-shadow: inset 0 0 0 1.5px #5d2120, 0 0 26px -6px rgba(255, 74, 61, .7); background: #1e1418; }
.leuchte[aria-pressed="true"] span { color: #e7ebf6; }
.lotse__antwort { padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: #fff; box-shadow: var(--schatten); min-height: 100%; }
.lotse__antwort[hidden] { display: none; }
.lotse__stufe { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.lotse__stufe[data-farbe="rot"] { background: #fee2e2; color: #991b1b; }
.lotse__stufe[data-farbe="gelb"] { background: #fef3c7; color: #854d0e; }
.lotse__antwort h3 { margin-bottom: .4em; }
.lotse__antwort dl { margin: 16px 0 20px; display: grid; gap: 12px; }
.lotse__antwort dt { font-weight: 750; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: var(--blau); }
.lotse__antwort dd { margin: 2px 0 0; color: var(--text-2); }
.lotse__leer { display: grid; place-items: center; text-align: center; color: var(--text-3); padding: 40px 20px; border: 2px dashed var(--linie); border-radius: 22px; min-height: 100%; }
.lotse__leer svg { width: 54px; height: 54px; margin: 0 auto 12px; color: var(--linie); }
.lotse-hinweis { margin-top: 18px; font-size: .86rem; color: var(--text-3); }
@media (max-width: 900px) { .lotse { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cockpit { padding: 16px 12px; border-radius: 20px; } .leuchten { gap: 6px; } .leuchte { border-radius: 12px; } .leuchte span { font-size: .58rem; hyphens: auto; } }
.js .lotse__antworten > .lotse__antwort:not(.ist-aktiv) { display: none; }
.lotse__antworten { display: grid; gap: 16px; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 10px; list-style: none; }
.galerie li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galerie li:nth-child(7) { grid-column: span 2; }
.galerie button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--blech-2); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sanft); }
.galerie button:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.grossbild { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--nacht); color: #fff; overflow: hidden; }
.grossbild::backdrop { background: rgba(5, 10, 24, .88); }
.grossbild figure { margin: 0; }
.grossbild img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.grossbild figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: .95rem; }
.grossbild__knoepfe { display: flex; gap: 8px; }
.grossbild button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--nacht-3); color: #fff; cursor: pointer; display: grid; place-items: center; }
.grossbild button:hover { background: var(--blau); }
.grossbild button svg { width: 22px; height: 22px; }

/* Bildstreifen */
.streifen { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; }
.streifen figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--blech-2); }
.streifen figure:first-child { grid-row: span 2; }
.streifen img { width: 100%; height: 100%; object-fit: cover; }
.streifen figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(11, 22, 49, .82); color: #fff; font-size: .82rem; font-weight: 650; }
@media (max-width: 760px) { .streifen { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .streifen figure:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Unterseiten-Kopf ---------- */
.seitenkopf { position: relative; background-color: var(--nacht); background-image: var(--rillen-dunkel); color: #fff; overflow: hidden; }
.seitenkopf__raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.seitenkopf .lead { color: #c8d2e6; }
.seitenkopf h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.seitenkopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0 var(--radius) var(--radius) 0; }
.seitenkopf__bild { position: relative; }
.seitenkopf__bild::after { content: ""; position: absolute; left: 0; bottom: 22px; width: 46%; height: 12px; background: var(--stern); transform: translateX(-30%) skewX(-20deg); }
.seitenkopf--ohne-bild .seitenkopf__raster { grid-template-columns: 1fr; }
.pfad { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 18px; font-size: .86rem; color: var(--text-hell-2); }
.pfad li + li::before { content: "/"; margin-right: 6px; color: #55638a; }
.pfad a { color: #fff; text-decoration: none; }
.pfad a:hover { text-decoration: underline; }
.seitenkopf .knoepfe { margin-top: 26px; }
@media (max-width: 900px) { .seitenkopf__raster { grid-template-columns: 1fr; } .seitenkopf__bild img { clip-path: none; border-radius: var(--radius); } }

/* ---------- Karten / Kontakt ---------- */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.karte { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--schatten); }
.karte h3 { margin-bottom: .35em; }
.karte p { color: var(--text-2); }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr; } }

.kontaktliste { list-style: none; display: grid; gap: 10px; }
.kontaktliste a { color: var(--nacht); font-weight: 700; text-decoration: none; }
.kontaktliste a:hover { color: var(--blau); text-decoration: underline; }
.kontaktliste li { display: flex; gap: 12px; align-items: flex-start; }
.kontaktliste svg { width: 20px; height: 20px; color: var(--blau); flex: none; margin-top: 3px; }

.zeiten { width: 100%; border-collapse: collapse; font-size: 1rem; }
.zeiten th, .zeiten td { padding: 11px 0; border-bottom: 1px solid var(--linie); text-align: left; font-weight: 500; }
.zeiten th { font-weight: 700; }
.zeiten td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten tr.ist-heute th, .zeiten tr.ist-heute td { color: var(--blau); font-weight: 800; }
.dunkel .zeiten th, .dunkel .zeiten td { border-color: var(--linie-dunkel); }
.dunkel .zeiten tr.ist-heute th, .dunkel .zeiten tr.ist-heute td { color: var(--stern); }

.person { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; background: var(--blech); }
.person__zeichen { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blau); color: #fff; font-weight: 850; font-stretch: 72%; font-size: 1.5rem; letter-spacing: .02em; position: relative; }
.person__zeichen::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; background: var(--stern); clip-path: polygon(50% 0, 62% 30%, 93% 25%, 72% 50%, 93% 75%, 62% 70%, 50% 100%, 38% 70%, 7% 75%, 28% 50%, 7% 25%, 38% 30%); }
.person div b { display: block; font-size: 1.1rem; }
.person div span { color: var(--text-2); font-size: .95rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.teamkarte { position: relative; padding: 30px 26px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--schatten); overflow: hidden; }
.teamkarte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 74px; background: var(--blau); background-image: var(--rillen-dunkel); }
.teamkarte .person__zeichen { position: relative; width: 92px; height: 92px; font-size: 2.1rem; background: var(--nacht); box-shadow: 0 0 0 5px #fff; margin-bottom: 18px; }
.teamkarte .person__zeichen::after { width: 30px; height: 30px; }
.teamkarte h3 { margin-bottom: 4px; }
.teamkarte p { margin: 0; color: var(--blau); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.teamkarte small { display: block; margin-top: 12px; color: var(--text-2); font-size: .93rem; line-height: 1.45; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* Partner */
.partner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.partner li { padding: 22px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.partner b { display: block; font-size: 1.3rem; font-weight: 850; font-stretch: 72%; text-transform: uppercase; color: var(--blau); }
.partner span { color: var(--text-2); font-size: .95rem; }
@media (max-width: 800px) { .partner { grid-template-columns: 1fr; } }

/* Fahrzeugbestand-Hinweis */
.bestand { display: grid; grid-template-columns: auto 1fr auto; gap: 22px 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--blau); background-image: var(--rillen-dunkel); color: #fff; box-shadow: var(--schatten-gross); }
.bestand__symbol { width: 76px; height: 76px; border-radius: 18px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.bestand__symbol svg { width: 42px; height: 42px; color: var(--stern); }
.bestand h2, .bestand h3 { margin: 0 0 .2em; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 850; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.bestand p { margin: 0; color: #d7e1f7; }
.bestand small { display: block; margin-top: 8px; font-size: .82rem; color: #b9c8ea; }
@media (max-width: 800px) { .bestand { grid-template-columns: 1fr; } }

/* Aufruf am Seitenende */
.aufruf { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(32px, 5vw, 64px); background: var(--nacht); background-image: var(--rillen-dunkel); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: center; }
.aufruf h2 { margin-bottom: .25em; }
.aufruf p { margin: 0; color: var(--text-hell-2); max-width: 54ch; }
.aufruf__stern { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; opacity: .08; transform: rotate(12deg); pointer-events: none; }
.aufruf .knoepfe { position: relative; }
@media (max-width: 860px) { .aufruf { grid-template-columns: 1fr; } }

/* Fragen */
.fragen { display: grid; gap: 10px; }
.frage { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.frage summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 750; cursor: pointer; list-style: none; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blau); transition: transform .3s var(--sanft); }
.frage[open] summary::after { transform: rotate(45deg); }
.frage div { padding: 0 20px 18px; color: var(--text-2); }
.frage div p:last-child { margin: 0; }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 18px; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formular__reihe--drei { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .formular__reihe, .formular__reihe--drei { grid-template-columns: 1fr; } }
.feld { display: grid; gap: 6px; align-content: start; }
.feld label, .feld > span { font-weight: 700; font-size: .95rem; }
.feld label small, .feld > span small { font-weight: 500; color: var(--text-3); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #c6cedb; border-radius: 10px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(29, 79, 181, .15); }
.feld [aria-invalid="true"] { border-color: var(--rot); }
.feld__fehler, .zustimmung .feld__fehler { color: var(--rot); font-size: .88rem; font-weight: 650; min-height: 0; }
.feld__fehler:empty { display: none; }
.feld__hilfe { font-size: .86rem; color: var(--text-3); }
.zustimmung { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; font-size: .93rem; color: var(--text-2); }
.zustimmung input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blau); }
.zustimmung .feld__fehler { grid-column: 2; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.datei { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #b4bfd1; border-radius: 12px; background: var(--papier); cursor: pointer; }
.datei:hover { border-color: var(--blau); }
.datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.datei svg { width: 26px; height: 26px; color: var(--blau); flex: none; }
.datei b { display: block; font-size: .98rem; }
.datei small { color: var(--text-3); font-size: .85rem; }
.datei:focus-within { box-shadow: 0 0 0 4px rgba(29, 79, 181, .2); border-color: var(--blau); }
.formular__meldung { color: var(--rot); font-weight: 650; }
.formular__meldung:empty { display: none; }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.formular__fuss small { color: var(--text-3); font-size: .88rem; }
.formular-box { padding: clamp(22px, 4vw, 40px); border-radius: 22px; background: #fff; box-shadow: var(--schatten-gross); }
.danke-box { padding: 28px; border-radius: 18px; background: var(--blech); text-align: center; }
.danke-box svg { width: 64px; height: 64px; margin: 0 auto 12px; }
.danke-box h3 { margin-bottom: .3em; }

/* Auswahl-Kacheln (Chips) */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 184px), 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.kachel { position: relative; }
.kachel input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.kachel span { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #c6cedb; font-weight: 700; font-size: .96rem; line-height: 1.2; hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: break-word; transition: box-shadow .2s, background .2s; }
.kachel svg { width: 24px; height: 24px; color: var(--blau); flex: none; }
.kachel input:checked + span { background: var(--blau-zart); box-shadow: inset 0 0 0 2.5px var(--blau); }
/* Haken sitzt auf der Ecke und nimmt dem Text keinen Platz weg */
.kachel input:checked + span::after { content: ""; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.kachel input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.kacheln--klein { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.kacheln--klein .kachel span { min-height: 48px; }

/* ---------- Termin-Assistent ---------- */
.assistent { position: relative; }
.strasse { position: relative; margin-bottom: 30px; }
.strasse__bahn { position: relative; height: 34px; border-radius: 10px; background: #2b3450; overflow: hidden; }
.strasse__bahn::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #f5f7fb 0 22px, transparent 22px 40px); opacity: .7; }
.strasse__fortschritt { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--blau); transform: scaleX(var(--anteil, .25)); transform-origin: left; transition: transform .7s var(--sanft); opacity: .55; }
.strasse__auto { position: absolute; top: 50%; left: 0; width: 100%; height: 0; pointer-events: none; transform: translateX(calc((var(--anteil, .25) - 1) * 100%)); transition: transform .7s var(--sanft); }
.strasse__auto svg { position: absolute; right: 4px; top: -17px; width: 58px; height: 34px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.strasse__halte { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; list-style: none; font-size: .86rem; font-weight: 700; color: var(--text-3); }
.strasse__halte li { text-align: right; }
.strasse__halte li.ist-erreicht { color: var(--blau); }
.strasse__halte li.ist-aktuell { color: var(--nacht); }
@media (max-width: 560px) { .strasse__halte li:not(.ist-aktuell) { visibility: hidden; } .strasse__halte li.ist-aktuell { visibility: visible; } }
.js .schritt { display: none; }
.js .schritt.ist-aktiv { display: grid; animation: schritt-ein .5s var(--sanft); }
@keyframes schritt-ein { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .schritt.ist-aktiv { animation: none; } }
.schritt { gap: 20px; }
.schritt > h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 0; }
.schritt__nr { font-size: .82rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); margin: 0 0 -10px; }
.schritt__knoepfe { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.no-js-hinweis { display: none; }
.zusammenfassung { display: grid; gap: 8px; padding: 18px 20px; border-radius: 14px; background: var(--blech); font-size: .95rem; }
.zusammenfassung div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.zusammenfassung dt { font-weight: 700; color: var(--text-2); }
.zusammenfassung dd { margin: 0; }
@media (max-width: 520px) { .zusammenfassung div { grid-template-columns: 1fr; gap: 0; } }
.nebeninfo { display: grid; gap: 16px; align-content: start; }
.nebeninfo .karte { padding: 22px; }

/* Fahrzeugschein-Hilfe */
.schein { position: relative; padding: 18px; border-radius: 14px; background: linear-gradient(160deg, #e9f2df, #dbe9d2); box-shadow: inset 0 0 0 1px #bdd1ae; font-size: .74rem; color: #4d5d40; }
.schein__kopf { display: flex; justify-content: space-between; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; color: #3e4c33; }
.schein__raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.schein__feld { height: 22px; border-radius: 4px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(62, 76, 51, .18); display: flex; align-items: center; padding-left: 5px; font-weight: 700; transition: background .3s, box-shadow .3s, color .3s; }
.schein__feld--breit { grid-column: span 3; }
.schein__feld--ganz { grid-column: span 6; }
.schein__feld--zwei { grid-column: span 2; }
.schein__feld.ist-markiert { background: var(--stern); color: var(--nacht); box-shadow: 0 0 0 3px rgba(247, 181, 0, .4); }
.schein__text { margin-top: 10px; font-size: .86rem; color: var(--text-2); }

/* ---------- Rechtliches ---------- */
.recht { overflow-wrap: break-word; hyphens: auto; }
.recht h2 { font-size: 1.5rem; margin-top: 1.8em; font-stretch: 76%; }
.recht h2:first-of-type { margin-top: .6em; }
.recht p, .recht li { color: var(--text-2); }
.recht ul { padding-left: 1.2em; margin-bottom: 1em; }
.recht a { color: var(--blau); }
.offen { background: #fff3a6; color: #5b4500; padding: 0 .25em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hinweis-entwurf { padding: 16px 18px; border-radius: 12px; background: #fffbe6; box-shadow: inset 0 0 0 1px #f1dd8a; color: #5b4500; margin-bottom: 18px; }

/* ---------- Fehlerseite / Danke ---------- */
.mitte-seite { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: clamp(56px, 9vw, 120px); }
.mitte-seite .stern-gross { width: 120px; height: 120px; margin: 0 auto 26px; }
.mitte-seite .lead { margin-inline: auto; }
.mitte-seite .knoepfe { justify-content: center; margin-top: 24px; }

/* ---------- Fuß ---------- */
.fuss { position: relative; background-color: var(--nacht); background-image: var(--rillen-dunkel); color: var(--text-hell-2); padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.fuss::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blau) 0 70%, var(--stern) 70% 100%); }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 44px; }
.fuss h2 { font-size: .82rem; font-stretch: 100%; font-weight: 750; letter-spacing: .16em; color: #fff; margin-bottom: 16px; }
.fuss ul { list-style: none; display: grid; gap: 9px; }
.fuss a { color: #dfe6f4; text-decoration: none; }
.fuss a:hover { color: var(--stern); text-decoration: underline; }
.fuss p { margin-top: 16px; max-width: 34ch; }
.fuss__tel b { display: block; color: #fff; font-weight: 700; }
.fuss__tel small { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.fuss__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid var(--linie-dunkel); font-size: .9rem; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 960px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss__raster { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile Aktionsleiste */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px -16px rgba(11, 22, 49, .5); transform: translateY(110%); transition: transform .35s var(--sanft); }
.leiste .knopf { flex: 1; min-height: 50px; padding-inline: .8em; font-size: .98rem; }
.leiste.ist-sichtbar { transform: none; }
[data-seite="termin"] .leiste .knopf:not(.knopf--rand) { display: none; }
@media (max-width: 767px) { .leiste { display: flex; } .fuss { padding-bottom: 80px; } }
@media (max-width: 359px) { .leiste .knopf--rand { flex: 0 0 54px; font-size: 0; gap: 0; } .leiste .knopf--rand svg { font-size: 1rem; } }

/* Druck */
@media print { .kopf, .infoleiste, .leiste, .mobil, .fuss .baumagnet { display: none !important; } .held, .seitenkopf, .dunkel, .fuss { background: #fff !important; color: #000 !important; } }
