/* === TOKENS === */
/* Vorlage night. --primary und --accent setzt spaeter der Server. */
:root {
  --primary: #7C3AED;
  --accent: #F2707F;
  --primary-dark: #5B21B6;
  --primary-soft: rgba(124,58,237,.20);
  --primary-glow: color-mix(in oklab, #7C3AED 45%, transparent);
  --on-primary: #FFFFFF;
  --accent-soft: color-mix(in oklab, #F2707F 16%, #FFFFFF);
  --on-accent: #1A1014;
  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, "Courier New", monospace;
  --r-s: 0px;
  --r-m: 0px;
  --r-l: 0px;
  --wrap: 1680px;
  --gutter: clamp(20px,5vw,72px);
  --pad: clamp(56px,8vw,112px);
}

/* === GRUND === */
/* Grundbibliothek. In allen zehn Vorlagen gleich benannt und gleich im
   Verhalten. Nur diese Klassen duerfen abschnittsuebergreifend benutzt
   werden: hh-wrap, hh-sec, hh-btn, hh-eyebrow, hh-lead, hh-pic, hh-chip,
   hh-field, hh-menu, hh-leer. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: #101828;
  background: #FFFFFF;
  text-wrap: pretty;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* height: auto ist Pflicht. Die Attribute width/height am <img> sind
   Darstellungshinweise; ohne diese Zeile bleibt die Hoehe aus dem Attribut
   stehen (Miniaturen wurden 1024px hoch) und aspect-ratio greift nicht. */
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: var(--link, var(--primary)); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-dark, var(--primary-dark)); }
:focus-visible { outline: 3px solid var(--text, #101828); outline-offset: 2px; border-radius: 2px; }

/* Ueberschriften brechen nie ueber den Rand: kein festes Mass, langes Wort
   umbricht, Zeilen werden ausgeglichen. */
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; text-wrap: balance; }
@media (max-width: 620px) { h1, h2, h3 { hyphens: auto; } }

.hh-sec {
  padding: var(--pad) 0;
  background: var(--flaeche);
  color: var(--text);
}
.hh-sec[data-tone="hell"] { --flaeche: #FFFFFF; --text: #101828; --text-2: #475467; --rand: #E4E7EC; }
.hh-sec[data-tone="dunkel"] { --flaeche: #0B0D12; --text: #FFFFFF; --text-2: #9AA3B2; --rand: rgba(255, 255, 255, .14); }

.hh-wrap {
  width: 100%;
  min-width: 0;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.hh-btn svg { width: 18px; height: 18px; flex: none; }
.hh-btn-primary { background: var(--primary); color: var(--on-primary); }
.hh-btn-primary:hover { background: var(--primary-dark); color: var(--on-primary); }
.hh-btn-ghost { background: transparent; color: var(--text); border-color: var(--rand); }
.hh-btn-ghost:hover { border-color: var(--text); color: var(--text); }

.hh-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hh-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-2);
  max-width: 62ch;
}

.hh-pic {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-m);
  background: color-mix(in oklab, var(--text) 6%, var(--flaeche));
}
.hh-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hh-pic[data-fit="contain"] { background: color-mix(in oklab, var(--text) 4%, var(--flaeche)); }
.hh-pic[data-fit="contain"] img { object-fit: contain; object-position: 50% 50%; padding: 7%; }

/* Fotos sitzen etwas oberhalb der Mitte, sonst wirken Fahrzeuge angeschnitten.
   Freigestellte Bilder (data-fit="contain") bleiben mittig. */
.hh-sec img { object-position: 50% 45%; }
.hh-sec [data-fit="contain"] img { object-position: 50% 50%; }

/* Leerzustand ohne Bild: ruhige Flaeche in Vorlagenfarbe, Fahrzeugsymbol,
   Modellname. Gleiche Hoehe wie die Bildrahmen daneben. */
.hh-leer {
  display: grid;
  place-content: center;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  text-align: center;
  background: color-mix(in oklab, var(--primary) 8%, var(--flaeche));
  color: var(--text-2);
}
.hh-leer > svg {
  width: clamp(20px, 26%, 52px);
  height: auto;
  aspect-ratio: 1;
  opacity: .55;
  stroke: currentColor;
}
.hh-leer > span {
  max-width: 92%;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .06em;
  color: var(--text-2);
}

.hh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--rand);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-2);
  white-space: nowrap;
}
.hh-chip svg { width: 14px; height: 14px; flex: none; }

.hh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hh-field label { font-size: 14px; font-weight: 600; color: var(--text); }
.hh-field input, .hh-field select, .hh-field textarea {
  min-height: 48px;
  max-width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--rand);
  border-radius: var(--r-s);
  font: inherit;
  color: var(--text);
  background: var(--flaeche);
}

/* Klappmenue fuers Handy. Ohne Skript, ueber <details>. Der Kopf zeigt
   entweder die Reihe (ab 1121px) oder diesen Knopf. */
.hh-menu { display: none; }
.hh-menu > summary { list-style: none; }
.hh-menu > summary::-webkit-details-marker { display: none; }
.hh-menu > summary::marker { content: ""; }
@media (max-width: 1120px) {
  header.hh-sec .bar { position: relative; }
  .hh-menu { display: block; position: static; flex: none; margin-left: auto; }
  .hh-menu > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    min-width: 48px;
    padding: 0 15px;
    border: 1px solid var(--rand);
    border-radius: var(--r-m);
    background: transparent;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .hh-menu > summary svg { width: 19px; height: 19px; flex: none; stroke: currentColor; }
  .hh-menu > summary > span { display: flex; align-items: center; flex: none; }
  .hh-menu > summary .hh-menu-zu { display: none; }
  .hh-menu[open] > summary .hh-menu-auf { display: none; }
  .hh-menu[open] > summary .hh-menu-zu { display: flex; }
  .hh-menu[open] > summary { border-color: var(--text); }
  /* Das Blatt haengt an der Kopfzeile, nicht am Knopf: so kann es nie
     ueber den linken Rand hinauslaufen. */
  .hh-menu-blatt {
    position: absolute;
    z-index: 70;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 10px);
    width: auto;
    padding: 10px;
    border: 1px solid var(--rand);
    border-radius: var(--r-m);
    background: var(--flaeche);
    box-shadow: 0 26px 60px -28px rgba(0, 0, 0, .55);
  }
  .hh-menu-blatt ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .hh-menu-blatt a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--r-s);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    color: var(--text);
  }
  .hh-menu-blatt a:hover { background: color-mix(in oklab, var(--text) 8%, var(--flaeche)); color: var(--text); }
  .hh-menu-blatt .hh-menu-ruf { margin-top: 4px; border-top: 1px solid var(--rand); border-radius: 0 0 var(--r-s) var(--r-s); font-family: var(--mono); font-size: 14px; letter-spacing: .04em; }
  .hh-menu-blatt .hh-menu-ruf svg { width: 17px; height: 17px; flex: none; stroke: currentColor; }
  .hh-menu-blatt .hh-menu-knopf { display: none; }
}
@media (max-width: 560px) {
  .hh-menu > summary { padding: 0 13px; }
  .hh-menu > summary .hh-menu-wort { display: none; }
}

/* Handy: jedes Klickziel mindestens 44px hoch, mindestens 8px Abstand. */
@media (max-width: 900px) {
  header.hh-sec nav a,
  header.hh-sec .marke,
  header.hh-sec .ruf,
  header.hh-sec .schiene a,
  footer.hh-sec a,
  .hh-sec dd > a,
  .hh-sec .nummer,
  .hh-sec .nummer a,
  .hh-sec .weiter,
  .hh-sec .mehr,
  .hh-sec .wege a,
  .hh-sec .zurueck,
  .hh-sec .hh-brotkrumen a,
  .hh-klasse-kopf .hh-brotkrumen a,
  .hh-klasse-kopf .hh-klassen a,
  .hh-sec .hh-klassen a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  header.hh-sec nav ul,
  footer.hh-sec ul { gap: 4px 20px; }
  footer.hh-sec .hh-made a { display: inline; min-height: 0; }
  .hh-sec button { min-height: 44px; }
  .hh-sec label:has(> input[type="checkbox"]),
  .hh-sec label:has(> input[type="radio"]) { display: inline-flex; align-items: center; min-height: 44px; }
  .hh-sec input[type="checkbox"],
  .hh-sec input[type="radio"] { width: 22px; height: 22px; }
}

/* Marke, Menue und ein Textknopf passen auf schmalen Geraeten nicht
   nebeneinander: der Knopf steht dann oben im Klappmenue. */
@media (max-width: 620px) {
  header.hh-sec .hh-kopfknopf { display: none; }
  header.hh-sec .marke { min-width: 0; }
  header.hh-sec .marke > span { min-width: 0; }
  header.hh-sec .marke img { max-width: 88px; }
  .hh-menu-blatt .hh-menu-knopf { display: flex; justify-content: center; margin-bottom: 6px; background: var(--primary); color: var(--on-primary); font-weight: 600; }
  .hh-menu-blatt .hh-menu-knopf:hover { background: var(--primary-dark); color: var(--on-primary); }
}

/* Feste Leisten am unteren Rand: Platz fuer die Geste unter dem Bildschirm. */
html .hh-pille { bottom: max(12px, env(safe-area-inset-bottom)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* === ABSCHNITT nav | VARIANTE nav-night === */
.nav-night { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 0; background: transparent; transition: background-color .3s ease, padding .3s ease; }
.nav-night[data-fest="ja"] { background: color-mix(in oklab, #05070B 86%, transparent); backdrop-filter: blur(12px); }
.nav-night .bar { display: flex; align-items: center; gap: 20px; min-height: 72px; padding-block: 14px; }
.nav-night .marke { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.nav-night .marke img { height: 22px; width: auto; }
.nav-night .sprung { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-night .sprung a { position: relative; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); text-decoration: none; }
.nav-night .sprung a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--accent); transition: right .3s ease; }
.nav-night .sprung a:hover { color: var(--text); }
.nav-night .sprung a:hover::after { right: 0; }
.nav-night .ruf { border: 1px solid var(--rand); background: transparent; color: var(--text); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.nav-night .ruf:hover { border-color: var(--text); color: var(--text); }
@media (max-width: 1120px) { .nav-night nav { display: none; } }
@media (max-width: 620px) { .nav-night .marke { font-size: 11px; letter-spacing: .1em; } .nav-night .marke img { height: 18px; } .nav-night .ruf { width: 48px; min-width: 48px; padding: 10px; font-size: 0; } .nav-night .ruf svg { width: 20px; height: 20px; } }
.nav-night .marke { min-height: 44px; }
/* Die Kopfzeile liegt fest ueber dem Inhalt: Klassen- und Staedteseiten
   brauchen denselben Vorlauf wie Detail-, Rechts- und Fehlerseiten. */
.nav-night ~ main .hh-klasse-kopf, .nav-night ~ .hh-klasse-kopf { padding-top: calc(76px + clamp(24px,3vw,44px)); }
/* === ENDE nav-night === */

/* === ABSCHNITT hero | VARIANTE hero-night === */
.hero-night { position: relative; padding: 0; min-height: min(100svh, 860px); display: grid; align-items: end; overflow: hidden; }
.hero-night .bild { position: absolute; inset: 0; }
.hero-night .bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.06); }
[data-bewegt="ja"] .hero-night .bild img { animation: hero-night-fahrt 26s ease-out both; }
@keyframes hero-night-fahrt { from { transform: scale(1.16) translate3d(0,2%,0); } to { transform: scale(1.02) translate3d(0,0,0); } }
.hero-night .schleier { position: absolute; inset: 0; background:
  linear-gradient(180deg, color-mix(in oklab, var(--flaeche) 80%, transparent) 0%, transparent 32%),
  linear-gradient(0deg, var(--flaeche) 6%, color-mix(in oklab, var(--flaeche) 78%, transparent) 44%, color-mix(in oklab, var(--flaeche) 22%, transparent) 74%, transparent 92%); }
.hero-night .netz { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 25% 100%; }
.hero-night .buehne { position: relative; padding-block: clamp(104px,13vw,150px) clamp(28px,4vw,52px); }
.hero-night .aufmacher { display: grid; gap: clamp(24px,3.4vw,40px); }
.hero-night h1 { margin: 0; max-width: 20ch; font-size: clamp(30px,6.4vw,88px); line-height: 1.0; letter-spacing: -.035em; font-weight: 800; text-transform: uppercase; color: var(--text); }
[data-bewegt="ja"] .hero-night h1 { clip-path: inset(0 0 100% 0); animation: hero-night-aufdecken 1.1s cubic-bezier(.16,1,.3,1) .15s both; }
@keyframes hero-night-aufdecken { to { clip-path: inset(0 0 -12% 0); } }
/* Die Angaben liegen auf dem Bild: eigene Flaeche, damit sie lesbar sind. */
.hero-night .kante { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px clamp(20px,3vw,44px); margin: 0; padding: clamp(16px,2vw,22px) clamp(18px,2.4vw,26px); border: 1px solid var(--rand); background: color-mix(in oklab, #05070B 76%, transparent); backdrop-filter: blur(10px); }
.hero-night .kante dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.hero-night .kante dd { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.hero-night .kante dd a { color: var(--text); text-decoration: none; }
.hero-night .kante dd a:hover { color: var(--accent); }
.hero-night .fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(26px,3.4vw,44px); padding-top: 22px; border-top: 1px solid var(--rand); }
.hero-night .hh-lead { margin: 0; flex: 1 1 300px; max-width: 46ch; }
.hero-night .weiter { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); text-decoration: none; }
.hero-night .weiter svg { width: 16px; height: 16px; }
[data-bewegt="ja"] .hero-night .weiter svg { animation: hero-night-tippen 2.4s ease-in-out infinite; }
@keyframes hero-night-tippen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero-night .weiter:hover { color: var(--text); }
.hero-night .hh-btn-primary { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
@media (max-width: 620px) { .hero-night { min-height: min(94svh, 720px); } .hero-night .kante dd { font-size: 14.5px; } }
/* === ENDE hero-night === */

/* === ABSCHNITT search | VARIANTE search-night === */
.search-night { padding-block: var(--pad); }
.search-night .zeile { display: grid; grid-template-columns: minmax(0,.44fr) minmax(0,1fr); gap: clamp(24px,4vw,72px); align-items: start; }
.search-night .text h2 { margin: 12px 0 14px; font-size: clamp(24px,3vw,44px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.search-night .text .hh-lead { margin: 0; font-size: clamp(16px,1.3vw,19px); color: var(--text-2); }
.search-night .text .ruf { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--rand); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.search-night .text .ruf a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rand); }
.search-night .text .ruf a:hover { color: var(--accent); border-color: var(--accent); }
.search-night .kal { margin-block: 0; padding: clamp(18px,2.4vw,30px); border: 1px solid var(--rand); border-radius: 0; background: color-mix(in oklab, #FFFFFF 5%, var(--flaeche)); gap: clamp(16px,2vw,22px); }
.search-night .kal .navi p { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.search-night .kal .navi button { border-radius: 0; border-color: var(--rand); color: var(--text); }
.search-night .kal .navi button:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.search-night .kal thead th { color: var(--text-2); }
.search-night .kal .monat .titel { color: var(--text-2); }
.search-night .kal td button { min-height: 44px; border-radius: 0; }
.search-night .kal td:not(.anfang):not(.ende) button:hover { background: rgba(255,255,255,.10); }
.search-night .kal td.gewaehlt, .search-night .kal td[data-ahnung] { background: rgba(255,255,255,.10); }
.search-night .kal td.anfang button, .search-night .kal td.ende button { background: var(--primary); color: var(--on-primary); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.62); }
.search-night .kal td.belegt button { color: var(--text-2); }
.search-night .kal .hh-field label { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.search-night .kal .hh-field select { border-radius: 0; border-color: var(--rand); background: color-mix(in oklab, #FFFFFF 9%, var(--flaeche)); color: var(--text); }
.search-night .kal option { background: #0B0D12; color: #FFFFFF; }
.search-night .kal .ergebnis { border-top: 1px solid var(--rand); color: var(--text-2); }
.search-night .kal .ergebnis strong { color: var(--text); }
.search-night .kal .knopf .hh-btn { border-radius: 0; }
.search-night .kal .knopf .hh-btn-primary { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.42); }
.search-night .kal .knopf .hh-btn-primary:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
@media (max-width: 900px) { .search-night .zeile { grid-template-columns: minmax(0,1fr); gap: clamp(22px,4vw,34px); } }
@media (max-width: 560px) {
  .search-night .kal .zeiten { grid-template-columns: minmax(0,1fr); }
  .search-night .kal .knopf .hh-btn { width: 100%; }
}
/* === ENDE search-night === */

/* === ABSCHNITT fleet | VARIANTE fleet-night === */
.fleet-night { padding-block: var(--pad) 0; }
.fleet-night .kopf { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px clamp(20px,3vw,44px); align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--rand); }
.fleet-night h2 { margin: 10px 0 0; font-size: clamp(26px,3.4vw,54px); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.fleet-night .fuehrung { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.7; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); text-align: right; }
/* Raster statt waagerechtem Schieber: alles erreichbar, keine leeren Flaechen. */
.fleet-night .rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(28px,3vw,44px); padding-top: clamp(28px,3.4vw,44px); }
.fleet-night .tafel { display: grid; grid-template-rows: auto auto 1fr; gap: 16px; padding-bottom: clamp(26px,3vw,36px); border-bottom: 1px solid var(--rand); }
.fleet-night .zaehler { display: flex; align-items: baseline; gap: 7px; margin: 0; font-family: var(--mono); color: var(--text-2); }
.fleet-night .zaehler span { font-size: 20px; line-height: 1; color: var(--text); }
.fleet-night .zaehler i { font-style: normal; font-size: 11px; letter-spacing: .12em; }
.fleet-night .bild { position: relative; aspect-ratio: 4/3; overflow: hidden; background: color-mix(in oklab, var(--text) 7%, var(--flaeche)); }
.fleet-night .bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.fleet-night .bild[data-fit="contain"] img { object-fit: contain; object-position: 50% 50%; padding: 6%; }
.fleet-night .tafel:hover .bild img { transform: scale(1.05); }
.fleet-night .text { display: grid; align-content: start; }
.fleet-night .marke { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.fleet-night .text h3 { margin: 10px 0 0; font-size: clamp(21px,1.9vw,28px); line-height: 1.12; letter-spacing: -.025em; color: var(--text); }
.fleet-night .werte { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin: clamp(18px,2vw,26px) 0 0; }
.fleet-night .werte > div { padding: 12px 14px; background: var(--flaeche); box-shadow: 0 0 0 1px var(--rand); }
.fleet-night .werte dt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.fleet-night .werte dd { margin: 7px 0 0; font-family: var(--mono); font-size: 19px; line-height: 1; color: var(--text); }
.fleet-night .werte dd i { font-style: normal; font-size: 11px; letter-spacing: .06em; color: var(--text-2); margin-left: 5px; }
.fleet-night .unten { display: grid; gap: 14px; margin-top: clamp(18px,2vw,26px); }
.fleet-night .preis { margin: 0; font-size: clamp(22px,2vw,28px); font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.fleet-night .preis i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--text-2); margin-left: 10px; }
.fleet-night .aktion { display: flex; flex-wrap: wrap; gap: 10px; }
.fleet-night .aktion .hh-btn { flex: 1 1 140px; }
@media (max-width: 760px) {
  .fleet-night .kopf { grid-template-columns: minmax(0,1fr); }
  .fleet-night .fuehrung { text-align: left; }
}
/* === ENDE fleet-night === */

/* === ABSCHNITT terms | VARIANTE terms-night === */
.terms-night { padding-block: var(--pad); }
.terms-night .zeile { display: grid; grid-template-columns: minmax(0,.42fr) minmax(0,1fr); gap: clamp(24px,4vw,72px); }
.terms-night h2 { margin: 10px 0 0; font-size: clamp(24px,3vw,44px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.terms-night dl { margin: 0; }
.terms-night .punkt { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 24px; padding-block: 22px; border-top: 1px solid var(--rand); }
.terms-night .punkt:last-child { border-bottom: 1px solid var(--rand); }
.terms-night dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); padding-top: 4px; }
.terms-night dd { margin: 0; font-size: clamp(16px,1.4vw,19px); color: var(--text); }
@media (max-width: 900px) { .terms-night .zeile { grid-template-columns: minmax(0,1fr); } .terms-night .punkt { grid-template-columns: minmax(0,1fr); gap: 8px; } }
/* === ENDE terms-night === */

/* === ABSCHNITT about | VARIANTE about-night === */
.about-night { padding-block: 0 var(--pad); }
.about-night .satz { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,72px); align-items: start; }
.about-night .rahmen { position: sticky; top: 96px; aspect-ratio: 3/4; overflow: hidden; background: color-mix(in oklab, var(--text) 7%, var(--flaeche)); }
.about-night .rahmen img { width: 100%; height: 100%; object-fit: cover; }
.about-night h2 { margin: 10px 0 24px; font-size: clamp(24px,3vw,44px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.about-night .text p { margin: 0 0 20px; max-width: 52ch; font-size: clamp(16px,1.4vw,19px); color: var(--text-2); }
.about-night .text p:first-of-type { font-size: clamp(19px,1.9vw,26px); line-height: 1.42; color: var(--text); }
@media (max-width: 900px) { .about-night .satz { grid-template-columns: minmax(0,1fr); } .about-night .rahmen { position: static; aspect-ratio: 16/10; } }
/* === ENDE about-night === */

/* === ABSCHNITT faq | VARIANTE faq-night === */
.faq-night { padding-block: 0 var(--pad); }
.faq-night h2 { margin: 10px 0 clamp(24px,3vw,44px); font-size: clamp(24px,3vw,44px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.faq-night details { border-top: 1px solid var(--rand); }
.faq-night details:last-of-type { border-bottom: 1px solid var(--rand); }
.faq-night summary { display: grid; grid-template-columns: 56px minmax(0,1fr) 32px; align-items: baseline; gap: 16px; padding: 26px 0; font-size: clamp(17px,1.7vw,23px); letter-spacing: -.015em; color: var(--text); cursor: pointer; list-style: none; }
.faq-night summary::-webkit-details-marker { display: none; }
.faq-night summary .nr { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--text-2); }
.faq-night summary .zeichen { font-family: var(--mono); font-size: 22px; color: var(--accent); text-align: right; transition: transform .3s ease; }
.faq-night details[open] summary .zeichen { transform: rotate(45deg); }
.faq-night details p { margin: -6px 0 28px; padding-left: 72px; max-width: 62ch; color: var(--text-2); }
@media (max-width: 620px) { .faq-night summary { grid-template-columns: minmax(0,1fr) 28px; } .faq-night summary .nr { display: none; } .faq-night details p { padding-left: 0; } }
/* === ENDE faq-night === */

/* === ABSCHNITT contact | VARIANTE contact-night === */
.contact-night { padding-block: var(--pad); border-top: 1px solid var(--rand); }
.contact-night .oben { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.contact-night .nummer { display: block; margin: clamp(16px,2vw,28px) 0 0; font-size: clamp(30px,6.4vw,92px); line-height: 1.0; letter-spacing: -.04em; font-weight: 800; color: var(--text); text-decoration: none; }
.contact-night .nummer:hover { color: var(--accent); }
.contact-night dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 28px; margin: clamp(32px,4vw,56px) 0 0; padding-top: 28px; border-top: 1px solid var(--rand); }
.contact-night dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.contact-night dd { margin: 8px 0 0; font-size: 16px; color: var(--text); }
.contact-night dd a { color: var(--text); }
/* === ENDE contact-night === */

/* === ABSCHNITT footer | VARIANTE footer-night === */
.footer-night { padding: clamp(28px,3vw,44px) 0; border-top: 1px solid var(--rand); }
.footer-night .zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.footer-night .name { margin-right: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.footer-night ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-night a { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); text-decoration: none; }
.footer-night a:hover { color: var(--text); }
.footer-night .klein { margin: 18px 0 0; font-family: var(--mono); font-size: 11px; color: var(--text-2); }
/* === ENDE footer-night === */

/* === ABSCHNITT erscheinen | VARIANTE erscheinen-night === */
/* Nur wirksam, wenn das Skript laeuft und Bewegung erlaubt ist. */
[data-bewegt="ja"] .fleet-night [data-erscheint],
[data-bewegt="ja"] .terms-night [data-erscheint],
[data-bewegt="ja"] .about-night [data-erscheint],
[data-bewegt="ja"] .faq-night [data-erscheint],
[data-bewegt="ja"] .contact-night [data-erscheint] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-bewegt="ja"] .fleet-night [data-sichtbar="ja"],
[data-bewegt="ja"] .terms-night [data-sichtbar="ja"],
[data-bewegt="ja"] .about-night [data-sichtbar="ja"],
[data-bewegt="ja"] .faq-night [data-sichtbar="ja"],
[data-bewegt="ja"] .contact-night [data-sichtbar="ja"] { opacity: 1; transform: none; }
/* === ENDE erscheinen-night === */

/* === ABSCHNITT detail | VARIANTE detail-night === */
.detail-night { padding-top: calc(76px + clamp(24px,3vw,44px)); }
.detail-night .zurueck { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); text-decoration: none; }
.detail-night .zurueck svg { width: 16px; height: 16px; }
.detail-night .zurueck:hover { color: var(--text); }
.detail-night .oben { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(24px,4vw,56px); margin-top: 20px; align-items: start; }
.detail-night h1 { margin: 10px 0 0; font-size: clamp(26px,3.2vw,42px); line-height: 1.08; letter-spacing: -.025em; color: var(--text); }
.detail-night .gross { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-l); background: color-mix(in oklab, var(--text) 7%, var(--flaeche)); }
.detail-night .gross img { width: 100%; height: 100%; object-fit: cover; }
.detail-night .streifen { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.detail-night .streifen button { padding: 0; border: 1px solid var(--rand); border-radius: var(--r-s); background: none; overflow: hidden; cursor: pointer; }
.detail-night .streifen button[aria-current="true"] { border-color: var(--primary); border-width: 2px; }
.detail-night .streifen img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: color-mix(in oklab, var(--text) 7%, var(--flaeche)); }
.detail-night .daten { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.detail-night .seite { position: sticky; top: 96px; display: grid; gap: 14px; padding: 22px; border: 1px solid var(--rand); border-radius: var(--r-l); background: var(--flaeche); }
.detail-night .seite .von { margin: 0; font-size: 25px; font-weight: 700; color: var(--text); }
.detail-night .seite .von .titel { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.detail-night .seite p { margin: 0; font-size: 14px; color: var(--text-2); }
.detail-night .bloecke { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(22px,3vw,44px); margin-top: clamp(36px,5vw,68px); }
.detail-night h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.015em; color: var(--text); }
.detail-night table { width: 100%; border-collapse: collapse; }
.detail-night caption { text-align: left; }
.detail-night th, .detail-night td { padding: 11px 0; text-align: left; font-size: 15px; border-bottom: 1px solid var(--rand); vertical-align: top; }
.detail-night th { font-weight: 500; color: var(--text-2); }
.detail-night td { font-family: var(--mono); font-size: 14px; text-align: right; color: var(--text); }
.detail-night .weitere { margin-top: clamp(40px,5vw,76px); }
.detail-night .weitere .reihe { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.detail-night .weitere .karte { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--rand); border-radius: var(--r-l); }
.detail-night .weitere .bild { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-m); background: color-mix(in oklab, var(--text) 7%, var(--flaeche)); }
.detail-night .weitere .bild img { width: 100%; height: 100%; object-fit: cover; }
.detail-night .weitere .bild.leer { display: grid; place-items: center; }
.detail-night .weitere .bild.leer span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: none; color: var(--text-2); }
.detail-night .weitere h3 { margin: 0; font-size: 16px; line-height: 1.3; color: var(--text); }
.detail-night .weitere .preis { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--text-2); }
@media (max-width: 940px) {
  .detail-night .oben { grid-template-columns: minmax(0,1fr); }
  .detail-night .seite { position: static; }
  .detail-night .bloecke { grid-template-columns: minmax(0,1fr); }
  .detail-night .weitere .reihe { grid-template-columns: minmax(0,1fr); }
}
.detail-night h1, .detail-night h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -.035em; }
.detail-night .hh-btn-primary { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
/* === ENDE detail-night === */

/* === ABSCHNITT legal | VARIANTE legal-night === */
.legal-night .lesetext { max-width: 70ch; }
.legal-night h1 { margin: 10px 0 26px; font-size: clamp(26px,3vw,38px); letter-spacing: -.025em; color: var(--text); }
.legal-night h2 { margin: 46px 0 18px; font-size: clamp(21px,2.2vw,27px); letter-spacing: -.015em; color: var(--text); }
.legal-night h3 { margin: 30px 0 12px; font-size: 18px; color: var(--text); }
.legal-night p { margin: 0 0 14px; color: var(--text-2); }
.legal-night dl { display: grid; gap: 12px; margin: 0 0 14px; }
.legal-night dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.legal-night dd { margin: 4px 0 0; color: var(--text); }
.legal-night ul { margin: 0 0 14px; padding-left: 22px; color: var(--text-2); }
.legal-night li { margin-bottom: 8px; }
.legal-night h1, .legal-night h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -.035em; }
.legal-night .hh-btn-primary { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.legal-night { padding-top: calc(76px + clamp(24px,3vw,44px)); }
/* === ENDE legal-night === */

/* === ABSCHNITT error | VARIANTE error-night === */
.error-night { padding: clamp(60px,10vw,132px) 0; }
.error-night .mitte { max-width: 52ch; }
.error-night .code { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.error-night h1 { margin: 14px 0 14px; font-size: clamp(28px,4vw,46px); line-height: 1.08; letter-spacing: -.03em; color: var(--text); }
.error-night p { margin: 0; color: var(--text-2); }
.error-night .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.error-night h1, .error-night h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -.035em; }
.error-night .hh-btn-primary { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.error-night { padding-top: calc(76px + clamp(40px,8vw,110px)); }
/* === ENDE error-night === */

/* === ABSCHNITT leerzustand | VARIANTE leer-night === */
.leer-night .kasten { display: grid; gap: 14px; justify-items: start; padding: clamp(24px,4vw,44px); border: 1px dashed var(--rand); border-radius: var(--r-l); }
.leer-night .kasten p { margin: 0; max-width: 52ch; color: var(--text-2); }
.leer-night h2 { margin: 10px 0 18px; font-size: clamp(22px,2.4vw,32px); letter-spacing: -.02em; color: var(--text); }
.leer-night h1, .leer-night h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -.035em; }
.leer-night dl { display: grid; gap: 18px; margin: 22px 0 0; }
.leer-night dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.leer-night dd { margin: 6px 0 0; font-size: 16.5px; color: var(--text); }
.leer-night dd a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rand); }
.leer-night dd a:hover { border-color: var(--text); }
.leer-night .hh-btn-primary { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.leer-night { padding-top: calc(76px + clamp(24px,3vw,44px)); }
/* === ENDE leer-night === */


/* === HYGHHOSTING ZUSATZ === */
.hh-made { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--text-2); }
.hh-made a { color: inherit; }
[data-fit="contain"] { background: color-mix(in oklab, var(--text, #101828) 4%, var(--flaeche, #FFFFFF)); }
[data-fit="contain"] img { object-fit: contain; padding: 6%; }
html[data-ruhig] [data-erscheint] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
html[data-ruhig] * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
.hh-draftbar { position: sticky; top: 0; z-index: 90; background: #111827; color: #FFFFFF; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; padding: 9px var(--gutter); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hh-draftbar b { padding: 2px 8px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hh-draftbar a { color: #FFFFFF; }
[data-hh-frei] { position: relative; }
[data-hh-frei]::before { content: attr(data-hh-frei); position: absolute; z-index: 3; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
[data-hh-frei="belegt"] { opacity: .55; }
[data-hh-frei="belegt"]::before { background: color-mix(in oklab, var(--text, #101828) 70%, var(--flaeche, #FFFFFF)); color: var(--flaeche, #FFFFFF); }
[data-hh-kalender] table { width: 100%; table-layout: fixed; border-collapse: collapse; }
[data-hh-kalender] td.leer button { visibility: hidden; }
[data-hh-kalender] td button[disabled] { cursor: not-allowed; }
[data-hh-kalender] td.vergangen button { color: var(--text-2); opacity: .45; cursor: not-allowed; }
[data-hh-zustand] { display: none; }
[data-hh-zustand][data-an] { display: grid; }
.hh-schritt { display: none; }
.hh-schritt[data-an] { display: block; }
html.hh-js .hh-nur-ohne-js { display: none; }
.hh-pille { display: none; }
@media (max-width: 940px) {
  .hh-pille { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--rand, #E4E7EC); border-radius: 999px; background: var(--flaeche, #FFFFFF); color: var(--text, #101828); box-shadow: 0 18px 40px -22px rgba(16,24,40,.5); font: inherit; cursor: pointer; }
  .hh-pille strong { font-size: 18px; }
  .hh-pille span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #475467); }
}
.hh-honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hh-feld-fehler { font-size: 13.5px; color: var(--accent); margin-top: 4px; }
[aria-invalid="true"] { border-color: var(--accent) !important; }
.hh-schritt-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hh-sende-fehler { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); font-size: 14.5px; }
.hh-klassen { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.hh-klassen a { font-size: 13.5px; color: var(--text-2); }
.hh-klassen a:hover { color: var(--text); }
.hh-klasse-kopf { padding: clamp(40px,6vw,88px) 0 clamp(8px,2vw,24px); }
.hh-klasse-kopf h1 { margin: 8px 0 12px; font-size: clamp(30px,4.4vw,56px); letter-spacing: -.03em; line-height: 1.05; color: var(--text); }
.hh-klasse-kopf p { max-width: 68ch; color: var(--text-2); }
.hh-klasse-kopf .hh-brotkrumen { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.hh-klasse-kopf .hh-brotkrumen a { color: inherit; }
.hh-leer-hinweis { padding: 24px; border: 1px dashed var(--rand); border-radius: var(--r-m); color: var(--text-2); }
.hh-fahrzeugwahl { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.hh-fahrzeugwahl li { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--rand); border-radius: var(--r-m); }
.hh-fahrzeugwahl input { width: 18px; height: 18px; accent-color: var(--primary); }
.hh-fahrzeugwahl strong { display: block; font-size: 15.5px; color: var(--text); }
.hh-fahrzeugwahl span { font-size: 14px; color: var(--text-2); }
.hh-fahrzeugwahl .preis { font-family: var(--mono); font-size: 14px; color: var(--text); white-space: nowrap; }
.hh-vorschlaege { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.hh-vorschlaege button { display: flex; justify-content: space-between; gap: 14px; width: 100%; padding: 12px 16px; border: 1px solid var(--rand); border-radius: var(--r-m); background: transparent; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; text-align: left; }
.hh-vorschlaege button:hover { border-color: var(--primary); }
.hh-vorschlaege .frei { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
[hidden] { display: none !important; }
.hh-feld-hilfe { display: block; font-size: 13px; color: var(--text-2); margin-top: 4px; }
.hh-fahrzeugwahl label { display: block; cursor: pointer; }
.hh-fahrzeugwahl span { display: block; }
.hh-schritt[data-an] { animation: none; }
[data-hh-fortschritt] li.erledigt { opacity: .7; }
[data-hh-fortschritt] li.erledigt .nr { color: var(--text-2); }
.hh-klasse-kopf .hh-klassen { margin-top: 18px; }
.hh-sec[data-hh-buchung] .karte[data-hh-zustand] { margin-top: 18px; }
.hh-klasse-kopf + .hh-sec { padding-top: 0; }
