* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #103932; font-family: "Segoe UI", Arial, sans-serif; color: #103932; cursor: none; }
#welt { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
.versteckt { display: none !important; }

.panel { position: fixed; left: 3vh; top: 3vh; bottom: 3vh; width: 52vh; background: rgba(251,250,243,0.96); border-radius: 3vh; padding: 3.5vh 4vh; box-shadow: 0 2vh 6vh rgba(0,0,0,0.35); display: flex; flex-direction: column; }
.marke { font-weight: 900; font-size: 3.2vh; letter-spacing: 0.3vh; color: #103932; }
.marke span { color: #207162; }
.panel h1 { font-size: 5.2vh; line-height: 1.05; margin: 2vh 0 2.2vh; color: #103932; }
.qrbox { background: #fff; border-radius: 2vh; padding: 1.6vh; align-self: center; box-shadow: 0 0.6vh 2vh rgba(16,57,50,0.18); border: 0.6vh solid #f6c945; }
.qrbox canvas { display: block; width: 30vh; height: 30vh; image-rendering: pixelated; }
.schritte { font-size: 2.6vh; font-weight: 700; margin: 2.4vh 0 0.8vh; padding-left: 3.2vh; line-height: 1.55; }
.klein { font-size: 2.1vh; color: #5d6b68; margin: 0.6vh 0; }
.liste { margin-top: auto; font-size: 2.1vh; }
.liste h3 { margin: 0 0 0.8vh; font-size: 2.3vh; color: #207162; text-transform: uppercase; letter-spacing: 0.2vh; }
.liste .zeile { display: flex; gap: 1.2vh; padding: 0.45vh 0; border-bottom: 1px solid rgba(16,57,50,0.1); }
.liste .zeile b { width: 3vh; color: #207162; }
.liste .zeile span:nth-child(2) { flex: 1; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.liste .zeile em { font-style: normal; color: #5d6b68; }

.mitte { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(251,250,243,0.97); border-radius: 3vh; padding: 4vh 5vh; min-width: 70vh; text-align: center; box-shadow: 0 2vh 6vh rgba(0,0,0,0.4); }
.mitte.breit { min-width: 120vh; max-width: 94vw; }
.mitte h2 { margin: 0 0 3vh; font-size: 5vh; color: #103932; }
.slots { display: flex; gap: 3vh; justify-content: center; }
.slot { width: 32vh; padding: 2.4vh; border-radius: 2vh; background: #fff; border: 0.5vh dashed #9fc7bd; font-size: 2.8vh; font-weight: 800; }
.slot.da { border-style: solid; border-color: var(--farbe); }
.slot .punkt { display: inline-block; width: 2.4vh; height: 2.4vh; border-radius: 50%; background: var(--farbe); margin-right: 1vh; vertical-align: middle; }
.slot small { display: block; font-size: 2vh; font-weight: 600; color: #5d6b68; margin-top: 0.8vh; }
.slot.bereit small { color: #207162; }
#lobby-text { font-size: 2.6vh; margin: 3vh 0 1.5vh; font-weight: 700; }
.qrklein { display: inline-block; background: #fff; padding: 1vh; border-radius: 1.4vh; }
.qrklein canvas { width: 16vh; height: 16vh; display: block; image-rendering: pixelated; }
.uhr { font-size: 3vh; font-weight: 800; color: #207162; margin-top: 1.5vh; }

.countdown { position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%); font-size: 30vh; font-weight: 900; color: #f6c945; text-shadow: 0 1vh 4vh rgba(0,0,0,0.6); }

.karten { display: flex; gap: 3vh; justify-content: center; margin-bottom: 3vh; }
.karte { flex: 1; max-width: 60vh; background: #fff; border-radius: 2vh; padding: 2.5vh 3vh; text-align: left; border-top: 1.2vh solid var(--farbe); }
.karte .n { font-size: 3.4vh; font-weight: 900; }
.karte .urteil { font-size: 4.2vh; font-weight: 900; margin: 1vh 0; }
.karte .urteil.ja { color: #207162; }
.karte .urteil.nein { color: #c62828; }
.karte .werte { font-size: 2.4vh; font-weight: 700; color: #5d6b68; }
.karte ul { font-size: 2.1vh; margin: 1.2vh 0 0; padding-left: 2.6vh; color: #b23a2e; }
.karte ul li.ok { color: #207162; list-style: none; margin-left: -2.6vh; }
.rechtsliste { position: fixed; right: 3vh; bottom: 4vh; width: 46vh; margin: 0; background: rgba(251,250,243,0.96); border-radius: 2.4vh; padding: 2.4vh 3vh; box-shadow: 0 2vh 6vh rgba(0,0,0,0.35); }
#ergebnis .liste { text-align: left; max-width: 70vh; margin: 0 auto 2vh; }

.schlange { position: fixed; right: 3vh; bottom: 3vh; background: rgba(16,57,50,0.92); color: #fff; padding: 1.4vh 2.4vh; border-radius: 1.6vh; font-size: 2.4vh; font-weight: 700; }
.netz { position: fixed; right: 2vh; top: 2vh; background: #c62828; color: #fff; padding: 1vh 2vh; border-radius: 1vh; font-size: 2vh; }
.osm { position: fixed; left: 50%; bottom: 0.6vh; transform: translateX(-50%); font-size: 1.4vh; color: rgba(255,255,255,0.7); text-shadow: 0 0 4px #000; }

/* 3D-Ansicht liegt unter der 2D-Leinwand (die dann nur Tacho/Navi zeigt) */
#drei { position: fixed; inset: 0; width: 100vw; height: 100vh; display: none; z-index: -1; }
body { background: transparent; }

/* Nach der Fahrt: Strecke von oben links, Ergebnis rechts */
.flug { position: fixed; inset: 0; width: 100vw; height: 100vh; }
.mitte.breit.mitflug { left: auto; right: 2vw; transform: translateY(-50%); min-width: 0; width: 36vw; padding: 3vh 3vh; }
.mitflug .karten { flex-direction: column; }

/* Zuschauer (zuhause / Website): kein QR-Code, oben ein Live-Hinweis */
body.zuschauen { cursor: default; }
body.zuschauen #warte, body.zuschauen .qrklein, body.zuschauen #lobby-text, body.zuschauen #schlange { display: none !important; }
#zuschauer-info { position: fixed; left: 50%; top: 1.6vh; transform: translateX(-50%); z-index: 30; background: rgba(16,57,50,0.9); color: #fff; font-weight: 800; font-size: 2.4vh; padding: 1vh 2.4vh; border-radius: 1.4vh; white-space: nowrap; box-shadow: 0 1vh 3vh rgba(0,0,0,0.35); }
#zuschauer-info b.an { color: #ff5252; animation: blink 1.2s infinite; }
#zuschauer-info b.aus { color: #9e9e9e; }
@keyframes blink { 50% { opacity: 0.3; } }
