:root {
  --bg: #060709;
  --surface: #0f1115;
  --surface-2: #151820;
  --text: #eceef4;
  --muted: #8d93a3;
  --silver: #c9d0e0;
  --accent: #7b6cff;
  --accent-2: #4fd1ff;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(123, 108, 255, .16), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(79, 209, 255, .07), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.6 "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

html[lang="de"] [lang="en"],
html[lang="en"] [lang="de"] { display: none; }

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

.onyx {
  background: linear-gradient(120deg, #f1f3fa, #8f9bb8 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: rgba(6, 7, 9, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { color: var(--muted); font-size: .95rem; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.lang-toggle {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 4px 10px; font: inherit; font-size: .85rem; cursor: pointer;
}

main section { max-width: 1160px; margin: 0 auto; padding: 72px 16px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; text-align: center; letter-spacing: -.01em; }
.section-lead { max-width: 720px; margin: 0 auto 36px; text-align: center; color: var(--muted); }
.fine { color: var(--muted); font-size: .9rem; }
.center { text-align: center; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding-top: 64px !important;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 4px 12px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--silver); font-size: .85rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; }
.shine {
  background: linear-gradient(100deg, #ffffff 0%, #aab4cc 40%, var(--accent) 75%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: #b9becc; font-size: 1.1rem; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 600;
}
.btn:hover { text-decoration: none; border-color: #3a4050; }
.btn.primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--accent), #5a8bff);
  box-shadow: 0 8px 30px rgba(123, 108, 255, .35);
}
.btn.primary:hover { filter: brightness(1.1); }

/* Screenshot der App */
.hero-shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  width: 100%; max-width: 520px; justify-self: center;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(123, 108, 255, .12);
}
.hero-shot a { display: block; }
.hero-shot img { display: block; width: 100%; max-width: 100%; height: auto; }

/* Vergleich */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.col { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.col h3 { margin: 0 0 12px; }
.col ul { margin: 0; padding-left: 20px; color: #b9becc; }
.col li + li { margin-top: 6px; }
.onyx-col {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #8f9bb8, var(--accent), var(--accent-2)) border-box;
  border: 1px solid transparent;
}

/* Funktionen */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid article {
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
}
.grid h3 { margin: 0 0 8px; font-size: 1.05rem; }
.grid p { margin: 0; color: #a9afbe; font-size: .95rem; }

/* Fahrplan */
.timeline { list-style: none; margin: 24px auto; padding: 0; max-width: 760px; position: relative; }
/* Verbindungslinie je Meilenstein bis zum nächsten – nach dem letzten (Release) kommt keine mehr */
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 23px; top: 34px; bottom: -34px; width: 2px;
  background: var(--border);
}
.timeline li.done:not(:last-child)::before { background: rgba(62, 230, 168, .45); }
.timeline li { display: flex; gap: 20px; padding: 10px 0; position: relative; }
.step {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  position: relative; z-index: 1;
}
.timeline li.now .step { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), #5a8bff); box-shadow: 0 0 24px rgba(123, 108, 255, .5); }
.timeline h3 { margin: 10px 0 4px; font-size: 1.05rem; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.timeline p { margin: 0; color: #a9afbe; }
.tag {
  font-style: normal; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  color: var(--accent-2); border: 1px solid rgba(79, 209, 255, .35); background: rgba(79, 209, 255, .08);
}

.timeline li.done .step { color: #0b0c10; border-color: transparent; background: #3ee6a8; }
.timeline li.done .step::after { content: "✓"; position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; background: #0b0c10; color: #3ee6a8; border: 1px solid #3ee6a8; }
.tag.ok { color: #3ee6a8; border-color: rgba(62, 230, 168, .35); background: rgba(62, 230, 168, .08); }
.grid h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* FAQ */
.faq details {
  max-width: 760px; margin: 0 auto 12px; padding: 0 20px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
}
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.faq details p { margin: 0 0 16px; color: #a9afbe; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 16px; text-align: center; color: var(--muted); font-size: .9rem;
}
footer p { margin: 0 0 8px; }
.links { display: flex; justify-content: center; gap: 20px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav nav a { display: none; }
  .grid, .compare { grid-template-columns: 1fr; }
  main section { padding: 48px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}

/* Beta-Download */
.beta-card {
  max-width: 560px; margin: 0 auto; padding: 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #8f9bb8, var(--accent), var(--accent-2)) border-box;
}
.beta-ver { margin: 0 0 18px; color: var(--muted); }
.beta-ver b { color: var(--text); margin-left: 6px; }
.beta-card label { display: block; font-weight: 600; margin-bottom: 8px; }
.beta-row { display: flex; gap: 10px; }
.beta-row input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; text-transform: uppercase;
}
.beta-row input::placeholder { color: #4b5160; }
.beta-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(123, 108, 255, .2); }
.beta-row .btn { cursor: pointer; font: inherit; font-weight: 600; }
.beta-row .btn:disabled { opacity: .6; cursor: progress; }
.beta-msg { min-height: 1.6em; margin: 12px 0 8px; font-size: .95rem; color: var(--muted); }
.beta-msg.ok { color: #3ee6a8; }
.beta-msg.err { color: #ff6b8a; }
.beta-card .fine { margin: 0; }
@media (max-width: 480px) { .beta-row { flex-direction: column; } }
.beta-hint { text-align: center; margin: -20px auto 28px; color: var(--accent-2); font-size: .95rem; }
