:root {
  --bg: #0b0c10;
  --bg-alt: #121318;
  --fg: #eef0f3;
  --muted: #9aa0ab;
  --accent: #e8402c;
  --accent-2: #2cc9e8;
  --line: #22242c;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
header.site {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11,12,16,0.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--fg);
}
.brand span { color: var(--accent); }

nav.links {
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
}
nav.links a { color: var(--muted); }
nav.links a:hover { color: var(--fg); text-decoration: none; }

.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg) !important;
  font-size: 0.88rem;
  white-space: nowrap;
}
.btn-x:hover { border-color: var(--accent-2); text-decoration: none; }

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,16,0.1) 0%, rgba(11,12,16,0.55) 70%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

h1.title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1.title .accent { color: var(--accent); }

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 560px;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-primary:hover { background: #ff5338; text-decoration: none; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--fg) !important;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-ghost:hover { border-color: var(--accent-2); text-decoration: none; }

/* --- Sections --- */
section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 20px;
  font-weight: 800;
}

p.section-lead {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.55;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 12px;
  font-weight: 700;
}

/* --- Roadmap --- */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}

.rm-item {
  display: flex;
  gap: 22px;
  padding-bottom: 36px;
  position: relative;
}
.rm-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.rm-dot {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--accent-2);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-2);
  z-index: 1;
}
.rm-item.done .rm-dot { border-color: var(--accent); color: var(--accent); background: var(--accent); color: #fff; }

.rm-body .rm-status {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
.rm-item.done .rm-body .rm-status { color: var(--accent); }

.rm-body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.rm-body p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* --- Follow / CTA --- */
.follow {
  text-align: center;
}
.follow h2 { margin-bottom: 12px; }
.follow p.section-lead { margin: 0 auto 32px; text-align: center; }
.follow .cta-row { justify-content: center; }

/* --- Footer --- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
footer .legal {
  max-width: 640px;
  line-height: 1.6;
}

/* --- Unterseiten --- */
.page-head {
  padding: 130px 0 56px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 300px at 80% -10%, rgba(232,64,44,0.12), transparent 70%);
}
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 14px; font-weight: 800; line-height: 1.1; }
.page-head p.lead { margin: 0; max-width: 680px; }

section.sub { padding: 64px 0; border-top: 0; }
section.sub + section.sub { border-top: 1px solid var(--line); }
section.sub h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
section.sub p { color: var(--muted); max-width: 720px; line-height: 1.65; }
section.sub p.note { font-size: 0.88rem; border-left: 3px solid var(--accent-2); padding-left: 12px; }

ul.facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; max-width: 760px; }
ul.facts li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
ul.facts li strong { color: var(--fg); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 24px; }
.stat { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.stat b { display: block; font-size: 1.7rem; color: var(--fg); margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 0.86rem; }

.pager { display: flex; justify-content: space-between; gap: 16px; padding: 40px 0 0; font-size: 0.95rem; flex-wrap: wrap; }

a.more { display: inline-block; margin-top: 14px; font-size: 0.88rem; font-weight: 600; }

/* --- Roadmap-Seite --- */
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.st { display: inline-block; min-width: 20px; font-weight: 800; }
.st.ok { color: #46d37a; }
.st.wip { color: #f2b640; }
.st.todo { color: var(--muted); }

.phase { margin-top: 40px; }
.phase > h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.phase .badge { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.phase .badge.ok { color: #46d37a; border-color: #46d37a55; }
.phase .badge.wip { color: #f2b640; border-color: #f2b64055; }

.rm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 860px) { .rm-grid { grid-template-columns: 1fr; } }
.rm-block { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.rm-block h3 { margin: 0 0 4px; font-size: 1.05rem; }
.rm-block .sub-note { color: var(--muted); font-size: 0.85rem; margin: 0 0 12px; }
.rm-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rm-block li { display: flex; gap: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.rm-block li .st { flex: 0 0 18px; }

@media (max-width: 900px) {
  header.site .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
  nav.links { order: 3; width: 100%; overflow-x: auto; gap: 18px; white-space: nowrap; padding-bottom: 2px; }
  .page-head { padding-top: 150px; }
}
