/* KILL DECEMBER · Frost & Feuer
   Die Oberfläche ist gefroren (Polarnacht, Frost-Glas). Feuer gibt es nur für Verdientes: Serie, eingecheckte Tage,
   den Check-in, wenn er fällig ist. Ein Held je Ansicht: die Flamme (Heute), der Schriftzug (Start), das Podest (Crew). */

@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nacht: #0b1424;
  --nacht-tief: #050913;
  --tiefsee: #101c31;
  --tiefsee-2: #16243d;
  --frost: #eaf2ff;
  --frost-2: #c9d7ec;
  --raureif: #8fa3c0;
  --raureif-2: #5d7191;
  --eis: #9cd3ff;
  --eis-tief: #3d7bb8;
  --glut-hell: #fff4c2;
  --glut-gold: #ffb23f;
  --glut: #ff5b2e;
  --glut-tief: #d7263d;
  --gefahr: #ff7a8a;
  --feuer: linear-gradient(135deg, #ffd56b 0%, #ff9a2e 38%, #ff5b2e 68%, #d7263d 100%);
  --linie: rgba(156, 211, 255, .13);
  --linie-2: rgba(156, 211, 255, .22);
  --glas: rgba(16, 28, 49, .58);
  --glas-hell: rgba(156, 211, 255, .06);
  --r-gross: 28px;
  --r-mittel: 18px;
  --r-klein: 12px;
  --schrift: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --oben: env(safe-area-inset-top, 0px);
  --unten: env(safe-area-inset-bottom, 0px);
  --leiste: 76px;
  --spalte: 560px;
  --weich: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--nacht-tief); }
body {
  margin: 0;
  min-height: 100dvh;
  font: 400 16px/1.5 var(--schrift);
  color: var(--frost);
  background:
    radial-gradient(120% 60% at 50% -10%, #1b3157 0%, rgba(11, 20, 36, 0) 62%),
    radial-gradient(80% 50% at 100% 100%, rgba(61, 123, 184, .10) 0%, rgba(11, 20, 36, 0) 60%),
    linear-gradient(180deg, var(--nacht) 0%, var(--nacht-tief) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overscroll-behavior-y: none;
}
/* Filmkorn und Frost am Rand: das Gefühl einer gefrorenen Scheibe */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .9 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: overlay;
}
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(140% 90% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(156, 211, 255, .07) 100%);
}

a { color: var(--eis); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
::selection { background: rgba(255, 91, 46, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--eis); outline-offset: 3px; border-radius: 10px; }

.app { position: relative; z-index: 1; min-height: 100dvh; }
.seite {
  width: min(100%, var(--spalte));
  margin: 0 auto;
  padding: calc(var(--oben) + 18px) 20px calc(var(--leiste) + var(--unten) + 36px);
}
.seite--breit { width: min(100%, 1120px); }
.seite--ohne-leiste { padding-bottom: calc(var(--unten) + 40px); }

/* ---------------------------------------------------------------- Schrift */

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: -.045em;
  margin: 0;
}
h1, .h1 { font: 800 30px/1.06 var(--display); letter-spacing: -.02em; margin: 0; }
h2, .h2 { font: 700 20px/1.15 var(--display); letter-spacing: -.015em; margin: 0; }
h3, .h3 { font: 600 17px/1.3 var(--schrift); margin: 0; }
p { margin: 0; }
.leise { color: var(--raureif); }
.klein { font-size: 13.5px; line-height: 1.45; }
.mini { font-size: 12px; line-height: 1.4; color: var(--raureif); }
.zahl { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.text-feuer { background: var(--feuer); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plus { color: #ffb878; }
.minus { color: var(--eis); }
.absatz { max-width: 62ch; }
.stapel > * + * { margin-top: 12px; }
.stapel-gross > * + * { margin-top: 28px; }
.zeile { display: flex; align-items: center; gap: 12px; }
.zeile--zwischen { justify-content: space-between; }
.zeile--oben { align-items: flex-start; }
.wachsen { flex: 1 1 auto; min-width: 0; }
.mitte { text-align: center; }
.abschnitt { margin-top: 34px; }
.abschnitt__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.abschnitt__kopf a, .abschnitt__kopf button { font-size: 14px; }

/* ---------------------------------------------------------------- Knöpfe */

.knopf {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px;
  border-radius: 16px; border: 1px solid transparent;
  font: 600 16px/1 var(--schrift);
  cursor: pointer;
  transition: transform .18s var(--weich), background-color .2s, border-color .2s, opacity .2s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  white-space: nowrap;
}
.knopf:active { transform: scale(.97); }
.knopf:disabled { opacity: .45; cursor: default; transform: none; }
.knopf--voll { width: 100%; }
.knopf--klein { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf--feuer {
  position: relative; overflow: hidden;
  color: #2b0a02;
  background: var(--feuer);
  box-shadow: 0 10px 34px -10px rgba(255, 91, 46, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.knopf--feuer::after {
  content: ''; position: absolute; inset: -40% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%);
  transform: translateX(-60%);
  animation: glanz 4.2s var(--weich) infinite;
  pointer-events: none;
}
@keyframes glanz { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.knopf--frost { background: var(--glas-hell); border-color: var(--linie-2); color: var(--frost); }
.knopf--frost:hover { background: rgba(156, 211, 255, .1); }
.knopf--leise { background: transparent; color: var(--eis); min-height: 44px; padding: 0 8px; }
.knopf--gefahr { background: rgba(255, 122, 138, .08); border-color: rgba(255, 122, 138, .3); color: var(--gefahr); }
.knopf--rund { width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.knopf .laden { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: drehen .8s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- Felder */

.feld { display: block; }
.feld__name { display: block; font-size: 14px; font-weight: 500; color: var(--frost-2); margin-bottom: 8px; }
.feld__hilfe { display: block; font-size: 12.5px; color: var(--raureif); margin-top: 7px; line-height: 1.4; }
.eingabe {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--linie);
  background: rgba(5, 9, 19, .55);
  color: var(--frost);
  font: 400 16px/1.35 var(--schrift);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.eingabe::placeholder { color: var(--raureif-2); }
.eingabe:focus { outline: none; border-color: rgba(156, 211, 255, .55); box-shadow: 0 0 0 4px rgba(156, 211, 255, .12); background: rgba(5, 9, 19, .75); }
textarea.eingabe { min-height: 96px; resize: vertical; }
select.eingabe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239cd3ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.eingabe--gross { font: 800 34px/1 var(--display); letter-spacing: -.02em; min-height: 76px; text-align: center; font-variant-numeric: tabular-nums; }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.felder-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fehlertext { color: var(--gefahr); font-size: 14px; min-height: 0; }
.fehlertext:empty { display: none; }

/* Segmente und Schalter */
.segmente { display: flex; padding: 4px; gap: 4px; background: rgba(5, 9, 19, .6); border: 1px solid var(--linie); border-radius: 16px; }
.segmente button {
  flex: 1; min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--raureif);
  font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; -webkit-tap-highlight-color: transparent;
}
.segmente button[aria-pressed='true'] { background: var(--tiefsee-2); color: var(--frost); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 6px 16px -8px rgba(0, 0, 0, .8); }
.segmente--feuer button[aria-pressed='true'] { background: var(--feuer); color: #2b0a02; }
.segmente--eis button[aria-pressed='true'] { background: rgba(156, 211, 255, .2); color: var(--frost); }

.schalter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.schalter__bahn { position: relative; width: 52px; height: 32px; flex: none; border-radius: 999px; background: rgba(156, 211, 255, .14); border: 1px solid var(--linie-2); transition: background-color .25s; }
.schalter__bahn::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--frost-2); transition: transform .3s var(--weich), background-color .25s; }
.schalter input:checked + .schalter__bahn { background: var(--feuer); border-color: transparent; }
.schalter input:checked + .schalter__bahn::after { transform: translateX(20px); background: #fff; }
.schalter input:focus-visible + .schalter__bahn { outline: 2px solid var(--eis); outline-offset: 3px; }

.zaehler { display: flex; align-items: center; gap: 0; border: 1px solid var(--linie); border-radius: 16px; background: rgba(5, 9, 19, .55); overflow: hidden; }
.zaehler button { width: 52px; height: 52px; border: 0; background: transparent; color: var(--eis); font-size: 24px; cursor: pointer; }
.zaehler button:active { background: rgba(156, 211, 255, .08); }
.zaehler output { flex: 1; text-align: center; font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Flächen */

.tafel {
  position: relative;
  border-radius: var(--r-gross);
  background: var(--glas);
  border: 1px solid var(--linie);
  padding: 20px;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.tafel--eng { padding: 16px; border-radius: var(--r-mittel); }
.tafel--glut { border-color: rgba(255, 140, 70, .35); background: linear-gradient(160deg, rgba(255, 120, 50, .14), rgba(16, 28, 49, .6) 55%); }
.tafel--alarm { border-color: rgba(255, 122, 138, .4); background: linear-gradient(160deg, rgba(255, 90, 110, .16), rgba(16, 28, 49, .6) 60%); }
.trenner { height: 1px; background: var(--linie); margin: 22px 0; border: 0; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste > li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--linie); }
.liste > li:first-child { border-top: 0; }
.liste--knopf > li { cursor: pointer; }
.liste__rechts { margin-left: auto; text-align: right; flex: none; }

.pfeil { width: 18px; height: 18px; color: var(--raureif-2); flex: none; }

/* Avatar: Frostkreis mit Initialen, Feuerring wenn heute eingecheckt */
.avatar {
  --grund: #2a3d5e;
  position: relative; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 14px/1 var(--display); letter-spacing: -.02em; color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25), transparent 55%), var(--grund);
  border: 1px solid rgba(255, 255, 255, .12);
}
.avatar--klein { width: 32px; height: 32px; font-size: 11px; }
.avatar--gross { width: 72px; height: 72px; font-size: 24px; }
.avatar--glut { --grund: linear-gradient(140deg, #ff9a4a, #c2213a); }
.avatar--bernstein { --grund: linear-gradient(140deg, #ffc866, #b8661c); }
.avatar--eis { --grund: linear-gradient(140deg, #8fd0ff, #2c5f9e); }
.avatar--polar { --grund: linear-gradient(140deg, #a9b8d6, #3b4a6b); }
.avatar--aurora { --grund: linear-gradient(140deg, #7ef0d0, #2c6f8f); }
.avatar--rose { --grund: linear-gradient(140deg, #ff9bb5, #9c2f5c); }
.avatar.ist-heute::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(from 200deg, #ffd56b, #ff5b2e, #d7263d, #ffd56b);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
}
.avatar.ist-raus { filter: grayscale(1) brightness(.7); }

.marke { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(156, 211, 255, .1); color: var(--eis); border: 1px solid var(--linie); white-space: nowrap; }
.marke--glut { background: rgba(255, 120, 50, .14); color: #ffb37a; border-color: rgba(255, 140, 70, .3); }
.marke--alarm { background: rgba(255, 122, 138, .12); color: var(--gefahr); border-color: rgba(255, 122, 138, .3); }
.marke--still { background: transparent; color: var(--raureif); }
.marke svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- Kopf */

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-bottom: 8px; }
.kopf__titel { font: 700 15px/1.2 var(--schrift); color: var(--raureif); }
.kopf__marke { display: flex; align-items: center; gap: 10px; color: var(--frost); }
.kopf__marke b { font: 900 13px/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.zurueck { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px 0 0; border: 0; background: none; color: var(--eis); font-weight: 500; cursor: pointer; }
.zurueck svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- Leiste unten */

.leiste {
  position: fixed; z-index: 30;
  left: 50%; bottom: calc(var(--unten) + 12px);
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 520px);
  height: 64px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: 0 6px;
  border-radius: 24px;
  background: rgba(10, 18, 33, .72);
  border: 1px solid var(--linie-2);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .05) inset;
}
.leiste a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 56px; border-radius: 18px;
  color: var(--raureif-2); font-size: 11px; font-weight: 600; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s;
}
.leiste a svg { width: 24px; height: 24px; }
.leiste a[aria-current='page'] { color: var(--frost); }
.leiste a[aria-current='page'] svg { color: var(--eis); }
.leiste .leiste__zahl { position: absolute; transform: translate(14px, -14px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--glut); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.leiste__orb {
  justify-self: center;
  position: relative;
  width: 62px !important; height: 62px !important; border-radius: 50% !important;
  margin-top: -26px;
  background: radial-gradient(circle at 35% 30%, #fff1c4 0%, #ffb23f 26%, #ff5b2e 58%, #b81d36 100%);
  color: #2b0a02 !important;
  box-shadow: 0 0 0 6px rgba(10, 18, 33, .9), 0 10px 30px -6px rgba(255, 91, 46, .8);
  animation: atmen 2.6s ease-in-out infinite;
}
.leiste__orb svg { width: 28px !important; height: 28px !important; }
.leiste__orb span { display: none; }
.leiste__orb.ist-fertig { background: radial-gradient(circle at 35% 30%, #e9f5ff 0%, #9cd3ff 40%, #3d7bb8 100%); animation: none; box-shadow: 0 0 0 6px rgba(10, 18, 33, .9), 0 10px 26px -10px rgba(156, 211, 255, .6); }
@keyframes atmen { 0%, 100% { box-shadow: 0 0 0 6px rgba(10, 18, 33, .9), 0 10px 30px -6px rgba(255, 91, 46, .75); } 50% { box-shadow: 0 0 0 6px rgba(10, 18, 33, .9), 0 10px 44px 0 rgba(255, 120, 50, .95); } }

/* ---------------------------------------------------------------- Start (öffentlich) */

.start { position: relative; min-height: 100dvh; overflow: hidden; }
.start__schnee { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.start__inhalt { position: relative; z-index: 1; width: min(100%, 1040px); margin: 0 auto; padding: calc(var(--oben) + 22px) 22px calc(var(--unten) + 40px); }
.start__oben { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.start__oben b { font: 900 12px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--raureif); }
.held { position: relative; display: grid; grid-template-columns: 1fr; align-items: end; min-height: min(88dvh, 860px); padding-top: 24px; }
.held__flamme { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: min(130vw, 700px); height: min(52dvh, 520px); z-index: 0; pointer-events: none; }
.held__text { position: relative; z-index: 1; }
.wortmarke { font-size: clamp(40px, 11.4vw, 150px); white-space: nowrap; }
.wortmarke__kill { display: block; font-size: 1.5em; line-height: .86; }
.wortmarke__dec { display: block; margin-top: .06em; }
.wortmarke__dec .zeichen, .wortmarke__dec:not(:has(.zeichen)) {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .09' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 -.25'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 220px auto,
    linear-gradient(178deg, #f4f9ff 0%, #cfe6ff 38%, #8cc4f5 70%, #4a86c2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(156, 211, 255, .18));
}
.wortmarke .zeichen { display: inline-block; will-change: transform, filter, opacity; }
.wortmarke__kill .zeichen {
  background: linear-gradient(180deg, #fff1c4 0%, #ffb23f 30%, #ff5b2e 62%, #c41f38 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lodern 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(255, 91, 46, .35));
}
@keyframes lodern { 0%, 100% { background-position: 50% 0%; } 50% { background-position: 50% 70%; } }
.held__unter { margin-top: 28px; max-width: 30ch; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.45; color: var(--frost-2); }
.held__unter strong { color: var(--frost); font-weight: 600; }
.held__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.held__aktionen .knopf { min-width: 180px; }
.countdown { display: flex; gap: 22px; margin-top: 44px; align-items: flex-end; }
.countdown__teil { display: flex; flex-direction: column; gap: 6px; }
.countdown__zahl { font: 800 clamp(30px, 6vw, 44px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.countdown__name { font-size: 12.5px; color: var(--raureif); }
.countdown__titel { font-size: 13.5px; color: var(--raureif); margin-top: 44px; }
.countdown__titel + .countdown { margin-top: 10px; }

.start__teil { margin-top: 110px; }
.start__teil h2 { font-size: clamp(26px, 5vw, 44px); line-height: 1.02; max-width: 16ch; }
.start__teil > p { margin-top: 16px; max-width: 52ch; color: var(--frost-2); font-size: 17px; }
.bereiche { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 30px; }
.bereich { padding: 18px 16px 16px; border-radius: 20px; border: 1px solid var(--linie); background: var(--glas-hell); }
.bereich svg { width: 26px; height: 26px; color: var(--eis); }
.bereich b { display: block; margin-top: 18px; font-weight: 600; }
.bereich span { display: block; margin-top: 4px; font-size: 13px; color: var(--raureif); line-height: 1.4; }
.ablauf { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: schritt; display: grid; gap: 2px; }
.ablauf li { counter-increment: schritt; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--linie); }
.ablauf li::before { content: counter(schritt); font: 800 30px/1 var(--display); color: var(--raureif-2); }
.ablauf li:last-child::before { content: '24'; background: var(--feuer); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ablauf b { display: block; font-size: 17px; }
.ablauf span { display: block; margin-top: 4px; color: var(--raureif); font-size: 15px; }
.regeln { list-style: none; padding: 0; margin: 24px 0 0; }
.regeln li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--linie); font-size: 17px; }
.regeln li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--feuer); }
.preise { display: grid; gap: 12px; margin-top: 26px; }
.preis { padding: 22px; border-radius: 24px; border: 1px solid rgba(255, 140, 70, .3); background: linear-gradient(150deg, rgba(255, 120, 50, .12), rgba(16, 28, 49, .5) 60%); }
.preis b { font: 700 18px/1.2 var(--display); }
.preis p { margin-top: 8px; color: var(--frost-2); }
.live { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }
.live__wert { font: 800 40px/1 var(--display); letter-spacing: -.03em; }
.live__name { font-size: 13px; color: var(--raureif); margin-top: 6px; }
.fuss { margin-top: 110px; padding-top: 22px; border-top: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--raureif-2); font-size: 13px; }

/* ---------------------------------------------------------------- Anmelden / Bewerbung */

.karte-mitte { width: min(100%, 440px); margin: 0 auto; padding: calc(var(--oben) + 28px) 22px calc(var(--unten) + 40px); min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.karte-mitte .wortmarke-klein { font: 900 34px/.9 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.wortmarke-klein span { display: block; }
.wortmarke-klein span:first-child { background: var(--feuer); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wortmarke-klein span:last-child { background: linear-gradient(178deg, #f4f9ff 0%, #9cd3ff 60%, #3d7bb8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.schritte { display: flex; gap: 6px; margin: 6px 0 26px; }
.schritte i { flex: 1; height: 4px; border-radius: 4px; background: rgba(156, 211, 255, .14); overflow: hidden; position: relative; }
.schritte i::after { content: ''; position: absolute; inset: 0; background: var(--feuer); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--weich); }
.schritte i.ist-fertig::after, .schritte i.ist-jetzt::after { transform: scaleX(1); }
.schritte i.ist-jetzt::after { opacity: .65; }
.schritt { animation: herein .45s var(--weich) both; }
@keyframes herein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.schritt__titel { font: 800 clamp(26px, 7vw, 34px)/1.04 var(--display); letter-spacing: -.025em; }
.schritt__text { margin-top: 10px; color: var(--raureif); }
.schritt__felder { margin-top: 26px; display: grid; gap: 18px; }
.schritt__knoepfe { position: sticky; bottom: 0; display: flex; gap: 10px; margin-top: 30px; padding: 14px 0 calc(var(--unten) + 14px); background: linear-gradient(180deg, rgba(5, 9, 19, 0), rgba(5, 9, 19, .92) 30%); }
.schritt__knoepfe .knopf--feuer { flex: 1; }

.wahl { display: grid; gap: 10px; }
.wahl--3 { grid-template-columns: repeat(3, 1fr); }
.wahl button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 16px; min-height: 104px; text-align: left;
  border-radius: 18px; border: 1px solid var(--linie); background: rgba(5, 9, 19, .5); color: var(--frost);
  cursor: pointer; transition: border-color .2s, background-color .2s, transform .18s var(--weich);
}
.wahl button:active { transform: scale(.98); }
.wahl button svg { width: 24px; height: 24px; color: var(--eis); }
.wahl button b { font-weight: 600; }
.wahl button span { font-size: 12.5px; color: var(--raureif); line-height: 1.35; }
.wahl button[aria-pressed='true'] { border-color: rgba(255, 140, 70, .65); background: linear-gradient(150deg, rgba(255, 120, 50, .18), rgba(5, 9, 19, .5)); }
.wahl button[aria-pressed='true'] svg { color: #ffb37a; }

.haken { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--linie); cursor: pointer; }
.haken:first-child { border-top: 0; }
.haken input { position: absolute; opacity: 0; pointer-events: none; }
.haken__kasten { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--linie-2); display: grid; place-items: center; transition: background-color .2s, border-color .2s; margin-top: 1px; }
.haken__kasten svg { width: 16px; height: 16px; color: #2b0a02; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--weich); }
.haken input:checked + .haken__kasten { background: var(--feuer); border-color: transparent; }
.haken input:checked + .haken__kasten svg { opacity: 1; transform: none; }
.haken input:focus-visible + .haken__kasten { outline: 2px solid var(--eis); outline-offset: 3px; }
.haken__text { font-size: 16px; line-height: 1.4; }

/* ---------------------------------------------------------------- Heute */

.buehne { position: relative; margin: -6px -20px 0; height: min(58dvh, 480px); min-height: 360px; }
.buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.buehne__zahl { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; pointer-events: none; }
.buehne__serie { font: 900 clamp(84px, 26vw, 128px)/.86 var(--display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 40px rgba(255, 120, 50, .55), 0 2px 0 rgba(120, 20, 10, .35); }
.buehne__serie.ist-null { background: linear-gradient(178deg, #f4f9ff 0%, #9cd3ff 60%, #3d7bb8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.buehne__unter { margin-top: 10px; font-size: 15px; color: var(--frost-2); }
.buehne__tag { position: absolute; top: 4px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }

.cta { margin-top: 14px; }
.cta__frist { margin-top: 12px; text-align: center; font-size: 14px; color: var(--raureif); font-variant-numeric: tabular-nums; }
.cta__frist strong { color: var(--frost); font-weight: 600; }
.erledigt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(156, 211, 255, .25); background: linear-gradient(150deg, rgba(156, 211, 255, .1), rgba(16, 28, 49, .4)); }
.erledigt__haken { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #e9f5ff, #9cd3ff 45%, #3d7bb8); color: #08203a; }
.erledigt__haken svg { width: 22px; height: 22px; }

.nachricht { position: relative; padding: 18px 20px 18px 22px; border-radius: 22px; background: var(--glas); border: 1px solid var(--linie); }
.nachricht::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--feuer); }
.nachricht p { font-size: 16px; line-height: 1.5; white-space: pre-line; }
.nachricht .mini { margin-top: 10px; }

.ziel { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linie); }
.ziel:first-child { border-top: 0; }
.ziel__punkt { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--linie-2); display: grid; place-items: center; }
.ziel__punkt.ist-erreicht { background: var(--feuer); border-color: transparent; color: #2b0a02; }
.ziel__punkt svg { width: 14px; height: 14px; }
.ziel__text { flex: 1; min-width: 0; }
.ziel input.eingabe { min-height: 44px; padding: 10px 14px; }
.ziel--neu { border-top: 1px dashed var(--linie-2); }

/* Fortschrittsbalken */
.balken { display: grid; gap: 16px; }
.balken__zeile { display: grid; gap: 8px; }
.balken__kopf { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.balken__kopf b { font-weight: 600; }
.balken__kopf span { color: var(--raureif); font-variant-numeric: tabular-nums; }
.balken__bahn { position: relative; height: 10px; border-radius: 10px; background: rgba(156, 211, 255, .1); overflow: hidden; }
.balken__fuell { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 10px; background: var(--feuer); transition: width 1.1s var(--weich); }
.balken__fuell--eis { background: linear-gradient(90deg, #3d7bb8, #9cd3ff); }

/* ---------------------------------------------------------------- Adventskalender aus Eis */

.tueren { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tuer {
  --frostbild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .78 0 0 0 0 .9 0 0 0 0 1 0 0 0 .9 -.35'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23f)'/%3E%3C/svg%3E");
  position: relative;
  aspect-ratio: 1 / 1.12;
  border-radius: 14px;
  border: 1px solid rgba(190, 225, 255, .16);
  background:
    linear-gradient(155deg, rgba(220, 238, 255, .16), rgba(120, 170, 230, .04) 55%, rgba(220, 238, 255, .08)),
    var(--frostbild) center / 160% auto,
    rgba(16, 28, 49, .7);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7px 8px;
  color: var(--frost-2);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s var(--weich);
  -webkit-tap-highlight-color: transparent;
}
.tuer:active { transform: scale(.95); }
.tuer__nr { font: 800 15px/1 var(--display); letter-spacing: -.02em; }
.tuer__wt { font-size: 10px; color: var(--raureif); }
.tuer__zeichen { position: absolute; right: 6px; top: 7px; width: 13px; height: 13px; opacity: .85; }
.tuer--zukunft { opacity: .45; cursor: default; }
.tuer--zukunft:active { transform: none; }
.tuer--offen { border-color: rgba(156, 211, 255, .65); box-shadow: 0 0 0 1px rgba(156, 211, 255, .25), 0 0 22px -4px rgba(156, 211, 255, .55); animation: frostpuls 2.4s ease-in-out infinite; }
@keyframes frostpuls { 50% { box-shadow: 0 0 0 1px rgba(156, 211, 255, .45), 0 0 30px 0 rgba(156, 211, 255, .65); } }
.tuer--erledigt {
  border-color: rgba(255, 170, 90, .55);
  background: radial-gradient(120% 90% at 50% 100%, #ffcf6b 0%, #ff7a2e 38%, #c8263a 78%, #5a0e1e 100%);
  color: #2b0a02;
  box-shadow: 0 8px 22px -10px rgba(255, 91, 46, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.tuer--erledigt .tuer__wt { color: rgba(43, 10, 2, .7); }
.tuer--verpasst { background: linear-gradient(155deg, rgba(220, 238, 255, .08), rgba(16, 28, 49, .8)), var(--frostbild) center / 160% auto; color: var(--raureif-2); }
.tuer--verpasst::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 66' preserveAspectRatio='none'%3E%3Cpath d='M8 4 L26 30 L18 40 L34 62 M26 30 L48 22 L56 8 M34 46 L52 52' fill='none' stroke='%23cfe6ff' stroke-opacity='.55' stroke-width='1.1'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.tuer--joker, .tuer--verziehen { border-color: rgba(156, 211, 255, .5); background: linear-gradient(155deg, rgba(156, 211, 255, .3), rgba(61, 123, 184, .25)), var(--frostbild) center / 160% auto; color: #fff; }
.tuer--frei { opacity: .3; cursor: default; }
.tuer--heiligabend .tuer__nr { color: #ffd56b; }
.tuer--erledigt.tuer--heiligabend .tuer__nr { color: #2b0a02; }
.legende { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--raureif); }
.legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Splitter beim Aufbrechen einer Tür */
.splitter { position: fixed; z-index: 90; pointer-events: none; }
.splitter i {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(225, 240, 255, .9), rgba(140, 190, 240, .55));
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 12px;
}

/* ---------------------------------------------------------------- Check-in */

.ci { padding-top: calc(var(--oben) + 10px); }
.ci__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.ci__fortschritt { display: flex; gap: 6px; align-items: center; }
.ci__fortschritt i { width: 22px; height: 22px; display: grid; place-items: center; color: rgba(156, 211, 255, .25); transition: color .3s, transform .4s var(--weich); }
.ci__fortschritt i svg { width: 18px; height: 18px; }
.ci__fortschritt i.ist-an { color: #ff8a3a; transform: scale(1.12); }
.ci__titel { margin-top: 18px; }
.ci__titel .mini { margin-top: 8px; }
.ci__teil { margin-top: 26px; }

.ergebnis { position: relative; padding: 26px 18px 22px; border-radius: 26px; border: 1px solid var(--linie); background: rgba(5, 9, 19, .5); text-align: center; transition: border-color .3s, background .4s; }
.ergebnis.ist-plus { border-color: rgba(255, 150, 80, .45); background: linear-gradient(170deg, rgba(255, 120, 50, .16), rgba(5, 9, 19, .5) 70%); }
.ergebnis.ist-minus { border-color: rgba(156, 211, 255, .45); background: linear-gradient(170deg, rgba(156, 211, 255, .14), rgba(5, 9, 19, .5) 70%); }
.ergebnis__eingabe { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ergebnis__vz { font: 800 44px/1 var(--display); width: 40px; color: var(--raureif); cursor: pointer; background: none; border: 0; padding: 0; }
.ergebnis input { width: min(70%, 260px); border: 0; background: transparent; color: var(--frost); text-align: center; font: 900 54px/1.1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; padding: 0; }
.ergebnis input:focus { outline: none; }
.ergebnis input::placeholder { color: rgba(156, 211, 255, .25); }
.ergebnis__waehrung { font: 700 22px/1 var(--display); color: var(--raureif); }
.ergebnis__ziel { margin-top: 12px; font-size: 14px; color: var(--raureif); }
.ergebnis__ziel.ist-erreicht { color: #ffc38f; }

.lebensgitter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lebenskachel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 112px; padding: 16px; text-align: left;
  border-radius: 20px; border: 1px solid var(--linie); background: rgba(5, 9, 19, .5); color: var(--frost);
  cursor: pointer; transition: border-color .25s, background .3s, transform .2s var(--weich);
  -webkit-tap-highlight-color: transparent;
}
.lebenskachel:active { transform: scale(.97); }
.lebenskachel svg { width: 26px; height: 26px; color: var(--raureif); transition: color .25s; }
.lebenskachel b { font-weight: 600; font-size: 15px; }
.lebenskachel span { display: block; font-size: 12px; color: var(--raureif); margin-top: 3px; line-height: 1.35; }
.lebenskachel__haken { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--linie-2); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.lebenskachel__haken svg { width: 14px; height: 14px; color: #2b0a02; opacity: 0; }
.lebenskachel[aria-pressed='true'] { border-color: rgba(255, 140, 70, .55); background: linear-gradient(150deg, rgba(255, 120, 50, .2), rgba(5, 9, 19, .5) 75%); }
.lebenskachel[aria-pressed='true'] > svg { color: #ffb37a; }
.lebenskachel[aria-pressed='true'] .lebenskachel__haken { background: var(--feuer); border-color: transparent; }
.lebenskachel[aria-pressed='true'] .lebenskachel__haken svg { opacity: 1; }
.lebenskachel--breit { grid-column: 1 / -1; }

.skala { display: flex; gap: 8px; }
.skala button { flex: 1; min-height: 56px; border-radius: 16px; border: 1px solid var(--linie); background: rgba(5, 9, 19, .5); font-size: 24px; cursor: pointer; transition: transform .2s var(--weich), border-color .2s, background .2s; filter: grayscale(.7) brightness(.85); }
.skala button[aria-pressed='true'] { border-color: rgba(255, 140, 70, .6); background: rgba(255, 120, 50, .15); transform: translateY(-3px); filter: none; }
.regler { width: 100%; accent-color: var(--glut); height: 32px; }
.regler-anzeige { display: flex; justify-content: space-between; align-items: baseline; }

.ci__fuss { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; padding: 16px 0 calc(var(--unten) + 16px); margin-top: 26px; background: linear-gradient(180deg, rgba(5, 9, 19, 0), rgba(5, 9, 19, .94) 32%); }
.ci__fuss .knopf--feuer, .ci__fuss .knopf--frost:only-child { flex: 1; }

/* Feier nach dem Check-in */
.feier { position: fixed; inset: 0; z-index: 80; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; padding: calc(var(--oben) + 13dvh) 22px calc(var(--unten) + 30px); background: radial-gradient(90% 50% at 50% 30%, rgba(70, 16, 8, .6), rgba(5, 9, 19, .97) 72%); }
.feier canvas { position: fixed; left: 0; right: 0; top: 0; width: 100%; height: 60dvh; pointer-events: none; }
.feier canvas + canvas { height: 100dvh; }
.feier__inhalt { position: relative; width: min(100%, 460px); text-align: center; }
.feier__unten { margin-top: 20dvh; padding: 22px 18px; border-radius: 26px; background: rgba(8, 14, 27, .82); border: 1px solid var(--linie); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.feier__serie { font: 900 clamp(110px, 34vw, 170px)/.84 var(--display); letter-spacing: -.06em; color: #fff; text-shadow: 0 0 60px rgba(255, 120, 50, .75); font-variant-numeric: tabular-nums; }
.feier__titel { margin-top: 12px; font: 800 24px/1.1 var(--display); }
.feier__punkte { margin: 0 auto; display: grid; gap: 7px; text-align: left; max-width: 360px; }
.feier__punkte div { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--frost-2); }
.feier__punkte div b { color: #ffc38f; font-variant-numeric: tabular-nums; }
.feier__summe { border-top: 1px solid var(--linie); padding-top: 8px; margin-top: 4px; font-weight: 700; color: var(--frost) !important; }
.feier__tuer { margin-top: 20px; padding: 18px 20px; border-radius: 22px; text-align: left; background: rgba(16, 28, 49, .75); border: 1px solid rgba(255, 170, 90, .35); }
.feier__tuer .mini { color: #ffb37a; font-weight: 600; }
.feier__tuer p { margin-top: 8px; font-size: 16.5px; line-height: 1.5; }
.feier .knopf { margin-top: 22px; }

/* ---------------------------------------------------------------- Crew */

.podest { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 8px; margin-top: 18px; }
.podest__platz { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.podest__sockel { width: 100%; border-radius: 18px 18px 6px 6px; border: 1px solid var(--linie); background: linear-gradient(180deg, rgba(156, 211, 255, .12), rgba(16, 28, 49, .3)); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 12px; }
.podest__platz--1 .podest__sockel { height: 132px; border-color: rgba(255, 170, 90, .5); background: linear-gradient(180deg, rgba(255, 140, 60, .3), rgba(16, 28, 49, .3)); }
.podest__platz--2 .podest__sockel { height: 98px; }
.podest__platz--3 .podest__sockel { height: 74px; }
.podest__rang { font: 900 28px/1 var(--display); }
.podest__platz--1 .podest__rang { background: var(--feuer); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 36px; }
.podest__name { font-weight: 600; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podest__punkte { font-size: 12.5px; color: var(--raureif); font-variant-numeric: tabular-nums; }

.rang { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linie); }
.rang:first-child { border-top: 0; }
.rang__nr { width: 28px; text-align: center; font: 800 15px/1 var(--display); color: var(--raureif); font-variant-numeric: tabular-nums; flex: none; }
.rang__name { font-weight: 600; }
.rang__unter { font-size: 12.5px; color: var(--raureif); }
.rang__punkte { margin-left: auto; text-align: right; font: 800 17px/1 var(--display); font-variant-numeric: tabular-nums; }
.rang__punkte small { display: block; margin-top: 5px; font: 500 11.5px/1 var(--schrift); color: var(--raureif); }
.rang--ich { margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 16px; background: rgba(255, 120, 50, .1); border-top-color: transparent; }
.rang--ich + .rang { border-top-color: transparent; }
.serie-marke { display: inline-flex; align-items: center; gap: 3px; color: #ffb37a; font-weight: 600; font-variant-numeric: tabular-nums; }
.serie-marke svg { width: 14px; height: 14px; }
.serie-marke.ist-aus { color: var(--raureif-2); }

.win { padding: 16px 0; border-top: 1px solid var(--linie); }
.win:first-child { border-top: 0; }
.win p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; }

.heute-reihe { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------------------------------------------------------------- Zahlen */

.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kachel { padding: 16px; border-radius: 20px; border: 1px solid var(--linie); background: var(--glas-hell); }
.kachel__wert { font: 800 26px/1.05 var(--display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.kachel__name { margin-top: 6px; font-size: 12.5px; color: var(--raureif); }
.kachel--feuer { border-color: rgba(255, 150, 80, .35); background: linear-gradient(150deg, rgba(255, 120, 50, .14), rgba(16, 28, 49, .4)); }
.saeulen { display: flex; align-items: center; gap: 4px; height: 120px; margin-top: 16px; position: relative; }
.saeulen::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--linie); }
.saeule { flex: 1; position: relative; height: 100%; }
.saeule i { position: absolute; left: 0; right: 0; border-radius: 4px; }
.saeule i.plus { bottom: 50%; background: linear-gradient(0deg, #ff5b2e, #ffc06b); }
.saeule i.minus { top: 50%; background: linear-gradient(180deg, #3d7bb8, #9cd3ff); }
.kurve { width: 100%; height: 170px; margin-top: 14px; }
.ringe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11.5px; color: var(--raureif); }
.ring svg { width: 54px; height: 54px; }
.broker { padding: 18px; border-radius: 22px; border: 1px solid var(--linie); background: var(--glas-hell); }
.broker + .broker { margin-top: 10px; }
.broker__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.broker__name { font: 700 17px/1.1 var(--display); }

/* ---------------------------------------------------------------- Blätter, Hinweise */

.blatt-hinter { position: fixed; inset: 0; z-index: 60; background: rgba(2, 5, 12, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.blatt-hinter.ist-offen { opacity: 1; }
.blatt {
  position: fixed; z-index: 61; left: 50%; bottom: 0;
  width: min(100%, 560px); max-height: calc(100dvh - var(--oben) - 20px);
  transform: translate(-50%, 104%);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 20px calc(var(--unten) + 22px);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #13223b, #0a1426);
  border: 1px solid var(--linie-2); border-bottom: 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8);
  transition: transform .42s var(--weich);
}
.blatt.ist-offen { transform: translate(-50%, 0); }
.blatt__griff { width: 40px; height: 5px; border-radius: 5px; background: rgba(156, 211, 255, .25); margin: 4px auto 16px; }
.blatt__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
@media (min-width: 700px) {
  .blatt { bottom: auto; top: 50%; border-radius: 28px; border-bottom: 1px solid var(--linie-2); transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .35s var(--weich), opacity .25s; }
  .blatt.ist-offen { transform: translate(-50%, -50%); opacity: 1; }
  .blatt__griff { display: none; }
}

.meldungen { position: fixed; z-index: 100; left: 50%; top: calc(var(--oben) + 12px); transform: translateX(-50%); width: min(calc(100% - 24px), 460px); display: grid; gap: 8px; pointer-events: none; }
.meldung { pointer-events: auto; padding: 14px 18px; border-radius: 18px; background: rgba(19, 34, 59, .94); border: 1px solid var(--linie-2); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 15px; animation: meldung .4s var(--weich) both; }
.meldung--fehler { border-color: rgba(255, 122, 138, .45); }
.meldung--gut { border-color: rgba(255, 150, 80, .45); }
.meldung.ist-weg { animation: meldungweg .3s ease-in both; }
@keyframes meldung { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
@keyframes meldungweg { to { opacity: 0; transform: translateY(-10px); } }

.leer { text-align: center; padding: 34px 10px; color: var(--raureif); }
.leer svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--raureif-2); }
.lade-voll { min-height: 70dvh; display: grid; place-items: center; }
.lade-flamme { width: 40px; height: 56px; }

.skelett { border-radius: 14px; background: linear-gradient(90deg, rgba(156, 211, 255, .06), rgba(156, 211, 255, .12), rgba(156, 211, 255, .06)); background-size: 200% 100%; animation: skelett 1.4s linear infinite; }
@keyframes skelett { to { background-position: -200% 0; } }

/* Warten / Raus */
.zustand { min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--oben) + 24px) 22px calc(var(--unten) + 34px); width: min(100%, 520px); margin: 0 auto; position: relative; }
.zustand__bild { position: absolute; inset: 0 0 34% 0; pointer-events: none; }
.zustand__inhalt { position: relative; }
.zustand__titel { font: 900 clamp(40px, 12vw, 64px)/.9 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.zustand__text { margin-top: 18px; color: var(--frost-2); font-size: 17px; max-width: 36ch; }

/* ---------------------------------------------------------------- Admin */

.admin-gitter { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .admin-gitter { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .admin-gitter > .breit { grid-column: 1 / -1; }
}
.zahlenreihe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .zahlenreihe { grid-template-columns: repeat(4, 1fr); } }
.zahlenreihe a { color: inherit; text-decoration: none; }
.bewerbung { padding: 20px; border-radius: 24px; border: 1px solid var(--linie); background: var(--glas); }
.bewerbung + .bewerbung { margin-top: 14px; }
.bewerbung__zitat { margin-top: 14px; padding-left: 14px; border-left: 2px solid rgba(255, 150, 80, .5); font-size: 16px; line-height: 1.5; white-space: pre-line; }
.angaben { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 16px; font-size: 14.5px; }
.angaben dt { color: var(--raureif); }
.angaben dd { margin: 0; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tabelle th { text-align: left; font-weight: 500; color: var(--raureif); padding: 10px 8px; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle td { padding: 11px 8px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr[data-href] { cursor: pointer; }
.tabelle tr[data-href]:hover td { background: rgba(156, 211, 255, .04); }
.tabelle .zahl { font-size: 15px; }
.rollbar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wochenplan { display: grid; gap: 10px; }
.wochenplan__tag { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; }
.tueren-editor { display: grid; gap: 12px; }
.tueren-editor label { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.tueren-editor b { font: 800 16px/40px var(--display); color: var(--raureif); }
.ereignis { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); font-size: 14px; }
.ereignis:first-child { border-top: 0; }
.ereignis time { color: var(--raureif-2); flex: none; width: 92px; font-variant-numeric: tabular-nums; }

/* Tagesansicht (eigener Check-in, Leo) */
.tagesblatt dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.tagesblatt dt { color: var(--raureif); }
.tagesblatt dd { margin: 0; }

/* ---------------------------------------------------------------- Breite Bildschirme */

@media (min-width: 900px) {
  .held__flamme { left: auto; top: auto; transform: none; right: -6%; bottom: 8%; width: min(60vw, 640px); height: min(88dvh, 820px); }
  .bereiche { grid-template-columns: repeat(4, 1fr); }
  .start__teil--zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
}
@media (max-width: 380px) {
  .tueren { gap: 6px; }
  .tuer { padding: 6px; border-radius: 12px; }
  .tuer__nr { font-size: 13px; }
  .lebensgitter { gap: 8px; }
}

/* ---------------------------------------------------------------- Bewegung */

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--weich); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .knopf--feuer::after { display: none; }
}

/* Hinweis-Karte mit Aktion darunter */
.hinweis { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; }
.hinweis > svg { width: 22px; height: 22px; color: var(--eis); margin-top: 2px; }
.hinweis__aktion { grid-column: 2 / -1; margin-top: 10px; }
.zaehlreihe { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.zaehlreihe .feld__name { margin: 0; }
.zaehlreihe .zaehler { width: 168px; flex: none; }
.broker .kachel__wert { font-size: 22px; white-space: nowrap; }
.kachel__wert { overflow-wrap: anywhere; }
