/* Gemeinsame Grundlage aller Seiten: Farben, Schrift, Navigation, Knopf, Fußzeile */
@font-face { font-family: "Lilita One"; src: url(fonts/LilitaOne-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Nunito; src: url(fonts/Nunito.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --bg: #0d1314;
  --raise: #121a1b;
  --line: #223031;
  --text: #edf1f0;
  --muted: #97a5a2;
  --faint: #6c7a78;
  --accent: #f7931e;          /* Orange der Logo-Schrift */
  --accent-hi: #ffa840;
  --gold: #e8c04a;            /* Goldrand der Original-Knöpfe */
  --silver: #c3cdd0;
  --bronze: #c98d55;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --display: "Lilita One", Nunito, sans-serif;
}
* { box-sizing: border-box; }
html { scrollbar-color: #2a3839 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 17px/1.6 Nunito, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #1a0d00; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; }
p { margin: 0; }

/* ---------- Navigation ---------- */
.top { display: flex; align-items: center; gap: 24px; height: 68px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 20px var(--display); letter-spacing: .01em; }
.mark img { height: 30px; width: auto; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--raise); border: 1px solid var(--line); }
.tabs a { padding: 6px 14px; border-radius: 8px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none;
          transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.tabs a[aria-current="page"] { background: #1d2829; color: var(--text); }
@media (hover: hover) { .tabs a:not([aria-current]):hover { color: var(--text); } }
.live { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
        color: var(--muted); white-space: nowrap; cursor: default; }
.live[hidden] { display: none; }
.live b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
/* Mini-Porträts: überlappend, der Rand in Seitenfarbe schneidet sie sauber voneinander ab */
.faces { display: flex; }
.mini { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none;
        background: radial-gradient(circle at 50% 36%, #243435, #131b1c 72%); box-shadow: 0 0 0 2px var(--bg); }
.mini + .mini { margin-left: -9px; }
.mini:nth-child(1) { z-index: 3; } .mini:nth-child(2) { z-index: 2; }
.mini svg { position: absolute; left: 6%; top: 12%; width: 88%; height: 88%; overflow: visible; }
/* Anwesenheitspunkt: am vordersten Gesicht, ohne Gesichter vor der Zahl */
.faces::after, .live.empty .faces::after { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
        background: #5fd38a; box-shadow: 0 0 0 2px var(--bg); align-self: flex-end; margin: 0 0 0 -10px; z-index: 4; }
.faces:empty::after { margin: 0; align-self: center; box-shadow: 0 0 0 3px rgba(95, 211, 138, .16); }
.live.empty .faces::after { background: #5b6766; box-shadow: none; }
.faces.enter .mini { animation: face-in 200ms var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes face-in { from { opacity: 0; transform: scale(.95); } }
@media (prefers-reduced-motion: reduce) {
  .faces.enter .mini { animation-name: face-fade; }
  @keyframes face-fade { from { opacity: 0; } }
}
.top .btn { margin-left: auto; padding: 9px 16px; font-size: 15px; }
.live:not([hidden]) + .btn { margin-left: 0; }
@media (max-width: 560px) {
  .top { gap: 12px; }
  .mark span { display: none; }
  .top .btn span { display: none; }
  .top .btn { padding: 9px 12px; }
  .live { gap: 8px; }
  .live .word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mini:nth-child(3) { display: none; }
}

/* ---------- Knopf ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px;
       background: var(--accent); color: #1a0d00; font-weight: 700; text-decoration: none; white-space: nowrap;
       box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 20px -10px rgba(247, 147, 30, .8);
       transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) { .btn:hover { background: var(--accent-hi); } }

footer { margin: 120px 0 40px; color: var(--muted); font-size: 14px; text-align: center; }
