:root {
  --bg: #0a0a0c;
  --text: #f4f1ee;
  --muted: #9b968f;
  --line: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .04);
  --orange: #ff6a2b;
  --orange-2: #ffb347;
  --violet: #7c5cff;
  --green: #3ddc84;
  --red: #ff4d5e;
  --r: 20px;
  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; }
::selection { background: var(--orange); color: #000; }

/* ---------- Hintergrund ---------- */
#embers { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-glow {
  position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 20% 10%, rgba(255, 106, 43, .22), transparent 70%),
    radial-gradient(35% 30% at 85% 25%, rgba(124, 92, 255, .18), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(255, 106, 43, .10), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  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 baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg); } }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1100px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(14, 14, 18, .6); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background .3s;
}
.nav.scrolled { background: rgba(14, 14, 18, .88); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: .9rem; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--text); background: var(--glass); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 650; font-size: .95rem;
  color: #160b05; background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 30px -8px rgba(255, 106, 43, .6), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(255, 106, 43, .75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-glass { color: var(--text); background: var(--glass); border: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 140px 20px 80px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass); font-size: .85rem; color: var(--muted); margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 850; }
.grad {
  background: linear-gradient(100deg, var(--orange-2) 0%, var(--orange) 40%, var(--violet) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lead { max-width: 560px; margin: 26px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.countdown { margin-top: 64px; padding: 22px 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cd-label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cd-grid { display: flex; gap: 14px; }
.cd-grid div { min-width: 78px; display: flex; flex-direction: column; align-items: center; }
.cd-grid b { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.cd-grid small { color: var(--muted); font-size: .75rem; }
.cd-server { font-size: .85rem; color: var(--orange-2); font-weight: 600; }

/* ---------- Sections ---------- */
.section { max-width: 1140px; margin: 0 auto; padding: 100px 20px; }
.section.narrow { max-width: 820px; }
.section-head { margin-bottom: 48px; }
.kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--orange); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.sub { color: var(--muted); max-width: 580px; margin: 16px 0 0; }

/* ---------- Server-Karten ---------- */
.servers { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.server {
  --c: var(--orange);
  position: relative; padding: 30px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
}
.server::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.server:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.server:hover::before { opacity: 1; }
.server > * { position: relative; }
.server-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.badge { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.online { color: var(--green); } .status.online i { background: var(--green); animation: ping 2s infinite; }
.status.offline { color: var(--red); } .status.offline i { background: var(--red); }
.server h3 { font-size: 2.1rem; font-weight: 800; }
.server .tag { color: var(--muted); margin-top: 6px; }
.meter { margin: 26px 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.meter b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.meter span { color: var(--muted); font-size: .85rem; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 50%, #fff)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.facts { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: .82rem; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.copy {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.35);
  color: var(--text); font: 500 .85rem ui-monospace, "Cascadia Code", Consolas, monospace; text-align: left; transition: border-color .2s;
}
.copy:hover { border-color: rgba(255,255,255,.2); }
.copy em { font: 600 .75rem var(--font); color: var(--muted); font-style: normal; }
.copy.done em { color: var(--green); }
.play { padding: 12px 20px; border-radius: 14px; }

/* ---------- Wipe-Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.wipe { padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wipe h3 { font-size: 1.25rem; }
.wipe p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.wipe .next { text-align: right; }
.wipe .next b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--orange-2); }
.wipe .next small { color: var(--muted); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { padding: 28px; transition: transform .3s, border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.tile.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,106,43,.22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.tile.big h3 { font-size: 2rem; }
.tile.wide { grid-column: span 2; }
.tile-icon { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-bottom: 18px; }
.tile.big .tile-icon { margin-bottom: auto; }
.tile h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.faq p { margin: 0 0 22px; color: var(--muted); }
kbd, code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid var(--line); }

/* ---------- Abschluss ---------- */
.final { text-align: center; padding: 80px 24px; position: relative; overflow: hidden;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255,106,43,.25), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.final h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.final p { color: var(--muted); max-width: 480px; margin: 18px auto 32px; }

/* ---------- Unterseiten ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 150px 20px 80px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin-bottom: 24px; }
.page h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.page p, .page li { color: #cfc9c2; }
.page ol { counter-reset: r; list-style: none; padding: 0; display: grid; gap: 14px; }
.page ol li { counter-increment: r; position: relative; padding: 20px 22px 20px 70px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.page ol li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 22px; top: 19px; font-weight: 800; color: var(--orange); }
.page ol li b { color: var(--text); display: block; }
.page a { color: var(--orange-2); }

/* ---------- Footer ---------- */
.footer { max-width: 1140px; margin: 0 auto; padding: 40px 20px 50px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; font-size: .88rem; }
.footer a { color: var(--muted); margin-left: 20px; transition: color .2s; }
.footer a:hover { color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Scroll-Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav nav { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; grid-row: auto; }
  .tile.big { min-height: 260px; }
  .cd-grid div { min-width: 60px; }
  .servers { grid-template-columns: 1fr; }
  .footer a { margin: 0 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Rust-Hintergrundbilder ---------- */
/* Bilder liegen in img/bg-hero.jpg und img/bg-night.jpg (eigene Screenshots gehen auch) */
.hero {
  background:
    linear-gradient(180deg, rgba(10,10,12,.35) 0%, rgba(10,10,12,.55) 55%, var(--bg) 100%),
    radial-gradient(70% 60% at 50% 40%, transparent, rgba(10,10,12,.6)),
    url("img/bg-hero.jpg") center 30% / cover no-repeat;
}
.band { position: relative; }
.band-night {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,10,12,.72) 18%, rgba(10,10,12,.72) 82%, var(--bg) 100%),
    url("img/bg-night.jpg") center / cover no-repeat fixed;
}
.final {
  background:
    linear-gradient(180deg, rgba(10,10,12,.55), rgba(10,10,12,.85)),
    radial-gradient(60% 100% at 50% 0%, rgba(255,106,43,.3), transparent 70%),
    url("img/bg-hero.jpg") center 70% / cover no-repeat;
}
.hero h1, .hero .lead { text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero .lead { color: #d6d0c9; }
@media (max-width: 900px) { .band-night { background-attachment: scroll; } }
