:root {
  --bg: #060709;
  --surface: #0f1115;
  --surface-2: #151820;
  --border: #22262f;
  --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: 1fr 1.05fr; 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); }

/* Oberflächen-Vorschau */
.mock {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: #0b0c10; border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  font-size: 13px; user-select: none;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0e1014; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a2e38; }
.mock-bar em { margin-left: 8px; font-style: normal; color: var(--muted); font-size: 12px; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 270px; }
.mock-side { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: #090a0d; border-right: 1px solid var(--border); }
.mock-side b { font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 6px; }
.mock-side b.on { color: var(--text); background: var(--surface-2); }
.mock-side hr { width: 100%; border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.mock-side i { font-style: normal; color: var(--muted); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-main { padding: 16px; }
.mock-h { margin: 0 0 12px; font-weight: 700; font-size: 16px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mock-cards i { font-style: normal; color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c { display: block; aspect-ratio: 1; border-radius: 8px; }
.c.small { width: 38px; height: 38px; aspect-ratio: auto; border-radius: 6px; flex: none; }
.c1 { background: linear-gradient(135deg, #7b6cff, #1b1640); }
.c2 { background: linear-gradient(135deg, #4fd1ff, #0b2a3a); }
.c3 { background: linear-gradient(135deg, #8f9bb8, #1a1d26); }
.c4 { background: linear-gradient(135deg, #ff5fa2, #2b0f24); }
.c5 { background: linear-gradient(135deg, #3ee6a8, #0c2a20); }
.c6 { background: linear-gradient(135deg, #ffb35c, #2e1c0b); }
.mock-player {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  column-gap: 12px; row-gap: 8px; align-items: center;
  padding: 10px 14px; background: #0e1014; border-top: 1px solid var(--border);
}
.mock-track { display: flex; flex-direction: column; min-width: 0; }
.mock-track i { font-style: normal; color: var(--muted); font-size: 12px; }
.mock-ctrl { display: flex; align-items: center; gap: 14px; color: var(--silver); }
.mock-ctrl .play {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--text); color: #0b0c10; font-size: 11px; padding-left: 2px;
}
.mock-seek { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: #23262f; overflow: hidden; }
.mock-seek span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* 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; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), var(--border) 30%);
}
.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);
}

/* 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; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  main section { padding: 48px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
