/* Adventkalender weekendpilot.at/advent/ – eine Datei, Systemschrift, hell und dunkel, ohne externe Quellen.
   Farben wie ausfluege/stil.css (Hausmarke), Akzent Grün, „Heute“ in der Weekend-Pilot-Farbe. */
:root {
  color-scheme: light dark;
  --grund: #f7f4ee;
  --flaeche: #ffffff;
  --flaeche-2: #eee9df;
  --text: #1f1d1a;
  --text-2: #55514a;
  --text-3: #6f6a61;
  --linie: #e1dcd2;
  --link: #1d5fb8;
  --akzent: #2f6b4f;
  --heute: #c8402f;
  --rubbel: #2f6b4f;
  --stern: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  --radius: 18px;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "New York", ui-serif, Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #151412;
    --flaeche: #1f1d1b;
    --flaeche-2: #292724;
    --text: #f1ede6;
    --text-2: #bfb8ad;
    --text-3: #9a948a;
    --linie: #34312d;
    --link: #8db6ff;
    --akzent: #7fc8a2;
    --heute: #ff8a75;
    --rubbel: #285b43;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--schrift); color: var(--text); background: var(--grund); }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 6vw, 2.7rem); margin: 6px 0 10px; }
h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
[hidden] { display: none !important; }

.leiste { max-width: 760px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.marke { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.leiste nav a { color: var(--text-2); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linie); font-size: .95rem; }

main { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; }
.krumen { font-size: .88rem; color: var(--text-3); }
.krumen a { color: var(--text-3); }
.stand { color: var(--text-3); font-size: .92rem; margin: 0 0 18px; }
.einleitung { font-size: 1.08rem; color: var(--text-2); max-width: 640px; }

/* Countdown und Hinweis */
.zaehler { position: relative; background: var(--flaeche); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; border-left: 4px solid var(--akzent); }
.zaehler p { margin: 0; }
.zaehler .gross { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.zaehler .klein { color: var(--text-3); font-size: .9rem; margin-top: 6px; }
.vorschau p { color: var(--text-2); margin: 0 0 10px; max-width: 640px; }

/* Türchen */
.tueren { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 520px) { .tueren { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .tueren { grid-template-columns: repeat(6, 1fr); } }
.tuer { position: relative; display: flex; flex-direction: column; min-height: 104px; height: 100%;
  padding: 10px 12px; border-radius: 14px; background: var(--flaeche); color: var(--text); text-decoration: none;
  border: 1px solid var(--linie); }
.tuer .nr { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.9rem; line-height: 1; font-weight: 600; color: var(--akzent); }
.tuer .art { display: block; font-size: .78rem; color: var(--text-3); line-height: 1.3; }
.tuer .titel { display: block; font-size: .84rem; line-height: 1.3; margin-top: 4px; color: var(--text); }
.tuer .unten { display: block; margin-top: auto; padding-top: 8px; }
.tuer .marke-heute { position: absolute; top: 8px; right: 8px; font-size: .7rem; font-weight: 700; color: var(--heute);
  text-transform: uppercase; letter-spacing: .04em; display: none; }
/* Mit JavaScript: Titel nur hinter offenen Türchen, geschlossene sind keine Links. */
.js .tuer .titel { display: none; }
.js .tuer.offen .titel { display: block; }
.js .tuer:not(.offen) { background: var(--flaeche-2); border-style: dashed; color: var(--text-3); cursor: default; }
.js .tuer:not(.offen) .nr { color: var(--text-3); }
.tuer.heute { border: 2px solid var(--heute); }
.tuer.heute .marke-heute { display: block; }
a.tuer:hover { border-color: var(--akzent); }

/* Ein Türchen */
.kopfzeile { color: var(--akzent); font-weight: 600; font-size: .95rem; margin: 18px 0 0; }
.tuer-text { font-family: var(--serif); font-size: 1.2rem; line-height: 1.65; max-width: 620px; margin: 0 0 18px; }
.apps { color: var(--text-3); font-size: .92rem; margin: 0 0 18px; }
.apps a { color: var(--text-3); }
.links { margin: 0 0 18px; }
.zu-nur { display: none; }
.zu .zu-nur { display: block; }
.zu .offen-nur { display: none; }
.teilen { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 22px 0; }
.knopf { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--text); color: var(--grund); cursor: pointer; text-decoration: none; display: inline-block; }
.meldung { color: var(--text-3); font-size: .92rem; }
.teilen input { font: inherit; font-size: .9rem; width: 100%; max-width: 420px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); }
.blaettern { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--linie); font-size: .95rem; }
.blaettern span { min-width: 6em; }

/* Rubbelschicht über dem Inhalt eines offenen Türchens (advent.js). Der Text bleibt im DOM und für Screenreader lesbar. */
.karte { position: relative; background: var(--flaeche); border-radius: var(--radius); padding: 18px 20px 4px; margin: 14px 0 0; min-height: 260px; }
.karte h1 { margin-top: 0; }
.karte h1:focus { outline: none; }
.rubbel .karte:not(.bereit) { background: var(--rubbel); animation: notfall-grund 0s 4s forwards; }
.rubbel .karte:not(.bereit) > * { opacity: 0; animation: notfall-inhalt 0s 4s forwards; }
@keyframes notfall-grund { to { background: var(--flaeche); } }
@keyframes notfall-inhalt { to { opacity: 1; } }
.rubbel-schicht { position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; }
.rubbel-schicht canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none;
  cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.rubbel-schicht.weg canvas { opacity: 0; transform: scale(1.04); filter: blur(3px); }
.rubbel-hinweis { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fdfaf3; font-size: .88rem; font-weight: 600; letter-spacing: .03em;
  white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.rubbel-knopf { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font: inherit; font-size: .85rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .42); background: rgba(0, 0, 0, .16); color: #fdfaf3;
  cursor: pointer; white-space: nowrap; transition: opacity .3s; }
.rubbel-knopf:focus-visible { outline: 3px solid #f3c969; outline-offset: 2px; }
.rubbel-hinweis.weg, .weg .rubbel-hinweis, .weg .rubbel-knopf { opacity: 0; pointer-events: none; }

/* Sternchen: steigen auf, gold-weiß, ruhig. Nur ohne „Bewegung reduzieren“ (advent.js legt sie dann gar nicht an). */
.funken { position: absolute; inset: 0; z-index: 2; pointer-events: none; filter: drop-shadow(0 0 3px rgba(214, 158, 46, .6)); }
.funken i { position: absolute; opacity: 0; animation: aufsteigen 1.2s cubic-bezier(.2, .6, .3, 1) forwards; }
.funken .stern { background: linear-gradient(135deg, #fff8e2, #e8b043); clip-path: var(--stern); }
.funken .punkt { border-radius: 50%; background: radial-gradient(circle, #fffdf6 0 28%, rgba(236, 186, 76, .9) 52%, rgba(236, 186, 76, 0) 72%); }
@keyframes aufsteigen {
  0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0); }
  18% { opacity: 1; }
  70% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--hoch) * -1)) scale(1) rotate(45deg); }
}

/* Übersicht: Sternchen auf offenen Türchen, Glanz auf dem heutigen, Wackeln bei geschlossenen */
.js .tuer.offen:not(.heute)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 11px; height: 11px;
  background: linear-gradient(135deg, #ffe7a3, #d9a03a); clip-path: var(--stern); }
.tuer.heute { overflow: hidden; }
.tuer.heute::before { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(115deg, transparent 38%, rgba(255, 228, 150, .32) 50%, transparent 62%); }
@keyframes glitzern { 0%, 60% { transform: translateX(-130%); } 90%, 100% { transform: translateX(130%); } }
@keyframes wackeln { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-2.4deg); } 40% { transform: rotate(1.8deg); }
  60% { transform: rotate(-1deg); } 80% { transform: rotate(.5deg); } }
@media (prefers-reduced-motion: no-preference) {
  .tuer.heute::before { animation: glitzern 3s ease-in-out infinite; }
  .js .tuer.wackeln { animation: wackeln .55s ease-in-out; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .js .tuer:not(.offen):hover { animation: wackeln .55s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) {
  .rubbel-schicht canvas { transition: opacity .4s ease; }
  .rubbel-schicht.weg canvas { transform: none; filter: none; }
}

.fuss { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; color: var(--text-3); font-size: .85rem; border-top: 1px solid var(--linie); }
.fuss a { color: var(--text-3); }

/* ---------- Türchen: Bild, Florians Zeile, Nachweis (Türchen-Seite und Karte in der Szene) ---------- */
.tuer-bild { margin: 0 -20px 16px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #1d2b45; }
.tuer-bild img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.tuer-bild.gezeichnet { background: #f1e6cf; }
.tuer-bild.gezeichnet img { object-fit: contain; }
.karte { padding-top: 0; overflow: hidden; }
.karte > h1:first-child, .karte > .kopfzeile:first-child { margin-top: 18px; }
.zeile { font-family: var(--serif); font-style: italic; color: var(--text-2); margin: 0 0 18px; max-width: 600px; }
.zeile .von { font-style: normal; font-family: var(--schrift); font-size: .85rem; color: var(--text-3); white-space: nowrap; }
.zeile .von::before { content: "– "; }
.nachweis { font-size: .78rem; line-height: 1.45; color: var(--text-3); margin: 8px 2px 0; }
.nachweis a { color: var(--text-3); }
.rubbel .nachweis { visibility: hidden; }

/* ---------- Übersicht: Nachtblau, Winterbild mit Türchen, Zoom ---------- */
.nacht {
  color-scheme: dark;
  --grund: #0f1829;
  --flaeche: #17233a;
  --flaeche-2: #131d31;
  --text: #f2eadb;
  --text-2: #cdc3b0;
  --text-3: #a59c8b;
  --linie: #2a3753;
  --link: #f3c969;
  --akzent: #f3c969;
  --heute: #ffb35c;
  --rubbel: #2f6b4f;
}
.nacht body { background: radial-gradient(120% 70% at 50% 0%, #1d2b48 0%, #0f1829 60%) fixed, #0f1829; }
.nacht .leiste { max-width: 1240px; }
.nacht .leiste nav a { color: var(--text-2); }
.buehne { max-width: 1240px; margin: 0 auto; padding: 0 16px 8px; }
.buehne-kopf { text-align: center; padding: 4px 0 14px; }
.buehne-kopf h1 { font-size: clamp(1.25rem, 3.6vw, 1.7rem); margin: 0; color: var(--text-2); font-weight: 500; letter-spacing: .01em; }
.dran { font-family: var(--serif); font-size: clamp(1.45rem, 5vw, 2.3rem); line-height: 1.2; margin: 2px 0 0; color: #fff4dc; }

.szene { position: relative; margin: 0 auto; overflow: auto; border-radius: 16px; background: #22304a;
  width: min(100%, calc(82svh * 1.406)); aspect-ratio: 1600 / 1138;
  box-shadow: 0 0 0 1px rgba(243, 201, 105, .18), 0 24px 60px rgba(0, 0, 0, .55), 0 0 90px rgba(255, 190, 110, .08); }
.js .szene { overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.js .szene.verschiebbar { cursor: grab; }
.js .szene.gezoomt { touch-action: none; }
.js .szene.zieht { cursor: grabbing; }
.szene:focus-visible { outline: 3px solid #f3c969; outline-offset: 3px; }
.leinwand { position: relative; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform; }
.leinwand.gleiten { transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.gemaelde { display: block; width: 100%; height: 100%; -webkit-user-drag: none; pointer-events: none; }
@media (max-width: 700px) {
  .buehne { padding: 0 0 8px; }
  .szene { width: 100%; aspect-ratio: auto; height: min(74svh, 640px); border-radius: 0; box-shadow: 0 1px 0 rgba(243, 201, 105, .2), 0 -1px 0 rgba(243, 201, 105, .2); }
  .leinwand { width: auto; aspect-ratio: 1600 / 1138; }
  .szene::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
    background: linear-gradient(90deg, rgba(15, 24, 41, .45), transparent 7%, transparent 93%, rgba(15, 24, 41, .45)); }
}

/* Türchen im Bild: 44 px Trefferfläche, die Größe bleibt beim Zoomen gleich (--gegen = 1 / Zoom) */
.punkt { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center;
  text-decoration: none; color: #1d2b45; transform: scale(var(--gegen, 1)); -webkit-tap-highlight-color: transparent; z-index: 1; }
.leinwand.gleiten .punkt { transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.punkt .licht { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 249, 236, .8); box-shadow: 0 0 0 1.5px rgba(227, 168, 59, .6), 0 2px 8px rgba(0, 0, 0, .35);
  font: 600 14px/1 var(--serif); font-variant-numeric: lining-nums; transition: transform .25s ease, box-shadow .25s ease; }
.punkt:focus-visible { outline: none; }
.punkt:focus-visible .licht { box-shadow: 0 0 0 3px #f3c969, 0 0 0 6px rgba(15, 24, 41, .7); }
@media (hover: hover) { .punkt.offen:hover .licht { transform: scale(1.12); } }
/* kommende: nur zarte Punkte */
.js .punkt:not(.offen) { cursor: default; }
.js .punkt:not(.offen) .licht { width: 9px; height: 9px; background: rgba(255, 246, 220, .7);
  box-shadow: 0 0 6px 2px rgba(255, 228, 160, .35); }
.js .punkt:not(.offen) .nr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* vergangene, schon freigerubbelt: kleiner Stern */
.punkt.gesehen .licht::after { content: ""; position: absolute; top: -5px; right: -5px; width: 11px; height: 11px;
  background: linear-gradient(135deg, #ffe7a3, #d9a03a); clip-path: var(--stern); }
/* heute: warm, größer, ein ruhiger Lichthof */
.punkt.heute { z-index: 2; }
.punkt.heute .licht { width: 38px; height: 38px; font-size: 18px; color: #3a1e08;
  background: radial-gradient(circle at 40% 35%, #fff1c9, #f6c15e 55%, #e58f2e);
  box-shadow: 0 0 0 2px rgba(255, 230, 170, .85), 0 0 18px 6px rgba(255, 176, 76, .55), 0 3px 10px rgba(0, 0, 0, .45); }
.punkt.heute .licht::before { content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 110, .45), rgba(255, 196, 110, 0) 70%); }
@media (prefers-reduced-motion: no-preference) {
  .punkt.heute .licht::before { animation: lichthof 3.6s ease-in-out infinite; }
  .js .punkt.wackeln .licht { animation: wackeln .55s ease-in-out; }
}
@keyframes lichthof { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.25); opacity: 1; } }

.schnee { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.steuer { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: flex; gap: 6px; }
.steuer button, .steuer a { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(255, 240, 210, .35);
  background: rgba(15, 24, 41, .72); color: #fff4dc; font: 600 1rem/42px var(--schrift); text-decoration: none; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.steuer button[data-zoom="hin"], .steuer button[data-zoom="weg"] { padding: 0; font-size: 1.3rem; }
.steuer :focus-visible { outline: 3px solid #f3c969; outline-offset: 2px; }
.meldung-szene { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 4; margin: 0; padding: 6px 14px;
  border-radius: 999px; background: rgba(15, 24, 41, .78); color: #fff4dc; font-family: var(--serif); font-size: 1.05rem;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .4s; }
.meldung-szene.da { opacity: 1; }
.unter-bild { max-width: 1240px; margin: 10px auto 0; padding: 0 16px; text-align: center; color: var(--text-3); font-size: .8rem; line-height: 1.5; }
.unter-bild .geste { display: block; color: var(--text-2); font-size: .88rem; margin-bottom: 2px; }
.unter-bild a { color: var(--text-3); }
.funken.in-szene { z-index: 5; }

/* Unter der Szene: Florians Text und die Liste (barrierefreie Alternative) */
.nacht main { padding-top: 8px; }
.nacht .zaehler { background: rgba(255, 255, 255, .04); border-left-color: #f3c969; }
.liste-titel { margin-top: 34px; font-family: var(--serif); font-weight: 600; }
.nacht .tueren { display: block; columns: 2 260px; column-gap: 28px; margin: 12px 0 28px; }
.nacht .tueren li { break-inside: avoid; }
.nacht .tuer { flex-direction: row; align-items: baseline; gap: 12px; min-height: 0; height: auto; padding: 9px 4px; border: 0;
  border-bottom: 1px dotted var(--linie); border-radius: 0; background: none; }
.nacht .tuer .nr { font-size: 1.15rem; min-width: 1.6em; text-align: right; color: #f3c969; }
.nacht .tuer .unten { margin: 0; padding: 0; }
.nacht .tuer .titel { font-size: .98rem; margin: 0; }
.nacht .tuer .art { font-size: .8rem; }
.nacht .tuer .marke-heute { position: static; margin-left: auto; }
.nacht.js .tuer:not(.offen) { background: none; border-style: dotted; }
.nacht .tuer.heute { border: 0; border-bottom: 1px solid var(--heute); overflow: visible; }
.nacht .tuer.heute::before, .nacht .js .tuer.offen:not(.heute)::after, .nacht.js .tuer.offen:not(.heute)::after { display: none; }
.nacht .fuss { max-width: 760px; }

/* Karte, die sich in der Szene öffnet */
.tuerkarte { width: min(640px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 20px;
  background: #fbf7ee; color: #1f1d1a; overflow: auto; overscroll-behavior: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  --flaeche: #fbf7ee; --text: #1f1d1a; --text-2: #55514a; --text-3: #6f6a61; --link: #1d5fb8; --akzent: #2f6b4f; color-scheme: light; }
.tuerkarte::backdrop { background: rgba(8, 13, 24, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.tuerkarte .blatt { position: relative; padding: 0 0 16px; }
.tuerkarte .karte { margin: 0; border-radius: 20px 20px 0 0; min-height: 0; padding-bottom: 6px; }
.tuerkarte .tuer-bild { border-radius: 0; }
.tuerkarte h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin: 4px 0 10px; }
.tuerkarte h2:focus { outline: none; }
.tuerkarte .kopfzeile { margin-top: 0; }
.tuerkarte .tuer-text { font-size: 1.1rem; }
.tuerkarte .nachweis, .tuerkarte .karte-fuss { padding: 0 20px; }
.tuerkarte .karte-fuss { margin: 10px 0 0; font-size: .92rem; }
.tuerkarte.rubbelt .nachweis { visibility: hidden; }
.zu-knopf { position: sticky; top: 10px; display: block; margin: 10px 10px -54px auto; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(15, 24, 41, .72); color: #fff4dc; font: 400 1.6rem/44px var(--schrift); cursor: pointer; }
.zu-knopf:focus-visible { outline: 3px solid #f3c969; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .tuerkarte[open] { animation: aufklappen .5s cubic-bezier(.2, .8, .25, 1); }
  .tuerkarte[open]::backdrop { animation: abdunkeln .4s ease; }
}
@media (prefers-reduced-motion: reduce) { .tuerkarte[open] { animation: abdunkeln .2s ease; } }
@keyframes aufklappen { from { opacity: 0; transform: perspective(900px) translateY(18px) rotateX(9deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes abdunkeln { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 520px) {
  .tuerkarte { width: 100vw; max-width: 100vw; max-height: 94svh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
}

/* Gutschein hinter dem Türchen (advent.js füllt ihn; ohne JavaScript versteckt) */
.los { margin: 6px 0 18px; padding: 14px 16px 6px; border: 1.5px dashed var(--akzent); border-radius: 14px; background: var(--flaeche-2); }
.los[hidden], .los-alle[hidden] { display: none; }
.los p { margin: 0 0 8px; }
.los-kopf { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.los-wert { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.los-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; }
.los-code { font: 700 1.3rem/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; padding: 8px 12px; border-radius: 10px;
  background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); -webkit-user-select: all; user-select: all; }
.los-zeile .knopf { min-height: 44px; }
.los-meldung { min-height: 1.2em; font-size: .9rem; color: var(--akzent); }
.los-link a { font-weight: 600; }
.los-text { font-size: .92rem; color: var(--text-2); }
.los-klein { font-size: .8rem; color: var(--text-3); }
.offen-nur > .los { margin: 16px 0 4px; }
.tuerkarte .los { margin: 14px 20px 8px; --flaeche: #ffffff; --flaeche-2: #f1ebdf; --linie: #e1dcd2; --grund: #fbf7ee; }
/* erst nach dem Rubbeln */
.rubbel .los, .tuerkarte.rubbelt .los { display: none; }
@media (prefers-reduced-motion: no-preference) { .los { animation: los-auf .5s ease both; } }
@keyframes los-auf { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.los-alle { margin: 22px 0 6px; }
.los-alle .los { margin: 0; }

/* Leiser App-Hinweis unter dem Inhalt (inhalt.json: hinweis) */
.app-hinweis { font-size: .92rem; color: var(--text-3); margin: 0 0 18px; max-width: 600px; }
.app-hinweis a { color: var(--text-2); white-space: nowrap; }
.fuss .mehr { margin-top: 6px; }
.los-pdf { font-size: .85rem; }
.los-pdf a { color: var(--text-2); }
