/* ================================================================
   LokStar GmbH – Webseite V2 (14.10.2026): Stil „Abfahrt“, kompakter, mit Videos
   CI (LokStar – Verbindliche CI): Bordeaux #8B0000, Tiefschwarz #171616,
   Weiß #FFFFFF, Dunkelgrau #444443. Keine Fremdfarben.
   Schrift: Futura laut CI – hier „Jost“ (freie Futura-Nachbildung,
   SIL OFL), selbst gehostet. Hell/Dunkel über html[data-thema].
   ================================================================ */

@font-face { font-family: "Jost"; src: url("../schrift/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../schrift/jost-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ci-rot: #8B0000;
  --ci-schwarz: #171616;
  --ci-grau: #444443;
  --rot-hover: #a80f0f;
  --nacht: #0f0e0e;              /* noch tiefer als CI-Schwarz, nur für Bühne, Tafel und Fuß */

  /* dunkel (Standard) */
  --grund: #171616;
  --grund-2: #121111;
  --flaeche: #1f1d1d;
  --linie: rgba(255,255,255,.12);
  --linie-stark: rgba(255,255,255,.22);
  --text: #ffffff;
  --text-2: rgba(255,255,255,.74);
  --text-3: rgba(255,255,255,.5);
  --text-leise: rgba(255,255,255,.16);
  /* Rote Schrift auf Schwarz: #8B0000 hätte nur 2,3:1 Kontrast – gleicher Farbton, heller */
  --rot-schrift: #d42a2a;
  --schatten: 0 30px 60px -30px rgba(0,0,0,.85);
  color-scheme: dark;

  --rand: clamp(20px, 4vw, 56px);
  --breite: 1480px;
  --weich: cubic-bezier(.2,.8,.2,1);
}
html[data-thema="hell"] {
  --grund: #f3f1ee;
  --grund-2: #e9e6e2;
  --flaeche: #ffffff;
  --linie: rgba(23,22,22,.12);
  --linie-stark: rgba(23,22,22,.24);
  --text: #171616;
  --text-2: #444443;
  --text-3: #6b6866;
  --text-leise: rgba(23,22,22,.14);
  --rot-schrift: #8B0000;
  --schatten: 0 30px 60px -34px rgba(23,22,22,.4);
  color-scheme: light;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  font-size: 1rem; font-weight: 400; line-height: 1.62;
  overflow-x: clip; transition: background-color .4s ease, color .4s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--ci-rot); color: #fff; }
:focus-visible { outline: 2px solid var(--rot-schrift); outline-offset: 4px; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 10px; z-index: 999; background: var(--ci-rot); color: #fff; padding: 10px 16px; }
.springen:focus { left: 10px; }
.innen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.abschnitt { padding-block: clamp(52px, 6vw, 96px); position: relative; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* ---------- Schrift ---------- */
.kicker {
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-3); margin: 0 0 .9rem;
}
.kicker-stern { color: var(--rot-schrift); }
h1, h2, h3 { margin: 0; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; }
.riesig { font-size: clamp(2.3rem, 5vw, 5.2rem); line-height: .98; margin-bottom: clamp(14px, 1.6vw, 24px); }
.riesig.mittel { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.gross { font-size: clamp(1.55rem, 2.4vw, 2.5rem); line-height: 1.06; }
h1 em, h2 em { font-style: italic; color: var(--rot-schrift); }
.buehne h1 em, .einladung h2 em, .tafel h2 em { color: #e23a3a; }
.kopfzeile { margin-bottom: clamp(22px, 2.8vw, 40px); max-width: 62rem; }
.kopfzeile-zeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.6vw, 36px); }

/* ---------- Knöpfe ---------- */
.knopf {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .8em;
  padding: .9em 2em .9em 1.5em; border: 0;
  background: var(--ci-rot); color: #fff; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 700; font-style: italic; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: color .35s;
}
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateX(-101%); transition: transform .45s var(--weich); }
.knopf:hover { color: var(--ci-schwarz); }
.knopf:hover::before { transform: none; }
.knopf svg { width: 1.2em; height: 1.2em; transition: transform .35s var(--weich); }
.knopf:hover svg { transform: translateX(5px); }
.knopf.geist { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); color: #fff; clip-path: none; padding-right: 1.5em; }
html[data-thema="hell"] .evu .knopf.geist { box-shadow: inset 0 0 0 1.5px var(--linie-stark); color: var(--text); }
.knopf.klein { padding: .72em 1.5em .72em 1.1em; font-size: .74rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--ci-rot); padding-bottom: 4px; }
.textlink svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--weich); }
.textlink:hover svg, .flagge:hover .textlink svg { transform: translateX(5px); }
.rundschalter {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.rundschalter:hover { background: var(--ci-rot); border-color: var(--ci-rot); color: #fff; }
.rundschalter svg { width: 20px; height: 20px; }
.rundschalter.hell-rand { color: var(--text); border-color: var(--linie-stark); background: transparent; }
.rundschalter.hell-rand:hover { color: #fff; background: var(--ci-rot); border-color: var(--ci-rot); }
.rundschalter .sonne, html[data-thema="hell"] .rundschalter .mond { display: none; }
html[data-thema="hell"] .rundschalter .sonne { display: block; }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background-color .4s, transform .5s var(--weich); }
.kopf-innen { width: min(1480px, 100% - 2 * var(--rand)); margin-inline: auto; display: flex; align-items: center; gap: 28px; height: 74px; transition: height .4s var(--weich); }
.kopf.gescrollt { background: rgba(15,14,14,.84); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.kopf.gescrollt .kopf-innen { height: 62px; }
.kopf.weg { transform: translateY(-100%); }
.marke { position: relative; z-index: 2; }
.marke img { height: 24px; width: auto; }
.menue { margin-inline: auto; display: flex; gap: 6px; }
.menue a { position: relative; padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78); transition: color .25s; }
.menue a .nr { display: none; }
.menue a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--ci-rot); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--weich); }
.menue a:hover, .menue a[aria-current="page"] { color: #fff; }
.menue a:hover::after, .menue a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.kopf-rechts { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .35s var(--weich), top .35s var(--weich); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 24px; }
.offen .burger i:first-child { top: 20px; transform: rotate(45deg); }
.offen .burger i:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .kopf-knopf { display: none; }
  .kopf-rechts { margin-left: auto; position: relative; z-index: 2; }
  .menue {
    position: fixed; inset: 0; z-index: 1; margin: 0; padding: 120px var(--rand) 40px;
    flex-direction: column; gap: 0; background: var(--nacht);
    clip-path: circle(0 at calc(100% - 46px) 44px); transition: clip-path .7s var(--weich), visibility 0s .7s; visibility: hidden;
  }
  .kopf.offen .menue { clip-path: circle(150% at calc(100% - 46px) 44px); visibility: visible; transition: clip-path .7s var(--weich); }
  .menue a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 800; font-style: italic; letter-spacing: -.01em; line-height: 1.1; color: #fff; }
  .menue a .nr { display: inline; font-size: .85rem; font-style: normal; font-weight: 600; letter-spacing: .1em; color: #e23a3a; }
  .menue a::after { display: none; }
  .menue a[aria-current="page"] { color: #e23a3a; }
  .kopf.offen { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Bühne (Startbild) ---------- */
.buehne { position: relative; min-height: min(86svh, 880px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; overflow: hidden; padding-top: 100px; background: var(--nacht); }
.buehne-bild { position: absolute; inset: 0; z-index: -3; }
.buehne-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: heranfahren 14s var(--weich) both; }
.buehne::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(15,14,14,.95) 0%, rgba(15,14,14,.78) 36%, rgba(15,14,14,.25) 68%, rgba(15,14,14,.4) 100%),
    linear-gradient(0deg, rgba(15,14,14,1) 0%, rgba(15,14,14,0) 45%),
    linear-gradient(180deg, rgba(15,14,14,.75) 0%, rgba(15,14,14,0) 24%); }
.buehne-glut { position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -18vw; top: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(139,0,0,.5) 0%, rgba(139,0,0,.14) 40%, transparent 68%); animation: gluehen 6s ease-in-out infinite; }
.koernung { position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
  animation: rauschen 1.2s steps(6) infinite; }
@keyframes heranfahren { from { transform: scale(1.18); } to { transform: scale(1.02); } }
@keyframes gluehen { 50% { opacity: .6; transform: scale(1.06); } }
@keyframes rauschen { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }

.buehne-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 40px; position: relative; z-index: 1; flex: 1; }
.buehne .kicker { color: rgba(255,255,255,.8); }
.buehne h1 { text-shadow: 0 10px 50px rgba(0,0,0,.5); }
.zeile { display: block; overflow: hidden; padding: .06em .14em .08em 0; margin: -.06em 0 -.08em; }
.zeile > span { display: block; transform: translateY(115%); animation: hochfahren 1.1s var(--weich) .1s forwards; }
.zeile:nth-child(2) > span { animation-delay: .24s; }
@keyframes hochfahren { to { transform: none; } }
.buehne-satz { font-size: clamp(.98rem, 1.1vw, 1.1rem); color: rgba(255,255,255,.82); max-width: 36rem; margin-bottom: 2.2rem; }
.auf { opacity: 0; transform: translateY(24px); animation: einblenden 1s var(--weich) .45s forwards; }
.auf.v2 { animation-delay: .65s; } .auf.v3 { animation-delay: .85s; }
@keyframes einblenden { to { opacity: 1; transform: none; } }

.emblem { position: relative; justify-self: center; width: min(100%, 320px); aspect-ratio: 1; display: grid; place-items: center; }
.emblem img { width: 84%; position: relative; z-index: 1; filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 36px rgba(139,0,0,.5)); animation: schweben 7s ease-in-out infinite; }
.emblem-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.emblem-ring::before, .emblem-ring::after { content: ""; position: absolute; border-radius: 50%; animation: drehen 40s linear infinite; }
.emblem-ring::before { inset: 7%; border: 1px dashed rgba(226,58,58,.45); }
.emblem-ring::after { inset: -7%; border: 1px solid rgba(255,255,255,.06); border-top-color: rgba(226,58,58,.85); animation-duration: 9s; }
@keyframes schweben { 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes drehen { to { transform: rotate(360deg); } }

.tafelleiste { margin: clamp(20px, 3.5vh, 38px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); position: relative; z-index: 1; }
.tafelleiste > div { padding: 14px 24px 22px 0; border-right: 1px solid rgba(255,255,255,.12); margin-right: 24px; }
.tafelleiste > div:last-child { border-right: 0; margin-right: 0; }
.tafelleiste dt { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.tafelleiste dd { margin: 0; font-size: 1.05rem; color: rgba(255,255,255,.85); }
.tafelleiste b { font-size: clamp(1.25rem, 1.6vw, 1.6rem); font-weight: 800; font-style: italic; color: #fff; text-transform: uppercase; }
.weiter { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 2px; height: 56px; z-index: 2; }
.weiter span { position: absolute; inset: 0; background: linear-gradient(#e23a3a, transparent); animation: tropfen 2.2s ease-in-out infinite; }
@keyframes tropfen { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .buehne-raster { grid-template-columns: 1fr; }
  .emblem { position: absolute; right: -22%; top: -4%; width: 78%; opacity: .32; z-index: -1; }
  .tafelleiste { grid-template-columns: 1fr 1fr; }
  .tafelleiste > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .tafelleiste > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .tafelleiste > div { padding-bottom: 20px; padding-top: 16px; }
  .weiter { display: none; }
}

/* ---------- Laufbänder ---------- */
.baender { position: relative; height: clamp(84px, 7.5vw, 112px); overflow: hidden; background: var(--grund); }
.band { position: absolute; left: -5%; right: -5%; top: 50%; padding: 8px 0; overflow: hidden; }
.band-rot { background: var(--ci-rot); color: #fff; transform: translateY(-50%) rotate(-2.2deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.band-schwarz { background: #171616; color: rgba(255,255,255,.85); transform: translateY(-50%) rotate(2.2deg); border-block: 1px solid rgba(255,255,255,.1); }
.band-spur { display: flex; width: max-content; animation: laufen 38s linear infinite; }
.band-spur.rueckwaerts { animation-direction: reverse; animation-duration: 46s; }
.band span { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.1rem, 2.1vw, 1.7rem); letter-spacing: .02em; white-space: nowrap; padding-left: 1.6em; display: flex; align-items: center; gap: 1.6em; }
.band span { font-size: clamp(.92rem, 1.3vw, 1.15rem); }
.band span::after { content: "★"; font-style: normal; font-size: .7em; opacity: .7; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Aussage ---------- */
.grosstext { font-size: clamp(1.3rem, 2.2vw, 2.15rem); line-height: 1.24; font-weight: 700; font-style: italic; letter-spacing: -.01em; margin: 0 0 clamp(24px, 3vw, 40px); max-width: 58rem; }
.grosstext .wort { color: var(--text-leise); transition: color .5s ease; }
.grosstext .wort.an { color: var(--text); }
.grosstext .wort.an.betont { color: var(--rot-schrift); }
.aussage-unten { display: grid; grid-template-columns: minmax(0, 36rem) auto; justify-content: space-between; align-items: end; gap: 30px; color: var(--text-2); border-top: 1px solid var(--linie); padding-top: 22px; }
.aussage-unten p { margin: 0; }
@media (max-width: 700px) { .aussage-unten { grid-template-columns: 1fr; } }

/* ---------- Einsatzbereiche (Flaggen) ---------- */
.strecken { padding-top: 0; }
.flaggen { display: flex; gap: 14px; height: min(58vh, 520px); }
.flagge { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; transition: flex-grow .8s var(--weich); background: var(--nacht); }
.flagge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--weich), filter .8s; filter: saturate(.85) brightness(.8); }
.flagge::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,14,14,.1) 0%, rgba(15,14,14,.15) 40%, rgba(15,14,14,.94) 100%); }
.flagge:hover, .flagge:focus-visible { flex-grow: 1.7; }
.flagge:hover img, .flagge:focus-visible img { transform: scale(1); filter: saturate(1.05) brightness(.95); }
.flagge-nr { position: absolute; top: 26px; left: 28px; font-weight: 700; letter-spacing: .2em; font-size: .85rem; padding: 6px 12px; border: 1px solid rgba(255,255,255,.4); background: rgba(15,14,14,.3); }
.flagge-inhalt { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.flagge-titel { display: block; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.6rem, 2.3vw, 2.5rem); line-height: 1; }
.flagge-titel em { color: #ff5252; }
.flagge-mehr { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--weich), opacity .5s ease; }
.flagge-mehr > span { overflow: hidden; display: grid; gap: 14px; }
.flagge-mehr > span > :first-child { margin-top: 12px; }
.flagge:hover .flagge-mehr, .flagge:focus-visible .flagge-mehr { grid-template-rows: 1fr; opacity: 1; }
.flagge-satz { font-size: 1rem; color: rgba(255,255,255,.88); }
.rollen { display: flex; flex-wrap: wrap; gap: 8px; }
.rollen span { padding: 6px 12px; background: var(--ci-rot); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.flagge .textlink { color: #fff; justify-self: start; }
@media (max-width: 800px), (hover: none) {
  .flaggen { flex-direction: column; height: auto; }
  .flagge { min-height: 360px; }
  .flagge-mehr { grid-template-rows: 1fr; opacity: 1; }
}

/* ---------- Abfahrtstafel ---------- */
.tafel-abschnitt { padding-top: 0; }
.tafel { background: var(--nacht); color: #fff; padding: clamp(20px, 3vw, 42px); position: relative; overflow: hidden; box-shadow: var(--schatten); }
.tafel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.02) 3px 4px); }
.tafel::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ci-rot); }
.tafel-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(16px, 2.2vw, 28px); }
.tafel .kicker { color: rgba(255,255,255,.55); }
.tafel-uhr { text-align: right; font-variant-numeric: tabular-nums; }
.tafel-uhr span { display: block; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: .02em; }
.tafel-uhr span i { font-style: normal; animation: doppelpunkt 1s steps(1) infinite; }
@keyframes doppelpunkt { 50% { opacity: 0; } }
.tafel-uhr small { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tafel-zeile {
  display: grid; grid-template-columns: 1fr 2.6fr 1.1fr 1.2fr 8.5em; align-items: center; gap: 18px;
  padding: 11px 18px; text-decoration: none; position: relative; isolation: isolate; color: #fff;
  border-top: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums;
}
.tafel-zeile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ci-rot); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--weich); }
a.tafel-zeile:hover::before, a.tafel-zeile:focus-visible::before { transform: none; }
.tafel-titel { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); border-top: 0; padding-block: 0 12px; }
a.tafel-zeile > span { font-size: clamp(.88rem, 1vw, 1rem); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
a.tafel-zeile > span:first-child { color: #ff9c9c; }
a.tafel-zeile:hover > span:first-child { color: #fff; }
a.tafel-zeile > span:nth-child(2) { font-weight: 800; font-style: italic; font-size: clamp(1.02rem, 1.4vw, 1.3rem); letter-spacing: .01em; }
.tafel-los { display: inline-flex; align-items: center; justify-content: flex-end; gap: .5em; font-size: .82rem !important; letter-spacing: .14em !important; opacity: .7; transition: opacity .3s; }
.tafel-los svg { width: 1.3em; height: 1.3em; transition: transform .3s var(--weich); }
a.tafel-zeile:hover .tafel-los { opacity: 1; }
a.tafel-zeile:hover .tafel-los svg { transform: translateX(4px); }
.klappe { display: inline-block; }
.tafel-fuss { margin: 18px 0 0; color: rgba(255,255,255,.6); max-width: 40rem; }
@media (max-width: 960px) {
  .tafel-titel { display: none; }
  .tafel-zeile { grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 10px; }
  a.tafel-zeile > span:nth-child(1) { grid-column: 1; font-size: .78rem; }
  a.tafel-zeile > span:nth-child(2) { grid-column: 1; grid-row: 2; white-space: normal; }
  a.tafel-zeile > span:nth-child(3) { grid-column: 1; grid-row: 3; font-size: .78rem; color: rgba(255,255,255,.55); }
  a.tafel-zeile > span:nth-child(4) { display: none; }
  .tafel-los { grid-column: 2; grid-row: 1 / 4; font-size: 0 !important; }
  .tafel-los svg { width: 28px; height: 28px; }
}

/* ---------- Highlights (Schiene) ----------
   Seit 15.10.2026 in der Inhaltsbreite – dieselbe Kante links und rechts wie „Wähle deine Strecke“ – und
   selbstlaufend (Carsten: „Slider, der von alleine durchs Bild läuft“). main.js stellt die Karten ein zweites Mal
   dahinter; die Spur rutscht um die Hälfte nach links und beginnt nahtlos von vorn. Ohne Bewegung (Einstellung
   „Bewegung reduzieren“) bleibt es ein Band zum Wischen. */
.highlights { padding-top: 0; }
.pfeilknoepfe { display: flex; gap: 10px; }
.schiene { container-type: inline-size; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-block: 4px 30px; }
.schiene::-webkit-scrollbar { display: none; }
.schiene.ziehen { cursor: grabbing; scroll-snap-type: none; }
/* Abstand auch hinter der letzten Karte, damit die Hälfte der Spur genau eine Runde ist */
.schiene-spur { display: flex; gap: 16px; width: max-content; padding-right: 16px; }
.schiene figure { flex: none; width: 340px; width: calc((100cqw - 3 * 16px) / 4); margin: 0; scroll-snap-align: start; overflow: hidden; box-shadow: var(--schatten); }
@media (max-width: 1100px) { .schiene figure { width: calc((100cqw - 2 * 16px) / 3); } }
@media (max-width: 860px) { .schiene figure { width: calc((100cqw - 16px) / 2); } }
@media (max-width: 560px) { .schiene figure { width: 80cqw; } }
/* Pause-Knopf erst zeigen, wenn das Band läuft (.rundschalter setzt display:grid und hob hidden sonst auf) */
.rundschalter[hidden] { display: none; }
.highlights.laeuft .schiene { overflow: hidden; cursor: default; scroll-snap-type: none; }
.highlights.laeuft .schiene-spur { animation: durchlaufen var(--lauf-dauer, 90s) linear infinite; will-change: transform; }
.highlights.laeuft .gleis-zug { animation: gleisfahrt var(--lauf-dauer, 90s) linear infinite; }
.highlights.schwebt .schiene-spur, .highlights.angehalten .schiene-spur,
.highlights.schwebt .gleis-zug, .highlights.angehalten .gleis-zug { animation-play-state: paused; }
@keyframes durchlaufen { to { transform: translateX(-50%); } }
@keyframes gleisfahrt { from { left: 0; } to { left: 84%; } }
.schiene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--weich); pointer-events: none; user-select: none; }
.schiene figure:hover img { transform: scale(1.04); }
.gleis { position: relative; height: 2px; background: var(--linie-stark); margin-top: 16px; }
.gleis::before, .gleis::after { content: ""; position: absolute; top: -5px; width: 2px; height: 12px; background: var(--linie-stark); }
.gleis::before { left: 0; } .gleis::after { right: 0; }
.gleis-zug { position: absolute; top: -3px; left: 0; height: 8px; width: 16%; background: var(--ci-rot); }
.gleis-zug::after { content: ""; position: absolute; right: -8px; top: 0; border-left: 8px solid var(--ci-rot); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* ---------- Zuschläge ---------- */
.zuschlaege { background: var(--grund-2); }
.zahlenreihe { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linie-stark); }
.zahl { position: relative; padding: 28px 24px 6px 0; border-right: 1px solid var(--linie); margin-right: 24px; }
.zahl:last-child { border-right: 0; margin-right: 0; }
.zahl b { display: block; font-size: clamp(2.2rem, 3.6vw, 3.6rem); font-weight: 800; font-style: italic; line-height: 1.02; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--text); font-variant-numeric: tabular-nums; transition: color .6s ease, -webkit-text-stroke-color .6s; }
.zahl:hover b, .zahl:last-child b { color: var(--rot-schrift); -webkit-text-stroke-color: var(--rot-schrift); }
.zahl > span:last-child { display: block; margin-top: 10px; color: var(--text-2); font-weight: 500; letter-spacing: .04em; }
.lampe { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ci-grau); transition: background-color .4s, box-shadow .4s; }
.sichtbar .lampe { background: var(--ci-rot); box-shadow: 0 0 0 4px rgba(139,0,0,.25), 0 0 18px rgba(226,58,58,.8); animation: blinken 2.4s ease-in-out infinite; }
.sichtbar .zahl:nth-child(2) .lampe { animation-delay: .3s; } .sichtbar .zahl:nth-child(3) .lampe { animation-delay: .6s; } .sichtbar .zahl:nth-child(4) .lampe { animation-delay: .9s; }
@keyframes blinken { 50% { box-shadow: 0 0 0 4px rgba(139,0,0,.1), 0 0 6px rgba(226,58,58,.3); } }
@media (max-width: 860px) {
  .zahlenreihe { grid-template-columns: 1fr 1fr; }
  .zahl:nth-child(2) { border-right: 0; margin-right: 0; }
  .zahl:nth-child(-n+2) { border-bottom: 1px solid var(--linie); padding-bottom: 30px; }
  .zahl:nth-child(n+3) { padding-top: 46px; }
  .zahl:nth-child(n+3) .lampe { top: 22px; }
}

/* ---------- Einladung ---------- */
.einladung { position: relative; min-height: min(60vh, 600px); display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; padding: 72px 0; background: var(--nacht); }
.einladung-bild { position: absolute; inset: 0; z-index: -2; }
.einladung-bild img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.einladung::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,14,14,.94) 0%, rgba(15,14,14,.72) 45%, rgba(15,14,14,.2) 100%); }
.einladung .kicker { color: rgba(255,255,255,.75); }
.einladung-satz { max-width: 34rem; font-size: 1.02rem; color: rgba(255,255,255,.85); margin-bottom: 2.2rem; }

/* ---------- EVU ---------- */
.evu-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.evu-text p:not(.kicker) { color: var(--text-2); font-size: 1rem; margin: 18px 0 24px; max-width: 32rem; }
.evu-bild { position: relative; }
.evu-licht { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(circle, rgba(139,0,0,.55), transparent 65%); filter: blur(30px); animation: gluehen 5s ease-in-out infinite; }
.evu-bild img { position: relative; width: min(100%, 500px); margin-inline: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }
@media (max-width: 860px) { .evu-raster { grid-template-columns: 1fr; } }

/* ---------- Fuß (15.10.2026 neu: alles auf einer Mittelachse) ----------
   Carsten: „sehr langweilig … Folge uns, Facebook, Instagram und das Logo unten drunter ist auch nicht zentriert …
   einfach nur hingeklatscht“. Jetzt: Aufruf mittig, Wappen mit Satz, ein Gleis mit rotem Signal als Trenner, drei
   mittige Spalten (Seiten, Kontakt, Folge uns mit Siegel), Rechtliches mittig. Rotes Leuchten oben wie im Startbild. */
.fuss { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(139,0,0,.26), rgba(139,0,0,0) 70%), var(--nacht); }
.fuss-ruf { padding: clamp(52px, 6vw, 88px) 0 clamp(36px, 4.5vw, 56px); }
.fuss-zeile { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px; }
.fuss-gross { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px clamp(18px, 2.4vw, 32px); text-decoration: none; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.fuss-gross em { color: #e23a3a; }
.fuss-pfeil { flex: none; width: clamp(50px, 4.6vw, 72px); aspect-ratio: 1; border-radius: 50%; background: var(--ci-rot); display: grid; place-items: center; transition: transform .6s var(--weich), background-color .3s; animation: puls 2.4s ease-out infinite; }
.fuss-pfeil svg { width: 42%; height: 42%; }
.fuss-gross:hover .fuss-pfeil { transform: rotate(-45deg) scale(1.06); background: var(--rot-hover); }
.fuss-mitte { border-top: 1px solid rgba(255,255,255,.1); padding: clamp(40px, 4.5vw, 60px) 0 clamp(34px, 4vw, 52px); }
.fuss-marke img { width: 120px; margin: 0 auto 16px; }
.fuss-marke p { margin: 0; letter-spacing: .04em; }
/* Gleis: zwei Schienen mit Schwellen, in der Mitte ein rotes Signal */
.fuss-gleis { position: relative; height: 14px; max-width: 980px; margin: clamp(30px, 3.5vw, 46px) auto;
  background:
    linear-gradient(rgba(255,255,255,.24), rgba(255,255,255,.24)) 0 2px / 100% 2px no-repeat,
    linear-gradient(rgba(255,255,255,.24), rgba(255,255,255,.24)) 0 10px / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.13) 0 4px, transparent 4px 20px); }
.fuss-gleis::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--ci-rot); box-shadow: 0 0 0 4px rgba(139,0,0,.25), 0 0 18px rgba(226,58,58,.8); animation: blinken 2.4s ease-in-out infinite; }
.fuss-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 0 auto; }
.fuss-spalte { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.fuss p, .fuss li { color: rgba(255,255,255,.65); font-size: .97rem; }
.fuss-titel { font-size: .78rem; font-style: normal; font-weight: 600; letter-spacing: .22em; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: center; }
.fuss ul a { text-decoration: none; color: rgba(255,255,255,.82); background: linear-gradient(var(--ci-rot), var(--ci-rot)) 50% 100% / 0 2px no-repeat; transition: background-size .4s var(--weich), color .3s; padding-bottom: 2px; }
.fuss ul a:hover { color: #fff; background-size: 100% 2px; }
.sozial { display: flex; gap: 12px; justify-content: center; }
.sozial a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); transition: background-color .3s, border-color .3s, transform .3s var(--weich); }
.sozial a:hover { background: var(--ci-rot); border-color: var(--ci-rot); transform: translateY(-3px); }
.sozial svg { width: 19px; height: 19px; }
.siegel { display: flex; justify-content: center; margin-top: 22px; }
.siegel img { width: 80px; transition: transform .4s var(--weich); }
.siegel img:hover { transform: rotate(-8deg) scale(1.08); }
.fuss-leiste { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; font-size: .9rem; color: rgba(255,255,255,.6); }
.fuss-leiste .innen { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fuss-leiste nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.fuss-leiste a { text-decoration: none; }
.fuss-leiste nav a:hover { color: #fff; }
/* Hinweis wie bei Udo Pfaff (Carsten 15.10.2026): Voll und .de weiss, Mittelteile in den Markenfarben */
.vb-hinweis .vb-marke { color: #fff; font-weight: 700; text-decoration: none; }
.vb-hinweis a.vb-marke:hover { text-decoration: underline; text-underline-offset: 3px; }
.vb-hinweis .vb-t { color: #00d5c8; }
.vb-hinweis .vb-r { color: #ff1e3c; }
.vb-hinweis .vb-o { color: #ff4b00; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Nach oben (15.10.2026, Carsten: „Der Zurückbutton fehlt. Auf jeder Seite unten rechts. Dass man nach
   oben springt.“) – erscheint nach gut einer Bildschirmhöhe; der rote Ring zeigt, wie weit man auf der Seite ist. */
.nach-oben { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 90; width: 54px; height: 54px;
  border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(23,22,22,.84); box-shadow: 0 14px 30px -12px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, visibility .35s, transform .35s var(--weich), background-color .3s; }
.nach-oben.da { opacity: 1; visibility: visible; transform: none; }
.nach-oben:hover, .nach-oben:focus-visible { background: var(--ci-rot); }
.nach-oben:hover .nach-oben-pfeil { transform: translateY(-3px); }
.nach-oben-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nach-oben-ring circle { fill: none; stroke-width: 3; }
/* feine helle Spur rundum, damit der Kreis auch auf dunklem Grund klar umrissen ist */
.nach-oben-ring .spur { stroke: rgba(255,255,255,.18); }
.nach-oben-ring .lauf { stroke: #e23a3a; stroke-linecap: round; stroke-dasharray: 138.23px; stroke-dashoffset: calc(138.23px * (1 - var(--anteil, 0))); transition: stroke-dashoffset .15s linear; }
.nach-oben:hover .nach-oben-ring .lauf, .nach-oben:focus-visible .nach-oben-ring .lauf { stroke: #fff; }
.nach-oben-pfeil { position: relative; width: 22px; height: 22px; transition: transform .3s var(--weich); }
@media (max-width: 560px) { .nach-oben { width: 48px; height: 48px; } }
/* Schmale Bildschirme: unten Platz lassen, sonst deckt der Knopf ganz unten den Hinweis ab (gesehen 15.10.2026) */
@media (max-width: 900px) { .fuss-leiste { padding-bottom: 92px; } }

/* ---------- Einblenden beim Scrollen ---------- */
[data-zeigen] { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1.1s var(--weich); }
[data-zeigen].sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .zeile > span, .auf, [data-zeigen] { transform: none !important; opacity: 1 !important; }
  .grosstext .wort { color: var(--text); }
}

/* ---------- Bühne: Überschrift nach Breite UND Höhe des Fensters, jede Zeile bleibt eine Zeile ---------- */
.buehne h1.riesig { font-size: clamp(2.2rem, min(4.3vw, 7.4vh), 4.8rem); }
.buehne .zeile > span { white-space: nowrap; }
.buehne-satz { margin-bottom: 1.8rem; }
@media (max-width: 420px) { .buehne .zeile > span { white-space: normal; } .buehne h1.riesig { font-size: 2.15rem; } }
@media (max-height: 760px) and (min-width: 901px) { .buehne-satz { display: none; } }
.flagge-titel em { display: block; }

/* ---------- Feinschliff nach Prüfung im Browser (14.10.2026) ---------- */
.kopfzeile-zeile > div:first-child { flex: 1 1 32rem; min-width: 0; }
.kopfzeile-zeile .pfeilknoepfe { flex: none; }
.tafel-titel { color: rgba(255,255,255,.6); }
.einladung-bild img { object-position: 85% center; }
.einladung::before { background: linear-gradient(90deg, rgba(15,14,14,.96) 0%, rgba(15,14,14,.88) 42%, rgba(15,14,14,.45) 75%, rgba(15,14,14,.3) 100%); }
.fuss-gross > span:first-child { min-width: 0; }
/* Einladung: Bild nur rechts, damit Schrift und rotes Firmenschild sich nicht überlagern */
@media (min-width: 901px) {
  .einladung-bild { left: 42%; }
  .einladung::before { background: linear-gradient(90deg, rgba(15,14,14,1) 0%, rgba(15,14,14,1) 42%, rgba(15,14,14,.55) 56%, rgba(15,14,14,.15) 80%, rgba(15,14,14,.35) 100%); }
}
@media (max-width: 900px) {
  .tafelleiste > div { margin-right: 0; padding-right: 14px; padding-left: 0; }
  .tafelleiste > div:nth-child(even) { padding-left: 16px; }
}
@media (max-width: 900px) {
  .tafelleiste > div { min-width: 0; }
  .tafelleiste b { font-size: 1.35rem; }
  .tafelleiste dt { font-size: .64rem; letter-spacing: .14em; }
}

/* ================================================================
   UNTERSEITEN (Über uns, Bewerbung, Für EVU, Recht, Danke, 404)
   ================================================================ */

/* ---------- Bühne klein / schlicht ---------- */
.buehne.klein { min-height: min(58svh, 580px); }
.buehne.klein h1.riesig { font-size: clamp(2.1rem, min(4.4vw, 8vh), 4.4rem); }
.buehne.klein .buehne-raster { padding-bottom: clamp(30px, 6vh, 70px); }
.buehne.schlicht { min-height: 0; padding: 136px 0 46px; }
.buehne.schlicht h1.riesig { font-size: clamp(1.8rem, 3.4vw, 3.2rem); margin-bottom: 0; }
.buehne.schlicht .buehne-glut { width: 50vw; height: 50vw; top: -20vw; }
.buehne.schlicht::before { background: linear-gradient(180deg, rgba(15,14,14,0) 60%, var(--nacht) 100%); }
.emblem.bild-emblem img { width: 100%; animation: schweben 7s ease-in-out infinite; }
@media (max-width: 900px) { .emblem.bild-emblem { opacity: .25; } }

/* ---------- Zwei Spalten mit Bild ---------- */
.zweier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.zweier.umgekehrt > :first-child { order: 2; }
.zweier-text p:not(.kicker) { color: var(--text-2); font-size: 1rem; }
.zweier-text h2 { margin-bottom: 18px; }
.schnittbild { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), calc(100% - 46px) 100%, 0 100%); box-shadow: var(--schatten); }
.schnittbild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--weich); }
.schnittbild:hover img { transform: scale(1.04); }
.schnittbild::after { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 34%; background: var(--ci-rot); }
@media (max-width: 860px) { .zweier { grid-template-columns: 1fr; } .zweier.umgekehrt > :first-child { order: 0; } }

/* ---------- Streckenplan (Zeitleiste) ---------- */
.streckenplan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.streckenplan::before { content: ""; position: absolute; left: 0; right: 0; top: 54px; height: 4px; background: var(--linie-stark); }
.streckenplan::after { content: ""; position: absolute; left: 0; top: 54px; height: 4px; width: var(--fortschritt, 0%); background: var(--ci-rot); transition: width 2.4s var(--weich); }
.streckenplan.sichtbar { --fortschritt: 100%; }
.halt { position: relative; padding: 0 22px 0 0; }
.halt time { display: block; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--rot-schrift); height: 40px; }
.halt-punkt { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--grund); border: 4px solid var(--linie-stark); margin: 4px 0 26px; position: relative; z-index: 1; transition: border-color .4s, box-shadow .4s, background-color .4s; }
.sichtbar .halt-punkt { border-color: var(--ci-rot); background: var(--ci-rot); box-shadow: 0 0 0 6px rgba(139,0,0,.2); }
.sichtbar .halt:nth-child(1) .halt-punkt { transition-delay: .2s; } .sichtbar .halt:nth-child(2) .halt-punkt { transition-delay: .7s; }
.sichtbar .halt:nth-child(3) .halt-punkt { transition-delay: 1.2s; } .sichtbar .halt:nth-child(4) .halt-punkt { transition-delay: 1.7s; }
.sichtbar .halt:nth-child(5) .halt-punkt { transition-delay: 2.2s; }
.halt h3 { font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.1; margin-bottom: 10px; }
.halt p { color: var(--text-2); font-size: .98rem; margin: 0; }
@media (max-width: 960px) {
  .streckenplan { grid-template-columns: 1fr; gap: 30px; padding-left: 44px; }
  .streckenplan::before, .streckenplan::after { left: 9px; top: 0; bottom: 0; width: 4px; height: auto; }
  .streckenplan::after { height: var(--fortschritt, 0%); bottom: auto; transition: height 2.4s var(--weich); }
  .halt time { height: auto; margin-bottom: 4px; }
  .halt-punkt { position: absolute; left: -44px; top: 0; margin: 0; }
}

/* ---------- Zeilenliste (Werte, Was dich erwartet) ---------- */
.zeilenliste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); counter-reset: z; }
.zeilenliste li { position: relative; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 18px 12px; border-top: 1px solid var(--linie); isolation: isolate; transition: color .4s; }
.zeilenliste li::before { counter-increment: z; content: counter(z, decimal-leading-zero); font-weight: 700; letter-spacing: .14em; font-size: .9rem; color: var(--rot-schrift); transition: color .4s; }
.zeilenliste li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ci-rot); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--weich); }
.zeilenliste li:hover { color: #fff; }
.zeilenliste li:hover::after { transform: none; }
.zeilenliste li:hover::before, .zeilenliste li:hover p { color: rgba(255,255,255,.92); }
.zeilenliste h3 { font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.1; }
.zeilenliste p { margin: 0; color: var(--text-2); transition: color .4s; }
.zeilenliste.zwei li { grid-template-columns: 5.5rem minmax(0, 1fr); }
@media (max-width: 760px) {
  .zeilenliste li, .zeilenliste.zwei li { grid-template-columns: 1fr; gap: 8px; padding: 24px 6px; }
}

/* ---------- Zitat ---------- */
.zitat { position: relative; margin: 0; padding-left: clamp(34px, 5vw, 72px); }
.zitat::before { content: "\201E"; position: absolute; left: 0; top: -.55em; font-size: clamp(4rem, 7vw, 6.5rem); line-height: 1; font-weight: 800; font-style: italic; color: var(--ci-rot); }
.zitat p { font-size: clamp(1.12rem, 1.7vw, 1.55rem); line-height: 1.35; font-weight: 600; font-style: italic; }
.zitat .zitat-wer { color: var(--text-3); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-style: normal; font-weight: 600; margin-top: 20px; }

/* ---------- Drei Spalten mit Linie ---------- */
.spalten3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linie-stark); }
.spalte { padding: 34px 30px 10px 0; margin-right: 30px; border-right: 1px solid var(--linie); }
.spalte:last-child { border-right: 0; margin-right: 0; }
.spalte .gross-nr { display: block; font-size: 2.6rem; font-weight: 800; font-style: italic; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--rot-schrift); margin-bottom: 18px; }
.spalte h3 { font-size: 1.2rem; margin-bottom: 10px; }
.spalte p, .spalte li { color: var(--text-2); }
.spalte ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.spalte li::before { content: "\2605"; color: var(--rot-schrift); margin-right: 10px; font-size: .8em; }
@media (max-width: 860px) { .spalten3 { grid-template-columns: 1fr; } .spalte { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--linie); padding-bottom: 30px; } .spalte:last-child { border-bottom: 0; } }

/* ---------- Ticket (Formulare) ---------- */
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) 320px; background: var(--nacht); color: #fff; box-shadow: var(--schatten); position: relative; }
.ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ci-rot); z-index: 1; }
.ticket-haupt { padding: clamp(22px, 3vw, 44px); min-width: 0; }
.ticket-abriss { position: relative; padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); border-left: 2px dashed rgba(255,255,255,.18); background: #141313; display: flex; flex-direction: column; gap: 22px; }
.ticket-abriss::before, .ticket-abriss::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--grund); }
.ticket-abriss::before { top: -14px; } .ticket-abriss::after { bottom: -14px; }
.ticket-kopf { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ticket-kopf .kicker { color: rgba(255,255,255,.55); margin-bottom: 8px; }
.ticket-kopf h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.04; }
.ticket-kopf h3 em { color: #e23a3a; }
.ticket-nr { text-align: right; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); white-space: nowrap; }
.ticket-nr b { display: block; font-size: 1.4rem; letter-spacing: .08em; color: #fff; font-style: italic; }
.felder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 20px; }
.feld { grid-column: span 3; display: flex; flex-direction: column; gap: 4px; position: relative; min-width: 0; }
.feld.breit { grid-column: 1 / -1; } .feld.zwei { grid-column: span 2; } .feld.vier { grid-column: span 4; }
.feld label, .wahlgruppe legend { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.pflicht { color: #ff6b6b; }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: #fff; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.28);
  padding: 8px 0; width: 100%; border-radius: 0; transition: border-color .3s; color-scheme: dark;
}
.feld select option { background: #171616; color: #fff; }
.feld textarea { min-height: 120px; resize: vertical; border: 1.5px solid rgba(255,255,255,.22); padding: 12px 14px; }
.feld::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e23a3a; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--weich); pointer-events: none; }
.feld:focus-within::after { transform: none; }
.feld.textfeld::after { display: none; }
.feld input:focus, .feld select:focus { outline: none; border-color: rgba(255,255,255,.5); }
.feld textarea:focus { outline: none; border-color: #e23a3a; }
.wahlgruppe { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-width: 0; }
.wahlgruppe legend { margin-bottom: 14px; padding: 0; }
.wahlspalten { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.wahlspalten h4 { margin: 0 0 10px; font-size: .95rem; font-weight: 800; font-style: italic; text-transform: uppercase; color: #ff8080; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border: 1.5px solid rgba(255,255,255,.25); font-size: .9rem; font-weight: 600; transition: background-color .25s, border-color .25s; }
.chip:hover span { border-color: rgba(255,255,255,.6); }
.chip input:checked + span { background: var(--ci-rot); border-color: var(--ci-rot); }
.chip input:checked + span::before { content: "\2713\00a0"; }
.chip input:focus-visible + span { outline: 2px solid #e23a3a; outline-offset: 2px; }
.zustimmung { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: .93rem; color: rgba(255,255,255,.75); cursor: pointer; }
.zustimmung input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ci-rot); }
.zustimmung a { color: #fff; }
.kleindruck { grid-column: 1 / -1; font-size: .85rem; color: rgba(255,255,255,.5); margin: 0; }
.kleindruck a { color: rgba(255,255,255,.85); }
.falle { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.formular-fehler { grid-column: 1 / -1; margin: 0 0 26px; padding: 14px 18px; background: rgba(139,0,0,.4); border-left: 4px solid #e23a3a; font-weight: 600; color: #fff; }
.abriss-block p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0 0 12px; }
.abriss-block h4 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 800; font-style: italic; text-transform: uppercase; }
.abriss-block a:not(.knopf) { color: #fff; }
.abriss-block + .abriss-block { padding-top: 22px; border-top: 1px dashed rgba(255,255,255,.16); }
.abriss-block .knopf { font-size: .8rem; }
.ordnerliste { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; font-size: .86rem; color: rgba(255,255,255,.62); counter-reset: o; }
.ordnerliste li::before { counter-increment: o; content: counter(o) ". "; color: #ff8080; font-weight: 700; }
.ticket-abriss .maskottchen { width: 140px; margin: auto auto 0; }
@media (max-width: 1060px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-abriss { border-left: 0; border-top: 2px dashed rgba(255,255,255,.18); }
  .ticket-abriss::before, .ticket-abriss::after { top: -15px; bottom: auto; }
  .ticket-abriss::before { left: -14px; } .ticket-abriss::after { left: auto; right: -14px; }
  .ticket-abriss .maskottchen { display: none; }
}
@media (max-width: 640px) {
  .feld, .feld.zwei, .feld.vier { grid-column: 1 / -1; }
  .wahlspalten { grid-template-columns: 1fr; }
  .ticket-kopf { flex-direction: column; }
  .ticket-nr { text-align: left; }
}

/* ---------- Plakatwand (Galerie) und Großansicht ---------- */
.plakatwand { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.plakatwand.breit { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
@media (min-width: 861px) and (max-width: 1100px) { .plakatwand { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plakatwand.breit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plakat { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--nacht); cursor: zoom-in; overflow: hidden; box-shadow: var(--schatten); }
.plakat img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s var(--weich); }
.plakatwand.breit .plakat img { aspect-ratio: 2 / 1; }
.plakat::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--ci-rot); transition: box-shadow .4s var(--weich); }
.plakat:hover img { transform: scale(1.05); }
.plakat:hover::after, .plakat:focus-visible::after { box-shadow: inset 0 0 0 6px var(--ci-rot); }
@media (max-width: 860px) { .plakatwand { grid-template-columns: 1fr 1fr; } .plakatwand.breit { grid-template-columns: 1fr; } }
.grossansicht { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 24px; background: rgba(10,10,10,.94); }
.grossansicht.offen { display: grid; animation: einblenden .3s ease forwards; }
.grossansicht .gross-bild { position: relative; margin: 0; }
.grossansicht img { display: block; max-height: 88vh; max-width: min(1200px, calc(100vw - 48px)); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.grossansicht .zu { position: absolute; top: 20px; right: 20px; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 840px; }
.rechtstext h2 { font-size: clamp(1.08rem, 1.5vw, 1.3rem); margin: 2.4em 0 .8em; padding-top: 1.4em; border-top: 1px solid var(--linie); }
.rechtstext h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext strong { color: var(--text); }
.rechtstext a { color: var(--rot-schrift); overflow-wrap: anywhere; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li::marker { color: var(--rot-schrift); }
@media (max-width: 640px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
.buehne.schlicht .zeile > span { white-space: normal; }
.buehne.kurz { min-height: min(76svh, 740px); }
.feld > .knopf { align-self: flex-start; }
/* Zeilen der großen Überschrift nur unten/oben abschneiden (für das Hochfahren), seitlich nie */
.zeile { overflow: visible clip; }
.buehne-raster > .buehne-text:only-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .feld.zwei { grid-column: span 3; } }

/* ================================================================
   V2-BAUSTEINE (14.10.2026): Highlights hell/dunkel, Videos, Reels,
   ZIP-Grafik (die Kapitel-Galerie auf „Über uns“ ist seit 15.10.2026 raus)
   ================================================================ */

/* ---------- Highlights: dunkle Reihe im dunklen Modus, helle Reihe im hellen Modus ---------- */
.schiene figure { position: relative; background: var(--flaeche); }
html[data-thema="hell"] .schiene .nur-dunkel,
html:not([data-thema="hell"]) .schiene .nur-hell { display: none; }
/* Heller Modus (Carsten 15.10.2026): die hellen Karten im eigenen 16:9-Format, ganz gefüllt – vorher im 3:2-Rahmen
   mit weißen Balken oben und unten, und das „KI“ stand im Balken statt im Bild. Das Banner „Dein neuer Job“ gibt es
   nur dunkel – im hellen Modus laufen deshalb nur die neun hellen Karten. */
.schiene img.nur-hell { aspect-ratio: 16 / 9; object-fit: cover; }
html[data-thema="hell"] .schiene .banner-karte { display: none; }
.schiene .banner-karte a { display: block; position: relative; }
.schiene .banner-karte a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--ci-rot); transition: box-shadow .4s var(--weich); }
.schiene .banner-karte a:hover::after, .schiene .banner-karte a:focus-visible::after { box-shadow: inset 0 0 0 5px var(--ci-rot); }

/* ---------- Videos ---------- */
.filmreihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.film { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.film-nr { color: var(--rot-schrift); font-weight: 700; letter-spacing: .16em; font-size: .74rem; text-transform: uppercase; }
.film h3 { font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.15; }
.film p { color: var(--text-2); margin: 0; font-size: .96rem; }
.film ul { list-style: none; padding: 0; margin: 0 0 .6em; display: grid; gap: 4px; color: var(--text-2); font-size: .96rem; }
.film li::before { content: "\2605"; color: var(--rot-schrift); margin-right: 9px; font-size: .78em; }
.filmrahmen { position: relative; aspect-ratio: 16 / 9; background: var(--nacht); overflow: hidden; box-shadow: var(--schatten); }
.filmrahmen.hoch { aspect-ratio: 9 / 16; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); }
html[data-thema="hell"] .filmrahmen.hoch { border-color: rgba(23,22,22,.14); }
.filmrahmen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.abspielen { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; padding: 0; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(15,14,14,0) 45%, rgba(15,14,14,.7) 100%); }
.abspielen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--weich), filter .5s; }
.abspielen:hover img { transform: scale(1.04); filter: brightness(1.08); }
.abspielen .kreis { width: 62px; height: 62px; border-radius: 50%; background: var(--ci-rot); display: grid; place-items: center;
  animation: puls 2.4s ease-out infinite; transition: transform .3s var(--weich), background-color .3s; }
.abspielen:hover .kreis, .abspielen:focus-visible .kreis { transform: scale(1.1); background: var(--rot-hover); }
.abspielen .kreis svg { width: 22px; height: 22px; margin-left: 3px; }
.abspielen .filminfo { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.abspielen .filminfo span { background: rgba(15,14,14,.78); padding: 3px 8px; }
.abspielen .filminfo span:empty { visibility: hidden; }
.filmrahmen.laeuft .abspielen { display: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(226,58,58,.55); } 70% { box-shadow: 0 0 0 18px rgba(226,58,58,0); } 100% { box-shadow: 0 0 0 0 rgba(226,58,58,0); } }
@media (max-width: 760px) { .filmreihe { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Was dich erwartet: Liste links, Reels rechts ---------- */
.erwartet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.zeilenliste.kompakt li { grid-template-columns: 3rem minmax(0, 1fr); gap: 4px 14px; padding: 15px 10px; }
.zeilenliste.kompakt li > p { grid-column: 2; font-size: .96rem; }
.zeilenliste.kompakt h3 { font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reels .abspielen .kreis { width: 52px; height: 52px; }
.reels-titel { margin-top: 14px; color: var(--text-3); font-size: .85rem; text-align: center; }
@media (max-width: 1000px) { .erwartet { grid-template-columns: 1fr; } .reels { max-width: 640px; margin-inline: auto; width: 100%; } }
@media (max-width: 560px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .reels > * { scroll-snap-align: start; }
}

/* ---------- ZIP-Grafik im Ticket ---------- */
.zip-link { display: block; text-decoration: none; color: #fff; text-align: center; }
.zip-link img { width: min(100%, 210px); margin: 0 auto 6px; transition: transform .4s var(--weich); filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); }
.zip-link:hover img, .zip-link:focus-visible img { transform: scale(1.05) rotate(-2deg); }
.zip-link span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid var(--ci-rot); padding-bottom: 2px; }

/* Einleitungssatz unter einer Abschnittsueberschrift */
.kopfzeile .einleitung { color: var(--text-2); margin: 14px 0 0; max-width: 52rem; }

/* ================================================================
   15.10.2026: KI-Bilder bereinigt und gekennzeichnet
   ================================================================ */

/* ---------- Startseite ohne Foto: Das KI-Bild „LokStar BASE“ zeigte ein erfundenes Firmengebäude.
   Jetzt das 3D-Wappen groß auf CI-Schwarz, rotes Leuchten, feine Schrägstreifen wie Schienen. ---------- */
.buehne.ohne-bild::before { background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.028) 46px 48px),
    radial-gradient(ellipse at 74% 44%, rgba(139,0,0,.34), rgba(139,0,0,0) 56%),
    linear-gradient(0deg, rgba(15,14,14,1) 0%, rgba(15,14,14,0) 38%); }
@media (min-width: 901px) { .buehne.ohne-bild .emblem { width: min(100%, 440px); } }
/* Handy: Wappen blass hinter dem Text. Die Deckkraft sitzt auf den Kindern - die Einblend-Animation (.auf) setzt
   die Deckkraft des Wappens selbst am Ende auf 1 und hob damit das alte opacity:.32 auf (gefunden 15.10.2026). */
@media (max-width: 900px) { .buehne.ohne-bild .emblem > * { opacity: .35; } }

/* ---------- Dank-Zitat (Über uns) ohne Bild – das Teamfoto zeigte erfundene Mitarbeiter ---------- */
.zitat.breit { max-width: 62rem; }
.zitat.breit p:not(.zitat-wer) { font-size: clamp(1.3rem, 2.3vw, 2.1rem); line-height: 1.3; }

/* ---------- KI-Zeichen: fotoechte KI-Bilder und -Videos tragen unten rechts ein kleines „KI“
   (Art. 50 Abs. 4 KI-Verordnung). Carsten: „nicht so fett und nicht so groß … rechts im Rand unten …
   einfach nur KI“ – wie das Zeichen bei Gemini. Eigenes Element über dem Bild, nicht im Bild:
   bleibt ruhig stehen, wenn das Bild beim Darüberfahren zoomt. Erklärt im Impressum. ---------- */
.ki-zeichen { position: absolute; right: 12px; bottom: 9px; z-index: 3; pointer-events: none; user-select: none;
  font-size: 11px; font-weight: 600; font-style: normal; line-height: 1; letter-spacing: .1em; color: rgba(255,255,255,.92);
  text-shadow: 0 0 2px rgba(0,0,0,.9), 0 0 7px rgba(0,0,0,.6); }
/* Schnittbild: Ecke unten rechts ist abgeschrägt – das Zeichen steht links daneben */
.schnittbild .ki-zeichen { right: 54px; }
/* Videos: Ganz unten rechts stehen die Laufzeit und im Film selbst das LokStar-Wappen – das Zeichen steht
   rechts darüber; läuft das Video, über der Steuerleiste des Browsers */
.filmrahmen .ki-zeichen { bottom: 42px; }
.filmrahmen.laeuft .ki-zeichen { bottom: 80px; }
/* Helle Highlight-Karten (heller Modus) haben weißen Grund: Zeichen dunkel */
html[data-thema="hell"] .schiene figure:not(.banner-karte) .ki-zeichen { color: rgba(23,22,22,.88); text-shadow: 0 0 2px #fff, 0 0 7px rgba(255,255,255,.85); }

/* ================================================================
   15.10.2026: EINE KANTE FÜR ALLES. Carsten: „die Breite wie bei Wähle deine Strecke … als Rechts- und Links
   maximal Breite für alles nehmen. Außer große Bilder … das Titelbild.“ Startbild und die zwei Laufbänder
   darunter gehen weiter über die volle Breite, alles andere hält die Inhaltsbreite.
   ================================================================ */

/* Einladung („Komm in unser Team“, „Werde Teil der Geschichte“): Kasten in der Inhaltsbreite statt Band bis an
   den Fensterrand; rote Kante links wie bei der Abfahrtstafel */
.einladung { width: min(var(--breite), 100% - 2 * var(--rand)); margin: clamp(52px, 6vw, 96px) auto; box-shadow: var(--schatten); }
.einladung::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ci-rot); z-index: 1; }
.einladung > .einladung-inhalt { width: 100%; margin: 0; padding-inline: clamp(24px, 4.5vw, 72px); }
.abschnitt:not(.zuschlaege) + .einladung { margin-top: 0; }
.einladung + .abschnitt { padding-top: 0; }

/* Für EVU (Startseite): ebenfalls ein Kasten über die volle Inhaltsbreite, Stellwerk rechtsbündig – vorher stand
   es frei mitten in der rechten Hälfte (Carsten: „keine zentrierte Mitte und auch kein Vollbild“) */
.evu-raster { position: relative; background: var(--flaeche); box-shadow: var(--schatten); padding: clamp(28px, 4vw, 56px) clamp(24px, 4.5vw, 72px); overflow: hidden; }
.evu-raster::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ci-rot); }
/* Stellwerk: Das Bild ist seit 15.10.2026 auf seinen Inhalt zugeschnitten (bilder-vorbereiten.py) – vorher hatte es
   rechts 24 % durchsichtigen Rand und stand dadurch zu weit innen („von links und rechts nicht synchron“).
   Der Bildrahmen schmiegt sich ans Bild, damit auch das rote Leuchten mittig dahinter sitzt. */
.evu-bild { justify-self: end; width: min(100%, 290px); }
.evu-bild img { width: 100%; margin: 0; }
@media (max-width: 860px) { .evu-bild { justify-self: center; } }

/* „Mehr Einsatz. Mehr Lohn.“ und die anderen hinterlegten Abschnitte (.zuschlaege): Kasten in der Inhaltsbreite statt
   Band von Rand zu Rand (Carsten: „wieder ein dunkler Balken von rechts nach links … nicht wie die anderen“).
   Das Anfrageformular (Für EVU) ist selbst schon ein Kasten – dort nur ohne Hintergrund. */
.zuschlaege { background: none; padding-block: clamp(26px, 3vw, 48px); }
.zuschlaege > .innen { position: relative; background: var(--flaeche); box-shadow: var(--schatten); padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4.5vw, 72px); }
.zuschlaege > .innen::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ci-rot); }
.zuschlaege:has(.ticket, .filmreihe) { padding-block: clamp(52px, 6vw, 96px); }
.zuschlaege:has(.ticket, .filmreihe) > .innen { background: none; box-shadow: none; padding: 0; }
.zuschlaege:has(.ticket, .filmreihe) > .innen::before { content: none; }

/* Videos (Bewerbung): jede Videokarte und jedes Reel in einem schwebenden Rahmen wie auf der alten Seite
   (Carsten 15.10.2026: „Rahmen drum, so Fensterrahmen, die wie schwebend dastehen … du hast es sehr einfach gemacht“) */
.filmreihe { gap: clamp(22px, 2.4vw, 34px); }
.film { background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); padding: clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px) clamp(20px, 2vw, 28px); transition: transform .5s var(--weich), box-shadow .5s var(--weich); }
.film:hover { transform: translateY(-6px); }
.film .filmrahmen { box-shadow: 0 18px 32px -20px rgba(0,0,0,.9); }
.reels { gap: clamp(16px, 1.8vw, 26px); }
.reel-rahmen { background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); padding: clamp(10px, 1.1vw, 16px); transition: transform .5s var(--weich); }
.reel-rahmen:hover { transform: translateY(-6px); }
.reel-rahmen .filmrahmen.hoch { border: 0; border-radius: 0; box-shadow: 0 18px 32px -20px rgba(0,0,0,.9); }
@media (max-width: 560px) { .reels { padding-block: 6px 30px; } }

/* (m/w/d) an den Stellentiteln (16.10.2026, Gesamtabgleich: die alte Seite hatte es). Klein und ohne Großbuchstaben,
   damit es neben dem Titel steht, aber nicht mit ihm konkurriert. In der Abfahrtstafel steht es NEBEN dem Klapptext
   (data-klapp), damit die Klappanzeige unverändert läuft. */
.mwd { font-size: .62em; font-weight: 600; font-style: normal; letter-spacing: .03em; text-transform: none; opacity: .78; white-space: nowrap; margin-left: .25em; }
legend .mwd { font-size: .86em; margin-left: 0; }
.rollen .rollen-mwd { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); text-transform: none; letter-spacing: .04em; }

/* Deine Karriere bei LokStar (Bewerbung, 16.10.2026): die vier Stellenbeschreibungen der alten Seite als Karten in der
   Inhaltsbreite – schwebend wie die Videokarten, rote Kante oben, Symbol „LokStarBase“ der alten Stellenkarten. */
.berufe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 26px); }
.beruf { position: relative; background: var(--flaeche); border: 1px solid var(--linie); border-top: 4px solid var(--ci-rot); box-shadow: var(--schatten); padding: clamp(18px, 1.8vw, 26px); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--weich); }
.beruf:hover { transform: translateY(-6px); }
.beruf-symbol { width: 60px; height: 60px; border-radius: 50%; background: var(--ci-schwarz); display: grid; place-items: center; box-shadow: 0 12px 22px -12px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.beruf-symbol img { width: 40px; height: auto; }
.beruf-bereich { margin: 6px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rot-schrift); }
.beruf h3 { font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.18; }
.beruf > p:not(.beruf-bereich) { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.beruf .textlink { margin-top: auto; align-self: flex-start; }
.beruf h3 + p { margin-bottom: 8px; }
/* Korrektur 16.10.2026: „(m/w/d)“ als eigene Zeile unter dem Titel, und Symbol, Bereich, Titel, Text und Link stehen in
   jeder Kartenreihe auf gleicher Höhe (Subgrid; jede Karte hat genau 5 Teile – ältere Browser zeigen sie wie vorher).
   Zwei Spalten schon bis 1280, sonst ragt „TRIEBFAHRZEUGFÜHRER“ bei etwa 1150 Punkten über die Karte. */
.beruf h3 .mwd { display: block; margin: .3em 0 0; }
@supports (grid-template-rows: subgrid) {
  .beruf { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 10px; }
  .beruf .textlink { justify-self: start; }
}
@media (max-width: 1280px) { .berufe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .berufe { grid-template-columns: 1fr; } }

/* Standorte (Für EVU, 16.10.2026): wie auf der alten Seite Firmensitz und Büro – hier als Luftbild (LGL BW, Open Data)
   mit roter Nadel in der Bildmitte statt eingebetteter Google-Karte (die lüde ohne Einwilligung von Google).
   „Route planen“ ist ein normaler Link zu Google Maps in einem neuen Fenster. */
.standorte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.standort { position: relative; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); display: flex; flex-direction: column; transition: transform .5s var(--weich); }
.standort::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ci-rot); z-index: 3; }
.standort:hover { transform: translateY(-6px); }
.standort-bild { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--nacht); }
.standort-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--weich); }
.standort:hover .standort-bild img { transform: scale(1.04); }
.standort-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, transparent 38%, rgba(15,14,14,.42) 100%); }
.nadel { position: absolute; left: 50%; top: 50%; width: 36px; height: 47px; margin-left: -18px; margin-top: -47px; z-index: 2; filter: drop-shadow(0 7px 7px rgba(0,0,0,.6)); }
.nadel svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nadel path { fill: var(--ci-rot); stroke: #fff; stroke-width: 2.4; }
.nadel circle { fill: #fff; }
.nadel::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 20px; height: 9px; margin-left: -10px; border-radius: 50%; background: rgba(226,58,58,.6); z-index: -1; animation: nadelpuls 2s ease-out infinite; }
@keyframes nadelpuls { from { transform: scale(.5); opacity: .95; } to { transform: scale(2.8); opacity: 0; } }
.standort-text { padding: clamp(18px, 2vw, 28px) clamp(22px, 2.6vw, 38px) clamp(22px, 2.4vw, 32px); display: grid; gap: 6px; }
.standort-art { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--rot-schrift); }
.standort-text h3 { font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.18; }
.standort-text p:not(.standort-art) { margin: 0; color: var(--text-2); line-height: 1.55; }
.standort-text .knopf { justify-self: start; margin-top: 12px; }
.standort-quelle { margin: 16px 0 0; font-size: .74rem; line-height: 1.5; color: var(--text-3); }
.standort-quelle a { color: inherit; }
@media (max-width: 760px) { .standorte { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nadel::after { animation: none; opacity: .5; } .standort-bild img, .standort, .beruf { transition: none; } }
