/* =========================================================================
   Vollert Heavy Duty Solutions — Gestaltung "Kranbahn-Gehänge"
   Handgeschrieben, ohne Framework. Alle Schriften lokal.
   Farbwelt: Kranblau + Signalorange auf Hallengrau.
   ========================================================================= */

/* ---------- Schriften (lokal, variable woff2) ---------- */
@font-face {
  font-family: 'Jost';
  src: url('schriften/jost-var-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  src: url('schriften/jost-var-latin-ext.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('schriften/inter-var-latin.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('schriften/inter-var-latin-ext.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('schriften/jetbrains-mono-var-latin.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('schriften/jetbrains-mono-var-latin-ext.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --blau: #154391;          /* Vollert-Blau, tragende Farbe */
  --blau-tief: #0e2f68;
  --blau-hell: #2a63c4;
  --orange: #e8620c;        /* Signalorange - nur Flaechen und Zeichenelemente */
  --orange-tief: #b84a06;   /* Textorange: 5,2:1 auf Weiss, 4,5:1 auf Hallengrau */
  --orange-dunkel: #8f3a05;
  --grund: #edeff2;         /* Hallengrau */
  --flaeche: #ffffff;
  --text: #14171a;          /* Anthrazit */
  --text-leise: #4b535c;
  --linie: #c9ced6;
  --linie-fein: #dfe3e9;

  --breit: 1240px;
  --luft: clamp(1rem, 4vw, 2.5rem);
  --traeger: 10px;          /* Höhe des Kranbahnträgers */

  --schrift-display: 'Jost', 'Trebuchet MS', sans-serif;
  --schrift-text: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --schrift-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blau); text-underline-offset: .18em; }
a:hover { color: var(--orange-tief); }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--schrift-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); text-transform: uppercase; letter-spacing: .035em; }
h2 { font-size: clamp(1.4rem, 3vw, 2.05rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springmarke {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--orange); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; transition: top .15s;
}
.springmarke:focus { top: .5rem; color: #fff; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 100;
  background: var(--blau);
  color: #fff;
  border-bottom: 3px solid var(--orange);
}
.kopf a { color: #fff; text-decoration: none; }
.kopf-zeile {
  max-width: var(--breit); margin: 0 auto;
  padding: .5rem var(--luft);
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
}
.marke { display: flex; align-items: center; gap: .7rem; min-height: 44px; }
.marke img { width: 148px; height: 32px; }
.marke-zusatz {
  font-family: var(--schrift-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #b9c8e6;
  border-left: 1px solid rgba(255,255,255,.35); padding-left: .7rem;
}
@media (max-width: 860px) { .marke-zusatz { display: none; } }

.nav-schalter {
  display: none;
  min-width: 44px; min-height: 44px;
  align-items: center; gap: .5rem;
  background: transparent; border: 1px solid rgba(255,255,255,.5);
  color: #fff; font: 600 .85rem/1 var(--schrift-display);
  text-transform: uppercase; letter-spacing: .08em;
  padding: .6rem .8rem; cursor: pointer;
}
.nav-schalter:hover { background: rgba(255,255,255,.12); }

.hauptnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem; margin: 0; padding: 0; }
.hauptnav a {
  display: block; padding: .8rem .7rem; min-height: 44px;
  font-family: var(--schrift-display); font-weight: 500; font-size: .93rem;
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 3px solid transparent;
}
.hauptnav a:hover { border-bottom-color: var(--orange); }
.hauptnav a[aria-current="page"] { border-bottom-color: var(--orange); color: #ffd7bd; }

@media (max-width: 1040px) {
  .nav-schalter { display: inline-flex; }
  .hauptnav {
    display: none; width: 100%;
    border-top: 1px solid rgba(255,255,255,.25);
  }
  .hauptnav.offen { display: block; }
  .hauptnav ul { flex-direction: column; }
  .hauptnav a { padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
  .kopf-zeile { flex-wrap: wrap; }
}

/* ---------- Grundgerüst ---------- */
main { display: block; }
.bahn { max-width: var(--breit); margin: 0 auto; padding: 0 var(--luft); }

/* ---------- Der Kranbahnträger (Leitmotiv) ---------- */
.abschnitt { padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.abschnitt.dunkel { background: var(--blau-tief); color: #e8edf6; }
.abschnitt.dunkel h2, .abschnitt.dunkel h3 { color: #fff; }
.abschnitt.dunkel a { color: #ffc79f; }
.abschnitt.blau { background: var(--blau); color: #fff; }

.traeger {
  position: relative;
  margin: 0 0 0;
  padding-top: clamp(2.2rem, 5vw, 3.4rem);
}
/* der Träger selbst: Doppelgurt mit Nietenreihe */
.traeger-balken {
  position: relative;
  height: var(--traeger);
  background: var(--blau);
  border-top: 2px solid var(--blau-hell);
  border-bottom: 2px solid var(--blau-tief);
}
.abschnitt.dunkel .traeger-balken, .abschnitt.blau .traeger-balken { background: #fff; border-color: rgba(255,255,255,.6); }
.traeger-balken::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 6px 50%, rgba(255,255,255,.55) 1.4px, transparent 1.6px);
  background-size: 22px 100%;
}
.abschnitt.dunkel .traeger-balken::before, .abschnitt.blau .traeger-balken::before {
  background-image: radial-gradient(circle at 6px 50%, rgba(21,67,145,.5) 1.4px, transparent 1.6px);
}
/* Laufkatze */
.laufkatze {
  position: absolute; top: -9px; left: 0;
  width: 34px; height: 28px;
  transform: translateX(var(--katze, 0%));
  will-change: transform;
}
.laufkatze i {
  display: block; width: 34px; height: 13px; background: var(--orange);
}
.laufkatze i::after {
  content: ""; display: block; margin: 13px auto 0; width: 2px; height: 13px; background: var(--orange);
}
.laufkatze b {
  display: block; width: 12px; height: 8px; margin: 0 auto;
  border: 2px solid var(--orange); border-top: 0;
  border-radius: 0 0 8px 8px;
}
@media (prefers-reduced-motion: reduce) { .laufkatze { transition: none; } }

.traeger-kopf {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: .6rem 0 0;
}
.traeger-pos {
  font-family: var(--schrift-mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; color: var(--orange-tief);
  text-transform: uppercase;
}
.abschnitt.dunkel .traeger-pos, .abschnitt.blau .traeger-pos { color: #ffb27a; }
.traeger-last {
  font-family: var(--schrift-mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .06em; color: var(--text-leise);
}
.abschnitt.dunkel .traeger-last, .abschnitt.blau .traeger-last { color: #b9c8e6; }

/* Hängestangen: Inhalt hängt am Träger */
.gehaenge { position: relative; padding-top: 2.4rem; }
.gehaenge::before {
  content: ""; position: absolute; top: 0; left: 28px; width: 2px; height: 2.4rem;
  background: var(--linie);
}
.gehaenge::after {
  content: ""; position: absolute; top: 2.1rem; left: 22px;
  width: 14px; height: 10px;
  border: 2px solid var(--linie); border-top: 0; border-radius: 0 0 10px 10px;
}
.abschnitt.dunkel .gehaenge::before, .abschnitt.dunkel .gehaenge::after,
.abschnitt.blau .gehaenge::before, .abschnitt.blau .gehaenge::after { background: rgba(255,255,255,.4); border-color: rgba(255,255,255,.4); }
.abschnitt.dunkel .gehaenge::before, .abschnitt.blau .gehaenge::before { background: rgba(255,255,255,.4); }

/* ---------- Einstieg (Kopfblock der Seite) ---------- */
.einstieg { background: var(--blau-tief); color: #fff; }
.einstieg .bahn { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.einstieg h1 { color: #fff; max-width: 22ch; }
.einstieg p { color: #d3ddef; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 62ch; }
.einstieg-dach {
  font-family: var(--schrift-mono); font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
  margin: 0 0 .9rem;
}
.einstieg-raster { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) { .einstieg-raster { grid-template-columns: 1.05fr .95fr; align-items: center; } }

/* ---------- Lastrahmen (Bildsprache) ---------- */
figure.last { margin: 0; position: relative; padding-top: 18px; }
figure.last::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 18px;
  background: var(--linie); transform: translateX(-50%);
}
figure.last .rahmen {
  position: relative; border: 1px solid var(--linie); background: var(--flaeche);
  padding: 6px;
}
figure.last img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #d6dae1; }
figure.last.hoch img { aspect-ratio: 4 / 3; }
figure.last.portraet img { aspect-ratio: 1 / 1; }
.lastmarke {
  position: absolute; left: 6px; bottom: 6px;
  background: var(--orange-tief); color: #fff;
  font-family: var(--schrift-mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; padding: .3rem .55rem;
}
figure.last figcaption {
  font-size: .84rem; color: var(--text-leise); padding-top: .5rem;
  border-top: 1px solid var(--linie-fein); margin-top: .5rem;
}
.einstieg figure.last figcaption { color: #c6d3ea; border-color: rgba(255,255,255,.25); }
.abschnitt.dunkel figure.last figcaption { color: #b9c8e6; border-color: rgba(255,255,255,.25); }

/* ---------- Blöcke / Raster ---------- */
.raster { display: grid; gap: clamp(1.1rem, 2.6vw, 1.8rem); }
.raster.z2 { grid-template-columns: 1fr; }
.raster.z3 { grid-template-columns: 1fr; }
.raster.z4 { grid-template-columns: 1fr; }
.block, .block * { min-width: 0; overflow-wrap: anywhere; }
.raster > *, .zweispalt > *, .einstieg-raster > *, .gehaenge > * { min-width: 0; }
@media (min-width: 720px) {
  .raster.z2 { grid-template-columns: repeat(2, 1fr); }
  .raster.z3 { grid-template-columns: repeat(2, 1fr); }
  .raster.z4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .raster.z3 { grid-template-columns: repeat(3, 1fr); }
  .raster.z4 { grid-template-columns: repeat(4, 1fr); }
}
.zweispalt { display: grid; gap: clamp(1.4rem, 3.5vw, 2.6rem); }
@media (min-width: 900px) { .zweispalt { grid-template-columns: 1.1fr .9fr; align-items: start; } }
@media (min-width: 900px) { .zweispalt.eng { grid-template-columns: .9fr 1.1fr; } }

.block {
  background: var(--flaeche);
  border: 1px solid var(--linie-fein);
  border-top: 3px solid var(--blau);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}
.block h3 { margin-top: 0; }
.block p:last-child { margin-bottom: 0; }
.block.signal { border-top-color: var(--orange); }
.abschnitt.dunkel .block { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); border-top-color: var(--orange); color: #e8edf6; }

a.block { text-decoration: none; color: inherit; display: block; }
a.block:hover { border-top-color: var(--orange); box-shadow: 0 6px 22px rgba(20,23,26,.12); }
a.block .weiter { color: var(--blau); font-weight: 600; }
a.block:hover .weiter { color: var(--orange-tief); }

.block-nr {
  font-family: var(--schrift-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; color: var(--text-leise); display: block; margin-bottom: .35rem;
}

/* ---------- Kennzahlen ---------- */
.kennzahlen { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
@media (min-width: 620px) { .kennzahlen { grid-template-columns: repeat(3, 1fr); } }
.kennzahl { background: var(--flaeche); padding: 1.2rem 1rem; text-align: left; }
.abschnitt.dunkel .kennzahlen, .abschnitt.blau .kennzahlen { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.3); }
.abschnitt.dunkel .kennzahl, .abschnitt.blau .kennzahl { background: transparent; }
.kennzahl b {
  display: block; font-family: var(--schrift-mono); font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1; color: var(--blau);
}
.abschnitt.dunkel .kennzahl b, .abschnitt.blau .kennzahl b { color: #fff; }
.kennzahl span { display: block; font-size: .88rem; color: var(--text-leise); margin-top: .4rem; }
.abschnitt.dunkel .kennzahl span, .abschnitt.blau .kennzahl span { color: #e3eaf7; }

/* ---------- Materialfluss-Balken ---------- */
.fluss { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
@media (min-width: 760px) { .fluss { grid-template-columns: repeat(var(--stufen, 3), 1fr); } }
.fluss-stufe { background: var(--flaeche); color: var(--text); padding: 1rem 1.1rem; position: relative; }
.fluss-stufe span {
  font-family: var(--schrift-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; color: var(--orange-tief); display: block; margin-bottom: .3rem;
}
.fluss-stufe strong { display: block; font-family: var(--schrift-display); font-size: 1.05rem; font-weight: 600; }
.fluss-stufe p { font-size: .9rem; color: var(--text-leise); margin: .3rem 0 0; }
@media (min-width: 760px) {
  .fluss-stufe:not(:last-child)::after {
    content: ""; position: absolute; right: -9px; top: 50%; z-index: 2;
    width: 0; height: 0; transform: translateY(-50%);
    border-left: 9px solid var(--orange);
    border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  }
}

/* ---------- Listen ---------- */
ul.punkte { list-style: none; margin: 0 0 1em; padding: 0; }
ul.punkte li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
ul.punkte li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .62rem; height: .18rem; background: var(--orange);
}
ol.schritte { counter-reset: s; list-style: none; margin: 0 0 1em; padding: 0; }
ol.schritte li { counter-increment: s; position: relative; padding-left: 2.4rem; margin-bottom: .7rem; }
ol.schritte li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--schrift-mono); font-weight: 700; font-size: .8rem;
  color: #fff; background: var(--blau); padding: .15rem .4rem;
}

/* ---------- Datenliste / Stückliste ---------- */
table.daten { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.daten caption { text-align: left; font-size: .82rem; color: var(--text-leise); padding-bottom: .5rem; }
table.daten th, table.daten td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--linie-fein); vertical-align: top; }
table.daten thead th { background: var(--blau); color: #fff; font-family: var(--schrift-display); font-weight: 500; letter-spacing: .04em; }
table.daten td.wert { font-family: var(--schrift-mono); font-weight: 500; white-space: nowrap; }
.tabellenrolle { overflow-x: auto; }

/* ---------- Schaltflächen ---------- */
.aktion {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .7rem 1.3rem;
  background: var(--orange-tief); color: #fff; text-decoration: none;
  font-family: var(--schrift-display); font-weight: 600; font-size: .98rem;
  text-transform: uppercase; letter-spacing: .06em;
  border: 0; cursor: pointer;
}
.aktion:hover { background: var(--orange-dunkel); color: #fff; }
.abschnitt.dunkel a.aktion, .abschnitt.blau a.aktion, .einstieg a.aktion { color: #fff; }
.aktion.zweit { background: transparent; color: var(--blau); border: 2px solid var(--blau); }
.aktion.zweit:hover { background: var(--blau); color: #fff; }
.abschnitt.dunkel .aktion.zweit, .einstieg .aktion.zweit { color: #fff; border-color: #fff; }
.abschnitt.dunkel .aktion.zweit:hover, .einstieg .aktion.zweit:hover { background: #fff; color: var(--blau-tief); }
.aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }

/* ---------- Marke / Etiketten ---------- */
.etikett {
  display: inline-block; font-family: var(--schrift-mono); font-size: .7rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: #dbe2f0; color: var(--blau-tief); padding: .2rem .5rem; margin: 0 .3rem .3rem 0;
}
.etikett.orange { background: #fde3d2; color: var(--orange-tief); }

/* ---------- Hinweiskasten ---------- */
.hinweis {
  border: 1px solid var(--linie); border-left: 5px solid var(--orange);
  background: #fff; padding: 1rem 1.2rem; font-size: .93rem;
}
.hinweis h3 { font-size: 1.05rem; margin-bottom: .35rem; }

/* ---------- Zwei-Klick (Karte, Video) ---------- */
.zweiklick { border: 1px solid var(--linie); background: var(--flaeche); }
.zweiklick .vorschau { position: relative; }
.zweiklick .vorschau img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zweiklick .text { padding: 1rem 1.2rem; font-size: .92rem; }
.abspielen {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(14,47,104,.45);
}
.abspielen span {
  background: var(--orange-tief); color: #fff; font-family: var(--schrift-display);
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  padding: .6rem 1rem; font-size: .85rem;
}

/* ---------- Formular ---------- */
.formular { display: grid; gap: 1rem; }
@media (min-width: 720px) { .formular .paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.feld { display: flex; flex-direction: column; gap: .35rem; }
.feld label { font-weight: 600; font-size: .92rem; }
.feld .hilfe { font-size: .82rem; color: var(--text-leise); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1px solid var(--linie); border-radius: 0;
  padding: .7rem .8rem; min-height: 44px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--blau); }
.pflicht { color: var(--orange-tief); }
.zustimmung { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.zustimmung input { width: 22px; height: 22px; min-height: 22px; flex: 0 0 auto; margin-top: .15rem; }

/* ---------- Verzeichnis / Referenzliste ---------- */
.verzeichnis { border-top: 1px solid var(--linie); }
.verzeichnis li { list-style: none; }
.verzeichnis ul { margin: 0; padding: 0; }
.eintrag {
  display: grid; gap: .2rem 1.2rem; padding: .95rem 0;
  border-bottom: 1px solid var(--linie-fein);
}
@media (min-width: 780px) { .eintrag { grid-template-columns: 8.5rem 1fr 10rem; align-items: baseline; } }
.eintrag .datum { font-family: var(--schrift-mono); font-size: .8rem; color: var(--text-leise); }
.eintrag .titel { font-family: var(--schrift-display); font-weight: 600; font-size: 1.05rem; }
.eintrag .teaser { font-size: .92rem; color: var(--text-leise); grid-column: 2 / -1; }
.eintrag .bereich { font-family: var(--schrift-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); }

/* ---------- Fuß ---------- */
.fuss { background: var(--blau-tief); color: #c6d3ea; margin-top: clamp(2rem, 6vw, 4rem); }
.fuss a { color: #fff; }
.fuss .bahn { padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: 2rem; }
.fuss-raster { display: grid; gap: 2rem; }
@media (min-width: 760px) { .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss-schluss {
  border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .85rem;
}
.fuss address { font-style: normal; }

/* ---------- Brotkrumen ---------- */
.krumen { font-size: .84rem; padding: .8rem 0 0; }
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: var(--text-leise); }
.krumen li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: var(--linie); }

/* ---------- Sprunganker-Navigation im Seiteninhalt ---------- */
.seitenmenu { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.seitenmenu a {
  display: inline-block; padding: .45rem .8rem; min-height: 38px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  color: #fff; text-decoration: none; font-size: .86rem;
  font-family: var(--schrift-display); letter-spacing: .04em;
}
.seitenmenu a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- Aufklappbares (FAQ) ---------- */
details.faq { border: 1px solid var(--linie-fein); background: #fff; margin-bottom: .6rem; }
details.faq > summary {
  cursor: pointer; padding: .9rem 1.1rem; min-height: 44px;
  font-family: var(--schrift-display); font-weight: 600; font-size: 1.02rem;
  list-style: none; display: flex; gap: .8rem; align-items: baseline;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::before { content: "+"; color: var(--orange-tief); font-family: var(--schrift-mono); font-weight: 700; }
details.faq[open] > summary::before { content: "–"; }
details.faq .antwort { padding: 0 1.1rem 1.1rem; }


/* ---------- Kontrast-Korrekturen: helle Bausteine in dunklen Abschnitten ---------- */
.lastmarke { color: #fff; }
.einstieg .lastmarke, .abschnitt.dunkel .lastmarke, .abschnitt.blau .lastmarke { color: #fff; }
.abschnitt.dunkel .zweiklick, .abschnitt.blau .zweiklick,
.abschnitt.dunkel .hinweis, .abschnitt.blau .hinweis,
.abschnitt.dunkel .fluss, .abschnitt.blau .fluss { color: var(--text); }
.abschnitt.dunkel .zweiklick a, .abschnitt.dunkel .hinweis a,
.abschnitt.blau .zweiklick a, .abschnitt.blau .hinweis a { color: var(--blau); }
.abschnitt.dunkel .zweiklick h3, .abschnitt.dunkel .hinweis h3,
.abschnitt.blau .zweiklick h3, .abschnitt.blau .hinweis h3 { color: var(--text); }
.abschnitt.dunkel table.daten caption, .abschnitt.blau table.daten caption { color: var(--text-leise); background: var(--flaeche); padding: .5rem .7rem; }
.abschnitt.dunkel .block-nr, .abschnitt.blau .block-nr { color: #c6d3ea; }
.abschnitt.dunkel table.daten, .abschnitt.blau table.daten { background: var(--flaeche); color: var(--text); }
.abschnitt.dunkel table.daten a, .abschnitt.blau table.daten a { color: var(--blau); }

/* ---------- Druck ---------- */
@media print {
  .kopf, .fuss, .seitenmenu, .laufkatze { display: none; }
  body { background: #fff; color: #000; }
}
