@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --rot: #b3202f;
  --rot-dunkel: #8a1622;
  --gruen: #1f6140;
  --gruen-hell: #2e8b57;
  --gold: #d9a441;
  --creme: #fbf6ee;
  --papier: #fffdf9;
  --text: #2b2320;
  --leise: #7a6b63;
  --linie: #eadfd2;
  --schatten: 0 1px 2px rgba(80, 40, 20, .06), 0 8px 24px rgba(80, 40, 20, .08);
  --w: var(--rot);
  --wd: var(--rot-dunkel);
}
.wf-1 { --w: #d62839; --wd: #9e1b2a; }
.wf-2 { --w: #2e8b57; --wd: #1f6140; }
.wf-3 { --w: #e0a526; --wd: #a8771a; }
.wf-4 { --w: #5aa9d6; --wd: #3b7ea6; }
.wf-5 { --w: #ee7b30; --wd: #b55a1f; }
.wf-6 { --w: #8a4fc7; --wd: #61358f; }
.wf-7 { --w: #9b1d4a; --wd: #6d1434; }
.wf-8 { --w: #e86fa2; --wd: #b44a78; }
.wf-9 { --w: #8b5a3c; --wd: #62402a; }
.wf-10 { --w: #1fa5a0; --wd: #147571; }
.wf-11 { --w: #2f6fd0; --wd: #1f4d94; }
.wf-12 { --w: #7fae2e; --wd: #5a7d1f; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.5 "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 164, 65, .16), transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(179, 32, 47, .10), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(31, 97, 64, .10), transparent 55%),
    var(--creme);
  background-attachment: fixed;
  overflow-x: hidden;
}
h1, h2 { margin: 0; line-height: 1.15; }
h2 { font-size: 1.1rem; font-weight: 650; }
.hand { font-family: "Caveat", cursive; font-weight: 700; }
.hinweis { color: var(--leise); font-size: .92rem; margin: .25rem 0 1rem; }

.seite { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 44px 16px 24px; }
.fuss { position: relative; z-index: 1; text-align: center; color: var(--leise); font-size: .8rem; padding: 8px 16px 28px; }

/* Lichterkette oben */
.girlande {
  position: fixed; top: 0; left: 0; right: 0; height: 34px; z-index: 5; pointer-events: none;
  background:
    radial-gradient(ellipse 5px 8px at 50% 22px, #ffd75e 60%, transparent 66%) 0 0 / 120px 34px,
    radial-gradient(ellipse 5px 8px at 50% 20px, #e8434f 60%, transparent 66%) 40px 0 / 120px 34px,
    radial-gradient(ellipse 5px 8px at 50% 23px, #3fb37a 60%, transparent 66%) 80px 0 / 120px 34px,
    radial-gradient(ellipse 60px 14px at 50% 0, transparent 92%, #3a5a40 93%, #3a5a40 97%, transparent 98%) 0 0 / 40px 34px;
  filter: drop-shadow(0 0 4px rgba(255, 200, 80, .5));
  animation: funkeln 3s ease-in-out infinite alternate;
}
@keyframes funkeln { from { filter: drop-shadow(0 0 2px rgba(255, 200, 80, .3)); } to { filter: drop-shadow(0 0 7px rgba(255, 200, 80, .8)); } }

/* Schnee */
.schnee { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.schnee i {
  position: absolute; top: -12px; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 3px rgba(150, 170, 200, .6);
  animation: fallen 14s linear infinite;
  opacity: .85;
}
@keyframes fallen {
  0% { transform: translate3d(0, -20px, 0); }
  50% { transform: translate3d(24px, 50vh, 0); }
  100% { transform: translate3d(-12px, 105vh, 0); }
}
.schnee i:nth-child(6n+1) { width: 5px; height: 5px; animation-duration: 17s; }
.schnee i:nth-child(6n+2) { width: 10px; height: 10px; animation-duration: 12s; }
.schnee i:nth-child(6n+3) { width: 6px; height: 6px; animation-duration: 19s; }
.schnee i:nth-child(6n+4) { width: 4px; height: 4px; animation-duration: 15s; }
.schnee i:nth-child(6n+5) { width: 7px; height: 7px; animation-duration: 21s; }
.schnee i:nth-child(1) { left: 2%; animation-delay: -1s; } .schnee i:nth-child(2) { left: 5%; animation-delay: -9s; }
.schnee i:nth-child(3) { left: 8%; animation-delay: -4s; } .schnee i:nth-child(4) { left: 11%; animation-delay: -13s; }
.schnee i:nth-child(5) { left: 14%; animation-delay: -6s; } .schnee i:nth-child(6) { left: 17%; animation-delay: -2s; }
.schnee i:nth-child(7) { left: 20%; animation-delay: -11s; } .schnee i:nth-child(8) { left: 23%; animation-delay: -7s; }
.schnee i:nth-child(9) { left: 26%; animation-delay: -15s; } .schnee i:nth-child(10) { left: 29%; animation-delay: -3s; }
.schnee i:nth-child(11) { left: 32%; animation-delay: -10s; } .schnee i:nth-child(12) { left: 35%; animation-delay: -5s; }
.schnee i:nth-child(13) { left: 38%; animation-delay: -12s; } .schnee i:nth-child(14) { left: 41%; animation-delay: -8s; }
.schnee i:nth-child(15) { left: 44%; animation-delay: -16s; } .schnee i:nth-child(16) { left: 47%; animation-delay: -1.5s; }
.schnee i:nth-child(17) { left: 50%; animation-delay: -9.5s; } .schnee i:nth-child(18) { left: 53%; animation-delay: -4.5s; }
.schnee i:nth-child(19) { left: 56%; animation-delay: -14s; } .schnee i:nth-child(20) { left: 59%; animation-delay: -6.5s; }
.schnee i:nth-child(21) { left: 62%; animation-delay: -2.5s; } .schnee i:nth-child(22) { left: 65%; animation-delay: -11.5s; }
.schnee i:nth-child(23) { left: 68%; animation-delay: -7.5s; } .schnee i:nth-child(24) { left: 71%; animation-delay: -17s; }
.schnee i:nth-child(25) { left: 74%; animation-delay: -3.5s; } .schnee i:nth-child(26) { left: 77%; animation-delay: -10.5s; }
.schnee i:nth-child(27) { left: 80%; animation-delay: -5.5s; } .schnee i:nth-child(28) { left: 83%; animation-delay: -12.5s; }
.schnee i:nth-child(29) { left: 86%; animation-delay: -8.5s; } .schnee i:nth-child(30) { left: 89%; animation-delay: -18s; }
.schnee i:nth-child(31) { left: 92%; animation-delay: -0.5s; } .schnee i:nth-child(32) { left: 95%; animation-delay: -13.5s; }
.schnee i:nth-child(33) { left: 98%; animation-delay: -6s; } .schnee i:nth-child(34) { left: 33.5%; animation-delay: -19s; }
.schnee i:nth-child(35) { left: 60.5%; animation-delay: -20s; } .schnee i:nth-child(36) { left: 85.5%; animation-delay: -16.5s; }
@media (prefers-reduced-motion: reduce) { .schnee, .girlande { animation: none; } .schnee i { display: none; } }

/* Bausteine */
.karte {
  background: var(--papier); border: 1px solid var(--linie); border-radius: 20px;
  box-shadow: var(--schatten); padding: 22px; margin-bottom: 18px;
}
.feld {
  width: 100%; font: inherit; color: inherit; background: #fff;
  border: 1.5px solid var(--linie); border-radius: 12px; padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.feld:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 3px rgba(179, 32, 47, .15); }
textarea.feld { resize: vertical; }
.knopf {
  font: inherit; font-weight: 600; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--rot); color: #fff; border-radius: 12px; padding: 11px 20px;
  box-shadow: 0 2px 0 var(--rot-dunkel); transition: transform .1s, background .15s;
}
.knopf:hover { background: #c42736; }
.knopf:active { transform: translateY(1px); box-shadow: none; }
.knopf-gross { padding: 13px 26px; font-size: 1.05rem; }
.knopf-klein { padding: 6px 12px; font-size: .85rem; }
.knopf-leise { background: #f3ebe1; color: var(--text); box-shadow: none; }
.knopf-leise:hover { background: #eadfd2; }
.knopf-rot { background: var(--rot); }
.knopf-rund {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linie); background: var(--papier);
  font-size: 1.1rem; cursor: pointer; color: var(--text); flex: none;
}
.knopf-rund:hover { background: #f3ebe1; }
.zeile { display: flex; gap: 10px; }
.meldungen { margin-bottom: 16px; }
.meldung { background: #fff4d6; border: 1px solid #f0d58f; border-radius: 12px; padding: 10px 14px; margin: 0 0 8px; }

/* Startseite */
.titel { text-align: center; margin: 10px auto 26px; max-width: 680px; }
.vorzeile { margin: 0; color: var(--rot); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.titel h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); color: var(--gruen); margin: 4px 0 10px; }
.unterzeile { color: var(--leise); margin: 0; }
.schritt {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--gruen); color: #fff; font-size: .9rem;
}
@keyframes huepfen { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px) rotate(-3deg); } 70% { transform: translateY(0) rotate(2deg); } }

/* Baukasten */
.baukasten { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.vorschau-karte { position: sticky; top: 46px; display: grid; gap: 12px; text-align: center; }
.vorschau-buehne {
  border-radius: 16px; padding: 14px 0 6px;
  background: radial-gradient(circle at 50% 85%, #fff 0 30%, transparent 31%), linear-gradient(180deg, #e8f1f7, #f7fafc);
}
#vorschau { width: 200px; height: auto; display: block; margin: 0 auto; }
#vorschau.hops { animation: huepfen .45s ease; }
.feld-wichtelname { text-align: center; font-weight: 650; font-size: 1.1rem; }
.bauteile h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bauteile h2.abstand { margin-top: 22px; margin-bottom: 0; }
.bauteil { border: 0; padding: 0; margin: 0 0 14px; }
.bauteil legend { font-weight: 650; font-size: .9rem; padding: 0; margin-bottom: 6px; }
.leise { color: var(--leise); font-weight: 450; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input, .tupfer input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: .9rem; font-weight: 550;
  border: 1.5px solid var(--linie); background: #fff; transition: border-color .15s, background .15s;
}
.chip:hover span { border-color: var(--w); }
.chip input:checked + span { background: var(--w); border-color: var(--w); color: #fff; }
.chip input:focus-visible + span, .tupfer:has(input:focus-visible) { outline: 3px solid var(--w); outline-offset: 2px; }
.tupfer-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.tupfer {
  position: relative; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: var(--w); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--linie);
  transition: transform .12s, box-shadow .12s;
}
.tupfer:hover { transform: scale(1.08); }
.tupfer:has(input:checked) { box-shadow: 0 0 0 3px var(--text); transform: scale(1.1); }
.hf-weiss { background: #fbfaf7; } .hf-grau { background: #c9c6c1; } .hf-blond { background: #e7b45a; }
.hf-braun { background: #7a4b2a; } .hf-rot { background: #c8552b; } .hf-schwarz { background: #2f2723; }
.ht-hell { background: #f6cdb6; } .ht-rosig { background: #f2b9a0; } .ht-mittel { background: #d69a72; } .ht-dunkel { background: #8d5a3b; }
.bauteile .zeile { max-width: 560px; margin-top: 4px; }

/* Spielseite */
.kopf {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  background: var(--papier); border: 1px solid var(--linie); border-radius: 20px; padding: 10px 14px 10px 10px;
  box-shadow: var(--schatten);
}
.kopf-wichtel {
  width: 64px; height: 64px; border-radius: 16px; flex: none; display: grid; place-items: center; overflow: hidden;
  background: color-mix(in srgb, var(--w) 14%, #fff);
}
.wichtel.klein { height: 58px; width: auto; }
.kopf-text { flex: 1; min-width: 0; }
.kopf-text .vorzeile { color: var(--wd); text-transform: none; letter-spacing: 0; font-size: .9rem; }
.kopf-text h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--gruen); }
.kopf-stand { text-align: right; line-height: 1.1; flex: none; }
.kopf-stand .zahl { font-size: 1.7rem; font-weight: 750; color: var(--w); }
.kopf-stand .von { color: var(--leise); font-weight: 600; }
.kopf-stand .klein { display: block; font-size: .8rem; color: var(--leise); }

.vorfreude { text-align: center; background: #fff8e6; border-color: #f0dca8; }
.vorfreude p { margin: 0; }


/* Spielfeld */
.brett-rahmen {
  border-radius: 24px; padding: 8px; margin-bottom: 18px;
  background:
    radial-gradient(circle at 20% 15%, #fff 0 2px, transparent 3px) 0 0 / 52px 52px,
    radial-gradient(circle at 70% 60%, #fff 0 1.5px, transparent 2.5px) 0 0 / 38px 38px,
    linear-gradient(180deg, #e6f0f6, #f6f9fb 60%, #fdfdfc);
  border: 1px solid #d9e4ec; box-shadow: var(--schatten);
}
.brett { display: block; width: 100%; height: auto; overflow: visible; }
.weg-rand { fill: none; stroke: #d3e0e9; stroke-width: 64; stroke-linecap: round; stroke-linejoin: round; }
.weg { fill: none; stroke: #fff; stroke-width: 54; stroke-linecap: round; stroke-linejoin: round; }
.weg-spur { fill: none; stroke: #e2d6c4; stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.schild-text, .feld-zahl, .feld-symbol { text-anchor: middle; dominant-baseline: central; font-family: "Inter", sans-serif; }
.schild-text { fill: #fff; font-weight: 700; font-size: 15px; dominant-baseline: auto; }
.feld { cursor: default; outline: none; }
.feld-ring { fill: none; stroke: transparent; stroke-width: 4; }
.feld-kreis { fill: #fff; stroke: #c9d6df; stroke-width: 3; transition: fill .3s, stroke .3s; }
.feld.etappe .feld-kreis { stroke: #e0b860; stroke-width: 4; }
.feld-zahl { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; fill: #6d7c86; }
.feld-symbol { font-size: 26px; }
.feld.richtig .feld-kreis { fill: var(--w); stroke: var(--wd); }
.feld.richtig .feld-zahl, .feld.falsch .feld-zahl { display: none; }
.feld.richtig .feld-symbol { fill: #ffe08a; }
.feld.falsch .feld-kreis { fill: #dce9f4; stroke: #a9c4dc; }
.feld.falsch .feld-symbol { fill: #fff; stroke: #8fb0cc; stroke-width: .6px; }
.feld.richtig, .feld.falsch, .feld.dran { cursor: pointer; }
.feld.dran .feld-kreis { fill: #fffbea; stroke: var(--w); stroke-width: 4; }
.feld.dran .feld-zahl { fill: var(--wd); }
.feld.dran .feld-ring { stroke: var(--w); animation: pulsieren 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.feld:focus-visible .feld-ring { stroke: var(--text); animation: none; }
@keyframes pulsieren { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.funkelstern { animation: funkelstern 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes funkelstern { from { opacity: .55; } to { opacity: 1; } }
.figur { pointer-events: none; }
.figur.beweglich { transition: transform 1.1s cubic-bezier(.45, .05, .35, 1); }
.figur-innen.huepft { animation: figurhops .85s ease-in-out; }
@keyframes figurhops { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-26px); } 50% { transform: translateY(0); } 75% { transform: translateY(-12px); } }
.ziel-stern { filter: drop-shadow(0 0 6px rgba(242, 194, 48, .8)); }
@media (prefers-reduced-motion: reduce) {
  .feld.dran .feld-ring, .funkelstern { animation: none; }
  .feld.dran .feld-ring { opacity: .7; }
}


/* Bescherung */
.bescherung { display: flex; gap: 22px; align-items: center; border: 2px solid var(--w);
  background: linear-gradient(135deg, color-mix(in srgb, var(--w) 10%, #fff), #fffdf6); }
.bescherung h2 { font-size: 2.6rem; color: var(--wd); }
.bescherung p { margin: .4rem 0; }
.bescherung-wichtel { position: relative; flex: none; width: 150px; }
.bescherung-wichtel .wichtel { width: 150px; height: auto; animation: huepfen 1.6s ease-in-out infinite; }
.geschenk {
  position: absolute; right: -14px; bottom: 6px; width: 46px; height: 40px; border-radius: 6px;
  background: linear-gradient(90deg, transparent 42%, #f5d27a 42% 58%, transparent 58%), var(--rot);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
}
.geschenk::before {
  content: ""; position: absolute; left: -4px; right: -4px; top: -8px; height: 12px; border-radius: 4px;
  background: linear-gradient(90deg, transparent 42%, #f5d27a 42% 58%, transparent 58%), #c62a38;
}
.codewort {
  display: inline-block; margin: .4rem 0 0 !important; padding: 10px 22px; border-radius: 14px;
  font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: .12em; color: #fff;
  background: var(--w); box-shadow: 0 3px 0 var(--wd), 0 0 0 4px #fff, 0 0 0 6px var(--gold);
}

/* Dialoge */
.modal {
  width: min(560px, calc(100vw - 24px)); border: 0; border-radius: 22px; padding: 20px 22px 22px;
  background: var(--papier); color: var(--text); box-shadow: 0 20px 60px rgba(40, 20, 10, .35);
  overflow: visible;
}
.modal::backdrop { background: rgba(30, 50, 40, .45); }
.modal[open] { animation: auf .25s ease; }
@keyframes auf { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.modal-fuss { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.tag-schild {
  display: inline-block; background: var(--rot); color: #fff; border-radius: 999px; padding: 3px 12px;
  font-weight: 650; font-size: .85rem;
}
.frage-text { font-size: 1.18rem; font-weight: 600; margin: 4px 0 16px; }
.antworten { display: grid; gap: 9px; }
.antwort {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--linie); border-radius: 14px;
  padding: 11px 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.antwort:hover:not(:disabled) { border-color: var(--w); background: color-mix(in srgb, var(--w) 6%, #fff); }
.antwort:active:not(:disabled) { transform: scale(.99); }
.antwort:disabled { cursor: default; }
.antwort-marke {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: #f3ebe1; font-weight: 700; font-size: .9rem;
}
.antwort.gewaehlt { border-color: var(--w); }
.antwort.ist-richtig { border-color: #2e8b57; background: #e8f5ec; }
.antwort.ist-richtig .antwort-marke { background: #2e8b57; color: #fff; }
.antwort.ist-falsch { border-color: #d0485a; background: #fcebed; }
.antwort.ist-falsch .antwort-marke { background: #d0485a; color: #fff; }
.aufloesung { margin-top: 14px; border-radius: 14px; padding: 12px 16px; background: #f6f1ea; }
.aufloesung p { margin: 0; }
.aufloesung-titel { font-weight: 700; margin-bottom: 4px !important; }
.aufloesung.gut { background: #eef8f1; } .aufloesung.gut .aufloesung-titel { color: #1f6140; }
.aufloesung.schlecht { background: #f1f5fa; } .aufloesung.schlecht .aufloesung-titel { color: #34587c; }
.funke {
  position: absolute; left: var(--x); top: var(--y); pointer-events: none; color: #f2b632; font-size: 18px;
  animation: funke 1.1s ease-out forwards;
}
@keyframes funke { to { transform: translate(var(--dx), var(--dy)) rotate(160deg); opacity: 0; } }
.abmelden { margin-top: 18px; text-align: right; }

/* Verwaltung */
.login { max-width: 400px; margin: 40px auto; text-align: center; display: grid; gap: 12px; }
.login h1 { font-size: 2.6rem; color: var(--gruen); }
.login .hinweis { margin: -8px 0 6px; }
.admin-kopf { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-kopf h1 { font-size: 2.3rem; color: var(--gruen); }
.reiter { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.reiter a {
  text-decoration: none; color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--papier); border: 1px solid var(--linie);
}
.reiter a.aktiv { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.anzahl { opacity: .7; font-weight: 500; margin-left: 2px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tabelle th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--leise); font-weight: 600; padding: 0 10px 8px; }
.tabelle td { padding: 8px 10px; border-top: 1px solid var(--linie); vertical-align: middle; }
.mini-wichtel { display: inline-flex; align-items: center; gap: 6px; }
.wichtel.mini { width: 26px; height: auto; flex: none; }
.codewort-klein { font-weight: 750; letter-spacing: .08em; font-size: .85rem; color: var(--rot-dunkel); }
.wichtel-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; margin-top: 10px; }
.wichtel-zeile { display: flex; align-items: center; gap: 8px; }
.wichtel-zeile .codewort-klein { margin-left: auto; }
.tupfer-klein { width: 20px; height: 20px; cursor: default; flex: none; }
.tupfer-klein:hover { transform: none; }
.frage-bearbeiten { padding: 0; margin-bottom: 10px; }
.frage-bearbeiten summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.frage-bearbeiten summary::-webkit-details-marker { display: none; }
.frage-bearbeiten .tag-schild { background: #b8aca3; min-width: 38px; text-align: center; }
.frage-bearbeiten .tag-schild.offen { background: var(--gruen); }
.frage-kurz { flex: 1; min-width: 0; font-weight: 550; }
.frage-bearbeiten:not([open]) .frage-kurz { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statistik { flex: none; font-size: .82rem; color: var(--leise); }
.frage-bearbeiten form { padding: 0 18px 18px; display: grid; gap: 10px; }
.beschriftung { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--leise); margin: 0; }
.antwort-zeile { display: flex; align-items: center; gap: 10px; }
.antwort-zeile input[type="radio"] { width: 20px; height: 20px; accent-color: var(--gruen); flex: none; }
.frage-bearbeiten .knopf { justify-self: start; }
.einstellungen { display: grid; gap: 10px; max-width: 640px; }
.einstellungen h2 { margin-top: 8px; }
.wahl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wahl input[type="radio"], .wahl input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gruen); }
.feld-zahl { width: 80px; }
.einstellungen .knopf { justify-self: start; margin-top: 8px; }

/* Handy */
@media (max-width: 760px) {
  .seite { padding-top: 40px; }
  .karte { padding: 16px; border-radius: 18px; }
  .baukasten { grid-template-columns: 1fr; }
  .vorschau-karte { position: static; }
  #vorschau { width: 150px; }
  .zeile { flex-direction: column; }
  .kopf { gap: 10px; }
  .kopf-wichtel { width: 52px; height: 52px; }
  .wichtel.klein { height: 46px; }
  .kopf-text h1 { font-size: 1.45rem; }
  .mit-wichtel { display: none; }
  .kopf-stand .zahl { font-size: 1.4rem; }
  .kopf-text .vorzeile { font-size: .78rem; }
  .bescherung { flex-direction: column; text-align: center; }
  .bescherung-wichtel, .bescherung-wichtel .wichtel { width: 110px; }
  .tabelle thead { display: none; }
  .tabelle tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-top: 1px solid var(--linie); }
  .tabelle td { border: 0; padding: 3px 4px; }
  .tabelle td[data-k]::before { content: attr(data-k) ": "; color: var(--leise); font-size: .8rem; }
  .tabelle td[data-k="Name"], .tabelle td[data-k="Wichtel"] { grid-column: span 1; }
  .tabelle td[data-k="Name"]::before, .tabelle td[data-k="Wichtel"]::before { content: none; }
}

/* Handy-Spiel */
.kopf-lage { margin: 2px 0 0; font-weight: 700; font-size: 1.15rem; color: var(--gruen); }
.ansicht { text-align: center; }
.ansicht h2.hand { font-size: 2.2rem; color: var(--wd); margin: 4px 0; }
.lobby-wichtel { position: relative; width: 140px; margin: 0 auto; }
.lobby-wichtel .wichtel { width: 140px; height: auto; animation: huepfen 1.8s ease-in-out infinite; }
#ansicht-ende .geschenk { right: -10px; }
.frage-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.countdown { font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; color: var(--gruen); }
.countdown.knapp, .lw-uhr.knapp { color: var(--rot); animation: pochen .5s ease-in-out infinite alternate; }
@keyframes pochen { to { transform: scale(1.12); } }
.zeitbalken { height: 8px; border-radius: 99px; background: #eee5da; overflow: hidden; margin-bottom: 14px; }
.zeitbalken i { display: block; height: 100%; background: linear-gradient(90deg, var(--gruen-hell), var(--gold)); transform-origin: left; transition: transform .2s linear; }
#ansicht-frage { text-align: left; }
.antworten.farbig .antwort { color: #fff; border: 0; font-weight: 600; min-height: 58px; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.antworten.farbig .antwort-marke { background: rgba(255,255,255,.25); color: #fff; }
.a0 { background: #d62839 !important; } .a1 { background: #2f6fd0 !important; }
.a2 { background: #d9a020 !important; } .a3 { background: #2e8b57 !important; }
.antworten.farbig .antwort:disabled { opacity: .45; }
.antworten.farbig .antwort.gewaehlt { opacity: 1; outline: 4px solid var(--text); outline-offset: 2px; }
.warte { text-align: center; margin-top: 14px; }
.ergebnis-titel { font-family: "Caveat", cursive; font-size: 2.6rem; font-weight: 700; margin: 0; }
.ergebnis-titel.gut { color: var(--gruen); } .ergebnis-titel.schlecht { color: #34587c; }
.ergebnis-text { font-weight: 600; margin: 4px 0 8px; }
.gegenstaende-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gegenstaende-kopf .hinweis { margin: 0; }
.gegenstaende.aktiv { border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(217, 164, 65, .25), var(--schatten); }
.gegenstaende.aktiv .gegenstaende-kopf .hinweis { color: var(--rot); font-weight: 700; }
.gegenstaende-liste { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.gegenstand {
  display: flex; align-items: center; gap: 10px; flex: 1 1 140px; font: inherit; font-weight: 650; text-align: left;
  border: 1.5px solid var(--linie); background: #fff; border-radius: 14px; padding: 8px 12px; cursor: pointer;
}
.gegenstand img { width: 44px; height: 44px; }
.gegenstand:not(:disabled):hover { border-color: var(--gold); }
.gegenstaende.aktiv .gegenstand:not(:disabled) { animation: lockt 1.6s ease-in-out infinite; }
@keyframes lockt { 50% { box-shadow: 0 0 0 4px rgba(217, 164, 65, .45); } }
.gegenstand:disabled { cursor: default; opacity: .75; }
.gegenstaende .leer { margin: 8px 0 0; }
.ticker-karte h2, .gegenstaende h2 { font-size: 1rem; }
.ticker { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.ticker li { padding: 6px 10px; border-radius: 10px; background: #f6f1ea; }
.ticker li:first-child { animation: auf .4s ease; }
.e-schneeball { background: #e8f1f8 !important; } .e-rutscht { background: #fff6d6 !important; }
.e-turbo { background: #f3e9df !important; } .e-schild { background: #f7ead9 !important; }
.e-geschenk, .e-schnellste { background: #fdeaea !important; } .e-ziel, .e-ende { background: #e6f4ea !important; font-weight: 700; }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; max-width: calc(100vw - 32px);
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  animation: auf .25s ease;
}
.ziele { display: grid; gap: 8px; }
.ziel-knopf {
  display: flex; align-items: center; gap: 12px; font: inherit; font-weight: 650; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--linie); border-radius: 14px; padding: 6px 12px;
}
.ziel-knopf:hover { border-color: #5aa9d6; background: #f2f8fc; }
.ziel-knopf img { width: 36px; height: 48px; }
.ziel-feld { margin-left: auto; color: var(--leise); font-weight: 500; font-size: .9rem; }

/* Leinwand */
.seite-leinwand { overflow: hidden; }
.seite-leinwand .fuss, .seite-leinwand .girlande { display: none; }
.seite-leinwand .seite { max-width: none; padding: 0; height: 100vh; }
.lw { height: 100vh; display: flex; flex-direction: column; padding: 14px 20px 0; }
.lw-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.lw-kopf h1 { font-size: clamp(2rem, 3.2vw, 3.2rem); color: var(--gruen); }
.lw-status { font-weight: 700; font-size: 1.3rem; color: var(--rot); }
.lw-mitte { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 300px; gap: 18px; padding: 10px 0; }
.lw-brett {
  min-height: 0; border-radius: 24px; display: flex; align-items: center; justify-content: center; padding: 8px;
  background:
    radial-gradient(circle at 20% 15%, #fff 0 2px, transparent 3px) 0 0 / 52px 52px,
    radial-gradient(circle at 70% 60%, #fff 0 1.5px, transparent 2.5px) 0 0 / 38px 38px,
    linear-gradient(180deg, #e6f0f6, #f6f9fb 60%, #fdfdfc);
  border: 1px solid #d9e4ec; box-shadow: var(--schatten);
}
.lw-brett .brett { width: 100%; height: 100%; }
.geschenkfeld .feld-kreis { stroke: #e0b860; stroke-width: 4; }
.figur-name {
  text-anchor: middle; font: 700 13px "Inter", sans-serif; fill: var(--text);
  paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round;
}
.figur.ohne-name .figur-name { display: none; }
.figur-schild { display: none; }
.figur.mit-schild .figur-schild { display: inline; }
.figur-innen { transform-box: fill-box; transform-origin: 50% 100%; }
.figur-innen.getroffen { animation: getroffen .7s ease; }
@keyframes getroffen { 20% { transform: rotate(-18deg) translateX(-6px); } 50% { transform: rotate(12deg); } 80% { transform: rotate(-6deg); } }
.figur-innen.rutscht { animation: rutscht 1.2s ease; }
@keyframes rutscht { 30% { transform: rotate(80deg) translateY(4px); } 60% { transform: rotate(-30deg); } }
.figur-innen.geschuetzt { animation: geschuetzt 1.2s ease; filter: drop-shadow(0 0 8px #e0a526); }
@keyframes geschuetzt { 50% { transform: scale(1.25); } }
.figur-innen.turbo { animation: turbo 1.2s ease; filter: drop-shadow(-12px 0 4px rgba(242, 194, 48, .8)); }
@keyframes turbo { 30% { transform: translateY(-30px) rotate(-8deg); } }
.figur-innen.beschenkt { animation: figurhops .8s ease; filter: drop-shadow(0 0 6px #ff6b6b); }
.flug { transition: transform .9s cubic-bezier(.3, -.3, .6, 1); }
.banane { animation: auf .4s ease; }
.lw-seite { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.lw-seite h2 { font-size: 1rem; color: var(--leise); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.rangliste { margin: 0; padding: 0; list-style: none; counter-reset: rang; display: grid; gap: 4px; }
.rangliste li {
  counter-increment: rang; display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 6px;
  background: var(--papier); border: 1px solid var(--linie); border-radius: 12px; font-weight: 650;
}
.rangliste li::before { content: counter(rang); width: 22px; text-align: center; color: var(--leise); font-weight: 800; }
.rangliste li:nth-child(1)::before { color: #c8971f; } .rangliste li:nth-child(2)::before { color: #8a96a0; } .rangliste li:nth-child(3)::before { color: #a8693a; }
.rangliste img { width: 26px; height: 35px; }
.rl-feld { margin-left: auto; color: var(--leise); font-weight: 500; font-size: .88rem; white-space: nowrap; }
.rl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-seite .ticker { font-size: .95rem; overflow: hidden; }
.lw-ueber {
  position: fixed; inset: 70px 20px 80px; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  background: rgba(251, 246, 238, .94); border-radius: 28px; padding: 30px;
}
.lobby-karte { display: flex; align-items: center; gap: 40px; background: var(--papier); border-radius: 28px; padding: 30px 40px; box-shadow: var(--schatten); }
.lobby-text h2 { font-size: 3.4rem; color: var(--gruen); }
.adresse { font-size: 2.2rem; font-weight: 800; color: var(--rot); margin: 6px 0; }
.qr { width: 260px; height: 260px; }
.lobby-wichtel-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1400px; overflow: hidden; }
.lobby-wichtel-liste .lobby-wichtel { width: auto; display: flex; flex-direction: column; align-items: center; animation: auf .5s ease; }
.lobby-wichtel-liste img { width: 66px; height: 88px; animation: huepfen 2.2s ease-in-out infinite; }
.lobby-wichtel-liste .lobby-wichtel:nth-child(3n) img { animation-delay: -.7s; }
.lobby-wichtel-liste .lobby-wichtel:nth-child(3n+1) img { animation-delay: -1.4s; }
.lobby-wichtel-liste span { font-weight: 700; font-size: .95rem; }
.frage-karte { width: min(1300px, 100%); background: var(--papier); border-radius: 28px; padding: 30px 40px; box-shadow: var(--schatten); }
.frage-oben { display: flex; align-items: center; gap: 20px; }
.frage-oben .tag-schild { font-size: 1.1rem; padding: 6px 16px; }
.lw-beantwortet { color: var(--leise); font-weight: 600; font-size: 1.15rem; }
.lw-uhr { margin-left: auto; font-size: 3rem; font-weight: 800; color: var(--gruen); font-variant-numeric: tabular-nums; }
.frage-karte .zeitbalken { height: 12px; margin: 12px 0 20px; }
.lw-frage-text { font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 700; line-height: 1.25; margin: 0 0 26px; }
.lw-antworten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lw-antwort {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; color: #fff;
  border-radius: 18px; padding: 18px 22px; font-size: clamp(1.2rem, 1.8vw, 1.8rem); font-weight: 650; min-height: 92px;
  box-shadow: 0 4px 0 rgba(0,0,0,.18); transition: opacity .4s;
}
.lw-antwort .antwort-marke { width: 46px; height: 46px; font-size: 1.3rem; background: rgba(255,255,255,.25); color: #fff; }
.lw-antwort-text { position: relative; z-index: 1; }
.lw-antwort.ist-falsch { opacity: .3; }
.lw-antwort.ist-richtig { outline: 6px solid var(--text); outline-offset: 3px; }
.lw-antwort.ist-richtig::after { content: "✓"; margin-left: 14px; font-size: 2.2rem; font-weight: 900; position: relative; z-index: 1; }
.lw-zahl { margin-left: auto; position: relative; z-index: 1; font-weight: 800; background: rgba(0,0,0,.18); border-radius: 99px; padding: 2px 12px; }
.lw-balken { position: absolute; left: 0; bottom: 0; height: 10px; width: calc(var(--anteil) * 100%); background: rgba(255,255,255,.7); }
.lw-erklaerung { font-size: 1.35rem; margin: 22px 0 0; color: var(--leise); }
.lw-meldung {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 20; max-width: 80vw;
  padding: 16px 28px; border-radius: 20px; font-size: 1.7rem; font-weight: 800; text-align: center;
  background: var(--papier); box-shadow: 0 14px 40px rgba(40, 20, 10, .3); border: 3px solid var(--gold);
  animation: auf .35s ease;
}
.ende-titel { font-size: 4.6rem; color: var(--rot); }
.podest { display: flex; align-items: flex-end; gap: 24px; }
.podest-platz { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 220px; }
.podest-platz img { width: 120px; height: 160px; animation: huepfen 1.6s ease-in-out infinite; }
.podest-platz.p1 img { width: 150px; height: 200px; }
.podest-name { font-weight: 800; font-size: 1.5rem; }
.podest-person { color: var(--leise); font-weight: 600; }
.sockel {
  width: 100%; margin-top: 8px; border-radius: 14px 14px 0 0; color: #fff; display: grid; place-items: center;
  font-family: "Caveat", cursive; font-weight: 700; font-size: 3.6rem;
}
.p1 .sockel { height: 170px; background: linear-gradient(#e7b744, #c8971f); }
.p2 .sockel { height: 120px; background: linear-gradient(#b8c2ca, #8a96a0); }
.p3 .sockel { height: 90px; background: linear-gradient(#c98b5a, #a8693a); }
.ende-liste { columns: 3; column-gap: 48px; font-size: 1.1rem; font-weight: 600; margin: 0; }
.ende-liste li { break-inside: avoid; }
.lw-steuerung {
  display: flex; align-items: center; gap: 12px; padding: 10px 0 14px; position: relative; z-index: 30;
}
.lw-steuerung.versteckt { opacity: 0; }
.lw-steuerung.versteckt:hover { opacity: 1; }
.lw-tipp { color: var(--leise); font-size: .85rem; margin-right: auto; }
a.knopf { text-decoration: none; }

/* Wartestube (Vollbild) */
.im-raum { overflow: hidden; }
.im-raum .fuss, .im-raum .girlande, .im-raum .schnee { display: none; }
.raum-vollbild { position: fixed; inset: 0; z-index: 5; background: #e2bd8d; }
.raum-vollbild .stube { display: block; width: 100%; height: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.seite-spiel .raum-vollbild .stube { cursor: pointer; }
.raum-hud {
  position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; pointer-events: none;
}
.raum-hud > * { pointer-events: auto; }
.hud-karte {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 18px;
  background: rgba(255, 253, 249, .9); box-shadow: 0 4px 18px rgba(60, 30, 10, .18);
}
.seite-start .hud-karte { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px; }
.hud-titel { font-size: 1.6rem; color: var(--gruen); line-height: 1.1; }
.hud-wichtel { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--w) 14%, #fff); }
.hud-wichtel .wichtel.klein { height: 42px; }
.hud-name { display: block; font-weight: 800; color: var(--wd); }
.hud-zahl { display: block; font-size: .85rem; font-weight: 600; color: var(--leise); }
.raum-hud .knopf-rund { background: rgba(255, 253, 249, .9); box-shadow: 0 4px 18px rgba(60, 30, 10, .18); }
.raum-tipp {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; white-space: nowrap;
  background: rgba(43, 35, 32, .78); color: #fff; padding: 8px 16px; border-radius: 99px; font-size: .88rem; font-weight: 600;
  pointer-events: none;
}
.raum-mitmachen { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); box-shadow: 0 6px 20px rgba(120, 20, 30, .35); }
.raum-mitmachen:active { transform: translateX(-50%) translateY(1px); }
.modal-baukasten { width: min(1000px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow: auto; padding: 18px 22px 22px; }
.modal-baukasten::backdrop { background: rgba(40, 25, 15, .35); }
.modal-baukasten h1 { font-size: 2.4rem; color: var(--gruen); }
.modal-baukasten .modal-kopf { align-items: flex-start; }
.modal-baukasten .baukasten { grid-template-columns: 280px 1fr; }
.modal-baukasten .vorschau-karte { position: sticky; top: 0; z-index: 1; background: var(--papier); padding-bottom: 8px; }
.modal-baukasten .bauteile h2.abstand { margin-top: 18px; }
@media (max-width: 760px) {
  .modal-baukasten { padding: 14px; }
  .modal-baukasten .baukasten { grid-template-columns: 1fr; }
  .modal-baukasten .vorschau-karte { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 4px 12px; text-align: left; }
  .modal-baukasten .vorschau-buehne { grid-row: span 2; padding: 6px 0 0; }
  .modal-baukasten #vorschau { width: 100px; }
  .hud-titel { font-size: 1.25rem; }
  .raum-tipp { font-size: .78rem; }
}

/* Figuren in der Stube */
.sf-name {
  text-anchor: middle; font: 800 19px "Inter", sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round;
}
.sf-ich .sf-name { font-size: 21px; }
.sf-ring { animation: ring 1.6s ease-in-out infinite; }
@keyframes ring { 50% { opacity: .35; } }

/* Lebendige Kulisse */
.st-flocke { animation: st-schnee 7s linear infinite; }
.st-f1 { animation-duration: 9s; animation-delay: -3s; } .st-f2 { animation-duration: 6s; animation-delay: -1s; } .st-f3 { animation-duration: 8s; animation-delay: -5s; }
@keyframes st-schnee { from { transform: translateY(-30px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translate(8px, 40px); opacity: 0; } }
.st-feuer { transform-box: fill-box; transform-origin: 50% 100%; animation: flackern .45s ease-in-out infinite alternate; }
@keyframes flackern { from { transform: scaleY(.9) scaleX(1.03); } to { transform: scaleY(1.1) scaleX(.96); } }
.st-schein { animation: schein 1.8s ease-in-out infinite alternate; }
@keyframes schein { to { opacity: .7; } }
.st-kerze { transform-box: fill-box; transform-origin: 50% 100%; animation: flackern .6s ease-in-out infinite alternate; }
.st-lampe, .st-lichtlein, .st-stern-klein { animation: blinken 2.6s ease-in-out infinite alternate; }
.st-l1 { animation-delay: -.9s; } .st-l2 { animation-delay: -1.8s; }
@keyframes blinken { from { opacity: .45; } to { opacity: 1; } }
.st-baumstern { transform-box: fill-box; transform-origin: center; animation: baumstern 3s ease-in-out infinite; filter: drop-shadow(0 0 8px #ffd75e); }
@keyframes baumstern { 50% { transform: scale(1.12) rotate(6deg); } }
.st-schaukasten { animation: schein 4s ease-in-out infinite alternate; }
.st-schild { text-anchor: middle; font: 700 10px "Inter", sans-serif; fill: #2b2320; }
.st-zzz { font: 800 18px "Inter", sans-serif; fill: #8a7a6e; animation: zzz 3s ease-in-out infinite; }
.st-zzz2 { animation-delay: -1.5s; font-size: 14px; }
@keyframes zzz { 0% { transform: translate(0, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(10px, -24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .st-flocke, .st-feuer, .st-schein, .st-kerze, .st-lampe, .st-lichtlein, .st-stern-klein, .st-baumstern, .st-schaukasten, .st-zzz, .sf-ring { animation: none; }
}

/* Leinwand-Stube */
.lw-raum { z-index: 10; }
.lw-raum .lobby-karte {
  position: absolute; top: 20px; right: 20px; width: 250px; flex-direction: column; align-items: center; text-align: center;
  gap: 4px; padding: 18px; background: rgba(255, 253, 249, .94);
}
.lw-raum .qr { width: 200px; height: 200px; }
.lw-raum .adresse { font-size: 1.15rem; margin: 2px 0; }
.lobby-zahl { font-weight: 800; font-size: 1.3rem; color: var(--rot); margin: 0; }

/* Bereit-Glocke */
.gl-kreis { fill: #ffd75e; opacity: 0; transition: opacity .3s; }
.gl-nah .gl-kreis { opacity: .28; animation: ring 1.4s ease-in-out infinite; }
.gl { cursor: pointer; }
.gl-glocke { transform-box: fill-box; transform-origin: 50% 0; }
.gl-laeutet .gl-glocke { animation: laeuten 1.2s ease-in-out; }
@keyframes laeuten { 10% { transform: rotate(22deg); } 30% { transform: rotate(-18deg); } 50% { transform: rotate(12deg); } 70% { transform: rotate(-7deg); } 90% { transform: rotate(3deg); } }
.gl-schild { text-anchor: middle; font: 800 17px "Inter", sans-serif; fill: var(--gruen); }
.sf-haken { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .25s; }
.sf-bereit .sf-haken { opacity: 1; }
.sf-bereit .sf-name { transform: translateY(0); }
.sf-haken { pointer-events: none; }
.raum-bereit { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); box-shadow: 0 6px 20px rgba(120, 20, 30, .35); animation: auf .25s ease; }
.raum-bereit.knopf-leise { box-shadow: 0 6px 20px rgba(60, 30, 10, .25); }
.raum-tipp.ist-bereit { background: rgba(31, 97, 64, .9); }
.lobby-zahl.alle-bereit { color: var(--gruen); }
