/* Grundgestaltung = Skin „Landesmeisterschaft“ (Dunkelgrün + Lime auf Weiß, kräftige Schmalschrift).
   Die anderen Skins in assets/skins/ werden danach geladen und überschreiben, was sie anders machen.
   Alle Schriften lokal eingebunden – kein Google-Abruf. Der Browser lädt nur, was ein Skin benutzt. */
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("schrift/oswald-500.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("schrift/oswald-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url("schrift/playfair-display-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("schrift/playfair-display-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("schrift/fredoka-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("schrift/fredoka-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("schrift/inter-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("schrift/inter-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("schrift/inter-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-weight: 500; font-display: swap; src: url("schrift/orbitron-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-weight: 700; font-display: swap; src: url("schrift/orbitron-700-normal.woff2") format("woff2"); }
@font-face { font-family: "VT323"; font-weight: 400; font-display: swap; src: url("schrift/vt323-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-display: swap; src: url("schrift/press-start-2p-400-normal.woff2") format("woff2"); }
@font-face { font-family: "UnifrakturMaguntia"; font-weight: 400; font-display: swap; src: url("schrift/unifrakturmaguntia-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("schrift/caveat-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("schrift/caveat-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("schrift/outfit-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("schrift/outfit-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("schrift/outfit-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("schrift/cinzel-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url("schrift/cinzel-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 500; font-display: swap; src: url("schrift/zilla-slab-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap; src: url("schrift/zilla-slab-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("schrift/barlow-condensed-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("schrift/barlow-condensed-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("schrift/jost-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 700; font-display: swap; src: url("schrift/jost-700-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-display: swap; src: url("schrift/eb-garamond-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("schrift/eb-garamond-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 600; font-display: swap; src: url("schrift/eb-garamond-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Great Vibes"; font-weight: 400; font-display: swap; src: url("schrift/great-vibes-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("schrift/jetbrains-mono-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("schrift/jetbrains-mono-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bangers"; font-weight: 400; font-display: swap; src: url("schrift/bangers-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Comic Neue"; font-weight: 400; font-display: swap; src: url("schrift/comic-neue-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Comic Neue"; font-weight: 700; font-display: swap; src: url("schrift/comic-neue-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira Stencil One"; font-weight: 400; font-display: swap; src: url("schrift/saira-stencil-one-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap; src: url("schrift/dm-serif-display-400-normal.woff2") format("woff2"); }

:root {
  --gruen: #1d6b2c;        /* „DVG“, „THS“-Pinselstrich */
  --gruen-tief: #12461c;
  --schrift-gruen: var(--gruen);   /* grüne Schrift: Titel, Platzziffern */
  --lime: #8dc63f;         /* Gras und Spritzer */
  --lime-hell: #eaf6d6;
  --grund: #f6f9f1;
  --flaeche: #ffffff;
  --text: #15191a;         /* „LANDESMEISTERSCHAFT“ */
  --gedaempft: #56614f;
  --linie: #dfe8d3;
  --gold: #d4a017;
  --silber: #9ca3af;
  --bronze: #b8692e;
  --titel: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0c160d;
    --flaeche: #132015;
    --text: #eef7e6;
    --gedaempft: #a7b89c;
    --linie: #24382a;
    --lime-hell: #1b2f1d;
    --schrift-gruen: #9fd85a;       /* auf dunklem Grund heller, sonst zu wenig Kontrast */
    --wasserzeichen: .55;
    --karte-deckung: 60%;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[hidden] { display: none !important; }

/* Logos aus Logos_Web/ mit transparentem Hintergrund:
   „nicht_leuchtend“ für helle, „leuchtend“ für dunkle Flächen (Auswahl im HTML per <picture>). */
picture { display: contents; }
picture source { display: none; }   /* sonst zählen die <source> als Flex-Elemente (je 12 px Abstand) */
.logo { display: block; height: auto; }

/* Wasserzeichen: Logo groß und fest in der Bildschirmmitte, Inhalte scheinen leicht durch.
   1024 px reicht fürs Handy, große Bildschirme bekommen 2048 px. Erste Zeile = Rückfall für alte Browser. */
body::before {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  /* mittig im freien Bereich unter dem festen Kopf (Höhe setzt app.js in --kopf-hoehe) */
  --frei: calc(100vh - var(--kopf-hoehe, 0px) - var(--laufband-hoehe, 0px));
  --frei: calc(100dvh - var(--kopf-hoehe, 0px) - var(--laufband-hoehe, 0px));
  top: calc(var(--kopf-hoehe, 0px) + var(--frei) / 2); left: 50%; translate: -50% -50%;
  width: min(92vw, var(--frei) * .94); aspect-ratio: 1;
  background: center / contain no-repeat;
  background-image: url("../Logos_Web/logo_nicht_leuchtend_1024.png");
  background-image: image-set(url("../Logos_Web/logo_nicht_leuchtend_1024.avif") type("image/avif"),
    url("../Logos_Web/logo_nicht_leuchtend_1024.webp") type("image/webp"), url("../Logos_Web/logo_nicht_leuchtend_1024.png") type("image/png"));
  opacity: var(--wasserzeichen, .42);
}
@media (min-width: 1400px) {
  body::before {
    background-image: image-set(url("../Logos_Web/logo_nicht_leuchtend_2048.avif") type("image/avif"),
      url("../Logos_Web/logo_nicht_leuchtend_2048.webp") type("image/webp"), url("../Logos_Web/logo_nicht_leuchtend_1024.png") type("image/png"));
  }
}
@media (prefers-color-scheme: dark) {
  body::before {
    background-image: url("../Logos_Web/logo_leuchtend_1024.png");
    background-image: image-set(url("../Logos_Web/logo_leuchtend_1024.avif") type("image/avif"),
      url("../Logos_Web/logo_leuchtend_1024.webp") type("image/webp"), url("../Logos_Web/logo_leuchtend_1024.png") type("image/png"));
  }
}
/* Anzeige-Modus ist immer dunkel; meist großer Bildschirm → 2048 px */
.modus-anzeige::before {
  background-image: url("../Logos_Web/logo_leuchtend_1024.png") !important;
  background-image: image-set(url("../Logos_Web/logo_leuchtend_2048.avif") type("image/avif"),
    url("../Logos_Web/logo_leuchtend_2048.webp") type("image/webp"), url("../Logos_Web/logo_leuchtend_1024.png") type("image/png")) !important;
}
/* Skins mit immer dunklem Hintergrund (SKINS[...]['dunkel']) → leuchtende Logo-Variante */
.immer-dunkel::before {
  background-image: url("../Logos_Web/logo_leuchtend_1024.png");
  background-image: image-set(url("../Logos_Web/logo_leuchtend_1024.avif") type("image/avif"),
    url("../Logos_Web/logo_leuchtend_1024.webp") type("image/webp"), url("../Logos_Web/logo_leuchtend_1024.png") type("image/png"));
}
body:has(.login)::before { display: none; }   /* dort ist das Logo ohnehin groß zu sehen */

/* Pinselstrich-Leiste wie unter „THS“ im Logo */
.strich {
  height: 6px;
  background: linear-gradient(90deg, var(--gruen) 0%, var(--lime) 55%, #c6e88f 80%, transparent 100%);
}

/* ---- Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-box {
  width: 100%; max-width: 480px; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 18px; padding: 24px; text-align: center; box-shadow: 0 10px 30px #1d6b2c1f;
}
/* Auf der Login-Seite das ganze Logo zeigen (nicht rund beschnitten), so groß wie die Box */
.login-box .logo { width: min(100%, 60vh); margin: -8px auto 8px; }
.login-box h1 {
  margin: 0 0 6px; font: 700 24px/1.15 var(--titel); text-transform: uppercase;
  letter-spacing: .02em; color: var(--schrift-gruen);
}
.login-box p { color: var(--gedaempft); margin: 0 0 16px; }
.login-box input, .login-box button { width: 100%; font: inherit; padding: 12px; border-radius: 10px; }
.login-box input { border: 1px solid var(--linie); background: var(--grund); color: var(--text); margin-bottom: 12px; }
.login-box input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.login-box button {
  border: 0; background: var(--gruen); color: #fff; cursor: pointer;
  font: 700 18px var(--titel); text-transform: uppercase; letter-spacing: .05em;
}
.login-box button:hover { background: var(--gruen-tief); }
.fehler { color: #dc2626 !important; font-weight: 600; }

/* ---- Kopf */
.kopf {
  position: sticky; top: 0; z-index: 5; background: var(--flaeche); color: var(--text);
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 0;
  box-shadow: 0 2px 10px #0000001a;
}
.kopf-zeile { display: flex; align-items: center; gap: 12px; }
.kopf .logo { width: 56px; flex: none; }
.kopf-text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.kopf h1 {
  margin: 0; font: 700 22px/1.1 var(--titel); text-transform: uppercase;
  letter-spacing: .02em; color: var(--schrift-gruen);
}
.stand { font-size: 14px; font-weight: 600; color: var(--gedaempft); }
.werkzeuge { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.werkzeuge input, .werkzeuge select {
  flex: 1 1 200px; min-width: 0; font: inherit; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--linie); background: var(--grund); color: var(--text);
}
.werkzeuge input:focus, .werkzeuge select:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.kopf .strich { margin: 8px -16px 0; }
.kopf .werkzeuge + .strich { margin-top: 0; }

.meldung { background: #fef3c7; color: #78350f; padding: 8px 16px; font-weight: 600; }

/* ---- Liste */
.liste { padding: 16px; max-width: 1100px; margin: 0 auto; }
.leer { text-align: center; color: var(--gedaempft); padding: 40px 0; }

/* Noch keine Ergebnisse: großes Logo (statt Wasserzeichen), Sponsoren links, rechts und darunter.
   Schmale Handys: die Seitenspalten rutschen unter das Logo. */
.ohne-ergebnisse::before { opacity: 0 !important; }
.warten {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center;
  min-height: calc(100dvh - var(--kopf-hoehe, 0px) - var(--laufband-hoehe, 0px) - 32px);
}
.warten-mitte { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; width: 100%; }
.warten-mitte > .warten-sponsoren { display: contents; }   /* Handy: alle Kacheln in einem Raster unter dem Logo */
.warten-kern { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 0 1 auto; order: -1; width: 100%; }
.warten-logo { width: min(70vw, 340px); height: auto; animation: warten-ein .8s ease-out both; }
.warten-text { margin: 0; font-family: var(--titel); font-size: 1.4em; font-weight: 700; color: var(--schrift-gruen); }
.warten-dank { margin: 0; font-size: .78em; text-transform: uppercase; letter-spacing: .15em; color: var(--gedaempft); }
.warten-sponsoren {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.warten-sponsoren li {   /* gleich große Kacheln, das Logo passt sich ein */
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 108px; height: 64px;
  background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: 0 2px 10px #0000001f;
  animation: warten-ein .8s .3s ease-out both;
}
.warten-sponsoren img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes warten-ein { from { opacity: 0; translate: 0 12px; } }
/* breit genug: Spalten links und rechts neben dem Logo */
@media (min-width: 700px) {
  .warten-mitte { flex-wrap: nowrap; }
  .warten-kern { order: 0; width: auto; }
  .warten-mitte > .warten-sponsoren { display: flex; flex-direction: column; flex: 1 1 0; align-items: center; }
  .warten-sponsoren li { width: 150px; height: 80px; }
}
/* Bildschirm: Logo leuchtet ruhig, Sponsoren größer */
.modus-anzeige .warten { gap: 3vh; grid-column: 1 / -1; }
.modus-anzeige .warten-mitte { gap: 3vh 3vw; }
.modus-anzeige .warten-kern { gap: 2.5vh; }
.modus-anzeige .warten-logo { width: min(46vh, 36vw); animation: warten-ein .8s ease-out both, warten-leuchten 4s 1s ease-in-out infinite alternate; }
.modus-anzeige .warten-text { font-size: 2.2em; color: var(--lime); }
.modus-anzeige .warten-sponsoren { gap: 2.5vh 1.5vw; }
.modus-anzeige .warten-sponsoren li { width: min(16vw, 300px); height: min(13vh, 140px); padding: 1.4vh 1.2vw; border-radius: 16px; }
/* Sponsoren-Einblendung (Bildschirm): deckt das Band ab, Durchsage-Laufband bleibt sichtbar */
.sponsorblock {
  position: fixed; z-index: 6; left: 0; right: 0; top: var(--kopf-hoehe, 0px); bottom: var(--laufband-hoehe, 0px);
  display: flex; align-items: center; justify-content: center; padding: 2vh 2vw; background: var(--grund);
  opacity: 0; transition: opacity 1s;   /* 1 s = UEBERBLENDEN in app.js */
}
.sponsorblock.sichtbar { opacity: 1; }
.sponsorblock .warten { min-height: 0; width: 100%; }
@keyframes warten-leuchten { from { filter: drop-shadow(0 0 1em #8dc63f55); } to { filter: drop-shadow(0 0 3em #8dc63fcc); } }
@media (prefers-reduced-motion: reduce) {
  .warten-logo, .warten-sponsoren li, .modus-anzeige .warten-logo { animation: none; }
}
.gruppe {
  background: color-mix(in srgb, var(--flaeche) var(--karte-deckung, 70%), transparent); border: 1px solid var(--linie); border-radius: 14px;
  margin-bottom: 16px; overflow: hidden; scroll-margin-top: 150px;
}
.gruppe h2 {
  margin: 0; padding: 9px 14px; color: #fff;
  font: 700 20px/1.2 var(--titel); text-transform: uppercase; letter-spacing: .03em;
  background: linear-gradient(100deg, var(--gruen-tief) 0%, var(--gruen) 60%, #3f8f2f 100%);
  border-bottom: 4px solid var(--lime);
}
.klasse { font-weight: 500; color: var(--lime); margin-left: .3em; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--linie); }
th {
  font: 500 13px var(--titel); text-transform: uppercase; letter-spacing: .06em; color: var(--gedaempft);
  background: color-mix(in srgb, var(--lime-hell) 75%, transparent);
}
tr:last-child td { border-bottom: 0; }
td.platz { width: 3.5em; font: 700 1.15em var(--titel); font-variant-numeric: tabular-nums; color: var(--schrift-gruen); }
td.name strong { display: block; }
td.name .hund { color: var(--gedaempft); font-size: .92em; }
td.ergebnis { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Podest: Platz als runde Medaille */
.rang { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; color: #fff; font-size: .95em; }
tr.p1 .rang { background: var(--gold); }
tr.p2 .rang { background: var(--silber); }
tr.p3 .rang { background: var(--bronze); }
tr.p1 td { background: #d4a0170f; }

.fuss { text-align: center; padding: 8px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.fuss a { color: var(--gedaempft); }

@media (max-width: 560px) {
  .verein { display: none; }
  th, td { padding: 7px 8px; }
  .kopf .logo { width: 44px; }
  .kopf h1 { font-size: 19px; }
}

/* ---- Anzeige-Modus (Bildschirm vor Ort): dunkelgrün, groß, mehrspaltig */
.modus-anzeige {
  --grund: #0b1a0e; --flaeche: #11251a; --text: #f3faea; --gedaempft: #b9d98f;
  --linie: #1f3b26; --lime-hell: #173020; --wasserzeichen: .3; --karte-deckung: 70%;
  color-scheme: dark;
  font-size: clamp(14px, 1.5vw, 30px);
}
.modus-anzeige .kopf { background: #0e2113; padding-bottom: 0; }
.modus-anzeige .kopf .logo { width: 3.6em; }
.modus-anzeige .kopf h1 { font-size: 1.8em; color: #fff; }
.modus-anzeige .stand { font-size: .9em; }
.modus-anzeige td.platz { color: var(--lime); }
.modus-anzeige .liste {
  max-width: none; display: grid; gap: var(--raster, 1em); align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 30em), 1fr));
}
.modus-anzeige .gruppe { margin: 0; break-inside: avoid; }
/* Lücke zwischen Ende und Wiederanfang des Endlosbands: so hoch wie der freie Bereich, leer –
   dort ist nur das Wasserzeichen zu sehen, das dann aufleuchtet (Klasse logo-hell, gesetzt von app.js). */
.pause-logo {
  grid-column: 1 / -1;
  height: calc(100vh - var(--kopf-hoehe, 0px) - var(--laufband-hoehe, 0px));
  height: calc(100dvh - var(--kopf-hoehe, 0px) - var(--laufband-hoehe, 0px));
  margin: calc(-1 * var(--raster, 1em)) 0;   /* Raster-Abstand darüber/darunter ausgleichen */
}
.modus-anzeige::before { transition: opacity 1s ease, filter 1s ease; }
.modus-anzeige.logo-hell::before { opacity: 1; filter: drop-shadow(0 0 2.5em #8dc63f99); }
.modus-anzeige.sponsor-zeigen::before { opacity: 0; }
.modus-anzeige .gruppe h2 { font-size: 1.25em; }
.modus-anzeige th { font-size: .65em; }

/* ---- Durchsage der Turnierleitung: Handy als Hinweis unter dem Kopf, Bildschirm als Laufband unten.
   Signalgelb in allen Skins, damit sie auffällt. */
.durchsage {
  position: sticky; top: var(--kopf-hoehe, 0px); z-index: 4;
  background: #fde047; color: #1c1917; font-weight: 700; padding: 10px 16px; box-shadow: 0 2px 8px #0003;
}
.durchsage::before {
  content: "Durchsage"; display: inline-block; margin-right: .6em; padding: 1px 8px; border-radius: 4px;
  background: #1c1917; color: #fde047; font-size: .75em; text-transform: uppercase; letter-spacing: .08em; vertical-align: .1em;
}
.modus-anzeige .durchsage {
  position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; overflow: hidden; white-space: nowrap; padding: .35em 0; font-size: 1.35em;
}
.modus-anzeige .durchsage::before { position: relative; z-index: 1; flex: none; margin: 0 0 0 .6em; box-shadow: .6em 0 0 .6em #fde047; }
.modus-anzeige .durchsage span { display: inline-block; padding-left: 100vw; animation: laufband 20s linear infinite; }
@keyframes laufband { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .modus-anzeige .durchsage span { animation: none; padding-left: 1em; white-space: normal; }
}

/* ---- Große Durchsage (Bildschirm): gelbes Banner, halbe Bildschirmhöhe, mittig über allem außer dem Kopf.
   Läuft durchsage_gross-mal durch (Dauer und Ende steuert app.js), danach wie gewohnt unten als Laufband. */
.durchsage-gross {
  position: fixed; z-index: 8; left: 0; right: 0; top: var(--kopf-hoehe, 0px); bottom: 0;
  display: grid; place-items: center;
  background: #0b1a0ecc; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: dg-ein .6s ease-out both;
}
.durchsage-gross.weg { animation: dg-aus .7s ease-in both; }
.dg-banner {
  width: calc(100% - 6vh); height: 50vh;
  display: flex; flex-direction: column; justify-content: center;
  background: #fde047; color: #1c1917; border-radius: 2.5vh; overflow: hidden;
  box-shadow: 0 0 0 .6vh #1c1917, 0 0 0 1.4vh #fde047, 0 3vh 8vh #000a;
  animation: dg-gross .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.dg-band { overflow: hidden; white-space: nowrap; }
.dg-band span {
  display: inline-block; padding-left: 100%;
  font: 700 24vh/1.1 var(--titel); text-transform: uppercase; letter-spacing: .01em;
  animation: laufband 12s linear infinite;
}
.modus-anzeige.mit-durchsage-gross .liste { filter: brightness(.55); }
@keyframes dg-ein { from { opacity: 0; } }
@keyframes dg-aus { to { opacity: 0; } }
@keyframes dg-gross { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .durchsage-gross, .dg-banner { animation: none; }
  .dg-band span { animation: none !important; padding: 0 .3em; white-space: normal; font-size: 9vh; text-align: center; }
}

/* ---- Siegerehrung (Bildschirm): Podest 2 – 1 – 3 über der Liste; Plätze erscheinen nacheinander (app.js) */
.siegerehrung {
  position: fixed; z-index: 5; left: 0; right: 0; top: var(--kopf-hoehe, 0px); bottom: var(--laufband-hoehe, 0px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em;
  padding: 1.5em 2em; background: var(--grund); color: var(--text); text-align: center; overflow: hidden;
}
.siegerehrung h2 { margin: 0; font-size: 1.1em; text-transform: uppercase; letter-spacing: .2em; color: var(--gedaempft); }
.siegerehrung h2 span { display: block; margin-top: .15em; font-size: 2.4em; line-height: 1.05; letter-spacing: 0; color: var(--text); }
.podest-buehne { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 1em; width: min(100%, 60em); }
.stufe { display: flex; flex-direction: column; justify-content: flex-end; gap: .6em; }
.ehrung-name strong { display: block; font-size: 1.45em; line-height: 1.15; }
.ehrung-name span { display: block; font-size: 1.1em; color: var(--gedaempft); }
.ehrung-name small { display: block; font-size: .85em; color: var(--gedaempft); }
.ehrung-name + .ehrung-name { margin-top: .5em; }
.sockel {
  display: grid; place-items: center; border-radius: .4em .4em 0 0; color: #fff; font-size: 3em; font-weight: 700;
  text-shadow: 0 2px 6px #0005; box-shadow: inset 0 .15em 0 #ffffff55;
}
.stufe.p1 .sockel { height: 4em; background: var(--gold); }
.stufe.p2 .sockel { height: 2.9em; background: var(--silber); }
.stufe.p3 .sockel { height: 2.1em; background: var(--bronze); }
.stufe.p1 .ehrung-name strong { font-size: 1.8em; }
/* nacheinander erscheinen: Namen fliegen von unten ein, Sockel wächst */
.stufe .ehrung-namen, .ehrung-weitere { opacity: 0; translate: 0 1.5em; transition: opacity 1s ease, translate 1s ease; }
.stufe .sockel { transform: scaleY(.15); transform-origin: bottom; opacity: .35; transition: transform 1s ease, opacity 1s ease; }
.stufe.sichtbar .ehrung-namen, .ehrung-weitere.sichtbar { opacity: 1; translate: 0 0; }
.stufe.sichtbar .sockel { transform: none; opacity: 1; }
.ehrung-weitere {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.6em;
  max-width: 60em; color: var(--gedaempft); font-size: .95em;
}
.ehrung-weitere b { color: var(--text); }
.mit-siegerehrung::before { opacity: 0 !important; }

/* ---- Sponsor in der Pause: weiße Karte (Logos sind meist für hellen Grund gemacht) */
.sponsor-buehne {
  position: fixed; z-index: 3; left: 50%; translate: -50% -50%;
  top: calc(var(--kopf-hoehe, 0px) + (100dvh - var(--kopf-hoehe, 0px) - var(--laufband-hoehe, 0px)) / 2);
  width: min(80vw, 34em); padding: 1.4em 2em 2em; border-radius: 1em; background: #fff; color: #44403c;
  text-align: center; box-shadow: 0 1em 3em #0008; opacity: 0; scale: .96; transition: opacity 1s ease, scale 1s ease;
}
.sponsor-buehne.sichtbar { opacity: 1; scale: 1; }
.sponsor-buehne p { margin: 0 0 1em; font-size: .8em; text-transform: uppercase; letter-spacing: .15em; }
.sponsor-buehne img { display: block; width: 100%; height: min(18em, 45dvh); object-fit: contain; }
