/* ==========================================================
   Farben aus dem Gruppenlogo: Schwarz, Buchstaben-Gelb,
   Sonnen-Amber aus der Logomitte, Grau vom Logorand.
   Schriften liegen lokal in app/static/fonts – nichts wird
   von fremden Servern geladen (DSGVO, siehe README).
   ========================================================== */

@font-face { font-family: "Heros Cn"; src: url("../fonts/texgyreheroscn-bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Markenfarben */
  --gelb: #f4ed2f;          /* Buchstaben im Logo */
  --gelb-tief: #ddd51c;     /* Hover auf gelben Knöpfen */
  --amber: #f8c059;         /* Sonne in der Logomitte */
  --logograu: #aeaca8;      /* Ring um das Logo */
  --nacht: #08090b;         /* Kopf- und Fußzeile */
  --schwarz: #101114;       /* Seitenhintergrund */
  --asphalt: #26272c;

  /* Flächen und Text */
  --grund: var(--schwarz);
  --flaeche: #191a1e;
  --flaeche-hoch: #222328;
  --tinte: #eeece6;
  --tinte-ruhig: #cfccc5;
  --grau: var(--logograu);
  --linie: #34363c;
  --linie-stark: #4a4c53;
  --akzent: var(--gelb);
  --fokus: #ffffff;
  --ok: #7fcb8e;
  --fehler: #ff7a59;
  --herz: var(--gelb);

  --schrift-kopf: "Heros Cn", "Arial Narrow", "Roboto Condensed", "DejaVu Sans Condensed", sans-serif;
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--grund); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

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

h1, h2, h3 {
  font-family: var(--schrift-kopf);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.45rem; line-height: 1.1; }
p { margin: 0 0 0.9em; }
strong { font-weight: 700; }

a { color: var(--akzent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
::selection { background: var(--gelb); color: var(--schwarz); }

.breite { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.schmal { max-width: 44rem; margin-left: max(var(--rand), (100% - var(--breite)) / 2); }

.sprunglink { position: absolute; left: -999px; top: 0.5rem; background: var(--gelb); color: var(--schwarz); font-weight: 700; padding: 0.5rem 1rem; z-index: 10; }
.sprunglink:focus { left: 0.5rem; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */

.kopf { background: var(--nacht); color: var(--tinte); border-bottom: 1px solid #1d1e22; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; min-height: 4.5rem; flex-wrap: wrap; padding-block: 0.55rem; }
.marke { display: flex; align-items: center; gap: 0.8rem; color: inherit; text-decoration: none; min-width: 0; }
.marke-logo { height: 3.4rem; width: auto; }
.marke-name { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.35rem; line-height: 1.05; max-width: 21ch; }
@media (max-width: 40rem) {
  .marke.hat-logo .marke-name { display: none; }
  .marke-logo { height: 3rem; }
}

.hauptnav { display: flex; gap: 0.25rem 1.5rem; flex-wrap: wrap; margin-left: auto; }
.hauptnav a, .korb-link { color: var(--tinte-ruhig); text-decoration: none; font-weight: 600; padding-block: 0.45rem; border-bottom: 3px solid transparent; }
.hauptnav a:hover, .korb-link:hover { color: var(--tinte); border-bottom-color: var(--linie-stark); }
.hauptnav a[aria-current="page"], .korb-link[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--gelb); }
.korb-link { white-space: nowrap; }
.kopf-rechts { display: flex; align-items: center; gap: 1.25rem; }
.konto-link { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
/* Handy: Logo und Warenkorb in der ersten Zeile, Menü darunter */
@media (max-width: 40rem) {
  .marke { margin-right: auto; }
  .hauptnav { order: 3; flex-basis: 100%; margin-left: 0; gap: 0 1.2rem; }
  .kopf-innen { row-gap: 0.15rem; }
}
.zaehler { display: inline-block; min-width: 1.5em; padding: 0 0.4em; border-radius: 1em; background: var(--gelb); color: var(--schwarz); font-size: 0.8em; font-weight: 700; line-height: 1.5; text-align: center; }

/* ---------- Startseite: Held mit Logo und Schild ---------- */

.held { background: var(--nacht); color: var(--tinte); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.75rem); overflow: hidden; }
.held-innen {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 1fr);
  grid-template-areas: "text logo" "text schild";
  gap: 1.75rem clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.held-innen.ohne-logo { grid-template-areas: "text schild" "text schild"; align-items: end; }
.held-text { grid-area: text; }
.held h1 {
  color: var(--gelb);
  text-transform: uppercase;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin-bottom: 0.4em;
  max-width: 15ch;
}
.held-slogan { font-size: clamp(1.1rem, 1.9vw, 1.28rem); max-width: 36ch; color: var(--tinte-ruhig); }
.held-aktionen { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.75rem 0 0; }

/* Die Sonne aus der Logomitte leuchtet in die Seite hinein */
.held-logo { grid-area: logo; position: relative; justify-self: center; width: min(100%, 21rem); }
.held-logo::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(closest-side, rgba(248, 192, 89, 0.42), rgba(248, 192, 89, 0.12) 55%, transparent);
  pointer-events: none;
}
.held-logo img { position: relative; width: 100%; }

/* Nächster Termin als gelbes Schild, wie ein Umleitungsschild */
.schild {
  grid-area: schild;
  justify-self: center;
  width: min(100%, 21rem);
  position: relative;
  background: var(--gelb);
  color: var(--schwarz);
  border-radius: 0.7rem;
  padding: 1.15rem 1.4rem 1.25rem;
  box-shadow: inset 0 0 0 0.35rem var(--gelb), inset 0 0 0 calc(0.35rem + 3px) var(--schwarz);
}
.schild h2 { font-family: var(--schrift); font-size: 0.95rem; font-weight: 700; margin: 0 0 0.25rem; }
.schild-datum { font-family: var(--schrift-kopf); font-weight: 700; font-size: clamp(2.6rem, 5.5vw, 3.4rem); line-height: 1; margin: 0 0 0.35rem; }
.schild-datum span { opacity: 0.55; }
.schild-name { font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.15rem; }
.schild-info { margin: 0; font-size: 0.98rem; }

@media (max-width: 52rem) {
  .held-innen, .held-innen.ohne-logo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "text" "schild";
    gap: 1.75rem;
    align-items: start;
  }
  .held-logo { width: min(62vw, 15rem); }
  .held h1 { max-width: none; }
  .schild { justify-self: start; }
}

.strassenband { height: 2.75rem; background: var(--asphalt); position: relative; }
.strassenband::after {
  content: "";
  position: absolute;
  inset: calc(50% - 2px) 0 auto;
  height: 4px;
  background: repeating-linear-gradient(to right, var(--gelb) 0 2.2rem, transparent 2.2rem 3.8rem);
}

.abschnitt { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.abschnitt + .abschnitt { padding-top: 0; }

/* Termine als Straße mit Herzen als Wegpunkte */
.strasse { list-style: none; margin: 0 0 1.5rem; padding: 0 0 0 4.75rem; position: relative; max-width: 50rem; }
.strasse::before {
  content: "";
  position: absolute;
  left: 0.9rem; top: -0.5rem; bottom: -0.5rem;
  width: 2.6rem;
  background: var(--asphalt);
  border-radius: 0.3rem;
  box-shadow: inset 2px 0 0 #3a3b41, inset -2px 0 0 #3a3b41;
}
.strasse::after {
  content: "";
  position: absolute;
  left: calc(0.9rem + 1.3rem - 2px); top: -0.5rem; bottom: -0.5rem;
  width: 4px;
  background: repeating-linear-gradient(to bottom, var(--gelb) 0 1.4rem, transparent 1.4rem 2.6rem);
}
.stopp { position: relative; padding: 0.4rem 0 1.9rem; display: grid; grid-template-columns: 5.75rem minmax(0, 1fr); gap: 0 1rem; }
.stopp-herz {
  position: absolute;
  left: -4.15rem; top: 0.35rem;
  width: 2.2rem; height: 2.2rem;
  fill: var(--herz);
  stroke: var(--nacht);
  stroke-width: 1.6;
  z-index: 1;
}
.stopp-datum { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.85rem; line-height: 1; margin: 0.35rem 0 0; }
.stopp-wtag { display: block; font-size: 1.05rem; color: var(--grau); }
.stopp-art { font-size: 0.9rem; font-weight: 600; color: var(--amber); margin: 0 0 0.1rem; }
.stopp h3 { margin-bottom: 0.3rem; }
.stopp-wann, .stopp-wo { margin: 0; color: var(--grau); }
.stopp-text { margin-top: 0.6rem; max-width: 60ch; }
@media (max-width: 34rem) {
  .strasse { padding-left: 3.5rem; }
  .strasse::before { left: 0.4rem; width: 2rem; }
  .strasse::after { left: calc(0.4rem + 1rem - 2px); }
  .stopp { grid-template-columns: 1fr; }
  .stopp-herz { left: -3.4rem; width: 1.9rem; height: 1.9rem; }
  .stopp-datum { font-size: 1.4rem; margin: 0.3rem 0 0.4rem; }
  .stopp-wtag { display: inline; }
}

.zweispaltig { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.fliesstext { max-width: 65ch; }
/* Sicherheit: kurzer Warnstreifen wie auf einer Absperrung, ohne die Überschriften zu verschieben */
.sicherheit { position: relative; }
.sicherheit::before {
  content: "";
  position: absolute;
  left: 0; top: -1.4rem;
  width: 6.5rem; height: 0.6rem;
  background: repeating-linear-gradient(-45deg, var(--gelb) 0 0.55rem, transparent 0.55rem 1.1rem);
}
.einleitung { font-size: 1.15rem; max-width: 60ch; color: var(--tinte-ruhig); }
.leer { color: var(--grau); max-width: 55ch; }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: 0.55rem 1.35rem;
  border: 2px solid var(--gelb); border-radius: 0.4rem;
  background: var(--gelb); color: var(--schwarz);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.knopf:hover { background: var(--gelb-tief); border-color: var(--gelb-tief); }
.knopf-herz { /* Hauptaktion, gleich wie .knopf */ }
.knopf-rand, .knopf-rand-dunkel { background: transparent; border-color: var(--linie-stark); color: var(--tinte); }
.knopf-rand:hover, .knopf-rand-dunkel:hover { background: var(--flaeche-hoch); border-color: var(--tinte); }
.knopf-klein { min-height: 2.3rem; padding: 0.3rem 0.9rem; font-size: 0.95rem; }
.knopf-breit { width: 100%; }

button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--akzent); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-gefahr { color: var(--fehler); }

/* ---------- Shop ---------- */

.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-bottom: 2rem; }
.produkt { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.produkt-bild {
  display: grid; place-items: center;
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--flaeche); border-radius: 0.4rem; margin-bottom: 0.75rem;
}
.produkt-bild img { width: 100%; height: 100%; object-fit: cover; }
.platzhalter { width: 28%; fill: var(--linie-stark); }
.produkt-name { font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.produkt-preis { color: var(--gelb); font-weight: 600; }
.produkt:hover .produkt-name { text-decoration: underline; text-underline-offset: 0.2em; }
.produkt:hover .produkt-bild { outline: 2px solid var(--gelb); outline-offset: 3px; }

/* Smartphone: 2 Produkte nebeneinander, auf breiten Handys und im Querformat 3 */
@media (max-width: 47.99rem) {
  .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
  .produkt-bild { margin-bottom: 0.5rem; }
  .produkt-name { font-size: 0.98rem; }
  .produkt-preis { font-size: 0.92rem; }
}
@media (min-width: 30rem) and (max-width: 47.99rem) {
  .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.produktseite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 46rem) { .produktseite { grid-template-columns: 1fr; } }
.produktseite-bild img, .produktseite-bild .produkt-bild { border-radius: 0.4rem; width: 100%; }
.preis-gross { font-family: var(--schrift-kopf); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--gelb); margin: -0.1rem 0 1rem; }
.kaufen { margin-top: 1.5rem; }
.kaufen .hilfe { margin-bottom: 1rem; }

.groessen { border: 0; padding: 0; margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.groessen legend { font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.groessen label { position: relative; }
.groessen input { position: absolute; opacity: 0; inset: 0; }
.groessen span {
  display: inline-grid; place-items: center;
  min-width: 3.2rem; min-height: 2.8rem; padding: 0 0.7rem;
  border: 2px solid var(--linie-stark); border-radius: 0.4rem;
  font-weight: 700; cursor: pointer; background: var(--flaeche);
}
.groessen label:hover span { border-color: var(--tinte); }
.groessen input:checked + span { border-color: var(--gelb); background: var(--gelb); color: var(--schwarz); }
.groessen input:focus-visible + span { outline: 3px solid var(--fokus); outline-offset: 2px; }

/* ---------- Warenkorb und Kasse ---------- */

.korb { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--linie); }
.korb-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem 1.25rem; align-items: center; padding-block: 0.9rem; border-bottom: 1px solid var(--linie); }
.korb-name { font-weight: 700; margin: 0; }
.korb-detail { margin: 0; color: var(--grau); font-size: 0.95rem; }
.korb-menge { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.korb .korb-menge input { width: 4.2rem; }
.korb-summe { margin: 0; font-weight: 700; text-align: right; }
.korb-gesamt { display: flex; justify-content: space-between; font-size: 1.15rem; }
.korb-kompakt .korb-zeile { grid-template-columns: minmax(0, 1fr) auto; padding-block: 0.6rem; }
@media (max-width: 34rem) {
  .korb-zeile { grid-template-columns: minmax(0, 1fr) auto; }
  .korb-menge { grid-column: 1 / -1; order: 3; }
}
.aktionen { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; }

.kasse { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.kasse > h1 { grid-column: 1 / -1; }
.kasse-uebersicht { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.5rem; padding: 1.25rem 1.5rem; position: sticky; top: 1rem; }
@media (max-width: 52rem) {
  .kasse { grid-template-columns: 1fr; }
  .kasse-uebersicht { position: static; order: -1; }
  .kasse > h1 { order: -2; }
}

.kasten { background: var(--flaeche); border: 1px solid var(--linie); border-left: 4px solid var(--gelb); border-radius: 0.4rem; padding: 1.1rem 1.4rem; margin-block: 1.5rem; }
.kasten h2 { font-size: 1.6rem; }
.bankdaten { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.35rem 1.25rem; margin: 0 0 1.5rem; }
.bankdaten dt { color: var(--grau); }
.bankdaten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Formulare ---------- */

.formular { max-width: 40rem; }
.formular-schmal { max-width: 24rem; }
.formular h2 { margin-top: 0.5rem; }
.feld { margin-bottom: 1.15rem; }
.feld > label, .auswahl legend { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.optional { font-weight: 400; color: var(--grau); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"],
input[type="password"], input[type="date"], input[type="time"], input:not([type]), select, textarea {
  width: 100%;
  font: inherit; color: var(--tinte);
  background: #141518;
  border: 1px solid var(--linie-stark); border-radius: 0.4rem;
  padding: 0.6rem 0.75rem;
  min-height: 2.8rem;
}
input[type="file"] { font: inherit; color: var(--tinte-ruhig); max-width: 100%; }
input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; color: var(--tinte);
  background: var(--flaeche-hoch); border: 1px solid var(--linie-stark); border-radius: 0.4rem;
  padding: 0.45rem 0.9rem; margin-right: 0.8rem; cursor: pointer;
}
input:hover:not(:focus):not([type="checkbox"]):not([type="radio"]):not([type="file"]), select:hover, textarea:hover { border-color: #62646b; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gelb); outline-offset: 1px; border-color: var(--gelb); }
::placeholder { color: #7d7b77; }
textarea { resize: vertical; }
.feld.feld-menge input { width: 6rem; }
.hilfe { font-size: 0.92rem; color: var(--grau); margin: 0.3rem 0 0; }
.fehlertext { color: var(--fehler); font-weight: 600; font-size: 0.95rem; margin: 0.35rem 0 0; }
.hat-fehler input, .hat-fehler textarea { border-color: var(--fehler); }

.auswahl { border: 0; padding: 0; margin: 0 0 1.25rem; }
.auswahl label, .haken label, label.haken { display: flex; gap: 0.65rem; align-items: baseline; padding-block: 0.35rem; font-weight: 400; cursor: pointer; }
.auswahl label .hilfe { display: block; margin: 0.1rem 0 0; }
.auswahl input, .haken input { position: relative; top: 0.15em; }
input[type="radio"], input[type="checkbox"] { width: 1.15rem; height: 1.15rem; accent-color: var(--gelb); flex: none; }
.haken { margin-bottom: 1.25rem; }
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feldreihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0 1rem; }

/* ---------- Meldungen ---------- */

.meldungen { padding-top: 1.25rem; }
.meldung { padding: 0.8rem 1.1rem; border-radius: 0.4rem; border-left: 4px solid; background: var(--flaeche); margin-bottom: 0.5rem; }
.meldung-ok { border-color: var(--ok); }
.meldung-fehler { border-color: var(--fehler); }
.meldung + h2, .meldung + section, .kasten + h2 { margin-top: 1.75rem; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--nacht); color: var(--tinte-ruhig); margin-top: 2rem; border-top: 1px solid #1d1e22; }
.fuss-innen { display: flex; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: 2.5rem; }
.fuss a { color: var(--tinte-ruhig); }
.fuss a:hover { color: var(--gelb); }
.fuss p { margin: 0 0 0.3rem; }
.fuss-name { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.45rem; line-height: 1.1; color: var(--gelb); max-width: 22ch; }
.fuss-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; align-content: flex-start; }

/* ---------- Verwaltung ---------- */

.admin { padding-block: 1.5rem 3rem; }
.admin h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
/* Menü: obere Zeile die Bereiche, darunter die Seiten des offenen Bereichs als Leiste */
.admin-kopf { border-bottom: 1px solid var(--linie); margin-bottom: 1.75rem; }
.admin-kopf:has(+ .admin-unternav) { margin-bottom: 0; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0 1.6rem; align-items: center; }
.admin-nav a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--tinte-ruhig); text-decoration: none; font-weight: 700; font-size: 1.08rem; padding-block: 0.55rem 0.5rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.admin-nav a:hover { color: var(--tinte); border-bottom-color: var(--linie-stark); }
.admin-nav a[aria-current] { color: var(--tinte); border-bottom-color: var(--gelb); }
.admin-unternav { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.35rem; margin: 0.9rem 0 1.75rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.55rem; }
.admin-unternav a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; border-radius: 0.35rem; color: var(--tinte-ruhig); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.admin-unternav a:hover { color: var(--tinte); background: var(--flaeche-hoch); }
.admin-unternav a[aria-current="page"] { color: var(--tinte); background: var(--asphalt); box-shadow: inset 0 -3px 0 var(--gelb); }
@media (max-width: 40rem) {
  .admin-nav { gap: 0 1.1rem; }
  .admin-nav a { font-size: 1rem; }
  .admin-unternav a { padding: 0.35rem 0.65rem; font-size: 0.93rem; }
}
.admin-titel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-titel h1 { margin: 0; }
.reiter { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.reiter a { padding: 0.35rem 0.85rem; border: 1px solid var(--linie-stark); border-radius: 2rem; color: var(--tinte-ruhig); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.reiter a:hover { border-color: var(--tinte); color: var(--tinte); }
.reiter a[aria-current="page"] { background: var(--gelb); border-color: var(--gelb); color: var(--schwarz); }

.tabelle-rahmen { overflow-x: auto; margin-bottom: 1rem; border: 1px solid var(--linie); border-radius: 0.45rem; }
.tabelle { width: 100%; border-collapse: collapse; background: var(--flaeche); font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.tabelle-rahmen .tabelle { background: transparent; }
.tabelle-rahmen { background: var(--flaeche); }
.tabelle th, .tabelle td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle th { font-weight: 600; font-size: 0.9rem; color: var(--grau); white-space: nowrap; background: #15161a; }
.tabelle tbody tr:hover td { background: #1e1f24; }
.tabelle .zahl { text-align: right; white-space: nowrap; }
.tabelle:not(.tabelle-stapel) td:first-child { white-space: nowrap; }
.tabelle .gedimmt td { color: var(--grau); }
.mini { width: 2.6rem; height: 3.2rem; object-fit: cover; border-radius: 0.25rem; }
.vorschau { max-width: 10rem; border-radius: 0.3rem; margin-bottom: 0.6rem; }
.vorschau-logo { background: var(--nacht); padding: 0.5rem; border: 1px solid var(--linie); }
.status { display: inline-block; padding: 0.08rem 0.6rem; border-radius: 1rem; font-size: 0.86rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--linie-stark); color: var(--tinte-ruhig); }
.status-neu { background: var(--gelb); border-color: var(--gelb); color: var(--schwarz); }
.status-bezahlt { border-color: var(--amber); color: var(--amber); }
.status-erledigt, .status-storniert { color: var(--grau); border-color: var(--linie); }
.groesse-chip { display: inline-block; margin: 0 0.9rem 0.2rem 0; white-space: nowrap; }
.gruppe { border: 1px solid var(--linie); border-radius: 0.5rem; padding: 1.25rem 1.25rem 0.25rem; margin: 0 0 1.75rem; background: #141518; min-width: 0; }
.gruppe legend { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.45rem; padding: 0 0.4rem; color: var(--tinte); }
.gruppe .auswahl legend, .gruppe .groessen legend { font-family: var(--schrift); font-size: 1rem; font-weight: 600; padding: 0; margin-top: 0.75rem; }
.gefahr { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); max-width: 40rem; }

/* ---------- Fotogalerie ---------- */

.titelzeile { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.titelzeile h1 { margin: 0; }
.alben { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.album-karte { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.album-bild { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.4rem; background: var(--flaeche); margin-bottom: 0.7rem; }
.album-bild img { width: 100%; height: 100%; object-fit: cover; }
.album-titel { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.album-karte:hover .album-titel { text-decoration: underline; text-underline-offset: 0.18em; }
.album-karte:hover .album-bild { outline: 2px solid var(--gelb); outline-offset: 3px; }
.album-meta { color: var(--grau); }

.fotoraster { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.4rem; }
.foto-link { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0.25rem; background: var(--flaeche); }
.foto-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.foto-link:hover img { transform: scale(1.04); }
@media (max-width: 34rem) { .fotoraster { grid-template-columns: repeat(3, 1fr); gap: 0.2rem; } }
@media (prefers-reduced-motion: reduce) { .foto-link img { transition: none; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #050506; color: var(--tinte); }
.lightbox::backdrop { background: #050506; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 2rem); max-height: calc(100vh - 6rem); object-fit: contain; }
.lb-info { position: absolute; left: 0; right: 0; bottom: max(1rem, env(safe-area-inset-bottom)); text-align: center; margin: 0; font-size: 0.95rem; }
.lb-knopf { position: absolute; background: rgba(255, 255, 255, 0.12); border: 0; color: #fff; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-knopf:hover { background: var(--gelb); color: var(--schwarz); }
.lb-zu { top: max(1rem, env(safe-area-inset-top)); right: 1rem; font-size: 1.2rem; }
.lb-zurueck { left: 1rem; top: calc(50% - 1.5rem); }
.lb-weiter { right: 1rem; top: calc(50% - 1.5rem); }
.lb-einzeln .lb-zurueck, .lb-einzeln .lb-weiter { display: none; }
@media (max-width: 34rem) { .lb-zurueck, .lb-weiter { top: auto; bottom: 3rem; } }

.upload-stand { margin-top: 1.5rem; }
.upload-stand progress { width: 100%; height: 0.8rem; accent-color: var(--gelb); }
.upload-text { margin-top: 0.5rem; font-weight: 600; }
.upload-fehler { color: var(--fehler); padding-left: 1.2rem; }

.knopfreihe { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.auswahl-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 0.6rem 0; position: sticky; top: 0; background: var(--grund); z-index: 2; }
.auswahl-leiste .haken { margin: 0 auto 0 0; }
.fotoraster-admin { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.9rem; margin-top: 0.5rem; }
.fotoraster-admin li { display: flex; flex-direction: column; gap: 0.25rem; }
.foto-wahl { position: relative; display: block; cursor: pointer; }
.foto-wahl input { position: absolute; top: 0.5rem; left: 0.5rem; width: 1.4rem; height: 1.4rem; z-index: 1; }
.foto-wahl img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.3rem; border: 3px solid transparent; }
.foto-wahl input:checked + img { border-color: var(--gelb); }
.foto-info { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.85rem; color: var(--grau); margin-top: 0.3rem; }
.foto-info .status { align-self: flex-start; }
.foto-marken { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.foto-marken:empty { display: none; }
.status-verborgen { border-style: dashed; }
.foto-gross { font-size: 0.85rem; }
.auswahl-zahl { color: var(--gelb); font-weight: 600; font-size: 0.9rem; }
.auswahl-zahl:empty { display: none; }

/* Großansicht bei der Freigabe: blättern und markieren */
.lightbox-auswahl[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; padding: 3.8rem 4.5rem max(0.8rem, env(safe-area-inset-bottom)); box-sizing: border-box; }
.lightbox-auswahl:focus { outline: none; }
.lightbox-auswahl img { max-width: 100%; max-height: calc(100vh - 13rem); min-height: 0; border: 4px solid transparent; border-radius: 0.2rem; }
.lightbox-auswahl.ist-markiert img { border-color: var(--gelb); }
.lb-stand { position: absolute; top: max(1.6rem, env(safe-area-inset-top)); left: 1.2rem; right: 5rem; margin: 0; font-weight: 600; }
.lb-stand [data-lb-markiert] { color: var(--gelb); }
.lb-unten { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; max-width: 46rem; }
.lb-text { margin: 0; font-size: 0.92rem; color: var(--tinte-ruhig); }
.lb-markieren { min-width: 11rem; padding: 0.6rem 1.4rem; border-radius: 2rem; border: 2px solid var(--gelb); background: transparent; color: var(--tinte); font: inherit; font-weight: 700; cursor: pointer; }
.lb-markieren:hover { background: rgba(244, 237, 47, 0.15); }
.lb-markieren[aria-pressed="true"] { background: var(--gelb); color: var(--schwarz); }
.lb-tasten { margin: 0; font-size: 0.8rem; color: var(--grau); }
@media (max-width: 34rem) {
  .lightbox-auswahl[open] { padding: 3.6rem 0.6rem max(0.8rem, env(safe-area-inset-bottom)); }
  .lightbox-auswahl img { max-height: calc(100vh - 14rem); }
  .lightbox-auswahl .lb-zurueck, .lightbox-auswahl .lb-weiter { top: calc(50% - 4.5rem); bottom: auto; width: 2.6rem; height: 2.6rem; }
  .lightbox-auswahl .lb-zurueck { left: 0.3rem; }
  .lightbox-auswahl .lb-weiter { right: 0.3rem; }
  .lb-tasten { display: none; }
}
@media (hover: none) { .lb-tasten { display: none; } }

/* ---------- Über uns: Sprungmarken, Zahlen, Was wir machen, Unser Jahr, Mitmachen (seit 1.14) ---------- */

.sprungmarken ul { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sprungmarken a {
  display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--linie-stark); border-radius: 999px;
  color: var(--tinte); text-decoration: none; font-size: 0.95rem; font-weight: 600;
}
.sprungmarken a:hover { border-color: var(--gelb); color: var(--gelb); }

.zahlen {
  list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 1.4rem 0 0; position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.4rem clamp(1rem, 3vw, 2rem);
}
/* Mittelstreifen wie auf der Straße über den Zahlen */
.zahlen::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(to right, var(--gelb) 0 2.2rem, transparent 2.2rem 3.8rem);
}
.zahl { display: flex; flex-direction: column; gap: 0.2rem; }
.zahl-wert { font-family: var(--schrift-kopf); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.3rem); line-height: 1; color: var(--gelb); }
.zahl-text { color: var(--tinte-ruhig); font-size: 1rem; line-height: 1.35; max-width: 18ch; }

.machen-einleitung { margin-bottom: 2rem; }
.machen-einleitung strong { color: var(--tinte); }
.kacheln {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
/* Zwei bzw. drei Spalten. Bleibt nach der großen Kachel am Ende eine Lücke, wird die letzte Kachel breiter. */
@media (min-width: 40rem) {
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel-gross ~ .kachel:last-child:nth-child(2n) { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kachel-gross ~ .kachel:last-child:nth-child(2n) { grid-column: auto; }
  .kachel-gross ~ .kachel:last-child:nth-child(3n+2) { grid-column: 1 / -1; }
  .kachel-gross ~ .kachel:last-child:nth-child(3n) { grid-column: span 2; }
}
.kachel-text { max-width: 72ch; }
.kachel {
  background: var(--flaeche); border: 1px solid var(--linie); border-top: 4px solid var(--gelb);
  border-radius: 0.45rem; padding: 1.15rem 1.35rem 0.5rem;
}
.kachel h3 { display: flex; align-items: center; gap: 0.7rem; font-size: clamp(1.4rem, 2.4vw, 1.65rem); margin-bottom: 0.65rem; }
.kachel-symbol {
  flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--flaeche-hoch); color: var(--gelb);
}
.kachel-symbol .symbol { width: 1.5rem; height: 1.5rem; }
.kachel-text p, .kachel-text li { color: var(--tinte-ruhig); }
.kachel-text strong { color: var(--tinte); }
.kachel-text ul { margin: 0 0 0.9em; padding-left: 1.15rem; }
.kachel-text li::marker { color: var(--gelb); }

/* Erste Kachel groß: das, wofür der Name steht */
.kachel-gross {
  grid-column: 1 / -1; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 100% 0%, rgba(248, 192, 89, 0.16), transparent 60%), var(--flaeche-hoch);
  border: 2px solid var(--gelb); padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3vw, 2.2rem) 0.9rem;
}
.kachel-gross h3 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); }
.kachel-gross .kachel-symbol { width: 3.3rem; height: 3.3rem; background: var(--gelb); color: var(--nacht); }
.kachel-gross .kachel-symbol .symbol { width: 2rem; height: 2rem; }
.kachel-gross .kachel-text { max-width: 68ch; position: relative; }
.kachel-gross .kachel-text p { color: var(--tinte); font-size: 1.08rem; }
/* Großes, blasses Symbol rechts in der ersten Kachel, nur wo daneben Platz ist */
.kachel-deko { display: none; }
@media (min-width: 62rem) {
  .kachel-deko {
    display: block; position: absolute; right: clamp(2rem, 6vw, 5rem); top: 50%;
    width: 13rem; height: 13rem; transform: translateY(-50%) rotate(-8deg);
    color: var(--gelb); opacity: 0.13; pointer-events: none;
  }
}

.jahr { margin-top: 1.5rem; }
.jahr .stopp { display: block; padding-bottom: 1.6rem; }
.jahr-zeit { font-size: clamp(1.35rem, 2.4vw, 1.6rem); color: var(--gelb); margin: 0.3rem 0 0.25rem; }
.jahr-text { margin: 0; max-width: 60ch; color: var(--tinte-ruhig); }

.mitmachen-band {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem;
  border-top: 1px solid var(--linie);
}
.abschnitt.mitmachen-band { padding-top: clamp(2rem, 4vw, 2.75rem); }
.mitmachen-band .fliesstext p { color: var(--tinte-ruhig); }
.mitmachen-knoepfe { margin: 0 0 1em; }

@media (max-width: 34rem) {
  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahl-text { font-size: 0.93rem; }
  .kachel h3 { font-size: 1.35rem; }
  .kachel-gross h3 { font-size: 1.7rem; }
  .jahr .stopp { padding-bottom: 1.3rem; }
  .mitmachen-knoepfe .knopf { flex: 1 1 100%; }
}

/* ---------- Über uns: Team und Blocker ---------- */

.personen { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem); }
.person { display: flex; flex-direction: column; }
.person-bild { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0.4rem; background: var(--flaeche); margin-bottom: 0.85rem; }
.person-bild img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 0.15rem; }
.person-rolle { font-size: 0.95rem; font-weight: 600; color: var(--amber); margin: 0 0 0.15rem; }
.person-fahrzeug { color: var(--grau); margin: 0; }
.person-zitat { margin: 0.8rem 0 0; padding: 0 0 0 0.9rem; border-left: 3px solid var(--gelb); }
.person-zitat p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--tinte-ruhig); }

/* Blocker: Streifen wie bei einer Warnweste am unteren Rand des Fotos */
.personen-blocker .person-bild::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.35rem;
  background: linear-gradient(to bottom, var(--gelb) 0 30%, #d7dddd 30% 70%, var(--gelb) 70%);
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

@media (max-width: 34rem) {
  .personen { grid-template-columns: 1fr; gap: 1.5rem; }
  .person { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0 1rem; align-items: start; }
  .person-bild { margin-bottom: 0; }
  .personen-blocker .person-bild::after { height: 0.7rem; }
  .person h3 { font-size: 1.3rem; }
}

/* ---------- Einstellungen: Übersicht ---------- */

.einstellung-kacheln { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.einstellung-kachel { position: relative; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.55rem; padding: 1.05rem 1.2rem 0.9rem; transition: border-color 0.15s; }
.einstellung-kachel:hover { border-color: var(--linie-stark); }
.einstellung-kachel:focus-within { border-color: var(--gelb); }
.einstellung-kachel h2 { font-size: 1.55rem; margin: 0 0 0.3rem; }
.einstellung-kachel h2 a { color: var(--tinte); text-decoration: none; }
.einstellung-kachel h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* ganze Kachel anklickbar */
.einstellung-kachel h2 a:focus-visible { outline: none; }
.einstellung-kachel:hover h2 a { color: var(--gelb); }
.einstellung-ort { margin: 0 0 0.2rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grau); }
.einstellung-text { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--tinte-ruhig); }
.einstellung-stand { list-style: none; margin: 0; padding: 0.7rem 0 0; border-top: 1px solid var(--linie); font-size: 0.93rem; }
.einstellung-stand li { margin-bottom: 0.25rem; }
.stand-fehlt { color: var(--fehler); }
.stand-punkt { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0.05em; background: var(--grau); }
.stand-an { background: var(--ok); }
.stand-warnung { background: var(--amber); }
.speichern-leiste { position: sticky; bottom: 0; z-index: 5; margin: 0; padding: 0.8rem 0 0.9rem; background: var(--grund); border-top: 1px solid var(--linie); }
@media (prefers-reduced-motion: reduce) { .einstellung-kachel { transition: none; } }

/* ---------- Nutzer und Schalter ---------- */

.hilfe-inline { font-size: 0.88rem; color: var(--grau); }
.admin-konto { margin-left: auto; display: flex; gap: 1rem; align-items: center; }
.admin-nav .admin-konto a { font-size: 0.95rem; font-weight: 600; }
.admin-nav .admin-konto button.link { font-size: 0.95rem; padding-block: 0.55rem 0.5rem; }
.admin-konto form { margin: 0; }
.admin-konto button.link { color: var(--tinte-ruhig); }
.recht { margin-bottom: 0.4rem; }
.recht .hilfe { display: block; margin: 0.05rem 0 0; }
label.haken.recht + .hilfe { margin: 0.75rem 0 1.25rem; }

/* Tabellen, die am Handy zu Karten werden (z. B. Nutzerliste mit Schaltern) */
@media (max-width: 40rem) {
  .tabelle-stapel thead { display: none; }
  .tabelle-stapel, .tabelle-stapel tbody, .tabelle-stapel tr, .tabelle-stapel td { display: block; width: 100%; }
  .tabelle-stapel tr { padding: 0.7rem 0; border-bottom: 1px solid var(--linie); }
  .tabelle-stapel tr:last-child { border-bottom: 0; }
  .tabelle-stapel td { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.75rem; align-items: center; border: 0; padding: 0.2rem 0.8rem; }
  .tabelle-stapel td::before { content: attr(data-label); color: var(--grau); font-size: 0.9rem; font-weight: 600; }
  .tabelle-stapel td:first-child { display: block; font-size: 1.08rem; font-weight: 600; padding-bottom: 0.35rem; }
  .tabelle-stapel td:first-child::before { content: none; }
}

.schalter { display: inline-flex; align-items: center; gap: 0.55rem; background: none; border: 0; padding: 0.2rem 0; font: inherit; color: inherit; cursor: pointer; }
.schalter-bahn, input[type="checkbox"].schalter-checkbox {
  position: relative; flex: none;
  width: 2.7rem; height: 1.55rem;
  border-radius: 1rem; background: var(--linie-stark);
  transition: background 0.15s;
}
.schalter-bahn::before, input[type="checkbox"].schalter-checkbox::before {
  content: "";
  position: absolute; top: 0.2rem; left: 0.2rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--tinte); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s, background 0.15s;
}
.schalter[aria-checked="true"] .schalter-bahn, input[type="checkbox"].schalter-checkbox:checked { background: var(--gelb); }
.schalter[aria-checked="true"] .schalter-bahn::before, input[type="checkbox"].schalter-checkbox:checked::before { transform: translateX(1.15rem); background: var(--schwarz); }
.schalter-text { font-weight: 600; font-size: 0.95rem; min-width: 1.6rem; text-align: left; }
.schalter:focus-visible { outline: none; }
.schalter:focus-visible .schalter-bahn { outline: 3px solid var(--fokus); outline-offset: 2px; }
input[type="checkbox"].schalter-checkbox { -webkit-appearance: none; appearance: none; margin: 0; cursor: pointer; }
input[type="checkbox"].schalter-checkbox:disabled { opacity: 0.5; cursor: not-allowed; }
.schalter-zeile { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .schalter-bahn, .schalter-bahn::before,
  input[type="checkbox"].schalter-checkbox, input[type="checkbox"].schalter-checkbox::before { transition: none; }
}
.tabelle td form { margin: 0; }
.tabelle td .hilfe { margin-top: 0.15rem; }

label.haken + .hilfe { margin: -1rem 0 1.25rem 1.8rem; }

/* ---------- Das 1x1: Regeln als nummerierte Tafeln ---------- */

.einmaleins-dach {
  display: inline-block; margin: 0 0 0.6rem; padding: 0.25rem 0.75rem 0.25rem 3.2rem;
  font-weight: 700; font-size: 0.95rem; color: var(--gelb); position: relative;
}
.einmaleins-dach::before {
  content: ""; position: absolute; left: 0; top: calc(50% - 0.35rem);
  width: 2.6rem; height: 0.7rem;
  background: repeating-linear-gradient(-45deg, var(--gelb) 0 0.5rem, transparent 0.5rem 1rem);
}
.einmaleins h1 { max-width: 20ch; }
.einmaleins .einleitung { margin-bottom: 2.25rem; }
.regeln {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 27rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.regel {
  background: var(--flaeche); border: 1px solid var(--linie); border-top: 4px solid var(--gelb);
  border-radius: 0.45rem; padding: 1.15rem 1.35rem 0.6rem;
}
.regel h2 { font-size: clamp(1.55rem, 2.6vw, 1.85rem); display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; }
.regel-nr { color: var(--gelb); font-size: 1.15em; min-width: 1.6em; }
.regel-text ul { margin: 0 0 0.9em; padding-left: 1.15rem; }
.regel-text li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.regel-text li::marker { color: var(--gelb); }
.regel-text strong { color: var(--tinte); }
.regel-text p, .regel-text li { color: var(--tinte-ruhig); }
.einmaleins-fuss { margin-top: 2rem; }

/* ---------- Verwaltung: 1x1, Protokoll, Sammelliste ---------- */

.formular-breit { max-width: 52rem; }
.formular-breit textarea { font-size: 0.98rem; line-height: 1.55; }
.kasten-hilfe { margin-top: 0; }
.kasten-hilfe h2 { font-size: 1.3rem; }
.kasten-hilfe ul { margin: 0 0 0.6rem; padding-left: 1.1rem; color: var(--tinte-ruhig); }
.kasten-hilfe li { margin-bottom: 0.35rem; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--flaeche-hoch); border: 1px solid var(--linie); border-radius: 0.25rem; padding: 0.05em 0.35em; color: var(--tinte); white-space: nowrap; }

.filterzeile { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 1rem; margin-bottom: 0.5rem; }
.filterzeile .feld { min-width: 13rem; flex: 0 1 18rem; }
.filter-weg { margin-bottom: 1.6rem; font-weight: 600; }
.protokoll td:first-child { color: var(--tinte-ruhig); white-space: nowrap; }
.tabelle-rahmen + .hilfe { margin-bottom: 1.25rem; }
.protokoll .status { white-space: nowrap; }
.protokoll-details { display: block; color: var(--grau); font-size: 0.93rem; margin-top: 0.15rem; overflow-wrap: anywhere; }
.anzahl { color: var(--amber); font-weight: 600; }
@media (max-width: 40rem) {
  .protokoll td[data-label="Was"] { display: block; padding-top: 0.35rem; }
  .protokoll td[data-label="Was"]::before { content: none; }
}

.tabelle tfoot th, .tabelle tfoot td { border-top: 1px solid var(--linie-stark); border-bottom: 0; color: var(--tinte-ruhig); font-weight: 600; background: #15161a; }
.tabelle tfoot .summenzeile th, .tabelle tfoot .summenzeile td { color: var(--tinte); font-weight: 700; }
.tabelle tfoot .summenzeile td { color: var(--gelb); }
.tabelle tfoot th { white-space: normal; font-size: 0.97rem; text-align: left; }

/* ---------- Mitgliederbereich, interne Termine, Zu- und Absagen ---------- */

.intern {
  display: inline-block; vertical-align: 0.1em;
  padding: 0 0.5rem; border: 1px solid var(--gelb); border-radius: 1rem;
  color: var(--gelb); font-family: var(--schrift); font-size: 0.78rem; font-weight: 700; line-height: 1.55;
  white-space: nowrap;
}
.intern-dunkel { border-color: var(--schwarz); color: var(--schwarz); margin-left: 0.3rem; }
.stopp-intern .stopp-herz { fill: var(--amber); }
.stopp-link { color: inherit; text-decoration: none; }
.stopp-link:hover { text-decoration: underline; text-decoration-color: var(--gelb); text-underline-offset: 0.15em; }
.schild-name a { color: inherit; text-decoration: none; }
.schild-name a:hover { text-decoration: underline; }

.stopp-zusagen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; margin: 0.7rem 0 0; color: var(--tinte-ruhig); font-size: 0.97rem; }
.stopp-zusagen strong { color: var(--tinte); }
.meine { display: inline-block; padding: 0.02rem 0.6rem; border-radius: 1rem; font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.meine-ja { background: var(--gelb); color: var(--schwarz); }
.meine-nein { border: 1px solid var(--linie-stark); color: var(--grau); }
p.meine { display: inline-block; margin-bottom: 1rem; font-size: 0.95rem; padding: 0.2rem 0.8rem; }

.hinweis-mitglieder { max-width: 60ch; color: var(--grau); border-left: 3px solid var(--linie-stark); padding-left: 0.9rem; margin-top: 1rem; }

.termin-seite h1 { margin-bottom: 0.3em; }
.termin-wann { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.2rem; }
.termin-wo { color: var(--grau); }
.termin-seite .fliesstext { margin-top: 1.25rem; }

.zusagen { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--linie); max-width: 46rem; }
.zusagen h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.zusagen-zahlen { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.zusagen-zahlen li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.45rem; padding: 0.45rem 0.9rem; color: var(--tinte-ruhig); font-weight: 600; }
.zusagen-zahlen span { font-family: var(--schrift-kopf); font-size: 1.6rem; line-height: 1; color: var(--tinte); margin-right: 0.15rem; }
.zusagen-zahlen .zahl-gross { background: var(--gelb); border-color: var(--gelb); color: var(--schwarz); }
.zusagen-zahlen .zahl-gross span { color: var(--schwarz); }
.antwort-formular { margin-bottom: 1.75rem; }
.fahrzeugwahl span { min-width: 4.2rem; }
.hilfe-abstand { margin: -0.1rem 0 1.25rem; }
.pw-vorschlag { margin: -0.25rem 0 0.75rem; }
.pw-vorschlag .hilfe { margin: 0.45rem 0 0; }
.dabei-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.dabei-liste li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--linie); }
.dabei-name { font-weight: 600; }
.dabei-fahrzeug { color: var(--amber); font-size: 0.92rem; font-weight: 600; }
.dabei-kommentar { flex-basis: 100%; color: var(--grau); font-size: 0.93rem; }
.zusagen-verwaltung { max-width: none; }

.abfrage-titel { font-size: 1.6rem; margin-top: 2rem; }
.meine-termine { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--linie); }
.meine-termine li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--linie); }
.meine-termine a { font-weight: 600; }

.registrierungen + .hilfe, .registrierungen ~ .leer { margin-bottom: 2.25rem; }
.registrierungen { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.8rem; max-width: 46rem; }
.registrierung { margin: 0; }
.registrierung-name { margin-bottom: 0.1rem; font-size: 1.1rem; }
.registrierung-notiz { margin: 0.6rem 0 0.9rem; padding-left: 0.8rem; border-left: 3px solid var(--linie-stark); color: var(--tinte-ruhig); }
.registrierung .knopfreihe form { margin: 0; }
.zeilen-aktionen { white-space: nowrap; }
.zeilen-aktionen > * { display: inline-block; margin-right: 1rem; }
.zeilen-aktionen > *:last-child { margin-right: 0; }
@media (max-width: 40rem) {
  .tabelle-stapel td.zeilen-aktionen { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; padding-top: 0.5rem; }
  .tabelle-stapel td.zeilen-aktionen::before { content: none; }
  .zeilen-aktionen > * { margin-right: 0; }
}
.vorschlag { background: #141518; border: 1px dashed var(--linie-stark); border-radius: 0.35rem; padding: 0.8rem 1rem; color: var(--tinte-ruhig); font-size: 0.95rem; user-select: all; }

/* ---------- Hinweise, Lager, Spenden, Feedback (1.9) ---------- */

.meldung-hinweis { border-color: var(--amber); }
.meldung-hinweis a { font-weight: 600; white-space: nowrap; }
.unterueberschrift { font-size: 1.3rem; margin: 1.4rem 0 0.4rem; }
.haken label .hilfe, label.haken .hilfe { display: block; margin: 0.1rem 0 0; }
.feldreihe + .hilfe-abstand { margin-top: -0.6rem; }
.namenshinweis { background: #141518; border: 1px solid var(--linie); border-left: 3px solid var(--amber); border-radius: 0.35rem; padding: 0.7rem 0.9rem; color: var(--tinte-ruhig); margin: 0; }
.namenshinweis strong { color: var(--tinte); }

/* Lager im Shop: Schild auf der Produktkarte, Hinweis auf der Produktseite */
.produkt-bild { position: relative; }
.lager-schild {
  position: absolute; left: 0.5rem; top: 0.5rem;
  padding: 0.1rem 0.55rem; border-radius: 1rem;
  background: var(--gelb); color: var(--schwarz);
  font-size: 0.8rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.lager-teils { background: var(--nacht); color: var(--gelb); border: 1px solid var(--gelb); }
.lager-ausverkauft { background: var(--nacht); color: var(--tinte-ruhig); border: 1px solid var(--linie-stark); }
.produkt-weg .produkt-bild img, .produkt-weg .platzhalter { opacity: 0.45; filter: grayscale(1); }
.produkt-weg .produkt-preis { color: var(--grau); }
.lager-info { border-left: 3px solid var(--gelb); padding-left: 0.85rem; color: var(--tinte-ruhig); max-width: 50ch; }
.lager-info strong { color: var(--tinte); }
.lager-info-weg { border-left-color: var(--linie-stark); }
.groessen .groesse-sofort span { box-shadow: inset 0 -4px 0 var(--gelb); }
.groessen .groesse-sofort input:checked + span { box-shadow: none; }
.groessen .groesse-weg span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.groessen .groesse-weg:hover span { border-color: var(--linie-stark); }
.korb-lager { display: block; font-size: 0.88rem; color: var(--ok); font-weight: 600; margin: 0.1rem 0 0; }
.korb-lager-fehler { color: var(--fehler); }
.lagerfelder { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0 0.75rem; margin-top: 1rem; }
.lagerfeld > label { font-size: 0.95rem; }

/* Spenden */
.spenden-band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid var(--linie); }
.spenden-band .fliesstext p { color: var(--tinte-ruhig); }
.spenden-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .spenden-raster { grid-template-columns: 1fr; } }
.spenden-konto { margin-top: 0; }
.spenden-konto .bankdaten { margin-bottom: 1rem; }
.spenden-link { margin-top: 1.5rem; }
.iban { white-space: nowrap; }
@media (max-width: 34rem) {
  /* Handy: Bezeichnung über dem Wert, damit die IBAN in eine Zeile passt */
  .spenden-konto .bankdaten { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .spenden-konto .bankdaten dd { margin-bottom: 0.6rem; }
}
.kopieren { margin-left: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.qr { margin: 0; }
.qr-code { display: block; width: min(100%, 13rem); height: auto; background: #fff; border-radius: 0.4rem; }
.qr figcaption { font-size: 0.9rem; color: var(--grau); margin-top: 0.6rem; max-width: 36ch; }

/* Feedback */
.themenwahl span { min-width: 0; padding: 0 0.9rem; font-weight: 600; }
.kasten-feedback { margin-top: 2.5rem; }
.feedback-liste { list-style: none; margin: 0 0 1.5rem; padding: 0; max-width: 52rem; }
.feedback-eintrag { position: relative; }
.feedback-erledigt { border-left-color: var(--linie-stark); }
.feedback-gelesen { border-left-color: var(--amber); }
.feedback-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.7rem; margin-bottom: 0.6rem; }
.feedback-text { color: var(--tinte); overflow-wrap: anywhere; }
.feedback-text p:last-child { margin-bottom: 0.9rem; }
.feedback-formular .feld { margin-bottom: 0.7rem; }
.feedback-formular textarea { min-height: 2.8rem; }
.feedback-loeschen { position: absolute; right: 1.4rem; top: 1.1rem; margin: 0; }
@media (max-width: 34rem) { .feedback-loeschen { position: static; margin-top: 0.8rem; } }

/* Archiv-Album und Veranstaltungen */
.anlass-bereich { margin-top: 0.25rem; }
.anlass-andere { border-left: 3px solid var(--linie-stark); padding-left: 0.9rem; margin: -0.3rem 0 1rem; }
.anlass-aendern { margin: 0.25rem 0 1rem; padding: 0.75rem 1rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.4rem; max-width: 40rem; }
.anlass-aendern summary { cursor: pointer; font-weight: 600; }
.anlass-aendern[open] summary { margin-bottom: 0.9rem; }
.anlass-gruppe { margin-top: 2.25rem; }
.anlass-gruppe h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; }
.anlass-datum { font-family: var(--schrift); font-size: 1rem; font-weight: 400; color: var(--grau); }
.anlass-gruppe .fotoraster { margin-top: 0.9rem; }
.anlass-sprung { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.25rem 0 0; }
.anlass-sprung a { padding: 0.3rem 0.8rem; border: 1px solid var(--linie-stark); border-radius: 2rem; color: var(--tinte-ruhig); text-decoration: none; font-size: 0.93rem; font-weight: 600; }
.anlass-sprung a:hover { border-color: var(--gelb); color: var(--tinte); }
.anlass-sprung span { color: var(--grau); font-weight: 400; margin-left: 0.25rem; }
.foto-anlass { color: var(--amber); }
.drive-stand { margin: 0 0 0.9rem; padding-left: 1.1rem; }
.drive-stand li { margin-bottom: 0.2rem; }
.drive-stand strong { font-variant-numeric: tabular-nums; }
.archiv-kasten { margin-top: 2.5rem; max-width: 52rem; }
.liste-eingabe { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92rem; line-height: 1.5; tab-size: 12; white-space: pre; overflow-x: auto; }
.liste-kurz { columns: 2 22rem; column-gap: 2rem; margin: 0.6rem 0 0; padding-left: 1.1rem; }
.liste-kurz li { break-inside: avoid; margin-bottom: 0.2rem; }
.liste-datum { color: var(--grau); font-variant-numeric: tabular-nums; margin-right: 0.35rem; }
details.kasten summary { cursor: pointer; font-weight: 600; }
details.kasten[open] summary { margin-bottom: 0.5rem; }
.termin-fotos { margin: 1.25rem 0 0.5rem; }

/* Blocker werden */
.blocker-werden { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1.5rem; color: var(--tinte-ruhig); }
.bewerbung .regeln { margin-bottom: 0; }
.bewerbung-daten { margin: 0 0 0.9rem; font-size: 0.97rem; }
.bewerbung-daten dd { font-weight: 400; }
.bewerbung-gespraech { border-left-color: var(--amber); }
.bewerbung-angenommen { border-left-color: var(--ok); }
.bewerbung-abgesagt { border-left-color: var(--linie-stark); }
.bewerbung-blocker { margin: 0.8rem 0 0; }

/* ---------- Shop im Umbau, Titelbild, Presseberichte (1.11) ---------- */

/* Shop im Umbau: Meldung mit gelb-schwarzem Absperrband oben */
.umbau { position: relative; max-width: 46rem; margin-top: 0.5rem; padding-top: 1.6rem; }
.umbau::before {
  content: ""; position: absolute; left: 0; top: 0; width: min(100%, 16rem); height: 0.75rem;
  background: repeating-linear-gradient(-45deg, var(--gelb) 0 0.6rem, var(--nacht) 0.6rem 1.2rem);
  border-radius: 0.15rem;
}
.umbau-text p { font-size: 1.15rem; color: var(--tinte-ruhig); }
.umbau-text p:first-child { font-size: 1.3rem; color: var(--tinte); font-weight: 600; }
.umbau-bescheid { max-width: none; margin-top: 1.75rem; padding: 1.25rem 1.4rem 0.6rem; background: var(--flaeche);
  border: 1px solid var(--linie); border-left: 4px solid var(--gelb); border-radius: 0.45rem; }
.umbau-bescheid h2 { font-size: clamp(1.6rem, 3vw, 1.9rem); margin-bottom: 0.4rem; }
.umbau-bescheid > p { color: var(--tinte-ruhig); }
.umbau-bescheid .feld input[type="email"] { max-width: 26rem; }
.umbau-bescheid .knopf { margin-bottom: 0.9rem; }
.umbau-bescheid form { margin: 0 0 0.9rem; }
.umbau-band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem;
  border-top: 1px solid var(--linie); position: relative; }
.umbau-band::before {
  content: ""; position: absolute; left: 0; top: -0.38rem; width: 6.5rem; height: 0.75rem;
  background: repeating-linear-gradient(-45deg, var(--gelb) 0 0.55rem, var(--nacht) 0.55rem 1.1rem);
}
.abschnitt.umbau-band { padding-top: clamp(2rem, 4vw, 2.75rem); }
.umbau-band .fliesstext p { color: var(--tinte-ruhig); }
.vorschau-kasten { border-left-color: var(--amber); max-width: 52rem; }
.vorschau-kasten h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.vorschau-kasten p:last-child { margin-bottom: 0; }
p.vorschau-kasten { margin-top: 1.5rem; color: var(--tinte-ruhig); }
.bescheid-stand { margin: 0.25rem 0 1.25rem; }
.bescheid-stand .unterueberschrift { margin-top: 0; }
.bescheid-stand p:last-child { margin-bottom: 0.4rem; }

/* Titelbild eines Albums */
.titelbild-wahl { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; padding: 0.75rem;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.45rem; max-width: 40rem; }
.titelbild-wahl img { width: 8rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.3rem; flex: none; }
.titelbild-wahl p { margin: 0; }
.titelbild-titel { font-weight: 700; }
.titelbild-wahl .hilfe { margin: 0.15rem 0 0.35rem; }
.titelbild-wahl form { margin: 0; }
.status-titelbild { background: var(--amber); border-color: var(--amber); color: var(--schwarz); }
.foto-links { display: flex; flex-wrap: wrap; gap: 0.1rem 0.9rem; font-size: 0.85rem; }
.foto-links button.link { font-size: inherit; }
@media (max-width: 30rem) { .titelbild-wahl img { width: 5.5rem; } }

/* Presseberichte */
.berichte { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: grid; gap: 1rem; max-width: 56rem; }
.bericht { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 1.4rem;
  background: var(--flaeche); border: 1px solid var(--linie); border-left: 4px solid var(--gelb); border-radius: 0.45rem; }
.bericht-mit-bild { grid-template-columns: 9.5rem minmax(0, 1fr); }
.bericht-bild { display: block; align-self: start; border-radius: 0.3rem; overflow: hidden; background: #fff; }
.bericht-bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: opacity 0.2s; }
.bericht-bild:hover img { opacity: 0.85; }
.bericht-quelle { margin: 0 0 0.3rem; font-size: 0.93rem; font-weight: 600; color: var(--amber); }
.bericht-titel { font-size: clamp(1.4rem, 2.6vw, 1.7rem); line-height: 1.12; margin-bottom: 0.5rem; }
.bericht-beschreibung p { color: var(--tinte-ruhig); max-width: 62ch; }
.bericht-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; margin: 0; font-weight: 600; }
.bericht-host { font-weight: 400; color: var(--grau); }
.bericht-text > :last-child, .bericht-beschreibung:last-child p:last-child { margin-bottom: 0; }
.berichte-kurz .bericht-titel { font-size: clamp(1.3rem, 2.3vw, 1.5rem); }
@media (max-width: 34rem) {
  .bericht { padding: 1rem 1.1rem; }
  .bericht-mit-bild { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .bericht-bild img { transition: none; } }

/* Testserver (testserver.sh): Band ganz oben, damit man ihn nicht mit der echten Seite verwechselt */
.testserver-band { padding: 0.5rem var(--rand) 0.85rem; font-size: 0.92rem; text-align: center; color: var(--schwarz);
  background: repeating-linear-gradient(-45deg, var(--nacht) 0 0.5rem, var(--gelb) 0.5rem 1rem) bottom / 100% 0.35rem no-repeat,
              var(--amber); }
.testserver-band a { color: var(--schwarz); font-weight: 700; }

/* ---------- Druck (z. B. Sammelliste): weißes Papier, schwarze Schrift ---------- */

@media print {
  .kopf, .fuss, .admin-kopf, .admin-unternav, .reiter, .admin-titel a, button, .strassenband, .antwort-formular, .termin-formular { display: none !important; }
  .zusagen-zahlen li, .meine { border: 1px solid #000 !important; }
  .personen-blocker .person-bild::after, .sicherheit::before, .held-logo::before { display: none; }
  html, body { background: #fff !important; color: #000 !important; }
  *, *::before, *::after { background: transparent !important; color: #000 !important; box-shadow: none !important; }
  .tabelle-rahmen { border-color: #999; }
  .tabelle th, .tabelle td { border-color: #999 !important; }
  .schild, .status { border: 1px solid #000 !important; }
  a { text-decoration: none; }
  .einmaleins-dach::before, .einmaleins-fuss, .meldungen { display: none !important; }
  .einmaleins-dach { padding-left: 0; }
  .sprungmarken, .mitmachen-knoepfe, .kachel-symbol, .kachel-deko, .zahlen::before { display: none !important; }
  .kacheln { display: block; }
  .kachel, .kachel-gross { background: none !important; border: 1px solid #999 !important; border-top: 3px solid #000 !important; margin-bottom: 0.8rem; break-inside: avoid; page-break-inside: avoid; }
  .zahl-wert, .jahr-zeit { color: #000 !important; }
  .regeln { display: block; }
  .regel { border: 1px solid #999 !important; border-top: 3px solid #000 !important; margin-bottom: 0.8rem; break-inside: avoid; page-break-inside: avoid; }
  .regel-text li::marker { color: #000; }
  .abschnitt { padding-block: 0 !important; }
  .qr-code { background: #fff !important; }
  .feedback-formular, .feedback-loeschen, .kopieren { display: none !important; }
  .umbau-bescheid form, form.umbau-bescheid, .umbau::before, .umbau-band::before { display: none !important; }
  .bericht { border: 1px solid #999 !important; break-inside: avoid; page-break-inside: avoid; }
}
