/* BAIVOLT – eine Datei, keine Abhängigkeiten.
   Gestaltungsidee: der Übersichtsschaltplan. Rot bedeutet "unter Spannung". */

@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --schwarz: #010005;
  --rot: #d40300;
  --rot-dunkel: #b10300;
  --rot-hell: #ff2a1c;
  --silber: #b9bbbd;
  --nebel: #9da0a5;
  --stahl: #74787e;
  --schrank: #cbd0cc;
  --papier: #eef0ee;
  --tinte: #14151a;
  --linie: rgba(20, 21, 26, .22);

  --rand: clamp(16px, 4vw, 48px);
  --spalt: 24px;
  --felder: repeat(4, minmax(0, 1fr)) minmax(230px, 1.25fr);
  --z: 1;                       /* Maßstab der Schaltzeichen */
  --anzeige: "Saira", "Arial Narrow", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 1200px) { :root { --z: 1.25; } }
@media (max-width: 899px) { :root { --z: .9; --spalt: 8px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
[id] { scroll-margin-top: 24px; }

h1, h2, h3 {
  font-family: var(--anzeige);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1rem + 5.2vw, 4.75rem); }
h2 { font-size: clamp(1.65rem, 1rem + 2.3vw, 2.85rem); font-weight: 760; }
h3 { font-size: 1.3rem; font-stretch: 112%; font-weight: 700; line-height: 1.15; letter-spacing: 0; }
@media (max-width: 599px) {
  h1, h2 { font-stretch: 104%; hyphens: auto; overflow-wrap: break-word; }
}
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem); line-height: 1.5; max-width: 37em; }

:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; border-radius: 2px; }
.kopf :focus-visible, .buehne :focus-visible, .band--schwarz :focus-visible, .fuss :focus-visible { outline-color: #fff; }

.sprung {
  position: absolute; left: 8px; top: -80px; z-index: 20;
  padding: 12px 16px; background: #fff; color: var(--tinte); font-weight: 600;
}
.sprung:focus { top: 8px; }

.innen { max-width: 1240px; margin-inline: auto; padding-inline: var(--rand); }

/* ---------- Kopf ---------- */
.kopf { background: var(--schwarz); color: #fff; position: relative; z-index: 10; }
.kopf__innen {
  max-width: 1240px; margin-inline: auto; padding: 0 var(--rand);
  min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.kopf__logo { display: block; flex: none; padding: 6px 0; }
.kopf__logo img { width: clamp(150px, 15vw, 198px); height: auto; }
.nav-breit ul { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav-breit a, .nav-schmal a {
  display: block; padding: 10px 0; text-decoration: none; font-weight: 500; font-size: 1rem; color: #e9eaeb;
}
.nav-breit a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rot-hell); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-breit a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--rot-hell); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-breit a.nav-kontakt {
  padding: 9px 18px; border: 1.5px solid var(--stahl); border-radius: 4px; color: #fff;
}
.nav-breit a.nav-kontakt:hover, .nav-breit a.nav-kontakt[aria-current="page"] { text-decoration: none; background: #fff; border-color: #fff; color: var(--schwarz); }
.nav-schmal { display: none; }
@media (max-width: 1079px) {
  .kopf__innen { min-height: 64px; }
  .nav-breit { display: none; }
  .nav-schmal { display: block; }
  .nav-schmal summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 14px; border: 1.5px solid var(--stahl); border-radius: 4px; font-weight: 600;
  }
  .nav-schmal summary::-webkit-details-marker { display: none; }
  .nav-schmal__zeichen { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
  .nav-schmal__zeichen::after { content: ""; position: absolute; inset-inline: 0; top: 3px; border-top: 2px solid currentColor; }
  .nav-schmal[open] summary { background: #fff; color: var(--schwarz); border-color: #fff; }
  .nav-schmal nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--schwarz); border-top: 1px solid #26272c; border-bottom: 3px solid var(--rot-hell);
    padding: 8px var(--rand) 20px;
  }
  .nav-schmal li + li { border-top: 1px solid #26272c; }
  .nav-schmal a { padding: 15px 0; font-size: 1.1rem; }
  .nav-schmal a[aria-current="page"] { color: var(--rot-hell); }
}

/* ---------- Knöpfe und Links ---------- */
.knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border: 1.5px solid var(--rot); border-radius: 4px;
  background: var(--rot); color: #fff; cursor: pointer;
  font: 650 1.02rem/1.1 var(--anzeige); font-stretch: 112%; letter-spacing: .01em; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.knopf:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: .6; cursor: progress; }
.knopf--linie { background: transparent; border-color: var(--nebel); color: #fff; }
.knopf--linie:hover { background: #fff; border-color: #fff; color: var(--schwarz); }
.textlink { font-weight: 600; }
.textlink:hover, .text a:hover, .formular-raster a:hover { text-decoration-color: var(--rot); }

/* ---------- Schaltzeichen ---------- */
.zeichen {
  width: calc(80px * var(--z)); height: auto; overflow: visible; flex: none;
  fill: none; stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round;
}
.zeichen path, .zeichen rect, .zeichen circle { vector-effect: non-scaling-stroke; }
.zeichen .l { stroke: var(--rot-hell); }
.zeichen .g { stroke: var(--silber); }
.zeichen .t { fill: var(--silber); stroke: none; font: 600 21px var(--text); text-anchor: middle; }
.zeichen .t--klein { font-size: 11.5px; letter-spacing: .04em; }
.zeichen .punkt { fill: var(--stahl); stroke: none; }
.zeichen .blitz { fill: var(--rot-hell); stroke: none; }
.zeichen .knoten { fill: var(--rot-hell); stroke: none; }
.zeichen .arm { transform-box: fill-box; transform-origin: 50% 100%; }

.zeichen--solo { width: 72px; }
.zeichen--solo .g { stroke: var(--tinte); }
.zeichen--solo .t { fill: var(--tinte); }
.zeichen--solo .punkt { fill: var(--stahl); }
.zeichen--solo .blitz { fill: var(--rot); }

/* Zuschalten beim Laden: einmal, von der Einspeisung zu den Abgängen */
@keyframes unter-spannung { from { stroke: var(--stahl); } }
@keyframes knoten-an { from { fill: var(--stahl); } }
@keyframes schliessen { from { transform: rotate(-34deg); stroke: var(--stahl); } }
@keyframes schiene-an { from { transform: scaleX(0); } }
@keyframes linie-an { from { background-color: var(--stahl); } }

.stufe .l { animation: unter-spannung .22s both; animation-delay: var(--t, 0s); }
.zeichen .arm { animation: schliessen .26s cubic-bezier(.5, 0, .3, 1.4) both; animation-delay: var(--t, 0s); }
.zeichen .knoten { animation: knoten-an .2s both; animation-delay: var(--t, 0s); }

.zeichen--einspeisung .stufe-0 { --t: .25s; }
.zeichen--einspeisung .arm-1 { --t: .5s; }
.zeichen--einspeisung .stufe-1 { --t: .78s; }
.zeichen--einspeisung .arm-2 { --t: 1.05s; }
.zeichen--einspeisung .stufe-3 { --t: 1.33s; }
.zeichen--einspeisung .stufe-2 { --t: .86s; }
.zeichen--einspeisung .knoten { --t: 1.45s; }

.abgang--4 { --a: 1.75s; }
.abgang--3 { --a: 1.95s; }
.abgang--2 { --a: 2.15s; }
.abgang--1 { --a: 2.35s; }
.zeichen--abgang .knoten, .zeichen--abgang .stufe-a { --t: var(--a, 0s); }
.zeichen--abgang .arm { --t: calc(var(--a, 0s) + .2s); }
.zeichen--abgang .stufe-b { --t: calc(var(--a, 0s) + .48s); }

.schiene { position: relative; height: 6px; background: var(--stahl); }
.schiene::after {
  content: ""; position: absolute; inset: 0; background: var(--rot-hell);
  transform-origin: 100% 50%; animation: schiene-an .8s cubic-bezier(.55, 0, .3, 1) 1.45s both;
}

/* ---------- Bühne Startseite ---------- */
.buehne { background: var(--schwarz); color: #fff; overflow-x: clip; }
.buehne .lead { color: #dfe0e2; }
.buehne--start { --oben: clamp(24px, 5vh, 60px); padding-top: var(--oben); }

.plan {
  max-width: 1240px; margin-inline: auto; padding-inline: var(--rand);
  display: grid; grid-template-columns: var(--felder); column-gap: var(--spalt);
  grid-template-areas:
    "titel   titel   titel   titel   einsp"
    "text    text    text    .       einsp"
    "schiene schiene schiene schiene schiene"
    "abg     abg     abg     abg     .";
}
.plan__titel { grid-area: titel; margin-bottom: .42em; }
.plan__text { grid-area: text; padding-bottom: clamp(40px, 6.5vh, 80px); }
.plan__text .lead { margin-bottom: 1.7em; }

.einspeisung {
  grid-area: einsp; position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: #fff; min-height: calc(290px * var(--z));
}
.einspeisung::before {
  content: ""; flex: 1; width: 2px; margin-left: calc(40px * var(--z) - 1px); margin-top: calc(-1 * var(--oben));
  background: var(--rot-hell); animation: linie-an .22s .1s both;
}
.einspeisung__netz {
  position: absolute; top: 0; left: calc(40px * var(--z) + 16px);
  font: 600 .95rem/1 var(--anzeige); font-stretch: 112%; color: var(--nebel);
}
.einspeisung__schild {
  position: absolute; left: calc(80px * var(--z) + 6px); bottom: calc(135px * var(--z)); transform: translateY(50%);
  display: grid; gap: 5px;
}
.abgang__name { font: 650 1.2rem/1.1 var(--anzeige); font-stretch: 114%; color: #fff; }
.abgang__zeile { font-size: .9rem; line-height: 1.35; color: var(--nebel); max-width: 15em; }

.plan > .schiene { grid-area: schiene; width: 100vw; margin-left: calc(50% - 50vw); }

.abgaenge { grid-area: abg; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--spalt); }
.abgang {
  display: grid; justify-items: start; align-content: start; gap: 6px;
  padding-bottom: clamp(36px, 6vh, 64px); text-decoration: none; color: #fff;
}
.abgang .zeichen { margin-bottom: 12px; }
.abgang:hover .g, .einspeisung:hover .g { stroke: #fff; }
.abgang:hover .t, .einspeisung:hover .t { fill: #fff; }
.abgang:hover .abgang__name, .einspeisung:hover .abgang__name {
  text-decoration: underline; text-decoration-color: var(--rot-hell); text-decoration-thickness: 2px; text-underline-offset: 6px;
}

@media (max-width: 899px) {
  .buehne--start { --oben: 20px; }
  .plan {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "titel   titel   titel   titel"
      "text    text    text    einsp"
      "schiene schiene schiene schiene"
      "abg     abg     abg     abg";
  }
  .plan__text { padding-bottom: 36px; padding-right: 8px; }
  .plan__text .knoepfe { flex-direction: column; align-items: stretch; }
  .einspeisung { align-items: flex-end; min-height: 0; }
  .einspeisung::before { margin: 0 calc(40px * var(--z) - 1px) 0 0; }
  .einspeisung__netz { left: auto; right: calc(40px * var(--z) + 10px); font-size: .8rem; }
  .einspeisung__schild {
    left: auto; right: calc(62px * var(--z)); bottom: calc(135px * var(--z));
    writing-mode: vertical-rl; transform: translateY(50%) rotate(180deg);
  }
  .einspeisung__schild .abgang__zeile, .abgang .abgang__zeile { display: none; }
  .abgang__name { font-size: .84rem; font-stretch: 100%; font-weight: 600; }
  .abgang { padding-bottom: 32px; }
  .abgang .zeichen { margin-bottom: 8px; }
}
@media (max-width: 379px) { .abgang__name { font-size: .76rem; } }

/* ---------- Bühne Unterseiten ---------- */
.seitenkopf {
  max-width: 1240px; margin-inline: auto; padding-inline: var(--rand);
  display: grid; grid-template-columns: var(--felder); column-gap: var(--spalt);
}
.seitenkopf__text { grid-column: 1 / 5; grid-row: 1; padding-block: clamp(44px, 7vw, 92px) clamp(48px, 7vw, 100px); }
.seitenkopf__text h1 { font-size: clamp(2rem, 1rem + 4.2vw, 4rem); margin-bottom: .5em; }
.seitenkopf__text h1:last-child { margin-bottom: 0; }
.seitenkopf__text .lead + .knoepfe { margin-top: 1.8em; }
.seitenkopf__abgang { grid-column: 5; grid-row: 1; --a: .95s; padding-bottom: 40px; }
.buehne--seite .schiene::after { animation-delay: .15s; }
.buehne--knapp .seitenkopf__text { padding-block: clamp(36px, 5vw, 64px); }
@media (max-width: 899px) {
  .seitenkopf { grid-template-columns: minmax(0, 1fr); }
  .seitenkopf__abgang { grid-column: 1; grid-row: 1; padding-bottom: 0; }
  .seitenkopf__text { grid-column: 1; grid-row: 2; padding-top: 22px; }
  .seitenkopf__text:first-child { grid-row: 1; padding-top: 40px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(56px, 9vw, 124px); background: var(--papier); }
.abschnitt--schrank { background: var(--schrank); }
.abschnitt + .abschnitt:not(.abschnitt--schrank) { border-top: 1px solid var(--linie); }

.auftakt { display: grid; grid-template-columns: var(--felder); column-gap: var(--spalt); margin-bottom: clamp(36px, 5vw, 68px); }
.auftakt h2 { grid-column: 1 / 3; }
.auftakt p { grid-column: 3 / 6; max-width: 36em; font-size: 1.14rem; }
@media (max-width: 899px) {
  .auftakt { display: block; }
  .auftakt h2 { margin-bottom: .6em; }
}

/* Leistungs-Zeilen der Startseite */
.felder { border-bottom: 1px solid var(--linie); }
.feldzeile {
  display: grid; grid-template-columns: var(--felder); column-gap: var(--spalt); align-items: center;
  padding: 26px 0; border-top: 1px solid var(--linie); text-decoration: none;
  transition: background-color .15s;
}
.feldzeile .zeichen { grid-column: 1; grid-row: 1; }
.feldzeile h3 { grid-column: 1 / 3; grid-row: 1; padding-left: 100px; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
.feldzeile p { grid-column: 3 / 5; grid-row: 1; }
.feldzeile__mehr { grid-column: 5; grid-row: 1; justify-self: end; font-weight: 600; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.feldzeile:hover { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.feldzeile:hover .feldzeile__mehr { text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.feldzeile:hover .g { stroke: var(--rot); }
.feldzeile:hover .t { fill: var(--rot); }
@media (max-width: 899px) {
  .feldzeile { grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 24px 0; }
  .feldzeile .zeichen { grid-row: 1 / 4; }
  .feldzeile h3 { grid-column: 2; grid-row: 1; padding-left: 0; }
  .feldzeile p { grid-column: 2; grid-row: 2; margin-top: 8px; }
  .feldzeile__mehr { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 12px; }
}

/* Ablauf: vier Schritte an einer Leitung */
.ablauf { counter-reset: schritt; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--tinte); }
.ablauf li { counter-increment: schritt; position: relative; padding: 30px 28px 0 0; }
.ablauf li::before {
  content: ""; position: absolute; left: 0; top: -9px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--tinte);
}
.ablauf li::after {
  content: counter(schritt); display: block; order: -1;
  font: 800 3.2rem/1 var(--anzeige); font-stretch: 125%; color: var(--rot);
}
.ablauf li { display: flex; flex-direction: column; }
.ablauf h3 { margin: 14px 0 10px; font-size: 1.45rem; }
@media (max-width: 899px) {
  .ablauf { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 3px solid var(--tinte); }
  .ablauf li { padding: 0 0 34px 28px; }
  .ablauf li:last-child { padding-bottom: 0; }
  .ablauf li::before { left: -9px; top: 12px; }
  .ablauf li::after { font-size: 2.6rem; }
}

/* Bänder */
.band { padding-block: clamp(56px, 8vw, 108px); }
.band--schwarz { background: var(--schwarz); color: #fff; }
.band--schwarz p { color: #dfe0e2; }
.band__raster { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px var(--spalt); align-items: end; }
.band__raster h2 { margin-bottom: .55em; max-width: 17em; }
.band__raster > div > p { max-width: 36em; font-size: 1.14rem; }
.band__raster .knoepfe { justify-content: flex-end; }
@media (max-width: 899px) {
  .band__raster { grid-template-columns: minmax(0, 1fr); }
  .band__raster .knoepfe { justify-content: flex-start; }
}

/* Leistungsseite */
.punkte { border-bottom: 1px solid var(--linie); }
.punkte > div {
  display: grid; grid-template-columns: var(--felder); column-gap: var(--spalt);
  padding: 24px 0; border-top: 1px solid var(--linie);
}
.punkte dt { grid-column: 1 / 3; font: 700 1.3rem/1.15 var(--anzeige); font-stretch: 112%; }
.punkte dd { grid-column: 3 / 6; max-width: 36em; }
@media (max-width: 899px) {
  .punkte > div { display: block; padding: 20px 0; }
  .punkte dt { margin-bottom: 6px; }
}
h2.klein { font-size: 1.3rem; font-stretch: 112%; font-weight: 700; margin-bottom: 22px; }
.weitere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalt); }
.weitere a { display: flex; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; font: 650 1.1rem/1.15 var(--anzeige); font-stretch: 112%; border-top: 3px solid var(--tinte); }
.weitere .zeichen--solo { width: 56px; }
.weitere a:hover { border-top-color: var(--rot); }
.weitere a:hover .g { stroke: var(--rot); }
.weitere a:hover .t { fill: var(--rot); }
@media (max-width: 899px) { .weitere { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .weitere a { font-size: 1rem; } }
@media (max-width: 479px) { .weitere { grid-template-columns: minmax(0, 1fr); } }

/* Stellen */
.stellen { display: grid; gap: 0; border-bottom: 1px solid var(--linie); }
.stellen li { padding: 24px 0; border-top: 1px solid var(--linie); max-width: 46em; }
.stellen__meta { color: #4b4e55; margin: 4px 0 10px; }
.stellen .textlink { display: inline-block; margin-top: 12px; }

/* ---------- Formulare ---------- */
.formular-raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.formular-raster__text h2 { margin-bottom: .6em; }
.formular-raster__text h3 { margin: 1.6em 0 .6em; }
.formular-raster__text p + p { margin-top: 1em; }
.schritte { counter-reset: s; display: grid; gap: 10px; margin-bottom: 1.4em; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; }
.schritte li::before { content: counter(s); font: 800 1.15rem/1.4 var(--anzeige); font-stretch: 125%; color: var(--rot); }
.kontaktdaten { display: grid; gap: 18px; margin-bottom: 1.6em; }
.kontaktdaten span { display: block; font-size: .9rem; color: #4b4e55; }
.kontaktdaten a { font: 650 1.25rem/1.3 var(--anzeige); font-stretch: 110%; overflow-wrap: anywhere; }
@media (max-width: 899px) { .formular-raster { grid-template-columns: minmax(0, 1fr); } }

.formular { display: grid; gap: 22px; }
.feldpaar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
@media (max-width: 599px) { .feldpaar { grid-template-columns: minmax(0, 1fr); } }
.feld label { display: block; font-weight: 600; margin-bottom: 6px; }
.feld__frei { font-weight: 400; font-size: .88rem; color: #4b4e55; margin-left: 4px; }
.feld__hinweis { font-size: .93rem; color: #3c3f45; margin: -2px 0 8px; }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld select, .feld textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid #5d6167; border-radius: 4px; background: #fff; color: var(--tinte);
  font: inherit; line-height: 1.4;
}
.feld textarea { resize: vertical; min-height: 8em; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline-offset: 1px; border-color: var(--tinte); }
.feld input[type="file"] {
  display: block; width: 100%; padding: 14px; border: 1.5px dashed #5d6167; border-radius: 4px; background: rgba(255, 255, 255, .6);
  font: inherit; font-size: .95rem; cursor: pointer;
}
.feld input[type="file"]::file-selector-button {
  margin-right: 14px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--tinte); border-radius: 4px;
  background: var(--tinte); color: #fff; font: 600 .95rem var(--text); cursor: pointer;
}
.dateiliste { margin-top: 8px; display: grid; gap: 4px; font-size: .95rem; }
.dateiliste li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; background: rgba(255, 255, 255, .7); border-radius: 3px; }
.dateiliste li span:last-child { color: #4b4e55; white-space: nowrap; }
.dateiliste .zu-gross { color: var(--rot-dunkel); font-weight: 600; }
.feld--haken { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.feld--haken input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--rot); }
.feld--haken label { font-weight: 400; margin: 0; }
.feld--haken .feld__fehler { grid-column: 2; }
.feld--fehler input, .feld--fehler select, .feld--fehler textarea { border-color: var(--rot); border-width: 2px; }
.feld__fehler { margin-top: 6px; color: var(--rot-dunkel); font-weight: 600; }
.formular__hinweis { font-size: .93rem; color: #3c3f45; }
.nicht-ausfuellen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { padding: 22px 24px; border-left: 6px solid var(--tinte); background: #fff; margin-bottom: 24px; }
.meldung h2, .meldung h3 { font-size: 1.25rem; font-stretch: 112%; font-weight: 700; line-height: 1.2; margin: 0 0 6px; }
.meldung--fehler { border-left-color: var(--rot); }
.meldung--ok { border-left-color: #14753b; }

/* ---------- Textseiten ---------- */
.text > * { max-width: 44rem; }
.text h2 { font-size: 1.4rem; font-stretch: 112%; font-weight: 700; line-height: 1.2; margin: 2.2em 0 .5em; }
.text > h2:first-child { margin-top: 0; }
.text p + p { margin-top: .9em; }
.text .lead { margin-bottom: .5em; }
.text .meldung { margin-bottom: 40px; }
.text .meldung h2 { margin-top: 0; }
.luecke { background: #ffe07a; color: #2b2200; padding: 1px 6px; border-radius: 2px; }
.stand { margin-top: 2.5em !important; color: #4b4e55; font-size: .95rem; }

/* ---------- Fuß ---------- */
.fuss { background: var(--schwarz); color: #d9dadc; padding-top: clamp(48px, 7vw, 88px); border-top: 6px solid var(--rot-hell); }
.fuss__raster { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px var(--spalt); }
.fuss__marke img { width: min(236px, 70vw); height: auto; }
.fuss h2 { font: 650 1rem/1.2 var(--anzeige); font-stretch: 112%; letter-spacing: 0; color: var(--nebel); margin-bottom: 14px; }
.fuss li + li { margin-top: 2px; }
.fuss a { text-decoration: none; display: inline-block; padding: 5px 0; color: #fff; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--rot-hell); text-decoration-thickness: 2px; }
.fuss address { line-height: 1.7; }
.fuss__ende { margin-top: clamp(40px, 6vw, 72px); font-size: .93rem; color: var(--nebel); }
.fuss__ende p { padding-block: 22px; border-top: 1px solid #26272c; }
@media (max-width: 899px) { .fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 479px) { .fuss__raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hinweis-Fenster ---------- */
.hinweis {
  width: min(34rem, calc(100vw - 2 * var(--rand))); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 4px; background: var(--papier); color: var(--tinte);
  box-shadow: 0 24px 80px rgba(1, 0, 5, .55);
}
.hinweis::backdrop { background: rgba(1, 0, 5, .72); }
.hinweis .schiene::after { animation-delay: .15s; }
.hinweis__innen { padding: clamp(24px, 5vw, 40px); }
.hinweis h2 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.3rem); }
.hinweis p { margin: 14px 0 28px; max-width: 30em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .kopf nav, .nav-schmal, .knoepfe, .fuss nav, .hinweis { display: none; }
  .buehne, .kopf, .fuss, .band--schwarz { background: #fff; color: #000; }
}
