@font-face{font-family:'SGZ Ziffern';src:local('Georgia'),local('Georgia Regular'),local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos'),local('Noto Serif'),local('NotoSerif-Regular');font-weight:100 600;unicode-range:U+0030-0039}
@font-face{font-family:'SGZ Ziffern';src:local('Georgia Bold'),local('Georgia-Bold'),local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Liberation Serif Bold'),local('LiberationSerif-Bold'),local('Tinos Bold'),local('Noto Serif Bold'),local('NotoSerif-Bold');font-weight:700 900;unicode-range:U+0030-0039}
:root { --bg: #233431; --email1: #fbf5e4; --email2: #d9cfb6; --emailK: #8d846f; --blende: #e2d8bf; --tafel1: rgba(247, 242, 228, .95); --tafel2: rgba(232, 224, 204, .97);
  --tinte: #1f2a2c; --leise: #4f5b58; --rand: rgba(90, 80, 60, .5); --akzent: #2a9db0; --akzent2: #1d6f7e; --rot: #c8453a; --gold: #a8791e; --gut: #2f7a3a; --warn: #b2402a;
  --dunkel: #2f3a3c; --dunkelT: #f1ead7; --rolle: #f4efe2; --chrom1: #f7fbfd; --chrom2: #8f9ca2; --schatten: rgba(10, 20, 18, .45); --ov: rgba(12, 22, 20, .45);
  --meld: rgba(20, 32, 34, .92); --meldT: #fff1c4; --prog: #ff7a5c;
  --kopf: 'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --grund-q: url(img/kulisse-mittag.webp?v=1); --grund-h: url(img/kulisse-mittag-hoch.webp?v=1); --abdunkeln: .18;
  --mo-akzent: #2a9db0; --mo-tafel1: #1c2b2e; --mo-tafel2: #12201f; --mo-text: #f3ecd8; --mo-gold: #e3bb63; }
:root[data-ansicht="spaet"] { --bg: #141a24; --akzent: #e0705e; --akzent2: #a8483a; --rand: rgba(40, 40, 60, .6); --email1: #ece4cf; --email2: #b9ae94;
  --grund-q: url(img/kulisse-spaet.webp?v=1); --grund-h: url(img/kulisse-spaet-hoch.webp?v=1); --mo-akzent: #e0705e; --mo-tafel1: #1d1f2c; --mo-tafel2: #12131d; }
:root[data-ansicht="hell"] { --bg: #e9ebe0; --tafel1: rgba(252, 249, 238, .96); --tafel2: rgba(242, 236, 218, .97); --tinte: #24302e; --leise: #55625e; --rand: rgba(120, 110, 80, .45);
  --akzent: #23798a; --akzent2: #175a67; --dunkel: #3d4a4c; --schatten: rgba(80, 80, 60, .28); --ov: rgba(150, 150, 120, .3); --meld: rgba(250, 246, 232, .96); --meldT: #24302e;
  --grund-q: url(img/kulisse-hell.webp?v=1); --grund-h: url(img/kulisse-hell-hoch.webp?v=1); --abdunkeln: .05; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--tinte); font: 16px/1.4 var(--kopf);
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
* { scrollbar-width: thin; scrollbar-color: var(--akzent) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: var(--akzent); border-radius: 4px; } ::-webkit-scrollbar-track { background: transparent; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
kbd { display: inline-block; min-width: 22px; padding: 0 5px; border: 1px solid var(--rand); border-bottom-width: 2px; border-radius: 4px; background: var(--rolle); font: 13px/20px var(--kopf); text-align: center; color: var(--tinte); }
.klein { font-size: 13px; color: var(--leise); } .mitte { text-align: center; }

#wrap { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--bg); }
#stage { position: relative; width: 1280px; height: 800px; flex: none; transform-origin: center center; overflow: clip; background: var(--bg); -webkit-touch-callout: none;
  display: grid; grid-template-columns: 250px minmax(0, 1fr) 236px; grid-template-rows: minmax(0, 1fr); grid-template-areas: "links feld rechts"; gap: 0 20px; padding: 0 22px;
  font-variant-numeric: lining-nums tabular-nums; }
#kulisse { position: absolute; inset: 0; z-index: 0; background: var(--bg) var(--grund-q) center / cover no-repeat; overflow: clip; }
#stage.hoch #kulisse { background-image: var(--grund-h); }
#kulisse::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, calc(var(--abdunkeln) + .15)) 100%); }
#kulisse .regen { position: absolute; top: -160px; right: -40px; bottom: 0; left: 0; pointer-events: none; opacity: 0; display: none; background: repeating-linear-gradient(100deg, rgba(220, 235, 255, .0) 0 14px, rgba(220, 235, 255, .16) 14px 15px) 0 0 / 160px 160px; will-change: transform; }
:root[data-ansicht="spaet"] #kulisse .regen { display: block; animation: regen 1.1s linear infinite; opacity: .5; -webkit-mask: linear-gradient(90deg, transparent 0 74%, #000 80% 100%); mask: linear-gradient(90deg, transparent 0 74%, #000 80% 100%); }
@keyframes regen { to { transform: translate(-30px, 160px); } }
@media (prefers-reduced-motion: reduce) { #kulisse .regen { animation: none; } }
#links { grid-area: links; } #rechts { grid-area: rechts; } #feldbox { grid-area: feld; } #pad { grid-area: pad; }

#feldbox { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; padding: 18px 0; }
#maschine { position: relative; height: 100%; max-width: 100%; aspect-ratio: .86; display: flex; flex-direction: column; padding: 16px 22px 26px; border-radius: 30px;
  background: radial-gradient(120% 70% at 25% 10%, rgba(255, 255, 255, .55), transparent 60%), repeating-linear-gradient(97deg, rgba(255, 255, 255, .05) 0 3px, rgba(120, 100, 60, .035) 3px 5px), linear-gradient(160deg, var(--email1), var(--email2));
  border: 2px solid var(--emailK); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 6px 14px rgba(0, 0, 0, .35), 14px 14px 0 -4px rgba(0, 0, 0, .25), inset 0 2px 1px rgba(255, 255, 255, .8), inset 0 -6px 10px rgba(0, 0, 0, .18); }
#maschine::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -16px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(6px); z-index: -1; }
#panel { flex: none; display: flex; align-items: center; gap: 14px; height: 86px; padding: 8px 14px; border-radius: 16px; background: linear-gradient(180deg, var(--blende), #cfc4a6);
  border: 1px solid var(--emailK); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .7); }
.schild { position: relative; border: 1px solid var(--rand); border-radius: 10px; background: repeating-linear-gradient(0deg, rgba(90, 70, 40, .035) 0 1px, transparent 1px 4px), linear-gradient(180deg, var(--tafel1), var(--tafel2)); background-color: var(--tafel1);
  box-shadow: 0 8px 18px var(--schatten), inset 0 1px 0 rgba(255, 255, 255, .6); color: var(--tinte); padding: 8px 12px; }
.sk { display: block; font-size: 13px; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#progschild { flex: 1; min-width: 0; padding: 6px 12px; }
#progschild b { display: block; font-size: 22px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tinte); }
#progschild::before { content: ''; position: absolute; right: 10px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--prog); box-shadow: 0 0 8px var(--prog); }
#thermo { flex: none; position: relative; width: 18px; height: 64px; border-radius: 9px; background: var(--rolle); border: 1px solid var(--rand); overflow: clip; }
#thermo-f { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 90%; border-radius: 5px; background: linear-gradient(0deg, #c8453a, var(--prog)); transition: height .8s; }
#knopf { flex: none; position: relative; width: 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--chrom1), var(--chrom2) 70%); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 -2px 4px rgba(0, 0, 0, .3); }
#knopf::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: #3b4446; }
#knopf-zeiger { position: absolute; left: 50%; top: 14px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: #f4efe2; transform-origin: 2px 20px; }
#bull { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 28px 0 6px; }
#glas { position: relative; flex: none; width: 300px; height: 300px; border-radius: 50%; overflow: clip; background: #0b1316; touch-action: none;
  box-shadow: 0 0 0 14px #cfd8dc, 0 0 0 17px #7f8c92, 0 0 0 22px #e9eef0, 0 0 0 24px #6c787e, 0 18px 36px 24px rgba(0, 0, 0, .35), inset 0 0 40px rgba(0, 0, 0, .9); }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#glanz { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient(140deg, rgba(255, 255, 255, .16) 0 18%, transparent 30%), radial-gradient(circle at 70% 85%, rgba(255, 255, 255, .06), transparent 40%); }
#meld { position: absolute; left: 50%; top: 116px; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; width: 92%; }
.mz { padding: 7px 16px; border-radius: 18px; background: var(--meld); color: var(--meldT); font-size: 16px; text-align: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); animation: meldEin .25s ease-out; transition: opacity .4s; max-width: 100%; }
.mz.gross b { font-size: 26px; } .mz.warn { border: 2px solid var(--rot); } .mz.gut { border: 2px solid var(--gold); } .mz.weg { opacity: 0; }
@keyframes meldEin { from { transform: translateY(-8px); opacity: 0; } }
.flugtafel { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 7; min-width: 320px; max-width: 92%; transition: opacity .4s; pointer-events: none; }
.flugtafel.weg { opacity: 0; }

aside { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px 0; min-width: 0; min-height: 0; overflow: clip; }
.schild.dunkel { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 6px), linear-gradient(180deg, #3b4648, var(--dunkel)); background-color: var(--dunkel); color: var(--dunkelT); border-color: #1d2324; }
.schild.dunkel .sk { color: #d9d1bb; }
#rollen { display: flex; gap: 4px; margin-top: 6px; }
#rollen i { flex: 1; height: 44px; border-radius: 4px; background: linear-gradient(180deg, #d9d2bf, var(--rolle) 30% 70%, #d9d2bf); color: #1f2a2c; font: 700 28px/44px var(--kopf); text-align: center; font-style: normal; font-kerning: none;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
#rollen i.dreh { animation: rolle .25s ease-out; }
@keyframes rolle { from { transform: translateY(-30%); opacity: .3; } }
.zettel { background: linear-gradient(180deg, #fbf3c9, #f3e7a8); transform: rotate(-1.2deg); }
.zettel::before { content: ''; position: absolute; left: 50%; top: -8px; width: 54px; height: 16px; margin-left: -27px; background: rgba(240, 236, 220, .75); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transform: rotate(3deg); }
:root[data-ansicht="spaet"] .zettel { background: linear-gradient(180deg, #efe6bb, #ddd197); }
.zettel b { font-size: 24px; color: #2a2a1e; } .zettel .sk { color: #5d5838; }
#korb { margin-top: auto; position: relative; padding: 14px 10px 10px; border-radius: 10px 10px 22px 22px; border: 2px solid #6b4a22;
  background: repeating-linear-gradient(90deg, rgba(90, 60, 20, .35) 0 2px, transparent 2px 13px), linear-gradient(180deg, #d6b47a, #b58f55); box-shadow: 0 10px 20px var(--schatten); }
#klammern { display: flex; justify-content: center; gap: 10px; min-height: 48px; margin-bottom: 8px; }
#klammern i { width: 12px; height: 46px; border-radius: 3px; background: linear-gradient(90deg, #d9a865 0 45%, #6b4a22 45% 55%, #c8955a 55%); border: 1px solid #6b4a22; position: relative; }
#klammern i::after { content: ''; position: absolute; left: -3px; right: -3px; top: 16px; height: 5px; border-radius: 1px; background: #9aa3a6; border: 1px solid #4b5254; }
#klammern .unend { font-size: 16px; color: var(--tinte); align-self: center; padding: 2px 10px; border-radius: 8px; background: var(--tafel1); }
.korbschild b { display: block; font-size: 18px; } .korbschild small { font-size: 13px; color: var(--leise); }
#knoepfe { display: flex; gap: 8px; }
#knoepfe button { flex: 1; height: 46px; border-radius: 10px; border: 1px solid var(--rand); background: repeating-linear-gradient(0deg, rgba(90, 70, 40, .035) 0 1px, transparent 1px 4px), linear-gradient(180deg, var(--tafel1), var(--tafel2)); box-shadow: 0 6px 14px var(--schatten); display: flex; align-items: center; justify-content: center; color: var(--tinte); }
#knoepfe button svg { width: 22px; height: 22px; }
#hebelbox { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "sk sk" "hebel lampen" "text text"; align-items: center; gap: 4px 10px; }
#hebelbox .sk { grid-area: sk; } #hebelbox small { grid-area: text; font-size: 13px; color: var(--leise); min-height: 18px; }
#hebel { grid-area: hebel; position: relative; height: 92px; width: 100%; border: 0; background: transparent; touch-action: manipulation; }
#hebel::before { content: ''; position: absolute; left: 50%; top: 12px; bottom: 6px; width: 14px; margin-left: -7px; border-radius: 7px; background: linear-gradient(90deg, #2b3335, #556063, #2b3335); }
#hebel i { position: absolute; left: 50%; top: 4px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, var(--rot) 60%, #7a2420); box-shadow: 0 3px 6px rgba(0, 0, 0, .4); transition: top .18s; }
#hebel.zieh i { top: 50px; }
#hebelbox.leer #hebel i { filter: grayscale(.8); opacity: .55; }
#lampen { grid-area: lampen; display: flex; flex-direction: column; gap: 8px; }
#lampen i { width: 16px; height: 16px; border-radius: 50%; background: #4a4f50; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
#lampen i.an { background: #7ee08a; box-shadow: 0 0 10px #7ee08a; }
#leiste, .gangleiste { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 8px; }
#leiste i, .gangleiste i { aspect-ratio: 1; border-radius: 50%; background: #3e4648; border: 2px solid #9aa5aa; }
#leiste i.ok, .gangleiste i.ok { background: var(--prog); border-color: #e9eef0; }
#leiste i.jetzt, .gangleiste i.jetzt { background: var(--prog); border-color: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { #leiste i.jetzt, .gangleiste i.jetzt { animation: none; } }
#steuer p { margin: 6px 0 0; font-size: 14px; }

#pad { display: none; }
#stage.hoch, #stage.quer-handy { --pad: 1; }
.pk { position: relative; border: 1px solid var(--rand); border-radius: 50%; background: linear-gradient(180deg, var(--tafel1), var(--tafel2)); box-shadow: 0 8px 18px var(--schatten);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; touch-action: none; color: var(--tinte); }
.pk small { font-size: 13px; }
.pk > *, #dreh > *, #hebel > *, #knoepfe button > * { pointer-events: none; }
.pk .hb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, var(--rot) 60%, #7a2420); }
.pk .sb { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(200, 245, 255, .5) 40%, rgba(42, 157, 176, .8)); border: 2px solid #e6fbff; }
.pk.aus .sb { filter: grayscale(1); opacity: .5; }
#dreh { position: relative; border-radius: 50%; touch-action: none; background: radial-gradient(circle at 35% 30%, var(--chrom1), var(--chrom2) 70%); box-shadow: 0 6px 14px var(--schatten), inset 0 -3px 6px rgba(0, 0, 0, .3); }
#dreh::before { content: ''; position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #4b5658, #2b3335); }
#dreh::after { content: ''; position: absolute; inset: 3%; border-radius: 50%; background: repeating-conic-gradient(rgba(40, 50, 52, .6) 0 2deg, transparent 2deg 22.5deg); -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%); }
#dreh-zeiger { position: absolute; left: 50%; top: 18%; width: 8px; height: 32%; margin-left: -4px; border-radius: 4px; background: #f4efe2; transform-origin: 50% 100%; z-index: 1; }
#dreh small { position: absolute; left: 0; right: 0; bottom: -24px; text-align: center; font-size: 13px; color: var(--tinte); text-shadow: 0 1px 2px rgba(255, 255, 255, .6); }

#stage.hoch { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) 236px; grid-template-areas: "links" "rechts" "feld" "pad"; gap: 8px 0; padding: 12px 14px 14px; }
#stage.hoch aside { flex-direction: row; padding: 0; gap: 8px; align-items: stretch; }
#stage.hoch #zaehler { flex: 1.4; padding: 6px 10px; } #stage.hoch #rollen i { height: 34px; font-size: 22px; line-height: 34px; }
#stage.hoch #bestzettel { flex: 1; padding: 6px 10px; } #stage.hoch .zettel b { font-size: 20px; }
#stage.hoch #korb { margin: 0; flex: 1.1; padding: 6px 8px; border-radius: 10px; }
#stage.hoch #klammern { min-height: 30px; gap: 6px; margin-bottom: 4px; } #stage.hoch #klammern i { height: 30px; width: 9px; }
#stage.hoch .korbschild { padding: 4px 6px; } #stage.hoch .korbschild b { font-size: 15px; } #stage.hoch .korbschild small { display: block; font-size: 12px; }
#stage.hoch #knoepfe { flex: 1.1; } #stage.hoch #knoepfe button { height: auto; }
#stage.hoch #hebelbox { display: none; } #stage.hoch #steuer { display: none; }
#stage.hoch #gangbox { padding: 6px 10px; display: flex; align-items: center; gap: 10px; } #stage.hoch #gangbox .sk { flex: none; } #stage.hoch #leiste { flex: 1; grid-template-columns: repeat(16, 1fr); gap: 3px; margin: 0; }
#stage.hoch #feldbox { padding: 6px 0 0; }
#stage.hoch #maschine { height: 100%; width: 100%; aspect-ratio: auto; padding: 12px 14px 18px; }
#stage.hoch #panel { height: 70px; } #stage.hoch #progschild b { font-size: 19px; } #stage.hoch #knopf { width: 54px; height: 54px; }
#stage.hoch #bull { padding: 24px 0 4px; }
#stage.hoch #pad { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; justify-items: center; gap: 10px; position: relative; z-index: 1; padding: 10px 14px 18px; }
#stage.hoch .pk { width: 104px; height: 104px; } #stage.hoch .pk.gross { width: 118px; height: 118px; }
#stage.hoch #dreh { width: 176px; height: 176px; }
#stage.hoch #meld { top: 96px; }
#stage.quer-handy { grid-template-columns: 226px minmax(0, 1fr) 226px; gap: 0 12px; padding: 0 12px; }
#stage.quer-handy aside { padding: 12px 0; gap: 8px; }
#stage.quer-handy #steuer, #stage.quer-handy #hebelbox { display: none; }
#stage.quer-handy #rollen i { height: 32px; font-size: 21px; line-height: 32px; }
#stage.quer-handy #feldbox { padding: 8px 0; }
#stage.quer-handy #panel { height: 62px; } #stage.quer-handy #progschild b { font-size: 17px; } #stage.quer-handy #knopf { width: 48px; height: 48px; }
#stage.quer-handy #maschine { padding: 10px 14px 14px; }
#stage.quer-handy #bull { padding: 18px 0 4px; }
#stage.quer-handy #pad { display: block; position: absolute; inset: auto 0 0 0; height: 0; z-index: 4; }
#stage.quer-handy #dreh { display: none; }
#stage.quer-handy .pk { position: absolute; bottom: 14px; width: 96px; height: 96px; } #stage.quer-handy #t-hebel { left: 18px; } #stage.quer-handy #t-feuer { right: 18px; }
#stage.quer-handy #korb { margin-bottom: 110px; } #stage.quer-handy #gangbox { margin-bottom: 110px; }
#stage.quer-handy #meld { top: 76px; }

#ov { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--ov); overflow: auto; }
.kasten { position: relative; width: min(760px, 100%); max-height: 100%; overflow: auto; padding: 22px 26px; border-radius: 16px; border: 1px solid var(--rand);
  background: linear-gradient(180deg, var(--tafel1), var(--tafel2)); background-color: var(--tafel1); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); color: var(--tinte); }
.kasten.mitte { width: min(620px, 100%); }
.ov-zu { position: sticky; top: -10px; float: right; margin: -10px -12px 0 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rand); background: var(--tafel1); display: flex; align-items: center; justify-content: center; z-index: 3; }
.ov-zu svg { width: 18px; height: 18px; }
.titel { font-size: 40px; font-weight: 700; letter-spacing: .06em; text-align: center; line-height: 1; } .titel span { color: var(--tinte); } .titel b { color: var(--akzent2); }
.unter { text-align: center; color: var(--leise); margin: 10px auto 16px; max-width: 56ch; }
.modi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.modus { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--rand); background: rgba(255, 255, 255, .35); min-height: 96px; }
.modus:hover, .modus:focus-visible { border-color: var(--akzent); box-shadow: 0 0 0 2px var(--akzent); }
.modus .mi svg { width: 28px; height: 28px; color: var(--akzent); } .modus b { display: block; font-size: 18px; } .modus small { display: block; font-size: 13px; color: var(--leise); margin-top: 3px; }
.einstieg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; } .einstieg > span { font-size: 14px; color: var(--leise); margin-right: 4px; }
.einstieg button { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--rand); background: rgba(255, 255, 255, .4); min-height: 40px; }
.einstieg button small { display: block; font-size: 12px; color: #7a5410; }
.ansichten { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 6px; } .ansichten span { font-size: 14px; color: var(--leise); }
.ansichten button { padding: 6px 12px; border-radius: 18px; border: 1px solid var(--rand); background: transparent; min-height: 40px; } .ansichten button.an { background: var(--akzent2); color: #fff; border-color: var(--akzent2); }
.reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.reihe button, .klein-knopf { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 42px; border-radius: 10px; border: 1px solid var(--rand); background: rgba(255, 255, 255, .45); color: var(--tinte); }
.reihe button svg, .klein-knopf svg { width: 18px; height: 18px; }
.reihe button.haupt { background: var(--akzent2); color: #fff; border-color: var(--akzent2); font-weight: 700; padding: 10px 22px; }
.mo-tafel .reihe button { background: rgba(255, 255, 255, .1); color: var(--mo-text); border-color: rgba(255, 255, 255, .25); }
.mo-tafel .reihe button.haupt { background: var(--mo-akzent); color: #fff; }
.mo-tafel .ov-zu { background: rgba(255, 255, 255, .12); color: var(--mo-text); border-color: rgba(255, 255, 255, .3); }
.mo-tafel p, .mo-tafel .pz { color: var(--mo-text); } .mo-tafel .klein { color: #c9c1ab; }
.ende h2 { text-align: center; margin: 2px 0 0; font-size: 28px; color: var(--mo-text); } .endgrund { text-align: center; margin: 2px 0 8px; }
.ziel-zeile { text-align: center; font-size: 15px; }
.rw { width: 100%; border-collapse: collapse; font-size: 14px; } .rw td { padding: 4px 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: var(--mo-text); } .rw small { display: block; font-size: 12px; opacity: .75; }
.rw .p, .rw .m { text-align: right; white-space: nowrap; } .rw .sum td { font-weight: 700; border-top: 2px solid var(--mo-gold); }
.pwahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.pw { padding: 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--mo-text); min-height: 52px; }
.pw small { display: block; font-size: 12px; opacity: .8; }
.schalter { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); color: var(--mo-text); cursor: pointer; }
.schalter input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--mo-akzent); } .schalter b { display: block; } .schalter small { display: block; font-size: 13px; opacity: .8; }
.regeln h2 { margin: 0 0 10px; } .regeln h3 { margin: 16px 0 4px; font-size: 18px; color: var(--akzent2); } .regeln p { margin: 4px 0; font-size: 15px; }
.kurz { padding: 10px 14px; border-radius: 10px; background: rgba(42, 157, 176, .12); border: 1px solid var(--akzent); }
.kurz h3 { margin-top: 0; }
.gz { display: flex; gap: 10px; align-items: center; margin: 6px 0; } .gz img { width: 44px; height: 44px; flex: none; } .gz p { margin: 0; }
.pause .gangleiste { max-width: 340px; margin: 6px auto 10px; }
@media (max-width: 700px) { .modi { grid-template-columns: 1fr; } }
#stage.hoch .modi { grid-template-columns: 1fr; } #stage.hoch .modus { min-height: 0; }
#stage.hoch .kasten { padding: 18px 16px; }

#stage.hoch .sk, #stage.hoch .korbschild small, #stage.hoch .pk small, #stage.hoch #dreh small, #stage.hoch .klein { font-size: 15px; }
#stage.hoch #zaehler .sk { font-size: 15px; }
#stage.hoch #rechts { flex-wrap: nowrap; }
#stage.hoch #rechts { flex-direction: column; }
#stage.hoch #knoepfe { flex: none; display: flex; gap: 8px; justify-content: flex-start; }
#stage.hoch #knoepfe button { flex: none; width: 64px; height: 64px; }
#stage.hoch #progschild .sk { font-size: 15px; }
#stage.hoch .kasten { font-size: 17px; }
#stage.hoch .modus small, #stage.hoch .einstieg button small, #stage.hoch .pw small, #stage.hoch .schalter small, #stage.hoch .mo-tafel .klein, #stage.hoch .unter { font-size: 15px; }
#stage.hoch .ansichten span, #stage.hoch .einstieg > span { font-size: 15px; }
#stage.hoch .ansichten button, #stage.hoch .reihe button, #stage.hoch .einstieg button, #stage.hoch .klein-knopf, #stage.hoch .pw { min-height: 64px; min-width: 64px; }
#stage.hoch .ov-zu { width: 64px; height: 64px; }
#stage.hoch .schalter input { width: 30px; height: 30px; }
#stage.hoch .rw, #stage.hoch .rw small { font-size: 15px; }
#stage.hoch .regeln p, #stage.hoch .regeln li { font-size: 16px; }

#stage.quer-handy .sk, #stage.quer-handy .korbschild small, #stage.quer-handy .pk small, #stage.quer-handy .klein, #stage.quer-handy #w-schl { font-size: 16px; }
#stage.quer-handy #knoepfe { display: grid; grid-template-columns: repeat(3, 70px); gap: 8px; }
#stage.quer-handy #knoepfe button { width: 70px; height: 67px; }
#stage.quer-handy .pk { width: 108px; height: 108px; }
#stage.quer-handy #korb, #stage.quer-handy #gangbox { margin-bottom: 124px; }
#stage.quer-handy .kasten { font-size: 17px; padding: 14px 20px; }
#stage.quer-handy .ov-zu { width: 64px; height: 64px; }
#stage.quer-handy .menue .titel { font-size: 32px; } #stage.quer-handy .menue .unter { margin: 4px auto 8px; font-size: 16px; }
#stage.quer-handy .modus { min-height: 0; padding: 6px 10px; } #stage.quer-handy .modus small, #stage.quer-handy .einstieg button small { font-size: 16px; }
#stage.quer-handy .ansichten { margin: 8px 0 0; } #stage.quer-handy .ansichten span, #stage.quer-handy .einstieg > span { font-size: 16px; }
#stage.quer-handy .reihe { margin-top: 8px; }
#stage.quer-handy .ansichten button, #stage.quer-handy .reihe button, #stage.quer-handy .einstieg button, #stage.quer-handy .klein-knopf, #stage.quer-handy .pw { min-height: 67px; min-width: 67px; }
#stage.quer-handy .modus small, #stage.quer-handy .pw small, #stage.quer-handy .schalter small, #stage.quer-handy .mo-tafel .klein, #stage.quer-handy .rw, #stage.quer-handy .rw small { font-size: 16px; }
#stage.quer-handy .schalter input { width: 30px; height: 30px; }
#stage.quer-handy .regeln p, #stage.quer-handy .regeln li { font-size: 16px; }
#stage.quer-handy .kasten { width: min(1120px, 100%); }
#stage.quer-handy #thermo, #stage.quer-handy #knopf { display: none; }
#stage.quer-handy #progschild b { font-size: 18px; }
#stage.quer-handy .korbschild b { font-size: 17px; }
#stage.quer-handy .menue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); grid-template-areas: "l r" "a r" "z z"; gap: 6px 20px; align-content: start; }
#stage.quer-handy .menue .m-l { grid-area: l; } #stage.quer-handy .menue .m-r { grid-area: r; } #stage.quer-handy .menue .m-u { display: contents; }
#stage.quer-handy .menue .m-u .ansichten { grid-area: a; margin: 0; align-self: end; } #stage.quer-handy .menue .m-u .reihe { grid-area: z; margin: 2px 0 0; }
#stage.quer-handy .menue .titel, #stage.quer-handy .menue .unter { text-align: left; }
#stage.quer-handy .menue .modi { grid-template-columns: 1fr; gap: 6px; }
#stage.quer-handy .menue .ansichten, #stage.quer-handy .menue .reihe { flex-wrap: wrap; justify-content: flex-start; }
#stage.hoch .mo-tafel, #stage.quer-handy .mo-tafel { --mo-fs-klein: 17px; --mo-fs-min: 17px; --mo-ziel: 67px; }
#stage.hoch .mo-tafel .mo-kopf, #stage.quer-handy .mo-tafel .mo-kopf, #stage.hoch .mo-zahl span, #stage.quer-handy .mo-zahl span, #stage.hoch .mo-plakette, #stage.quer-handy .mo-plakette, #stage.hoch .pz, #stage.quer-handy .pz { font-size: 17px; }
#stage.hoch .mo-kachel span, #stage.quer-handy .mo-kachel span, #stage.hoch .mo-kachel small, #stage.quer-handy .mo-kachel small, #stage.hoch .mo-tipp, #stage.hoch .mo-rang, #stage.quer-handy .mo-rang { font-size: 17px; }
#stage.quer-handy .mo-tafel .mo-tipp, #stage.quer-handy .pause .pz { display: none; }
#stage.quer-handy .mo-tafel .mo-zahl b { font-size: 60px; line-height: 1; } #stage.quer-handy .ende h2 { font-size: 24px; } #stage.quer-handy .endgrund { margin: 0 0 4px; font-size: 17px; }
#stage.quer-handy .mo-tafel .mo-kacheln { gap: 6px; margin: 6px 0; } #stage.quer-handy .mo-tafel .mo-kachel { padding: 4px 6px; }
#stage.quer-handy .pause .gangleiste { max-width: 300px; gap: 4px; margin: 2px auto 4px; }
#stage.quer-handy details.mo-mehr summary, #stage.hoch details.mo-mehr summary { min-height: 67px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
#stage.hoch .ov-zu, #stage.quer-handy .ov-zu { width: 72px; height: 72px; }
#stage.quer-handy .mo-tafel .reihe button, #stage.hoch .mo-tafel .reihe button, #stage.quer-handy details.mo-mehr summary, #stage.hoch details.mo-mehr summary { min-height: 72px; }
#stage.hoch .mo-mini-kopf, #stage.quer-handy .mo-mini-kopf, #stage.hoch .mo-mini-kopf i, #stage.quer-handy .mo-mini-kopf i, #stage.hoch .mo-mini-fuss, #stage.quer-handy .mo-mini-fuss { font-size: 17px; }
#stage.quer-handy .menue .bestzeile { display: none; }
#stage.quer-handy .menue .m-u .reihe { grid-area: a; margin: 6px 0 0; } #stage.quer-handy .menue .m-u .ansichten { grid-area: l2; }
#stage.quer-handy .menue { grid-template-areas: "l r" "l2 r" "a r"; }
#stage.quer-handy .menue .reihe .bt { display: none; } #stage.quer-handy .menue .reihe button { width: 70px; min-width: 70px; height: 70px; justify-content: center; padding: 0; } #stage.quer-handy .menue .reihe button svg { width: 26px; height: 26px; }
#stage.quer-handy .einstieg { margin-top: 6px; } #stage.quer-handy .einstieg button { min-height: 67px; padding: 2px 8px; }
#stage.quer-handy .mo-tafel .mo-zahl b { font-size: 46px; } #stage.quer-handy .mo-tafel .mo-zahl span { display: none; } #stage.quer-handy .ende h2 { font-size: 20px; margin: 0; }
#stage.quer-handy .mo-tafel .reihe button, #stage.quer-handy details.mo-mehr summary { min-height: 70px; } #stage.quer-handy .ov-zu { width: 72px; height: 72px; }
#stage.quer-handy .menue .unter { line-height: 1.3; } #stage.quer-handy .modus { line-height: 1.2; } #stage.quer-handy .modus small { margin-top: 1px; }
#stage.quer-handy .mo-tafel .mo-zahl b { font-size: 56px; }
#stage.quer-handy .kasten.menue { padding: 10px 18px; } #stage.quer-handy .menue .titel { font-size: 30px; }

#cd { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); z-index: 7; padding: 10px 26px; border-radius: 30px; background: var(--meld); color: var(--meldT); font-size: 34px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
#cd.puls { animation: cdEin .38s ease-out; }
@keyframes cdEin { from { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #cd.puls { animation: none; } }
.mz .mbild { width: 30px; height: 30px; vertical-align: middle; margin-right: 6px; }
#dreh.zeig { animation: zeig 1s ease-in-out infinite; } @keyframes zeig { 50% { box-shadow: 0 0 0 10px rgba(255, 220, 120, .55), 0 6px 14px var(--schatten); } }
@media (prefers-reduced-motion: reduce) { #dreh.zeig { animation: none; box-shadow: 0 0 0 6px rgba(255, 220, 120, .55); } }
.stempel-neu { text-align: center; font-size: 15px; color: var(--mo-gold); margin: 4px 0; } .stempel-neu svg { width: 16px; height: 16px; vertical-align: -2px; }
.stempel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0; }
.stempel .st { border: 1px dashed rgba(255, 255, 255, .25); border-radius: 10px; padding: 8px; text-align: center; color: var(--mo-text); opacity: .75; }
.stempel .st.da { opacity: 1; border: 2px solid var(--mo-gold); background: rgba(227, 187, 99, .12); }
.stempel .st i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 auto 4px; border-radius: 50%; border: 2px solid currentColor; color: var(--mo-gold); }
.stempel .st i svg { width: 18px; height: 18px; } .stempel .st b { display: block; font-size: 14px; } .stempel .st small { display: block; font-size: 12px; opacity: .85; }
#stage.hoch .stempel, #stage.quer-handy .stempel { grid-template-columns: repeat(2, 1fr); } #stage.hoch .stempel .st b, #stage.quer-handy .stempel .st b { font-size: 16px; } #stage.hoch .stempel .st small, #stage.quer-handy .stempel .st small { font-size: 15px; }
#stage.hoch .stempel-neu, #stage.quer-handy .stempel-neu { font-size: 17px; }
#stage.quer-handy .menue .ansichten > span { display: none; }
:root[data-ansicht="schirm"] { --bg: #0d1016; --akzent: #6fe3f0; --akzent2: #23798a; --rand: rgba(40, 60, 70, .6); --email1: #e6e0cc; --email2: #b5ab92;
  --grund-q: url(img/kulisse-spaet.webp?v=1); --grund-h: url(img/kulisse-spaet-hoch.webp?v=1); --abdunkeln: .35; --mo-akzent: #6fe3f0; }
:root[data-ansicht="schirm"] .mo-tafel .reihe button.haupt { color: #06181b; }
#stage.hoch .mo-start, #stage.quer-handy .mo-start { --mo-fs-klein: 17px; --mo-fs-min: 17px; }
#stage.hoch .mo-start figcaption, #stage.quer-handy .mo-start figcaption, #stage.hoch .mo-start-kopf, #stage.quer-handy .mo-start-kopf, #stage.hoch .mo-start-neu > span, #stage.quer-handy .mo-start-neu > span { font-size: 17px; }
#stage.quer-handy .stempel .st b, #stage.quer-handy .stempel .st small { font-size: 17px; } #stage.quer-handy .stempel { grid-template-columns: repeat(4, 1fr); }
#w-serie { display: block; margin-top: 6px; font-size: 13px; color: #d9d1bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
#w-serie.heiss { color: var(--mo-gold); font-weight: 700; } #w-serie.glut { color: #ffb36a; text-shadow: 0 0 8px rgba(255, 150, 80, .6); }
#w-auf { display: block; margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--tinte); }
#w-auf.ok { color: #2d7a3c; font-weight: 700; } #w-auf.weg { color: var(--leise); text-decoration: line-through; }
#effekte { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } #effekte:empty { display: none; }
#effekte i { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 10px; color: #1f2a2c; border: 1px solid rgba(0, 0, 0, .2); background: #e8eef0; }
#effekte i.weich { background: #8fc0ea; } #effekte i.leine { background: #e0b878; } #effekte i.dopp { background: #a6e0ec; }
#stage.hoch #gangbox { flex-wrap: wrap; row-gap: 2px; } #stage.hoch #w-auf, #stage.hoch #effekte { flex-basis: 100%; margin-top: 0; }
#stage.hoch #w-serie, #stage.hoch #w-auf, #stage.hoch #effekte i { font-size: 15px; } #stage.hoch #w-serie { margin-top: 2px; }
#stage.quer-handy #w-serie, #stage.quer-handy #w-auf, #stage.quer-handy #effekte i { font-size: 16px; }
#feldbox { touch-action: none; }
.modi { grid-template-columns: repeat(2, 1fr); }
#stage.quer-handy .menue .modi { grid-template-columns: repeat(2, 1fr); }
#stage.hoch .modi { grid-template-columns: 1fr; }
.flugtafel { min-width: 440px; }
.auf-zeile { text-align: center; font-size: 15px; margin: 4px 0; } .auf-zeile.ok { color: var(--mo-gold); } .auf-zeile.weg { opacity: .7; }
.auftrag-neu { text-align: center; font-size: 15px; color: var(--mo-gold); margin: 4px 0; } .auftrag-neu svg { width: 16px; height: 16px; vertical-align: -2px; }
.auftr { display: grid; gap: 8px; margin: 8px 0; }
.auftr .at { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 10px; color: var(--mo-text); }
.auftr .at.da { border: 2px solid var(--mo-gold); background: rgba(227, 187, 99, .12); }
.auftr .at i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--mo-gold); color: var(--mo-gold); font-style: normal; font-weight: 700; font-size: 13px; }
.auftr .at i svg { width: 18px; height: 18px; } .auftr .at b { font-size: 15px; } .auftr .at small { font-size: 14px; color: var(--mo-gold); white-space: nowrap; }
.listen .zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#stage.hoch .listen .zwei { grid-template-columns: 1fr; }
#stage.hoch .auftr .at b, #stage.quer-handy .auftr .at b, #stage.hoch .auftr .at small, #stage.quer-handy .auftr .at small, #stage.hoch .auf-zeile, #stage.quer-handy .auf-zeile, #stage.hoch .auftrag-neu, #stage.quer-handy .auftrag-neu { font-size: 17px; }
#stage.quer-handy #feldbox { padding: 4px 0; } #stage.quer-handy #maschine { padding: 8px 12px 10px; } #stage.quer-handy #bull { padding: 12px 0 2px; }
#stage.hoch .auftr .at i, #stage.quer-handy .auftr .at i { font-size: 17px; width: 40px; height: 40px; }
#stage.quer-handy .pwahl { grid-template-columns: repeat(8, 1fr); gap: 6px; } #stage.quer-handy .pw { padding: 4px; }
#flugbahn { position: absolute; inset: 0; z-index: 15; pointer-events: none; overflow: visible; }
#flugbahn > i { position: absolute; left: 0; top: 0; pointer-events: none; }
.muenze { width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c8, #e3b23c 55%, #8a6514); box-shadow: 0 2px 6px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(120, 80, 10, .5); }
.muenze.f2 { box-shadow: 0 0 10px #ffd36a, inset 0 0 0 2px #fff3b8; }
.muenze.f3 { background: radial-gradient(circle at 35% 30%, #ffffff, #e3b23c 60%, #8a6514); box-shadow: 0 0 0 3px rgba(150, 220, 255, .8), 0 0 14px #bff4ff; }
.klammer-flug { width: 12px; height: 40px; margin: -20px 0 0 -6px; border-radius: 3px; background: linear-gradient(90deg, #d9a865 0 45%, #6b4a22 45% 55%, #c8955a 55%); border: 1px solid #6b4a22; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.klammer-flug.weg { filter: saturate(.6); }
#zaehler.klirr { animation: klirr .25s ease-out; } @keyframes klirr { 40% { box-shadow: 0 0 0 3px rgba(255, 211, 106, .55), 0 8px 18px var(--schatten); } }
#korb.wipp { animation: wipp .45s ease-out; } @keyframes wipp { 30% { transform: rotate(-2.5deg); } 65% { transform: rotate(1.5deg); } }
#tuer, #wasser { position: absolute; z-index: 2; pointer-events: none; opacity: 0; }
#tuer { inset: 0; border-radius: 50%; transform-origin: 0 50%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), rgba(190, 215, 222, .35) 38%, rgba(60, 92, 100, .6)); box-shadow: inset 0 0 0 12px rgba(225, 232, 236, .85), inset 0 0 30px rgba(0, 0, 0, .35); }
#tuer::after { content: ''; position: absolute; right: 6%; top: 44%; width: 10%; height: 12%; border-radius: 6px; background: linear-gradient(180deg, #e9eef0, #7f8c92); }
#tuer.zu { animation: tuerZu .36s ease-out forwards; } #tuer.auf { animation: tuerAuf .42s ease-in forwards; }
@keyframes tuerZu { from { opacity: .3; transform: perspective(700px) rotateY(-80deg); } to { opacity: 1; transform: perspective(700px) rotateY(0); } }
@keyframes tuerAuf { from { opacity: 1; transform: perspective(700px) rotateY(0); } to { opacity: 0; transform: perspective(700px) rotateY(-80deg); } }
#wasser { left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, rgba(150, 210, 240, .55), rgba(40, 110, 160, .75)); border-top: 3px solid rgba(220, 245, 255, .8); }
#wasser.steigt { animation: wasserRein .42s ease-out forwards; } #wasser.ab { animation: wasserAb .55s ease-in forwards; }
@keyframes wasserRein { from { opacity: 1; height: 0; } to { opacity: 1; height: 78%; } }
@keyframes wasserAb { from { opacity: 1; height: 78%; } to { opacity: 0; height: 0; } }
#glas.dreht { animation: dreht .9s cubic-bezier(.5, 0, .4, 1); } @keyframes dreht { to { transform: rotate(360deg); } }
#lampen i { transition: background .35s, box-shadow .35s; } #lampen i:nth-child(2) { transition-delay: .15s; }
#auf-stempel { display: inline-block; margin-top: 6px; padding: 1px 10px; border: 3px solid #b8382c; border-radius: 6px; color: #b8382c; font-weight: 700; font-size: 14px; letter-spacing: .12em; background: rgba(255, 250, 240, .85); transform: rotate(-6deg); }
#auf-stempel.weg { color: #5f6a6d; border-color: #6f7a7d; }
#auf-stempel.knall { animation: knall .38s cubic-bezier(.2, 1.4, .5, 1) both; }
@keyframes knall { from { opacity: 0; transform: rotate(-16deg) scale(2.6); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
#gangbox.ruck { animation: ruck .3s ease-out .1s; } @keyframes ruck { 30% { transform: translateY(3px); } 60% { transform: translateY(-1px); } }
.kerben { white-space: nowrap; } .kerben i { display: inline-block; width: 9px; height: 9px; margin-right: 2px; border: 1.5px solid currentColor; border-radius: 2px; vertical-align: -1px; transition: background .2s; }
.kerben i.an { background: #2d7a3c; border-color: #2d7a3c; }
#best-fort { display: block; height: 5px; margin-top: 5px; border-radius: 3px; background: rgba(60, 50, 20, .15); overflow: hidden; } #best-fort > i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
#bestzettel.flattern { animation: flattern .5s ease-in-out infinite alternate; } @keyframes flattern { from { transform: rotate(-2deg); } to { transform: rotate(1.2deg); } }
#bestzettel.reisst { animation: reisst .65s ease-in forwards; } @keyframes reisst { to { opacity: 0; transform: translateY(70px) rotate(20deg); } }
#bestzettel.neu { animation: zettelGlanz .9s ease-out; } @keyframes zettelGlanz { 35% { box-shadow: 0 0 0 4px rgba(255, 211, 106, .85), 0 8px 18px var(--schatten); } }
.flugtafel .mo-kachel { animation: kachelEin .35s cubic-bezier(.2, 1.3, .5, 1) backwards; }
.flugtafel .mo-kachel:nth-child(1) { animation-delay: .15s; } .flugtafel .mo-kachel:nth-child(2) { animation-delay: .35s; } .flugtafel .mo-kachel:nth-child(3) { animation-delay: .55s; } .flugtafel .mo-kachel:nth-child(4) { animation-delay: .75s; }
@keyframes kachelEin { from { opacity: 0; transform: translateY(16px); } }
.rueck { display: flex; justify-content: center; gap: 5px; margin: 4px 0 6px; overflow: hidden; }
.rueck i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--mo-akzent); border: 2px solid rgba(255, 255, 255, .5); animation: lampe .3s ease-out backwards; }
.rueck i.gold { background: var(--mo-gold); } .rueck i.fin { background: #ff8a6a; box-shadow: 0 0 8px #ff8a6a; } .rueck i.aus { background: transparent; border-color: #e0705f; }
@keyframes lampe { from { background: #3e4648; transform: scale(.4); opacity: .3; } }
.stempel-neu { animation: stempelNeu .4s cubic-bezier(.2, 1.4, .5, 1) 1s both; } @keyframes stempelNeu { from { opacity: 0; transform: scale(2); } }
#stage.hoch #auf-stempel { font-size: 15px; } #stage.quer-handy #auf-stempel { font-size: 16px; }
#stage.hoch .kerben i, #stage.quer-handy .kerben i { width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) {
  #tuer, #wasser, #flugbahn { display: none; } #glas.dreht, #auf-stempel.knall, #gangbox.ruck, #bestzettel.flattern, #bestzettel.reisst, #bestzettel.neu, .flugtafel .mo-kachel, .rueck i, .stempel-neu, #zaehler.klirr, #korb.wipp { animation: none; }
}
.ende .e-l, .ende .e-r { display: contents; }
#stage.quer-handy .kasten.ende { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-items: start; }
#stage.quer-handy .kasten.ende > .mo-kopf { grid-column: 1 / -1; padding-right: 80px; }
#stage.quer-handy .kasten.ende > .ov-zu { position: absolute; top: 6px; right: 6px; margin: 0; float: none; }
#stage.quer-handy .ende .e-l, #stage.quer-handy .ende .e-r { display: block; min-width: 0; }
#stage.quer-handy .ende .rueck { display: flex; }
#stage.quer-handy .ende .e-r { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: start; }
#stage.quer-handy .ende .e-r > * { grid-column: 1 / -1; }
#stage.quer-handy .ende .e-r > .reihe { grid-column: 1; margin-top: 8px; } #stage.quer-handy .ende .e-r > .mo-mehr { grid-column: 2; margin-top: 8px; }
#stage.quer-handy .ende .e-r > .mo-mehr[open] { grid-column: 1 / -1; }
#stage.quer-handy .ende .e-l .mo-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#best-geist { display: block; font-size: 13px; font-weight: 700; color: #5d5838; line-height: 1.2; }
#best-geist.vor { color: #2d7a3c; } #best-geist.hinter { color: #a8402e; }
#best-fort { position: relative; overflow: visible; } #best-fort .geist { position: absolute; top: -3px; width: 3px; height: 11px; margin-left: -1px; border-radius: 1px; background: #3b4648; opacity: .75; }
#stage.hoch #best-geist { font-size: 15px; } #stage.quer-handy #best-geist { font-size: 16px; }
#stage.quer-handy .stempelkarte .stempel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 4px 0; }
.stempel .st .tx { display: contents; }
#stage.quer-handy .stempelkarte .stempel .st { display: flex; gap: 8px; align-items: flex-start; text-align: left; padding: 6px 8px; }
#stage.quer-handy .stempelkarte .stempel .st i { flex: none; width: 30px; height: 30px; margin: 2px 0 0; }
#stage.quer-handy .stempelkarte .stempel .st .tx { display: block; line-height: 1.25; }
#stage.quer-handy .stempelkarte .stempel .st .tx b, #stage.quer-handy .stempelkarte .stempel .st .tx small { display: inline; }
#stage.quer-handy .stempelkarte .stempel .st .tx b::after { content: ' · '; font-weight: 400; }
#stage.quer-handy .stempelkarte .reihe, #stage.quer-handy .stempelkarte .klein { display: none; }
#stage.quer-handy .stempelkarte > .ov-zu { position: absolute; top: 6px; right: 6px; float: none; margin: 0; }
#stage.quer-handy .stempelkarte > .mo-kopf { padding-right: 80px; min-height: 58px; display: flex; align-items: center; justify-content: center; }
#stage.quer-handy .stempelkarte .stempel .st { gap: 6px; padding: 5px 6px; } #stage.quer-handy .stempelkarte .stempel .st i { width: 24px; height: 24px; } #stage.quer-handy .stempelkarte .stempel .st i svg { width: 14px; height: 14px; }
#stage.quer-handy .stempelkarte .stempel .st .tx, #stage.quer-handy .stempelkarte .stempel .st .tx b, #stage.quer-handy .stempelkarte .stempel .st .tx small { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
#stage.quer-handy .stempelkarte > .mo-kopf { min-height: 50px; }
.modus.breit { grid-column: 1 / -1; min-height: 0; }
i.stern { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; color: #9aa5aa; font-style: normal; vertical-align: -3px; }
i.stern svg { width: 15px; height: 15px; } i.stern.an { color: #c9921e; }
.mo-tafel i.stern { color: rgba(255, 255, 255, .28); } .mo-tafel i.stern.an { color: var(--mo-gold); }
#w-pruef { display: block; margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--tinte); }
#w-pruef .pz { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; white-space: nowrap; }
#w-pruef .pz.ok { color: #2d7a3c; font-weight: 700; } #w-pruef .pz.weg { color: var(--leise); text-decoration: line-through; }
#stage.hoch #w-pruef { font-size: 15px; flex-basis: 100%; margin-top: 0; } #stage.quer-handy #w-pruef { font-size: 16px; }
.mwahl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.mp { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; min-height: 84px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); color: var(--mo-text); }
.mp b { font-size: 22px; line-height: 1; } .mp span { font-size: 13px; text-align: center; } .mp .mst { display: flex; gap: 2px; }
.mp.voll { border: 2px solid var(--mo-gold); background: rgba(227, 187, 99, .12); } .mp.zu { opacity: .45; } .mp .mst svg { width: 15px; height: 15px; }
.mp:not(.zu):hover, .mp:focus-visible { border-color: var(--mo-akzent); box-shadow: 0 0 0 2px var(--mo-akzent); }
.m-sterne { display: flex; justify-content: center; gap: 12px; margin: 4px 0 6px; }
.m-sterne .gs { display: inline-flex; color: rgba(255, 255, 255, .16); } .m-sterne .gs svg { width: 46px; height: 46px; }
.m-sterne .gs.an { color: var(--mo-gold); filter: drop-shadow(0 0 8px rgba(227, 187, 99, .6)); animation: sternEin .5s cubic-bezier(.2, 1.5, .5, 1) backwards; }
@keyframes sternEin { from { opacity: 0; transform: rotate(-40deg) scale(2.2); } }
.m-sterne.klein .gs svg { width: 30px; height: 30px; } .m-sterne.klein .gs.an { animation: none; }
.m-ziele { list-style: none; margin: 6px auto; padding: 0; max-width: 420px; color: var(--mo-text); }
.m-ziele li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 15px; } .m-ziele li svg { width: 18px; height: 18px; flex: none; }
.m-ziele li.ok { color: #a7e7b1; } .m-ziele li.weg { color: #e3aa9e; }
.m-neu { text-align: center; color: var(--mo-gold); font-size: 15px; margin: 2px 0; }
.mb-prog { text-align: center; margin: 2px 0 4px; }
#stage.hoch .mwahl { grid-template-columns: repeat(3, minmax(0, 1fr)); } #stage.quer-handy .mwahl { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
#stage.hoch .mp span, #stage.quer-handy .mp span, #stage.hoch .m-ziele li, #stage.quer-handy .m-ziele li, #stage.hoch .m-neu, #stage.quer-handy .m-neu { font-size: 17px; }
#stage.hoch .mp, #stage.quer-handy .mp { min-height: 72px; }
#stage.quer-handy .meisterwahl > .ov-zu, #stage.quer-handy .meisterblatt > .ov-zu { position: absolute; top: 6px; right: 6px; float: none; margin: 0; }
#stage.quer-handy .meisterwahl > .mo-kopf, #stage.quer-handy .meisterblatt > .mo-kopf { padding-right: 80px; min-height: 50px; display: flex; align-items: center; justify-content: center; }
#stage.quer-handy .meisterwahl .klein { display: none; }
#stage.quer-handy .ende .m-sterne .gs svg { width: 38px; height: 38px; }
@media (prefers-reduced-motion: reduce) { .m-sterne .gs.an { animation: none; } }
#stage.quer-handy .menue .modus.breit { min-height: 67px; align-items: center; }
.einstieg .ek { display: none; }
#stage.quer-handy .menue .einstieg { flex-wrap: nowrap; gap: 5px; } #stage.quer-handy .menue .einstieg .el { display: none; } #stage.quer-handy .menue .einstieg .ek { display: inline; }
#stage.quer-handy .menue .einstieg button:nth-last-of-type(n+5) { display: none; }
#stage.quer-handy .menue .einstieg button { padding: 2px 6px; }
#stage.quer-handy .ende.meister .e-r > .reihe, #stage.quer-handy .ende.meister .e-r > .mo-mehr { grid-column: 1 / -1; }
#stage.hoch .modi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } #stage.hoch .modus { padding: 10px; }
.gross-moment { position: absolute; left: 50%; top: 50%; z-index: 8; transform: translate(-50%, -50%); padding: 14px 34px 16px; border-radius: 18px; text-align: center; white-space: nowrap; pointer-events: none;
  background: rgba(14, 24, 27, .93); border: 3px solid var(--mo-gold); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); animation: grossEin .38s cubic-bezier(.2, 1.4, .5, 1) both; }
.gross-moment b { display: block; font: 700 40px/1.1 var(--kopf, Georgia); color: var(--mo-gold); letter-spacing: .02em; }
.gross-moment span { display: block; margin-top: 4px; font-size: 17px; color: var(--mo-text); }
.gross-moment.aus { border-color: #d0604c; } .gross-moment.aus b { color: #ffb3a6; }
@keyframes grossEin { from { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
.flugtafel.abrechnung { pointer-events: auto; }
.flugtafel.abrechnung .reihe { margin-top: 10px; } .flugtafel.abrechnung .reihe button.haupt { padding: 12px 26px; font-size: 17px; }
.ab-tipp { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--mo-text); opacity: .85; }
#stage.hoch .ab-tipp, #stage.quer-handy .ab-tipp { display: none; }
#stage.hoch .flugtafel.abrechnung .reihe button.haupt, #stage.quer-handy .flugtafel.abrechnung .reihe button.haupt { min-height: 72px; }
#stage.hoch .gross-moment b, #stage.quer-handy .gross-moment b { font-size: 44px; } #stage.hoch .gross-moment span, #stage.quer-handy .gross-moment span { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .gross-moment { animation: none; } }
.flugtafel.abrechnung { min-width: 470px; } .flugtafel.abrechnung .mo-mini-kopf { font-size: 16px; } .flugtafel.abrechnung .mo-mini-fuss { font-size: 15px; }
.flugtafel.abrechnung .mo-kachel span { font-size: 13px; } .flugtafel.abrechnung .mo-kachel b { font-size: 22px; } .flugtafel.abrechnung .mo-kachel small { font-size: 13px; }
#stage.hoch .flugtafel.abrechnung .mo-kachel span, #stage.quer-handy .flugtafel.abrechnung .mo-kachel span, #stage.hoch .flugtafel.abrechnung .mo-kachel small, #stage.quer-handy .flugtafel.abrechnung .mo-kachel small { font-size: 17px; }
#stage.hoch .ziel-zeile, #stage.quer-handy .ziel-zeile { font-size: 17px; }
.mo-start.warten { pointer-events: auto; width: min(520px, 94%); }
.mo-start .sk-tipp, .mo-start .sk-auf, .mo-start .sk-gang { margin: 6px 0 0; font-size: 15px; line-height: 1.35; text-align: left; }
.mo-start .sk-auf { color: var(--mo-gold); } .mo-start .sk-gang { color: #ffd36a; font-weight: 700; text-align: center; }
.mo-start .reihe { margin-top: 10px; } .mo-start .reihe button.haupt { padding: 12px 30px; font-size: 17px; }
#stage.hoch .mo-start .sk-tipp, #stage.quer-handy .mo-start .sk-tipp, #stage.hoch .mo-start .sk-auf, #stage.quer-handy .mo-start .sk-auf, #stage.hoch .mo-start .sk-gang, #stage.quer-handy .mo-start .sk-gang { font-size: 17px; }
#stage.hoch .mo-start .reihe button.haupt, #stage.quer-handy .mo-start .reihe button.haupt { min-height: 72px; }
.mz img.mbild { width: 30px; height: 30px; vertical-align: middle; margin-right: 6px; }
#korb-fort { display: block; height: 5px; margin-top: 5px; border-radius: 3px; background: rgba(60, 50, 20, .18); overflow: hidden; } #korb-fort > i { display: block; height: 100%; width: 0; background: #2d7a3c; transition: width .3s; }
.kerben i.neu { animation: kerbe .45s cubic-bezier(.2, 1.6, .5, 1); } @keyframes kerbe { from { transform: scale(2.2); } }
#w-pruef .pz.pop { animation: zielPop .5s cubic-bezier(.2, 1.6, .5, 1); } @keyframes zielPop { 40% { transform: scale(1.35); } }
#w-pruef .pz.wack { animation: zielWack .4s; } @keyframes zielWack { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.wechsel { animation: wechsel 1.4s ease-out; } @keyframes wechsel { 30% { box-shadow: 0 0 0 4px var(--prog), 0 0 22px var(--prog); } }
.hoehe { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 6px; }
.hoehe span { padding: 3px 10px; border-radius: 12px; border: 1px solid rgba(227, 187, 99, .5); background: rgba(227, 187, 99, .1); color: var(--mo-text); font-size: 13px; animation: hoeheEin .4s ease-out backwards; }
@keyframes hoeheEin { from { opacity: 0; transform: translateY(8px); } }
#stage.hoch .hoehe span { font-size: 15px; } #stage.quer-handy .ende .hoehe { display: none; }
@media (prefers-reduced-motion: reduce) { .kerben i.neu, #w-pruef .pz.pop, #w-pruef .pz.wack, .wechsel, .hoehe span { animation: none; } }
.mo-start .mo-start-kopf, .mo-start .mo-start-neu > span, .mo-start figcaption { font-size: 15px; }
#best-geist.vor { color: #1d5a28; } #best-geist.hinter { color: #8e2f1f; }
#stage.quer-handy .mo-start.warten { top: 6px; width: min(560px, 96%); padding-top: 8px; padding-bottom: 8px; }
#stage.quer-handy .mo-start.warten:has(.sk-tipp) .mo-start-neu { display: none; }
#stage.quer-handy .mo-start.warten h3 { margin: 2px 0; } #stage.quer-handy .mo-start.warten p { margin-top: 3px; } #stage.quer-handy .mo-start.warten .reihe { margin-top: 6px; }
#leiste i.nachein { animation: lampeAuf .45s ease-out backwards; } @keyframes lampeAuf { from { transform: scale(.4); opacity: .2; } 60% { transform: scale(1.35); box-shadow: 0 0 10px var(--prog); } }
@media (prefers-reduced-motion: reduce) { #leiste i.nachein { animation: none; } }

#kulisse .nachtdunkel, #kulisse .neonschein { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 2.5s; }
#kulisse .nachtdunkel { background: rgba(6, 4, 18, .5); }
#kulisse .neonschein { background: linear-gradient(180deg, rgba(255, 90, 200, .45) 0, rgba(255, 90, 200, .18) 6%, rgba(255, 90, 200, 0) 22%); }
#stage.nacht #kulisse .nachtdunkel { opacity: 1; }
#stage.nacht #kulisse .neonschein { opacity: 1; animation: neonflacker 6.5s steps(1, end) infinite 2.5s; }
@keyframes neonflacker { 0% { opacity: 1; } 61% { opacity: .25; } 62% { opacity: 1; } 64% { opacity: .35; } 65% { opacity: 1; } 88% { opacity: .2; } 90% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #stage.nacht #kulisse .neonschein { animation: none; } }
#uebOrt { --sgzl-grund: var(--tafel1); --sgzl-text: var(--tinte); --sgzl-akzent: var(--akzent2); --sgzl-akzent-text: #fff; flex: 0 1 auto; min-height: 0; overflow: auto; }
#stage.ueb #bestzettel, #stage.ueb #korb { display: none; }
#uebOrt .sgzl { margin: 0; padding: 10px 12px; font-size: 15px; }
#uebOrt .sgzl-kopf { min-height: 34px; margin-right: 44px; }
#uebOrt .sgzl-titel { font-size: 17px; }
#uebOrt .ueb-tat { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
#uebOrt .ueb-tat[hidden] { display: none; }
#uebOrt .ueb-vormachen { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border-radius: 10px; border: 2px solid var(--akzent2); background: var(--tafel1); color: var(--tinte); font: inherit; font-size: 16px; font-weight: 700; }
#uebOrt .ueb-vormachen[hidden] { display: none; }
#uebOrt .ueb-vormachen svg { width: 20px; height: 20px; }
#uebOrt .ueb-zeigt { flex: 1 1 140px; padding: 6px 10px; border-radius: 8px; background: var(--meld); color: var(--meldT); font-size: 15px; }
#uebOrt .ueb-zeigt:empty { display: none; }
#stage.hoch.ueb #zaehler { display: none; }
#stage.hoch #uebOrt { flex: 1 1 auto; }
#stage.hoch #uebOrt .sgzl { padding: 10px 14px; }
#stage.hoch #uebOrt .sgzl-kopf { font-size: 14px; min-height: 60px; margin-right: 62px; }
#stage.hoch #uebOrt .sgzl-titel { font-size: 19px; } #stage.hoch #uebOrt .sgzl-text { font-size: 17px; line-height: 1.35; }
#stage.hoch #uebOrt .sgzl-x { width: 60px; height: 60px; }
#stage.hoch #uebOrt .sgzl-weiter, #stage.hoch #uebOrt .ueb-vormachen { min-height: 62px; padding: 10px 24px; font-size: 18px; }
#stage.hoch #uebOrt .ueb-zeigt { font-size: 16px; }
#stage.quer-handy.ueb #zaehler { display: none; }
#stage.quer-handy #uebOrt { margin-bottom: 104px; }
#stage.quer-handy #uebOrt .sgzl { padding: 8px 10px; }
#stage.quer-handy #uebOrt .sgzl-kopf { font-size: 15px; min-height: 66px; margin-right: 70px; }
#stage.quer-handy #uebOrt .sgzl-titel { font-size: 16px; } #stage.quer-handy #uebOrt .sgzl-text { font-size: 15px; line-height: 1.3; }
#stage.quer-handy #uebOrt .sgzl-x { width: 66px; height: 66px; }
#stage.quer-handy #uebOrt .sgzl-weiter, #stage.quer-handy #uebOrt .ueb-vormachen { min-height: 66px; margin-top: 6px; padding: 8px 18px; font-size: 17px; }
.lern-ende p { max-width: 520px; margin: 8px auto; text-align: center; } .lern-ende h2 { text-align: center; } .lern-ende .reihe { justify-content: center; }
#lo-lern { --sgzl-grund: var(--tafel1); --sgzl-text: var(--tinte); --sgzl-akzent: var(--akzent2); margin: 0 0 10px; }
#stage:not(.hoch) #lo-lern { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; padding: 8px 14px; }
#stage.hoch #lo-lern { min-height: 76px; }
#stage.hoch #lernEnde .reihe button { min-height: 60px; } #stage.quer-handy #lernEnde .reihe button { min-height: 66px; }
