/* KG Flamingarde – Design der Startseite */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow-x: hidden; }
body {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #ff6fb5, #ff3d98, #ff8cc6, #ff4fa3);
  background-size: 400% 400%;
  animation: shimmer 18s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Konfetti-Ebene */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

main {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  padding: 2rem;
}

/* Logo */
.logo-link {
  display: block;
  animation: float 4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.logo-link img {
  display: block;
  width: min(68vw, 340px, 40vh);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(110, 0, 55, .4));
  transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.logo-link:hover img, .logo-link:focus-visible img { transform: scale(1.08) rotate(-3deg); }
.logo-link:active img { transform: scale(.95); }
.logo-link { touch-action: manipulation; }
.logo-link.wobble img { animation: wobble .3s ease; }
@keyframes wobble { 0%,100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-6deg) scale(1.06); } 70% { transform: rotate(5deg) scale(1.03); } }
.logo-link:focus-visible { outline: 4px solid #fff; outline-offset: 10px; border-radius: 12px; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  color: #fff; text-decoration: none;
  padding: .65rem 1.3rem; border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.cta:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.cta svg { width: 1.2em; height: 1.2em; }

/* Party-Banner (11.11. & Karneval) */
.banner {
  display: none;
  font-weight: 800; font-size: clamp(1rem, 4.5vw, 1.4rem); letter-spacing: .03em;
  color: #13352a; background: #ffd23f;
  padding: .45rem 1.2rem; border-radius: 999px; white-space: nowrap;
  border: 3px solid #13352a;
  box-shadow: 0 6px 0 #13352a;
  transform: rotate(-3deg);
  animation: wiggle 1.6s ease-in-out infinite;
}
body.party .banner { display: block; }
.banner.flip { animation: flip .45s ease, wiggle 1.6s ease-in-out .45s infinite; }
@keyframes flip { 0% { transform: rotate(-3deg) scaleY(1); } 50% { transform: rotate(-3deg) scaleY(0); } 100% { transform: rotate(-3deg) scaleY(1); } }
.birthday-cake { position: fixed; z-index: 5; left: 50%; bottom: -160px; width: 150px; margin-left: -75px; pointer-events: none;
  animation: cake 6s ease forwards; }
.birthday-cake svg { width: 100%; height: auto; display: block; overflow: visible; }
.birthday-cake .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .25s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scale(1, 1) rotate(-4deg); } to { transform: scale(.85, 1.15) rotate(4deg); } }
@keyframes cake { 0% { bottom: -160px; } 15%, 80% { bottom: 40px; } 100% { bottom: -160px; } }
@keyframes wiggle { 0%,100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(2deg) scale(1.05); } }

/* Countdown */
.countdown { text-align: center; }
.countdown .label { font-size: .85rem; font-weight: 600; opacity: .95; margin-bottom: .35rem; letter-spacing: .04em; text-transform: uppercase; }
.countdown .units { display: flex; gap: .45rem; justify-content: center; }
.countdown .unit {
  min-width: 3.6rem; padding: .45rem .3rem .35rem;
  background: rgba(255,255,255,.95); color: #13352a;
  border: 3px solid #13352a; border-radius: 12px;
  box-shadow: 0 4px 0 #13352a;
}
.countdown .num { display: block; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown .unit small { font-size: .65rem; font-weight: 700; text-transform: uppercase; color: #c81d73; }
.countdown .live { font-size: 1.3rem; font-weight: 800; }

/* 11:11-Blitz */
.flash { position: fixed; inset: 0; z-index: 5; pointer-events: none; background: #fff; opacity: 0; }
.flash.go { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

footer { position: relative; z-index: 4; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); text-align: center; font-size: .85rem; opacity: .9; }
footer a { color: #fff; }

/* Flamingo-Auftritte */
.flamingo { position: fixed; z-index: 3; width: 120px; pointer-events: auto; cursor: pointer;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.flamingo svg { width: 100%; height: auto; display: block; overflow: visible;
  filter: drop-shadow(0 8px 8px rgba(90,0,45,.3)); }
.flamingo.facing-left svg { transform: scaleX(-1); }

/* 1) Läuft unten durchs Bild */
.flamingo.walk { bottom: 8px; animation: walk-across var(--dur, 9s) linear both; animation-delay: var(--delay, 0s); }
.flamingo.walk .body-bob { animation: bob .5s ease-in-out infinite; }
.flamingo.walk .leg-a { animation: step .5s ease-in-out infinite; }
.flamingo.walk .leg-b { animation: step .5s ease-in-out infinite reverse; }
@keyframes walk-across { from { left: var(--from); } to { left: var(--to); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes step { 0%,100% { transform: rotate(16deg); } 50% { transform: rotate(-16deg); } }
.leg-a, .leg-b { transform-origin: 50% 0%; transform-box: fill-box; }

/* 2) Schaut vom Rand herein */
.flamingo.peek { bottom: 18%; animation: peek 4.2s ease-in-out forwards; }
.flamingo.peek.from-left { left: 0; --out: -100%; --in: -38%; }
.flamingo.peek.from-right { right: 0; --out: 100%; --in: 38%; }
@keyframes peek {
  0%   { transform: translateX(var(--out)) rotate(0); }
  18%  { transform: translateX(var(--in)) rotate(0); }
  30%  { transform: translateX(var(--in)) rotate(-6deg); }
  42%  { transform: translateX(var(--in)) rotate(6deg); }
  54%  { transform: translateX(var(--in)) rotate(0); }
  80%  { transform: translateX(var(--in)); }
  100% { transform: translateX(var(--out)); }
}
.flamingo.peek.from-right svg { transform: scaleX(-1); }
.flamingo .eye-lid { transform-origin: center; transform-box: fill-box; transform: scaleY(0); }
.flamingo.peek .eye-lid { animation: wink 4.2s forwards; }
@keyframes wink { 0%,58% { transform: scaleY(0); } 62%,66% { transform: scaleY(1); } 70%,100% { transform: scaleY(0); } }

/* 3) Fliegt oben quer */
.flamingo.fly { top: 3%; width: 110px; animation: fly-across var(--dur, 7s) linear forwards; }
.flamingo.fly .wing { animation: flap .35s ease-in-out infinite; transform-origin: 75% 30%; transform-box: fill-box; }
.flamingo.fly .leg-a, .flamingo.fly .leg-b { transform: rotate(70deg); }
@keyframes fly-across {
  0%   { left: var(--from); transform: translateY(0) rotate(-8deg); }
  25%  { transform: translateY(-20px) rotate(-6deg); }
  50%  { transform: translateY(10px) rotate(-10deg); }
  75%  { transform: translateY(-15px) rotate(-6deg); }
  100% { left: var(--to); transform: translateY(0) rotate(-8deg); }
}
@keyframes flap { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-35deg); } }

.flamingo.hop svg { animation: hop .5s ease-out; }
@keyframes hop { 0%,100% { translate: 0 0; } 40% { translate: 0 -40px; } }

/* ---------- Aggerblitz ---------- */
.train { position: fixed; z-index: 3; bottom: 64px; width: min(78vw, 420px); cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  animation: train-run var(--dur, 6s) linear forwards; filter: drop-shadow(0 10px 10px rgba(90,0,45,.3)); }
.train svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes train-run { from { left: var(--from); } to { left: var(--to); } }
.train .wheel { transform-box: fill-box; transform-origin: center; animation: spin .35s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.train .rider { transform-box: fill-box; transform-origin: 50% 100%; animation: wave .5s ease-in-out infinite alternate; }
.train .rider:nth-of-type(2n) { animation-delay: -.25s; }
@keyframes wave { from { transform: translateY(2px) rotate(-12deg); } to { transform: translateY(-4px) rotate(12deg); } }
.train .rumble { animation: rumble .18s linear infinite; }
@keyframes rumble { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
.train.honk .rumble { animation: honk .4s ease-out; }
@keyframes honk { 0%,100% { transform: scale(1); } 40% { transform: scale(1.05, .95); } }

/* ---------- Nachtmodus ---------- */
body.night { background: linear-gradient(135deg, #1b0830, #3d0c4f, #10203f, #2d0a3c); background-size: 400% 400%; }
body.night .logo-link img { filter: drop-shadow(0 0 18px rgba(255,79,163,.85)) drop-shadow(0 0 40px rgba(47,181,255,.45)); }
body.night .cta { border-color: #ff4fa3; box-shadow: 0 0 14px rgba(255,79,163,.7); }
.disco, .lights { display: none; }
body.night .disco, body.night .lights { display: block; }
.disco { position: fixed; z-index: 1; top: 0; right: 14px; width: 60px; pointer-events: none;
  transform-origin: 50% 0; animation: swing 4s ease-in-out infinite; }
.disco .string { width: 2px; height: 22px; margin: 0 auto; background: #ccc; }
.disco .ball { width: 60px; height: 60px; border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 35% 30%, #fff 0 8%, #d9d9e8 20%, #8a8aa8 60%, #4b4b66 100%);
  background-size: 9px 9px, 9px 9px, 100% 100%;
  box-shadow: 0 0 30px rgba(255,255,255,.6), 0 0 80px rgba(255,79,163,.5);
  animation: glitter 1.2s steps(4) infinite; }
@keyframes swing { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes glitter { to { background-position: 9px 0, 0 9px, 0 0; } }
.lights { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.lights span { position: absolute; width: 38vmax; height: 38vmax; border-radius: 50%; opacity: .32; filter: blur(30px);
  animation: roam var(--t, 9s) ease-in-out infinite alternate; }
@keyframes roam { from { transform: translate(var(--x1), var(--y1)); } to { transform: translate(var(--x2), var(--y2)); } }
body.night .flamingo.walk .body-bob { animation: dance .4s ease-in-out infinite; transform-box: view-box; transform-origin: 60px 120px; }
@keyframes dance { 0%,100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(9deg) translateY(-6px); } }

/* ---------- Hinweis-Toast ---------- */
.toast { position: fixed; z-index: 12; left: 50%; top: 18%; transform: translate(-50%, 0) scale(.6); opacity: 0;
  pointer-events: none; width: max-content; max-width: 90vw; text-align: center;
  font-weight: 800; font-size: clamp(1.1rem, 5.5vw, 2rem); color: #13352a; background: #ffd23f;
  padding: .5rem 1.3rem; border: 3px solid #13352a; border-radius: 28px; box-shadow: 0 6px 0 #13352a; }
.toast.show { animation: toast 2.6s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%,0) scale(.6); } 12%,80% { opacity: 1; transform: translate(-50%,0) scale(1); } 100% { opacity: 0; transform: translate(-50%,-20px) scale(1); } }

/* Polonaise: enger, hüpfender */
.flamingo.polo .body-bob { animation: dance .35s ease-in-out infinite; transform-box: view-box; transform-origin: 60px 120px; }

/* ---------- Spiel ---------- */
.game-btn { font: inherit; font-weight: 700; font-size: .9rem; color: #13352a; background: #ffd23f; cursor: pointer;
  border: 3px solid #13352a; border-radius: 999px; padding: .4rem 1rem; box-shadow: 0 4px 0 #13352a; white-space: nowrap; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
a.game-btn { text-decoration: none; display: inline-block; }
.game-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #13352a; }
#game { position: fixed; inset: 0; z-index: 8; display: none; background: rgba(27, 8, 48, .55); backdrop-filter: blur(2px);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; }
#game.on { display: block; }
#game .hud { position: absolute; top: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: .6rem; z-index: 2; }
#game .hud div { background: #fff; color: #13352a; font-weight: 800; font-size: 1.2rem; border: 3px solid #13352a;
  border-radius: 12px; padding: .3rem .8rem; box-shadow: 0 4px 0 #13352a; font-variant-numeric: tabular-nums; }
#game .target { position: absolute; width: 86px; height: 86px; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; animation: pop .18s ease-out; }
#game .target svg { width: 100%; height: 100%; overflow: visible; }
#game .target.gold svg { filter: sepia(1) saturate(5) hue-rotate(5deg) brightness(1.15) drop-shadow(0 0 10px #ffd23f); }
#game .target.hit { animation: hit .25s ease-in forwards; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes hit { to { transform: scale(1.5) rotate(20deg); opacity: 0; } }
#game .card { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3;
  background: #fff; color: #13352a; text-align: center; border: 4px solid #13352a; border-radius: 20px;
  box-shadow: 0 8px 0 #13352a; padding: 1.4rem 1.6rem; min-width: 260px; }
#game .card h2 { color: #d02a78; margin-bottom: .4rem; }
#game .card p { margin: .3rem 0; }
#game .card .big { font-size: 2.6rem; font-weight: 800; }
#game .card .row { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; }

/* ---------- Saison-Kostüme ---------- */
.hat-santa { display: none; }
body.season-xmas .hat-santa { display: inline; }
body.season-xmas .hat-jester { display: none; }
body.seasonal .banner { display: block; }
.egg { position: fixed; z-index: 4; width: 30px; height: 38px; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; animation: egg-wobble 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
.egg svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 4px 4px rgba(90,0,45,.3)); }
.egg.found { animation: egg-found .45s ease-in forwards; pointer-events: none; }
@keyframes egg-wobble { 0%,80%,100% { transform: rotate(0); } 85% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
@keyframes egg-found { 40% { transform: scale(1.5) rotate(15deg); } 100% { transform: scale(0) rotate(40deg); opacity: 0; } }

/* ---------- ☰ Menü ---------- */
main { padding-top: 4.2rem; }
.menu-btn { position: fixed; z-index: 11; top: 12px; left: 12px; width: 48px; height: 48px; border-radius: 14px;
  background: #fff; border: 3px solid #13352a; box-shadow: 0 4px 0 #13352a; cursor: pointer; padding: 0 10px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px; -webkit-tap-highlight-color: transparent; }
.menu-btn span { display: block; height: 4px; border-radius: 2px; background: #13352a; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.backdrop { position: fixed; inset: 0; z-index: 9; background: rgba(27, 8, 48, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.backdrop.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 10; top: 0; left: 0; bottom: 0; width: min(82vw, 320px); background: #fff; color: #13352a;
  border-right: 4px solid #13352a; box-shadow: 8px 0 0 rgba(19,53,42,.25); padding: 74px 14px 16px; overflow-y: auto;
  transform: translateX(-105%); transition: transform .3s cubic-bezier(.3,1.2,.5,1); display: flex; flex-direction: column; gap: .7rem; }
.drawer.on { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .3rem; }
.drawer-head img { width: 56px; height: auto; }
.drawer-head .since { display: block; font-size: .75rem; font-weight: 600; color: #13352a; opacity: .75; margin-top: .2rem; }
.drawer-head strong { font-size: 1.15rem; line-height: 1.15; color: #d02a78; }
.drawer button { display: flex; align-items: center; gap: .7rem; text-align: left; font: inherit; font-size: 1.6rem; color: #13352a;
  background: #ffe3f0; border: 3px solid #13352a; border-radius: 16px; padding: .7rem .8rem; box-shadow: 0 4px 0 #13352a; cursor: pointer; }
.drawer button:active { transform: translateY(3px); box-shadow: 0 1px 0 #13352a; }
.drawer button span { font-size: 1.02rem; font-weight: 800; display: flex; flex-direction: column; }
.drawer button small { font-size: .78rem; font-weight: 500; opacity: .8; }
.drawer-foot { margin-top: auto; font-size: .8rem; text-align: center; padding-top: 1rem; }
.drawer-foot a { color: #d02a78; }

/* ---------- Gadget-Fenster ---------- */
.sheet { position: fixed; inset: 0; z-index: 8; overflow-y: auto; padding: 4.4rem 1rem 2rem;
  background: linear-gradient(135deg, #ff6fb5, #ff3d98, #ff8cc6); color: #13352a; -webkit-user-select: text; user-select: text;
  animation: sheet-in .3s ease; }
.sheet[hidden] { display: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.sheet-close { position: fixed; z-index: 2; top: 14px; right: 14px; font: inherit; font-weight: 800; color: #13352a; background: #fff;
  border: 3px solid #13352a; border-radius: 999px; padding: .45rem .9rem; box-shadow: 0 4px 0 #13352a; cursor: pointer; }
.sheet .card { max-width: 640px; margin: 0 auto; background: #fff; border: 4px solid #13352a; border-radius: 22px; box-shadow: 0 8px 0 #13352a; padding: 1.2rem; }
.sheet h2 { color: #d02a78; font-size: 1.4rem; margin-bottom: .3rem; }
.sheet .card > p { margin-bottom: .9rem; line-height: 1.45; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: inherit; font-weight: 800;
  color: #13352a; background: #ffd23f; border: 3px solid #13352a; border-radius: 999px; padding: .55rem 1.1rem;
  box-shadow: 0 4px 0 #13352a; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #13352a; }
.btn.pink { background: #ff8cc6; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.sheet .row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.sheet input[type=file] { display: none; }
.stage { position: relative; margin: .8rem auto 0; max-width: 420px; }
#preview { display: block; width: 100%; height: auto; border-radius: 14px; touch-action: none; cursor: grab; box-shadow: 0 6px 18px rgba(0,0,0,.15); background: #ffe3f0; }
.zoom { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; font-weight: 700; }
.zoom input { flex: 1; accent-color: #ff4fa3; }
.hint { font-size: .85rem; opacity: .75; margin-top: .5rem; }
.name-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.name-form input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: .6rem .9rem; border: 3px solid #13352a; border-radius: 14px; }
.result { display: none; margin-top: 1rem; text-align: center; background: #fff3f8; border: 3px dashed #ff4fa3; border-radius: 18px; padding: 1rem; }
.result.on { display: block; animation: rpop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes rpop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result svg { width: 110px; height: auto; display: block; margin: 0 auto .4rem; }
.result .title { font-size: 1.5rem; font-weight: 900; color: #d02a78; line-height: 1.2; }
.result .extra { margin-top: .4rem; }
.result .row { justify-content: center; }
.msg { min-height: 1.2em; font-size: .9rem; margin-top: .5rem; font-weight: 700; }
body.sheet-open { overflow: hidden; }
.drawer-sec { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #d02a78; margin: .4rem 0 -.2rem .2rem; }
.advent-only { display: none !important; }
body.advent-on .drawer .advent-only { display: flex !important; }
body.advent-on .drawer div.advent-only { display: block !important; }
.menu-btn.badge::after { content: ''; position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%;
  background: #e3262e; border: 3px solid #fff; animation: pulse 1.4s ease-in-out infinite; }
.menu-btn { position: fixed; }
@keyframes pulse { 50% { transform: scale(1.3); } }
.sheet .center { text-align: center; }
.sheet .row.center { justify-content: center; }

/* Tusch */
.tusch-pad { position: fixed; z-index: 7; right: 18px; bottom: calc(52px + env(safe-area-inset-bottom)); }
.tusch-pad[hidden] { display: none; }
.tusch-btn { width: 112px; height: 112px; border-radius: 50%; font: inherit; font-size: 2.6rem; cursor: pointer; color: #13352a;
  background: radial-gradient(circle at 35% 30%, #fff6c8, #ffd23f 55%, #f0a800); border: 5px solid #13352a; box-shadow: 0 8px 0 #13352a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; -webkit-tap-highlight-color: transparent; }
.tusch-btn span { font-size: 1.05rem; font-weight: 900; margin-top: .2rem; }
.tusch-btn:active, .tusch-btn.hit { transform: translateY(6px) scale(.96); box-shadow: 0 2px 0 #13352a; }
.tusch-x { position: absolute; top: -6px; right: -10px; width: 34px; height: 34px; border-radius: 50%; font: inherit; font-weight: 900;
  background: #fff; color: #13352a; border: 3px solid #13352a; cursor: pointer; }

/* Bingo */
.bingo { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: .4rem; }
.bingo button { aspect-ratio: 1; font: inherit; font-size: clamp(.62rem, 2.9vw, .85rem); font-weight: 700; line-height: 1.15; color: #13352a;
  background: #fff3f8; border: 3px solid #13352a; border-radius: 12px; padding: .25rem; cursor: pointer; position: relative; overflow: hidden;
  hyphens: auto; -webkit-hyphens: auto; word-break: break-word; }
.bingo button.on { background: #ffd23f; }
.bingo button.on::after { content: '🦩'; position: absolute; right: 2px; bottom: 0; font-size: 1.3rem; opacity: .9; }
.bingo button.win { background: #7ed957; }

/* Kostüm-Würfel */
.dice { font-size: 4rem; margin: .4rem 0; display: inline-block; }
.dice.roll { animation: roll .7s ease-out; }
@keyframes roll { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(540deg) scale(1.3); } 100% { transform: rotate(720deg) scale(1); } }
.costume { font-size: 1.45rem; font-weight: 900; color: #d02a78; line-height: 1.25; min-height: 3.6rem; display: flex; align-items: center; justify-content: center; }

/* Adventskalender */
.advent { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.advent button { aspect-ratio: 1; font: inherit; font-size: 1.35rem; font-weight: 900; color: #fff; cursor: pointer; border: 3px solid #13352a; border-radius: 12px;
  background: linear-gradient(135deg, #e3262e, #c81d4a); box-shadow: 0 4px 0 #13352a; position: relative; }
.advent button:nth-child(3n) { background: linear-gradient(135deg, #ff4fa3, #d02a78); }
.advent button:nth-child(4n+1) { background: linear-gradient(135deg, #2a8f5a, #1d6b43); }
.advent button::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: #ffd23f; opacity: .85; }
.advent button span { position: relative; text-shadow: 0 2px 0 #13352a; }
.advent button.locked { filter: grayscale(.6) brightness(.85); cursor: not-allowed; }
.advent button.opened { background: #fff3f8 !important; color: #13352a; font-size: 1.6rem; }
.advent button.opened::before { display: none; }
.advent button.today { animation: pulse 1.4s ease-in-out infinite; }
.door-open { text-align: center; padding: .6rem 0 .2rem; animation: rpop .35s cubic-bezier(.3,1.6,.5,1); }
.door-open[hidden] { display: none; }
.door-num { font-size: 2.6rem; font-weight: 900; color: #d02a78; }
.door-text { font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin: .4rem 0; white-space: pre-line; }

/* ---------- Testmenü ---------- */
#testmenu { position: fixed; z-index: 9; right: 8px; bottom: 8px; max-width: 230px; background: rgba(255,255,255,.96);
  color: #13352a; border: 3px solid #13352a; border-radius: 14px; padding: .5rem; font-size: .8rem; box-shadow: 0 4px 0 #13352a; }
#testmenu strong { display: block; margin: 0 0 .35rem .2rem; }
#testmenu .grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
#testmenu button { font: inherit; font-weight: 700; color: #13352a; background: #ffe3f0; border: 2px solid #13352a;
  border-radius: 8px; padding: .35rem .3rem; cursor: pointer; }
#testmenu button.active { background: #ffd23f; }
#testmenu.min .grid { display: none; }

@media (prefers-reduced-motion: reduce) {
  body, .logo-link, .banner { animation: none; }
  .flamingo, .train, .lights, .disco, .egg { display: none !important; }
  .dice.roll, .advent button.today, .menu-btn.badge::after { animation: none; }
}
