:root {
  --bg: #0e0e13;
  --bg-alt: #111117;
  --panel: #141419;
  --card: #17171d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f7;
  --text-soft: rgba(244, 244, 247, 0.64);
  --text-faint: rgba(244, 244, 247, 0.38);
  --accent: #7c5cff;
  --accent-hover: #8d71ff;
  --green: #3ddc84;
  --red: #ff5470;
  --nav-h: 68px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.fill { fill: currentColor; stroke: none; }
.hidden { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s, transform .15s, border-color .15s, opacity .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 11px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 13px; }
.btn-primary { background: var(--accent); box-shadow: 0 8px 24px rgba(124, 92, 255, .35); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-hover); }
.btn.is-disabled { opacity: .55; pointer-events: none; box-shadow: none; }

.text-link { display: inline-block; margin-top: 14px; margin-right: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
.text-link:hover { color: var(--accent-hover); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ============ Navbar ============ */
.navbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  background: rgba(14, 14, 19, .82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .3px; }
.brand-icon { width: 30px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.brand b { color: var(--accent); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, top .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ============ Hero (1920 × 800) ============ */
.hero {
  position: relative;
  aspect-ratio: 1920 / 800;
  min-height: 520px;
  max-height: calc(100vh - var(--nav-h));
  width: 100%;
  overflow: hidden;
  display: flex;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 19, .94) 0%, rgba(14, 14, 19, .6) 45%, rgba(14, 14, 19, .2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 14, 19, 0) 35%),
    url("assets/hero.jpg") center / cover no-repeat,
    radial-gradient(55% 80% at 75% 35%, rgba(124, 92, 255, .28), transparent 70%),
    radial-gradient(40% 60% at 95% 95%, rgba(255, 84, 160, .14), transparent 70%),
    #121218;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 40px; padding-bottom: 40px;
}
.hero-content { max-width: 700px; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800; line-height: 1.02; letter-spacing: -1.5px; text-transform: uppercase;
  margin: 16px 0 18px;
}
.accent { color: var(--accent); }
.lead { font-size: 16px; color: var(--text-soft); max-width: 460px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.hero-status { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; animation: rise .8s .15s cubic-bezier(.2, .8, .2, 1) both; }
.chip {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 15px;
  background: rgba(20, 20, 25, .6);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(12px);
}
.chip-row { flex-direction: row; align-items: center; gap: 10px; }
.chip-row > div { display: flex; flex-direction: column; gap: 2px; }
.chip-label { font-size: 11px; color: var(--text-faint); }
.chip-value { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.chip-value svg { width: 14px; height: 14px; color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }
.dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============ Sections ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 560px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; margin-top: 12px; }
.section-head p { font-size: 15px; color: var(--text-soft); margin-top: 12px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(124, 92, 255, .4); transform: translateY(-3px); }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(124, 92, 255, .12); color: var(--accent);
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-soft); }

/* Fraktionen */
.faction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.faction {
  position: relative; overflow: hidden;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s;
}
.faction:hover { border-color: var(--border-strong); }
.faction-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent);
  padding: 4px 9px; border-radius: 999px; margin-bottom: 14px;
}
.faction h3 { font-size: 17px; font-weight: 700; }
.faction p { font-size: 13.5px; color: var(--text-soft); margin-top: 4px; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step {
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.step-num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.step h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.step p { font-size: 14px; color: var(--text-soft); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news-card {
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.news-card time { font-size: 12px; color: var(--text-faint); }
.news-card h3 { font-size: 16px; font-weight: 700; margin: 8px 0; }
.news-card p { font-size: 14px; color: var(--text-soft); white-space: pre-line; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-size: 15px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--text-faint);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; font-size: 14px; color: var(--text-soft); }

/* CTA */
.cta { padding: 0 0 100px; }
.cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 44px 48px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(124, 92, 255, .3), transparent 70%),
    var(--card);
  border: 1px solid rgba(124, 92, 255, .25);
  border-radius: 18px;
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.3px; }
.cta p { color: var(--text-soft); margin-top: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--panel); padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-logo { width: 180px; }
.footer-brand p { font-size: 13px; color: var(--text-faint); margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { font-size: 14px; color: var(--text-soft); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-faint);
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60;
  padding: 12px 18px; border-radius: 10px; font-size: 14px;
  background: var(--panel); border: 1px solid var(--border-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* Scroll-Einblendung */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-content, .hero-status { animation: none; }
  html { scroll-behavior: auto; }
}

/* Rechtliche Seiten */
.legal { padding: 70px 0 100px; }
.legal h1 { font-size: 34px; font-weight: 800; margin-bottom: 28px; }
.legal h2 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.legal p { color: var(--text-soft); font-size: 15px; }
.legal .note {
  padding: 14px 18px; border-radius: 10px; margin-bottom: 28px;
  background: rgba(255, 194, 61, .08); border: 1px solid rgba(255, 194, 61, .25); color: #ffd98a; font-size: 14px;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .feature-grid, .faction-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .burger { display: block; }
  .hide-mobile { display: none; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { width: 40px; padding: 0; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: rgba(14, 14, 19, .97); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-mobile-only { display: block; }

  .hero { aspect-ratio: auto; min-height: calc(100svh - var(--nav-h)); max-height: none; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .feature-grid, .faction-grid, .news-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
