/* =====================================================================
   RETROSMP.DE – STYLESHEET
   ---------------------------------------------------------------------
   1.  Design-Tokens (Custom Properties)
   2.  Reset & Basis
   3.  Hintergrund-Effekte
   4.  Utilities (Container, Glass, Buttons, Badges)
   5.  Navbar & Hamburger
   6.  Hero & Live-Status
   7.  Sektionen (allgemein)
   8.  Features
   9.  Join-Anleitung
   10. Live-Map
   11. Regeln (Tabs + Accordion)
   12. Team
   13. Vote
   14. Discord-CTA
   15. Footer
   16. Toast, Back-to-Top, Reveal-Animationen
   17. Rechtliche Unterseiten
   18. Responsive (Tablet / Mobile)
   ===================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  --accent: #f88858;
  --accent-light: #ffab85;
  --accent-dark: #e0663a;
  --accent-rgb: 248, 136, 88;
  --accent-glow: 0 0 24px rgba(var(--accent-rgb), .45), 0 0 64px rgba(var(--accent-rgb), .2);
  --amber: #f5b544;                    /* Badges, Eyebrows */
  --amber-rgb: 245, 181, 68;
  --gold: #f7c948;
  --ember: #b3261e;
  --gradient: linear-gradient(90deg, var(--gold) 0%, var(--accent) 55%, var(--ember) 100%);
  --gradient-tile: linear-gradient(135deg, var(--gold) 0%, var(--accent) 60%, #e0663a 100%);

  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1c1c1c;
  --surface: rgba(20, 20, 20, .72);
  --surface-strong: rgba(17, 17, 17, .92);
  --border: rgba(255, 255, 255, .07);
  --border-strong: rgba(255, 255, 255, .12);

  --text: #f3f4f6;
  --text-muted: #a3a3a3;
  --text-dim: #737373;

  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --discord: #5865f2;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  background: rgba(var(--accent-rgb), .12);
  color: var(--accent-light);
  padding: .1em .4em;
  border-radius: 6px;
  font-size: .9em;
}
::selection { background: rgba(var(--accent-rgb), .35); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--accent); color: #111; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ---------- 3. Hintergrund-Effekte ---------- */
.bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; opacity: .6;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 20%, #000 40%, rgba(0, 0, 0, .35) 100%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 20%, #000 40%, rgba(0, 0, 0, .35) 100%);
}
.bg-glow {
  position: fixed; z-index: -3; pointer-events: none; border-radius: 50%;
  filter: blur(120px); opacity: .35;
}
.bg-glow--1 {
  width: 600px; height: 600px; top: -200px; right: -150px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: glowFloat 18s ease-in-out infinite;
}
.bg-glow--2 {
  width: 500px; height: 500px; bottom: -200px; left: -200px;
  background: radial-gradient(circle, #c2410c 0%, transparent 70%);
  opacity: .2;
  animation: glowFloat 22s ease-in-out infinite reverse;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 80px) scale(1.15); }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .7);
  transition: width .1s linear;
}

/* ---------- 4. Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; }

.glass {
  background:
    radial-gradient(520px circle at 0% 0%, rgba(var(--accent-rgb), .07), transparent 45%),
    var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.text-gradient {
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 55%, #e8592c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.5em;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  border-radius: 12px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--gradient);
  color: #1a0d06;
  box-shadow: 0 8px 24px -6px rgba(var(--accent-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-2px); }
.btn--discord { background: rgba(88, 101, 242, .14); border-color: rgba(88, 101, 242, .45); color: #c7cbff; }
.btn--discord:hover { background: var(--discord); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(88, 101, 242, .7); }

.badge {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45em 1em; border-radius: 999px;
  background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .3);
  color: var(--accent-light); font-size: .85rem; font-weight: 600;
}
.badge__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); }
  70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* ---------- 5. Navbar ---------- */

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb), .45));
  transition: transform .4s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.08); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: .01em; }
.brand__domain { font-size: .75rem; color: var(--text-muted); font-weight: 500; }




.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Status-Punkte (werden per JS eingefärbt) */
.js-status-dot.is-online { background: var(--success); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulseGreen 2s infinite; }
.js-status-dot.is-offline { background: var(--danger); box-shadow: 0 0 10px rgba(239, 68, 68, .6); }
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- 6. Hero (Retro-Szene) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 160px;
  isolation: isolate;
}

/* Szene: Sonne, Sterne, Pixel-Landschaft */
.hero-scene {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.pixel-sun {
  position: absolute; top: 14%; right: 14%; width: clamp(90px, 9vw, 140px); aspect-ratio: 1;
  animation: sunFloat 9s ease-in-out infinite;
}
.pixel-sun::before {
  content: ""; position: absolute; inset: -140%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35) 0%, rgba(var(--accent-rgb), .12) 35%, transparent 65%);
  animation: sunGlow 4s ease-in-out infinite;
}
.pixel-sun svg { width: 100%; height: 100%; display: block; opacity: .85; filter: drop-shadow(0 0 24px rgba(var(--accent-rgb), .5)); }
@keyframes sunFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes sunGlow { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.hero-stars { position: absolute; inset: 0 0 35% 0; }
.hero-star {
  position: absolute; width: 4px; height: 4px; background: var(--accent-light);
  opacity: .15; animation: twinkle 3s steps(3) infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .1; } 50% { opacity: .75; } }

.landscape {
  position: absolute; left: -2%; width: 104%; bottom: 0; display: block;
  height: clamp(220px, 38vh, 380px);
  transition: transform .6s var(--ease);
}
.landscape--far { bottom: 50px; opacity: .9; }
.landscape--near { height: clamp(160px, 26vh, 260px); }

/* Inhalt */
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px;
  width: 100%; margin-bottom: 22px;
}
.hero__row > .hero-chip--ip { justify-self: end; }
.hero__row > .hero-chip--status { justify-self: start; }

/* Info-Chips links/rechts */
.hero-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  text-align: left; border-radius: 12px;
  background: rgba(20, 20, 20, .7); border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.hero-chip:hover { transform: translate(-2px, -2px); border-color: rgba(var(--accent-rgb), .6); box-shadow: 6px 6px 0 rgba(var(--accent-rgb), .25), 0 0 30px -8px rgba(var(--accent-rgb), .6); }
.hero-chip__icon {
  position: relative; display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px;
  border-radius: 8px; font-size: 1.05rem; color: var(--accent);
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .35);
}
.hero-chip__dot {
  position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--warning); border: 2px solid var(--bg);
}
.hero-chip__text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-chip__title { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--text); white-space: nowrap; }
.hero-chip__sub { font-size: .8rem; color: var(--text-muted); white-space: nowrap; }
.hero-chip__sub i { margin-right: 3px; }
.hero-chip--ip .hero-chip__title { font-family: var(--font-mono); font-weight: 700; font-size: .92rem; letter-spacing: .04em; }
.hero-chip.copied { border-color: var(--success); }
.hero-chip.copied .hero-chip__icon { color: var(--success); border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .12); }
.hero-chip.copied .hero-chip__sub { color: #86efac; }
.hero-chip--status.spinning .hero-chip__icon i { animation: spin .8s linear infinite; }
.hero-chip__count { color: var(--accent-light); font-weight: 700; }

/* Logo-Block in der Mitte */
.hero-logo { position: relative; display: flex; align-items: center; gap: 18px; padding-top: 70px; }
.hero-logo__img-wrap { position: relative; width: clamp(96px, 10vw, 140px); aspect-ratio: 1; cursor: pointer; }
.hero-logo__img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(var(--accent-rgb), .5));
  animation: logoBob 3.2s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.hero-logo__img-wrap::after { /* Pixel-Schatten, der mitatmet */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -10px; height: 8px;
  background: rgba(0, 0, 0, .45); border-radius: 50%; filter: blur(3px);
  animation: shadowBob 3.2s ease-in-out infinite;
}
.hero-logo__img-wrap.jump .hero-logo__img { animation: logoJump .7s var(--ease); }
@keyframes logoBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes shadowBob { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.7); opacity: .5; } }
@keyframes logoJump {
  0% { transform: translateY(0) scale(1, 1); }
  20% { transform: translateY(0) scale(1.15, .85); }
  50% { transform: translateY(-40px) scale(.92, 1.1) rotate(-8deg); }
  80% { transform: translateY(0) scale(1.1, .9); }
  100% { transform: translateY(0) scale(1, 1); }
}

.hero-logo__text { display: flex; flex-direction: column; align-items: center; margin: 0; line-height: 1; }
.hero-logo__title {
  font-family: var(--font-display); font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(3.4rem, 9vw, 7rem); line-height: .9; text-transform: uppercase;
  background: linear-gradient(180deg, #ffe7a3 0%, var(--gold) 22%, var(--accent) 58%, #d9481f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent);
  filter: drop-shadow(4px 4px 0 #5c2410) drop-shadow(0 0 34px rgba(var(--accent-rgb), .45));
}
.hero-logo__sub {
  margin-top: 10px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: .6em; padding-left: .6em; color: var(--text);
  text-shadow: 3px 3px 0 rgba(var(--accent-rgb), .35);
}

/* Hüpfende Retro-Items über dem Logo */
.retro-items { position: absolute; left: 50%; top: 0; width: 360px; height: 80px; transform: translateX(-50%); pointer-events: none; }
.retro-item { position: absolute; bottom: 0; width: 30px; height: 30px; animation: itemBounce 1.6s cubic-bezier(.5, 0, .5, 1) infinite; }
.retro-item svg { width: 100%; height: 100%; display: block; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .45)); image-rendering: pixelated; }
.retro-item::after { /* Schatten auf dem "Boden" */
  content: ""; position: absolute; left: 15%; right: 15%; bottom: -8px; height: 4px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); animation: itemShadow 1.6s cubic-bezier(.5, 0, .5, 1) infinite;
}
.retro-item:nth-child(1) { left: 2%;  bottom: 6px;  animation-delay: 0s; }
.retro-item:nth-child(2) { left: 22%; bottom: 26px; animation-delay: .25s; }
.retro-item:nth-child(3) { left: 44%; bottom: 40px; animation-delay: .5s; width: 34px; height: 34px; }
.retro-item:nth-child(4) { left: 66%; bottom: 26px; animation-delay: .75s; }
.retro-item:nth-child(5) { left: 88%; bottom: 6px;  animation-delay: 1s; }
.retro-item:nth-child(2)::after { animation-delay: .25s; }
.retro-item:nth-child(3)::after { animation-delay: .5s; }
.retro-item:nth-child(4)::after { animation-delay: .75s; }
.retro-item:nth-child(5)::after { animation-delay: 1s; }
@keyframes itemBounce {
  0%, 100% { transform: translateY(0) scale(1.12, .88); }
  12% { transform: translateY(-4px) scale(.95, 1.06); }
  50% { transform: translateY(-26px) scale(1, 1); }
  88% { transform: translateY(-4px) scale(.95, 1.06); }
}
@keyframes itemShadow {
  0%, 100% { transform: scaleX(1); opacity: .6; }
  50% { transform: translateY(26px) scaleX(.5); opacity: .2; }
}

.hero__slogan { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; color: var(--text); margin-bottom: 8px; }
.hero__text { color: var(--text-muted); font-size: 1.02rem; max-width: 620px; margin: 0 auto 30px; }
.hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.btn--pixel { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; box-shadow: 4px 4px 0 rgba(0, 0, 0, .4); }
.btn--primary.btn--pixel { box-shadow: 4px 4px 0 #7a2e12, 0 0 34px -6px rgba(var(--accent-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--pixel:hover { transform: translate(-2px, -2px); }
.btn--primary.btn--pixel:hover { box-shadow: 6px 6px 0 #7a2e12, 0 0 44px -4px rgba(var(--accent-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--pixel:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, .4); }

.player-heads { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.player-heads:empty { display: none; }
.player-heads img { width: 28px; height: 28px; border-radius: 4px; image-rendering: pixelated; border: 1px solid var(--border-strong); transition: transform .2s; }
.player-heads img:hover { transform: translateY(-3px) scale(1.15); }
.player-heads__more { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 4px; background: rgba(var(--accent-rgb), .15); color: var(--accent-light); font-size: .75rem; font-weight: 700; }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); opacity: .6; transition: opacity .2s; z-index: 1; }
.scroll-hint:hover { opacity: 1; }
.scroll-hint__mouse { display: block; width: 24px; height: 38px; border: 2px solid var(--text-muted); border-radius: 14px; position: relative; }
.scroll-hint__mouse span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scrollWheel 1.8s infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero – Tablet: Chips unter das Logo */
@media (max-width: 1024px) {
  .hero__row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin-bottom: 18px; }
  .hero__row > .hero-chip--ip { justify-self: end; }
  .hero__row > .hero-chip--status { justify-self: start; }
  .pixel-sun { right: 8%; top: 12%; }
}

/* Hero – Smartphone */
@media (max-width: 640px) {
  .hero { padding: calc(var(--nav-h) + 24px) 0 120px; }
  .hero__row { grid-template-columns: 1fr; gap: 12px; }
  .hero__row > .hero-chip--ip, .hero__row > .hero-chip--status { justify-self: stretch; }
  .hero-logo { flex-direction: column; gap: 10px; padding-top: 64px; margin-bottom: 10px; }
  .hero-logo__img-wrap { width: 96px; }
  .retro-items { width: 240px; height: 70px; }
  .retro-item { width: 24px; height: 24px; }
  .retro-item:nth-child(3) { width: 28px; height: 28px; }
  .pixel-sun { top: calc(var(--nav-h) + 6px); right: 4%; width: 50px; }
  .hero-stars { display: none; }
}

/* ---------- 7. Sektionen ---------- */
.section { position: relative; padding: 110px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(20, 20, 20, .55) 15%, rgba(20, 20, 20, .55) 85%, transparent); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow, .mono-badge {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 16px; padding: .45em 1em;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(var(--amber-rgb), .3); border-radius: 999px;
  background: rgba(var(--amber-rgb), .06);
}
.section__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 16px; }
.section__lead { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- 8. Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; padding: 30px 28px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .14), transparent 45%);
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 24px 48px -20px rgba(var(--accent-rgb), .35); }
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 14px; font-size: 1.4rem; color: #2a1206;
  background: var(--gradient-tile);
  box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), .6), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.feature-card:hover .feature-card__icon { transform: rotate(-8deg) scale(1.08); box-shadow: var(--accent-glow); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: .97rem; }

/* ---------- 9. Join ---------- */
.edition-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 36px; padding: 6px; width: fit-content; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.edition-tab { display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.3em; border-radius: 10px; font-weight: 600; color: var(--text-muted); transition: all .25s var(--ease); }
.edition-tab:hover { color: var(--text); }
.edition-tab.active { background: var(--gradient); color: #1a0d06; box-shadow: 0 6px 20px -6px rgba(var(--accent-rgb), .6); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 34px 28px 30px; transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .35); }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  background: var(--gradient-tile); color: #2a1206; box-shadow: 0 0 24px rgba(var(--accent-rgb), .4);
}
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .97rem; }
.step strong { color: var(--text); }
.mini-ip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: .5em .9em;
  border-radius: 10px; background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3);
  font-family: var(--font-display); font-weight: 700; color: var(--accent-light);
  transition: background .2s, color .2s;
}
.mini-ip:hover { background: var(--accent); color: #1a0d06; }
.mini-ip.copied { background: var(--success); color: #052e14; border-color: var(--success); }
.step__port { margin-top: 8px; font-size: .88rem !important; }

/* ---------- 10. Live-Map ---------- */
.map-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 8; min-height: 360px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(10, 10, 10, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border);
}
.map-frame__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.map-frame__live span { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse 2s infinite; }

.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; gap: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), .15), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 32px);
}
.map-placeholder__icon {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; font-size: 2.2rem;
  color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .35);
  box-shadow: var(--accent-glow); animation: float 5s ease-in-out infinite;
}
.map-placeholder h3 { font-family: var(--font-display); font-size: 1.6rem; }
.map-placeholder p { color: var(--text-muted); max-width: 460px; }

/* ---------- 11. Regeln ---------- */
.rule-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.rule-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.2em;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; color: var(--text-muted); transition: all .25s var(--ease);
}
.rule-tab:hover { color: var(--text); border-color: var(--border-strong); }
.rule-tab.active { color: var(--accent-light); border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .12); box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), .5); }
.rule-tab__count { font-size: .75rem; padding: .1em .55em; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.rule-tab.active .rule-tab__count { background: var(--accent); color: #1a0d06; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { overflow: hidden; transition: border-color .25s; animation: fadeUp .4s var(--ease) both; }
.accordion-item.open { border-color: rgba(var(--accent-rgb), .4); }
.accordion-item__head {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.accordion-item__num {
  display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px;
  font-size: .85rem; font-weight: 800; color: var(--accent); background: rgba(var(--accent-rgb), .12);
}
.accordion-item__title { flex: 1; }
.accordion-item__chev { color: var(--text-dim); transition: transform .3s var(--ease), color .3s; }
.accordion-item.open .accordion-item__chev { transform: rotate(180deg); color: var(--accent); }
.accordion-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.accordion-item.open .accordion-item__body { grid-template-rows: 1fr; }
.accordion-item__body > div { overflow: hidden; }
.accordion-item__body p { padding: 0 22px 20px 70px; color: var(--text-muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { position: relative; padding: 28px 22px 26px; text-align: center; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.team-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 110px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--role-color) 30%, transparent), transparent);
  opacity: .7;
}
.team-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--role-color) 60%, transparent); }
.team-card__avatar {
  position: relative; width: 110px; height: 160px; margin: 0 auto 16px; object-fit: contain; image-rendering: pixelated;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55));
  transition: transform .4s var(--ease);
}
.team-card:hover .team-card__avatar { transform: scale(1.06) rotate(-2deg); }
.team-card h3 { position: relative; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 6px; }
.team-card__role {
  position: relative; display: inline-block; margin-bottom: 12px; padding: .25em .85em; border-radius: 99px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--role-color); background: color-mix(in srgb, var(--role-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--role-color) 40%, transparent);
}
.team-card p { position: relative; color: var(--text-muted); font-size: .92rem; }

/* ---------- 13. Vote ---------- */
.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.vote-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.vote-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 20px 40px -18px rgba(var(--accent-rgb), .4); }
.vote-card__top { display: flex; align-items: center; gap: 14px; }
.vote-card__num {
  display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; color: var(--accent);
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3);
}
.vote-card h3 { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; word-break: break-word; }
.vote-card__reward { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-muted); }
.vote-card__reward i { color: var(--accent); }
.vote-card .btn { margin-top: auto; }
.vote-card.voted .btn { background: rgba(34, 197, 94, .15); color: #86efac; border-color: rgba(34, 197, 94, .4); box-shadow: none; }

/* ---------- 14. CTA ---------- */
.section--cta { padding-top: 40px; padding-bottom: 40px; }
.cta {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 44px 48px;
  border-radius: var(--radius-lg);
  background: radial-gradient(700px circle at 100% 0%, rgba(var(--accent-rgb), .16), transparent 55%), var(--surface);
  border-color: rgba(var(--accent-rgb), .25);
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 70%); pointer-events: none;
}
.cta__icon { display: grid; place-items: center; flex-shrink: 0; width: 84px; height: 84px; border-radius: 22px; font-size: 2.4rem; color: #2a1206; background: var(--gradient-tile); box-shadow: 0 16px 40px -10px rgba(var(--accent-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.cta__content { flex: 1; }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.cta p { color: var(--text-muted); }
.cta .btn { position: relative; z-index: 1; }

/* ---------- 15. Footer ---------- */
.footer { position: relative; margin-top: 60px; padding: 70px 0 0; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(20, 20, 20, .6), var(--bg)); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { color: var(--text-muted); margin: 16px 0 20px; max-width: 300px; }
.footer__col h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: var(--text-muted); font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--accent); padding-left: 4px; }
.footer__col a i { width: 18px; margin-right: 6px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--text-muted); font-size: 1.1rem;
  transition: all .25s var(--ease);
}
.social:hover { color: #1a0d06; background: var(--accent); border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--accent-glow); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; color: var(--text-dim); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--border); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- 16. Toast, Back-to-Top, Reveal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px;
  background: var(--surface-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, .45); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6), 0 0 30px -8px rgba(34, 197, 94, .5);
  font-weight: 600; transform: translate(-50%, 140%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s; pointer-events: none;
}
.toast i { color: var(--success); font-size: 1.15rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { border-color: rgba(239, 68, 68, .5); }
.toast.error i { color: var(--danger); }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient-tile); color: #2a1206; font-size: 1.1rem; box-shadow: var(--accent-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--delay { transition-delay: .15s; }
.reveal.visible { opacity: 1; transform: none; }
/* Ohne JavaScript alles sichtbar lassen */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 17. Rechtliche Unterseiten ---------- */
.legal-page { padding: calc(var(--nav-h) + 60px) 0 80px; }
.legal-page .glass { padding: 44px; }
.legal-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 32px 0 10px; color: var(--accent-light); }
.legal-page p, .legal-page li { color: var(--text-muted); margin-bottom: 10px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-missing { color: var(--warning); font-style: italic; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }

  .hamburger { display: flex; }


  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; text-align: center; padding: 40px 28px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand__name { font-size: 1.1rem; }



  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .edition-tabs { width: 100%; }
  .edition-tab { flex: 1; justify-content: center; padding: .7em .6em; font-size: .9rem; }
  .map-frame { aspect-ratio: auto; height: 440px; min-height: 0; }
  .accordion-item__head { padding: 16px; gap: 12px; font-size: 1rem; }
  .accordion-item__body p { padding: 0 16px 18px 60px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .footer__bottom::before { left: 16px; right: 16px; }
  .legal-page .glass { padding: 26px 20px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

/* ---------- Mobile-Feinschliff (Smartphones) ---------- */
@media (max-width: 640px) {
  .section__title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .section__lead { font-size: 1rem; }

  /* Features: Icon neben dem Text, kompakter */
  .feature-grid { gap: 12px; }
  .feature-card { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 20px; align-items: start; }
  .feature-card__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; font-size: 1.15rem; border-radius: 12px; }
  .feature-card h3 { font-size: 1.08rem; margin: 2px 0 0; }
  .feature-card p { font-size: .92rem; }
  .feature-card:hover { transform: none; }

  /* Anleitung: Nummer links */
  .steps { gap: 12px; }
  .step { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 20px; }
  .step__num { grid-row: span 4; width: 40px; height: 40px; margin: 0; font-size: 1.05rem; border-radius: 10px; }
  .step h3 { font-size: 1.08rem; margin: 0; }
  .step p, .step .mini-ip { grid-column: 2; }
  .step .mini-ip { justify-self: start; }

  /* Team: zwei Spalten */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-card { padding: 18px 12px 16px; }
  .team-card::before { height: 80px; }
  .team-card__avatar { width: 72px; height: 104px; margin-bottom: 10px; }
  .team-card h3 { font-size: 1.02rem; }
  .team-card__role { font-size: .66rem; margin-bottom: 8px; }
  .team-card p { font-size: .8rem; line-height: 1.5; }

  /* Vote: kompakter */
  .vote-grid { gap: 12px; }
  .vote-card { padding: 18px; gap: 12px; }

  .cta { padding: 32px 20px; gap: 18px; }
  .cta__icon { width: 64px; height: 64px; font-size: 1.8rem; border-radius: 16px; }
  .cta .btn { width: 100%; }

  /* Footer: Spalten statt langer Liste */
  .footer { padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { margin: 12px 0 16px; }
  .footer__bottom { padding-top: 22px; padding-bottom: 90px; text-align: left; }
  .scroll-hint { display: none; }
}

/* Bewegung reduzieren, wenn vom Nutzer gewünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
