/* VOICE: festlich und augenzwinkernd, ein Auktionshaus bei Nacht
   IDEA: Museumswand mit Goldrahmen, weißen Museumsschildern und Jurykarten
   PICTURE: gerahmte Exponate auf weinroter Wand, Vitrine im Spotlicht, Siegerschleifen
   COLOUR+TYPE: Weinrot als Wand, Messing als Akzent, Papierweiß für Schilder; Bodoni Moda + Inter
   LAYOUT: Handy zuerst in einer Spalte; Bühne für 16:9 zweigeteilt; Schild auf A4 */
:root {
  --wand: #44111b; --wand-tief: #2b0810; --wand-hell: #5a1825; --flaeche: rgba(255, 236, 214, .06);
  --linie: rgba(236, 211, 147, .24); --messing: #cfa95a; --messing-hell: #efd796; --messing-tief: #8c6a2b;
  --papier: #fbf8f2; --papier-2: #efe8dc; --tinte: #1f1517; --tinte-leise: #6d5a57;
  --text: #f7ede9; --text-leise: #d9bfbd; --warn: #ffb3a3;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.5 var(--sans); background: var(--wand-tief); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(130% 70% at 50% -10%, #6c2030 0%, var(--wand) 46%, var(--wand-tief) 100%); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--messing-hell); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.unsichtbar { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.leise { color: var(--text-leise); font-size: 14.5px; margin: 0; }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Test mode bar ---------- */
.testleiste { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 14px;
  background: repeating-linear-gradient(135deg, #3a2f0c 0 12px, #2f260a 12px 24px); border-bottom: 1px solid var(--messing); }
.testleiste b { color: var(--messing-hell); white-space: nowrap; }
.testleiste select { flex: 1; min-height: 40px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--linie); background: var(--wand-tief); }
.testleiste .knopf.klein { min-height: 40px; padding: 6px 12px; font-size: 14px; white-space: nowrap; }

/* ---------- Knöpfe und Felder ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px;
  padding: 12px 20px; border: 0; border-radius: 999px; font-weight: 650; font-size: 16.5px; color: #26170a;
  background: linear-gradient(180deg, var(--messing-hell), var(--messing));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 18px rgba(0, 0, 0, .32); }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf.zweit { background: transparent; color: var(--messing-hell); box-shadow: inset 0 0 0 1.5px var(--messing); }
.knopf.gefahr { background: transparent; color: var(--warn); box-shadow: inset 0 0 0 1.5px var(--warn); }
.knopf.klein { width: auto; min-height: 44px; padding: 8px 16px; font-size: 15px; }
.link { border: 0; background: none; padding: 10px 4px; color: var(--messing-hell); text-decoration: underline;
  text-underline-offset: 3px; font-size: 15px; min-height: 44px; }
.leise .link { min-height: 0; padding: 0 2px; font-size: inherit; }
.feld { display: grid; gap: 6px; }
.feld > span { font-size: 14px; font-weight: 550; color: var(--text-leise); }
.feld input, .feld select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; font-size: 16px;
  border: 1.5px solid var(--linie); background: rgba(0, 0, 0, .28); color: var(--text); }
.feld input:focus, .feld select:focus { outline: none; border-color: var(--messing); box-shadow: 0 0 0 3px rgba(207, 169, 90, .25); }
.reihe { display: flex; gap: 10px; flex-wrap: wrap; }
.reihe > * { flex: 1 1 160px; }
.karte { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie); }
.karte h2 { margin: 0; font: 600 24px/1.1 var(--serif); }
.hinweis { padding: 12px 14px; border-radius: 12px; background: rgba(207, 169, 90, .14); border: 1px solid rgba(207, 169, 90, .4); font-size: 15px; }
.hinweis strong { color: var(--messing-hell); }
.fehlertext { color: var(--warn); font-size: 14.5px; margin: 0; }

/* ---------- Goldrahmen und Museumsschild ---------- */
.rahmen { position: relative; display: block; width: 100%; padding: 7px; border: 0; border-radius: 2px;
  background: linear-gradient(135deg, #7a5a22 0%, #e6c97f 22%, #9a7633 44%, #f3dea0 62%, #8a6728 82%, #d9b867 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 240, 200, .35); }
.rahmen::after { content: ""; position: absolute; inset: 7px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), inset 0 3px 10px rgba(0, 0, 0, .35); }
.rahmen img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #e8e0d2; }
.rahmen.frei img { aspect-ratio: auto; object-fit: contain; background: #1b0b0e; }
.schild { position: relative; background: var(--papier); color: var(--tinte); border-radius: 3px; padding: 10px 12px 12px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .38); }
.losnr { display: flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--sans); color: var(--tinte-leise); }
.titel { margin: 4px 0 0; font: italic 600 17px/1.22 var(--serif); color: var(--tinte); overflow-wrap: anywhere; }
.neu { padding: 2px 7px; border-radius: 999px; background: #7d1d2c; color: #fff; font: 700 11px/1.4 var(--sans); }
.eigen-marke { margin-top: 10px; padding: 9px 10px; border-radius: 999px; text-align: center; background: var(--papier-2);
  color: var(--tinte-leise); font-size: 14px; font-weight: 600; }

/* ---------- Gäste-App: Kopf und Reiter ---------- */
.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 8px) 16px 8px; background: rgba(36, 6, 13, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linie); }
.kopf-text { flex: 1; display: grid; gap: 1px; }
.marke { font: 600 19px/1.15 var(--serif); }
.uhr { font-size: 13.5px; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.uhr.bald { color: var(--messing-hell); font-weight: 600; }
.paddle { position: relative; display: grid; place-items: center; width: 46px; height: 56px; padding: 0; border: 0; background: none; flex: none; }
.paddle svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.paddle b { position: relative; top: -6px; font: 700 15px/1 var(--serif); color: var(--tinte); }
.netz { width: 10px; height: 10px; border-radius: 50%; background: #79c38c; box-shadow: 0 0 0 3px rgba(121, 195, 140, .2); flex: none; }
.netz.weg { background: var(--warn); box-shadow: 0 0 0 3px rgba(255, 179, 163, .25); }
.reiter { display: flex; gap: 8px; max-width: 680px; margin: 0 auto; padding: 12px 16px 0; }
.reiter button { flex: 1; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--linie); background: transparent;
  font-weight: 600; font-size: 15px; color: var(--text-leise); }
.reiter button[aria-selected="true"] { background: var(--papier); color: var(--tinte); border-color: var(--papier); }
.inhalt { max-width: 680px; margin: 0 auto; padding: 16px 16px 40px; display: grid; gap: 18px; }
.inhalt.mit-konto { padding-bottom: calc(env(safe-area-inset-bottom) + 120px); }

/* ---------- Willkommen ---------- */
.willkommen { display: grid; gap: 18px; padding-top: 4px; }
.vitrine { display: block; width: 168px; height: auto; margin: 0 auto -6px; }
.gross-titel { margin: 0; text-align: center; font: 700 clamp(34px, 9vw, 46px)/1.04 var(--serif); }
.unter { margin: -8px 0 0; text-align: center; color: var(--text-leise); }
.ablauf { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.ablauf li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; }
.ablauf li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--messing); color: var(--messing-hell); font: 700 16px/1 var(--serif); }
.ablauf b { color: var(--text); }
.ablauf span { color: var(--text-leise); }

/* ---------- Einreichen ---------- */
.foto-wahl { position: relative; display: grid; place-items: center; min-height: 220px; border-radius: 14px; cursor: pointer;
  border: 2px dashed rgba(236, 211, 147, .5); background: rgba(0, 0, 0, .22); overflow: hidden; text-align: center; }
.foto-wahl:focus-within { border-color: var(--messing-hell); }
.foto-leer { display: grid; justify-items: center; gap: 8px; padding: 24px; color: var(--text-leise); }
.foto-leer svg { width: 44px; height: 44px; }
.foto-leer b { color: var(--text); font-size: 17px; }
.foto-wahl img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.foto-wahl .wechseln { position: absolute; right: 10px; bottom: 10px; padding: 7px 12px; border-radius: 999px;
  background: rgba(20, 4, 8, .82); color: var(--text); font-size: 13.5px; font-weight: 600; }
.mein-los { display: grid; gap: 14px; justify-items: center; }
.mein-los .rahmen { max-width: 340px; }
.mein-los .schild { width: min(300px, 92%); text-align: center; }
.mein-los .losnr { justify-content: center; }
.gross-nr { font: 700 44px/1 var(--serif); color: var(--tinte); margin-top: 2px; }
.geheim { margin: 8px 0 0; font-size: 13.5px; color: var(--tinte-leise); }

/* ---------- Bieten ---------- */
.lose { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 22px 14px; }
@media (max-width: 335px) { .lose { grid-template-columns: minmax(0, 1fr); } }
.los { display: grid; gap: 12px; align-content: start; }
.los .rahmen { cursor: zoom-in; }
.los .schild { margin: 0 2px; }
.los.geboten .schild { box-shadow: 0 0 0 2.5px var(--messing-hell), 0 5px 14px rgba(0, 0, 0, .38); }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; margin-top: 10px;
  border-radius: 999px; background: var(--papier-2); }
.stepper button { height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--tinte);
  font: 600 24px/1 var(--sans); display: grid; place-items: center; }
.stepper button:disabled { opacity: .28; cursor: default; }
.stepper input { width: 100%; height: 44px; border: 0; background: transparent; text-align: center; color: var(--tinte);
  font: 700 18px/1 var(--sans); font-variant-numeric: tabular-nums; padding: 0; border-radius: 8px; }
.stepper input:focus { outline: 2px solid var(--messing-tief); }
.stepper input:disabled { color: var(--tinte-leise); opacity: 1; -webkit-text-fill-color: var(--tinte-leise); }
.los.geboten .stepper { background: var(--messing-hell); }
.leer { text-align: center; padding: 32px 12px; color: var(--text-leise); }
.leer b { display: block; color: var(--text); font: 600 22px/1.2 var(--serif); margin-bottom: 6px; }
.banner { padding: 14px 16px; border-radius: 14px; background: var(--papier); color: var(--tinte); font-weight: 600; text-align: center; }
.konto { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(env(safe-area-inset-bottom) + 12px);
  background: rgba(36, 6, 13, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--linie); }
.konto-innen { max-width: 680px; margin: 0 auto; display: grid; gap: 8px; }
.konto-zeile { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.konto-zahl { font: 700 30px/1 var(--serif); color: var(--messing-hell); font-variant-numeric: tabular-nums; }
.speicher { margin-left: auto; font-size: 13.5px; color: var(--text-leise); white-space: nowrap; }
.speicher.fehler { color: var(--warn); }
.balken { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.balken i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--messing-tief), var(--messing-hell)); transition: width .25s; }

/* ---------- Lightbox, Jurykarte, Toast ---------- */
.lb { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: rgba(22, 3, 8, .95);
  display: grid; place-items: center; padding: calc(env(safe-area-inset-top) + 64px) 16px calc(env(safe-area-inset-bottom) + 20px); }
.lb-fig { margin: 0; width: min(560px, 100%); display: grid; gap: 16px; }
.lb .rahmen img { max-height: 60vh; }
.lb-zu { position: fixed; top: calc(env(safe-area-inset-top) + 10px); right: 12px; z-index: 41; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--text); font-size: 28px; line-height: 1; }
.karten-blatt { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 22px 18px; width: min(380px, 100%);
  background: var(--papier); color: var(--tinte); border-radius: 18px; }
.karten-blatt .gross-nr { font-size: 64px; }
.karten-blatt p { margin: 0; color: var(--tinte-leise); }
.karten-blatt .knopf.zweit { color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--tinte-leise); }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 110px); z-index: 60; max-width: calc(100% - 32px);
  transform: translate(-50%, 16px); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
  padding: 11px 18px; border-radius: 16px; background: var(--papier); color: var(--tinte); font-weight: 600; text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.toast.an { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Ergebnis ---------- */
.ergebnis { display: grid; gap: 22px; }
.ergebnis h1 { margin: 6px 0 0; text-align: center; font: 700 clamp(38px, 11vw, 54px)/1 var(--serif); color: var(--messing-hell); }
.ergebnis h2 { margin: 8px 0 0; font: 600 24px/1.1 var(--serif); }
.sieger { display: grid; gap: 14px; justify-items: center; margin: 0; }
.sieger .rahmen { max-width: 380px; }
.sieger .rosette.angeheftet { top: -14px; right: -8px; width: 68px; }
.sieger .schild { width: min(340px, 94%); text-align: center; }
.sieger .losnr { justify-content: center; }
.sieger .titel { font-size: 23px; }
.sieger .von { margin: 8px 0 0; font-size: 15px; color: var(--tinte-leise); }
.sieger .von b { color: var(--tinte); }
.taler { margin: 6px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.rang { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rang li { display: grid; grid-template-columns: 34px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--linie); }
.rang li.ich { border-color: var(--messing); background: rgba(207, 169, 90, .14); }
.rang .platz { font: 700 20px/1 var(--serif); text-align: center; color: var(--messing-hell); }
.rang img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 2px solid var(--messing); }
.rang .was { display: grid; gap: 1px; }
.rang .was b { font: italic 600 16px/1.2 var(--serif); }
.rang .was span { font-size: 13px; color: var(--text-leise); }
.rang .anz { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Bühne (Fernseher / Beamer) ---------- */
body.buehne { overflow: hidden; height: 100vh; cursor: default; }
.live { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4vw; height: 100vh; padding: 5vh 4.5vw; align-items: center; }
.spot { position: relative; display: grid; justify-items: center; align-content: center; gap: 3vh; height: 100%; }
.spot::before { content: ""; position: absolute; inset: -5vh -2vw auto; height: 70%; z-index: -1;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 233, 176, .22), transparent 70%); }
.spot .rahmen { width: auto; padding: 1.1vw; }
.spot .rahmen::after { inset: 1.1vw; }
.spot .rahmen img { width: auto; height: 58vh; max-width: 48vw; aspect-ratio: auto; object-fit: contain; background: #e8e0d2; }
.spot .schild { min-width: 22vw; max-width: 44vw; padding: 1.4vh 1.4vw 1.8vh; text-align: center; }
.spot .losnr { justify-content: center; font-size: clamp(13px, 1.25vw, 22px); }
.spot .titel { font-size: clamp(20px, 2.3vw, 42px); }
.spot .von { margin: .6vh 0 0; font-size: clamp(12px, 1.05vw, 18px); color: var(--tinte-leise); }
.spot.wechsel .rahmen, .spot.wechsel .schild { animation: auftritt .9s ease both; }
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.leere-wand { display: grid; place-items: center; width: 40vw; height: 52vh; border: 2px dashed var(--linie); border-radius: 6px;
  text-align: center; color: var(--text-leise); font: italic 600 clamp(18px, 2vw, 34px)/1.3 var(--serif); padding: 3vw; }
.tafel { display: grid; gap: 2.8vh; align-content: center; }
.tafel h1 { margin: 0; font: 700 clamp(28px, 3.6vw, 70px)/1.04 var(--serif); }
.nowrap { white-space: nowrap; }
.tafel .unter { margin: -1.4vh 0 0; text-align: left; font-size: clamp(14px, 1.3vw, 24px); }
.cd-block { display: grid; gap: .4vh; }
.cd-label { font-size: clamp(14px, 1.3vw, 24px); color: var(--text-leise); }
.cd { font: 700 clamp(40px, 6.4vw, 124px)/1 var(--serif); color: var(--messing-hell); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.cd.datum { font-size: clamp(28px, 3.6vw, 70px); }
.zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4vw; margin: 0; }
.zahlen div { padding: 1.4vh 1vw; border-top: 1px solid var(--linie); }
.zahlen dt { font-size: clamp(12px, 1.05vw, 20px); color: var(--text-leise); }
.zahlen dd { margin: .3vh 0 0; font: 700 clamp(22px, 2.8vw, 54px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.qr-karte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6vw; align-items: center; padding: 1.4vw;
  border-radius: 14px; background: var(--papier); color: var(--tinte); }
.qr-karte .qr { width: clamp(120px, 11.5vw, 230px); }
.qr svg { display: block; width: 100%; height: auto; }
.qr-karte b { display: block; font: 700 clamp(18px, 1.9vw, 36px)/1.1 var(--serif); }
.qr-karte span { display: block; margin-top: .6vh; font-size: clamp(12px, 1.1vw, 20px); color: var(--tinte-leise); }
.qr-karte .url { color: var(--tinte); font-weight: 700; overflow-wrap: anywhere; }
.ecke { position: fixed; left: 14px; bottom: 12px; z-index: 30; display: flex; gap: 8px; opacity: .35; transition: opacity .2s; }
.ecke:hover, .ecke:focus-within { opacity: 1; }
.zeigt .ecke { display: none; }
.ecke a, .ecke button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--linie); background: rgba(0, 0, 0, .3);
  color: var(--text); font-size: 13px; text-decoration: none; }
.show { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 6vh 6vw; text-align: center;
  background: radial-gradient(90% 70% at 50% 0%, #6c2030 0%, var(--wand) 50%, var(--wand-tief) 100%); }
.folie { display: grid; gap: 3vh; justify-items: center; width: 100%; animation: auftritt .7s ease both; }
.folie h1 { margin: 0; font: 700 clamp(36px, 6vw, 120px)/1.02 var(--serif); }
.folie h2 { margin: 0; font: 600 clamp(22px, 3vw, 56px)/1.1 var(--serif); color: var(--messing-hell); }
.folie p { margin: 0; font-size: clamp(16px, 1.7vw, 32px); color: var(--text-leise); }
.folie .tipp { font-size: clamp(13px, 1.1vw, 20px); opacity: .7; }
.folie .knopf { width: auto; padding: 1.6vh 3vw; font-size: clamp(16px, 1.6vw, 30px); }
.folie-lose { display: flex; justify-content: center; gap: 4vw; flex-wrap: wrap; width: 100%; }
.folie-los { display: grid; gap: 2.4vh; justify-items: center; }
.folie-los .rahmen { width: auto; padding: 1vw; }
.folie-los .rahmen::after { inset: 1vw; }
.folie-los .rahmen img { width: auto; height: 46vh; max-width: 40vw; aspect-ratio: auto; object-fit: contain; background: #e8e0d2; }
.folie-los .schild { min-width: 24vw; max-width: 40vw; padding: 1.4vh 1.6vw 2vh; }
.folie-los .losnr { justify-content: center; font-size: clamp(13px, 1.2vw, 22px); }
.folie-los .titel { font-size: clamp(20px, 2.4vw, 44px); }
.folie-los .taler { font-size: clamp(14px, 1.4vw, 26px); color: var(--tinte); }
.folie-los .von { margin: 1vh 0 0; font-size: clamp(15px, 1.6vw, 30px); color: var(--tinte-leise); animation: auftritt .8s 1.4s ease both; }
.folie-los .von b { color: var(--tinte); }
.folie.sieg .folie-los .rahmen img { height: 42vh; }
.folie.sieg { gap: 2.4vh; }
.folie.sieg h1 { color: var(--messing-hell); font-size: clamp(44px, 6.8vw, 130px); }
.ruf { font: italic 700 clamp(40px, 7vw, 140px)/1.1 var(--serif); min-height: 1.2em; }
.ruf span { animation: auftritt .35s ease both; }
.rosette { display: block; width: clamp(110px, 11vw, 210px); height: auto; overflow: visible; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.rosette.angeheftet { position: absolute; z-index: 2; top: -16px; right: -22px; width: clamp(70px, 7.5vw, 140px); transform: rotate(10deg); }
.rosette.pop { animation: pop .8s .3s cubic-bezier(.2, 1.5, .4, 1) both; }
.rosette.zittert { animation: zittern .14s linear infinite; }
@keyframes pop { from { opacity: 0; transform: scale(.2) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(10deg); } }
@keyframes zittern { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.blitz { animation: blitz .9s ease-out; }
@keyframes blitz { 0% { box-shadow: inset 0 0 0 100vmax rgba(255, 240, 200, .35); } 100% { box-shadow: inset 0 0 0 100vmax rgba(255, 240, 200, 0); } }
.ehren { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.6vh; width: min(80vw, 1100px); text-align: left; }
.ehren li { display: grid; grid-template-columns: 6vw 7vw minmax(0, 1fr) auto; gap: 2vw; align-items: center;
  padding: 1.2vh 1.6vw; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie); }
.ehren .platz { font: 700 clamp(24px, 3vw, 56px)/1 var(--serif); color: var(--messing-hell); text-align: center; }
.ehren img { width: 7vw; height: 7vw; object-fit: cover; border: 3px solid var(--messing); border-radius: 4px; }
.ehren b { display: block; color: var(--text); font: italic 600 clamp(18px, 2vw, 38px)/1.15 var(--serif); }
.ehren span { font-size: clamp(13px, 1.3vw, 24px); color: var(--text-leise); }
.ehren .anz { font: 700 clamp(18px, 2vw, 38px)/1 var(--serif); white-space: nowrap; color: var(--messing-hell); }
.pin-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pin-form input { width: 12em; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--linie);
  background: rgba(0, 0, 0, .3); color: var(--text); font-size: 20px; text-align: center; letter-spacing: .2em; }
@media (max-aspect-ratio: 1/1) {
  body.buehne { overflow: auto; height: auto; }
  .live { grid-template-columns: minmax(0, 1fr); height: auto; }
  .spot .rahmen img { height: 40vh; max-width: 80vw; }
  .spot .schild { max-width: 80vw; }
}

/* ---------- Verwaltung ---------- */
.verwaltung .inhalt { max-width: 1100px; }
.admin-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; align-items: start; }
.status-zeile { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.status-zeile b { font: 700 26px/1.1 var(--serif); color: var(--messing-hell); }
.liste { width: 100%; border-collapse: collapse; font-size: 15px; }
.liste th { text-align: left; font-size: 13px; color: var(--text-leise); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--linie); }
.liste td { padding: 8px 6px; border-bottom: 1px solid rgba(236, 211, 147, .12); vertical-align: middle; }
.liste td:last-child { padding-right: 0; }
.liste td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.liste img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; border: 2px solid var(--messing); display: block; }
.liste .knopf { min-height: 38px; padding: 6px 12px; font-size: 13.5px; }
.lauftext { overflow-x: auto; }
.unterkarte { padding: 14px; background: rgba(0, 0, 0, .18); }
.verwaltung .pin-form { justify-content: flex-start; }
a.knopf { text-decoration: none; }
.code { display: block; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); font: 600 14.5px/1.4 ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

/* ---------- Eingangsschild (A4) ---------- */
body.schildseite { background: #d9d2c7; color: var(--tinte); }
body.schildseite::before { display: none; }
.werkzeug { display: flex; gap: 10px; justify-content: center; padding: 16px; }
.schildseite .knopf.zweit { color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--tinte-leise); }
.schildseite #pin-ein { width: 12em; font-size: 20px; padding: 10px; text-align: center; border-radius: 10px; border: 1px solid #b9ada0; background: #fff; color: var(--tinte); }
.a4 { width: 210mm; min-height: 297mm; margin: 0 auto 24px; padding: 16mm 16mm 14mm; background: var(--papier); display: grid;
  grid-template-rows: auto auto 1fr auto; gap: 9mm; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.a4 header { text-align: center; display: grid; gap: 3mm; justify-items: center; }
.a4 .ober { font: 600 12pt/1.2 var(--sans); color: var(--tinte-leise); }
.a4 h1 { margin: 0; font: 700 40pt/1 var(--serif); color: var(--wand); }
.a4 header p { margin: 0; font: italic 600 15pt/1.3 var(--serif); }
.qr-paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10mm; }
.qr-box { display: grid; gap: 3mm; justify-items: center; text-align: center; padding: 7mm 5mm; border: 1.2mm solid var(--messing); border-radius: 3mm; }
.qr-box .qr { width: 62mm; }
.qr-box h2 { margin: 0; font: 700 20pt/1.1 var(--serif); }
.qr-box p { margin: 0; font-size: 12pt; color: var(--tinte-leise); }
.qr-box .fest { color: var(--tinte); font-weight: 700; font-size: 13pt; overflow-wrap: anywhere; }
.schritte { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 5mm; align-content: start; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 12mm minmax(0, 1fr); gap: 5mm; align-items: center; font-size: 14pt; line-height: 1.35; }
.schritte li::before { content: counter(s); display: grid; place-items: center; width: 12mm; height: 12mm; border-radius: 50%;
  background: var(--wand); color: var(--messing-hell); font: 700 16pt/1 var(--serif); }
.a4 footer { text-align: center; font: italic 600 13pt/1.4 var(--serif); color: var(--wand); border-top: 0.4mm solid var(--messing); padding-top: 5mm; }
@media print {
  @page { size: A4; margin: 0; }
  body.schildseite { background: #fff; }
  .werkzeug { display: none; }
  .a4 { margin: 0; box-shadow: none; }
}
@media (max-width: 820px) { .a4 { width: 100%; min-height: 0; padding: 8mm; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
