:root {
  --stage: #0A0B0E; --ground: #0F1115; --surface: #171A20; --elevated: #22262E;
  --line: #2F343E; --spot: #F5A524; --spot-pressed: #D98A0F; --midi: #46C2DD;
  --live: #E5484D; --ink: #F2F1EC; --ink-muted: #A3A8B3;
  --sans: "Outfit", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spot); }
.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

header.site { position: sticky; top: 0; z-index: 10; background: rgba(15,17,21,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
header.site img { height: 28px; width: auto; }
header.site nav { display: flex; gap: 1.75rem; }
header.site nav a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
header.site nav a:hover { color: var(--ink); }

.hero { position: relative; padding: 6rem 0 5rem; text-align: center; background: var(--stage) url("assets/img/spotlight-1920x1080.png") center top / cover no-repeat; }
.hero h1 { margin: 0 auto 1.25rem; max-width: 18ch; font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.hero p.lead { margin: 0 auto 2.25rem; max-width: 40rem; color: var(--ink-muted); font-size: 1.2rem; }
.badge { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; background: var(--spot); color: var(--stage); font-weight: 800; text-decoration: none; }
.badge:hover { background: var(--spot-pressed); }
.badge.soon { background: transparent; color: var(--ink); border: 1px solid var(--line); cursor: default; }
.hero small { display: block; margin-top: 1rem; font: 400 .85rem var(--mono); color: var(--ink-muted); }

section { padding: 5rem 0; }
section h2 { margin: 0 0 .5rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
section .sub { margin: 0 0 3rem; color: var(--ink-muted); max-width: 40rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; }
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; }
.card p { margin: 0; color: var(--ink-muted); font-size: .98rem; }
.card .tag { display: inline-block; margin-bottom: 1rem; font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--midi); }
#faq { background: var(--stage); }
details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .75rem 0 0; color: var(--ink-muted); }

footer.site { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--ink-muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
footer.site img { height: 22px; width: auto; opacity: .8; }
@media (max-width: 640px) { header.site nav { display: none; } .hero { padding: 4rem 0 3.5rem; } section { padding: 3.5rem 0; } }

ul.devices { list-style: none; margin: 0; padding: 0; }
ul.devices li { display: flex; flex-direction: column; padding: .6rem 0; border-top: 1px solid var(--line); }
ul.devices li:first-child { border-top: 0; }
ul.devices li span { font-weight: 600; }
ul.devices li small { font: 400 .8rem var(--mono); color: var(--ink-muted); }

.lang { display: flex; gap: .25rem; }
.lang a { padding: .3rem .55rem; border-radius: 8px; color: var(--ink-muted); text-decoration: none; font: 500 .8rem var(--mono); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--stage); background: var(--spot); }

.hero img.shot { margin: 3rem auto 0; width: min(900px, 100%); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.shots { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.shots figure { margin: 0; }
.shots img { border-radius: 14px; border: 1px solid var(--line); }
.shots figcaption { margin-top: .6rem; color: var(--ink-muted); font-size: .92rem; }

.hero .badge + .badge { margin-left: .75rem; }
header.site nav a[aria-current] { color: var(--ink); }
#beta .note { margin: 2.5rem 0 1rem; }

footer.site nav.legal { display: flex; gap: 1.25rem; }
footer.site nav.legal a { color: var(--ink-muted); }
.legal-text h1 { margin: 0 0 2rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.legal-text h2 { margin: 2.25rem 0 .5rem; font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
.legal-text p { max-width: 46rem; color: var(--ink-muted); margin: 0 0 .9rem; }

/* Handbuch */
.manual-hero { padding: 4.5rem 0 4rem; }
.manual-hero .eyebrow { margin: 0 0 1rem; font: 500 .8rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--midi); }
.manual-hero .badge + .badge { margin-left: .75rem; }
.manual { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; padding: 3rem 0 4rem; }
.toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; }
.toc .search { position: relative; margin-bottom: 1.5rem; }
.toc input { width: 100%; padding: .6rem 4.2rem .6rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; outline: none; }
.toc input:focus { border-color: var(--spot); }
.toc .search kbd { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); }
#man-count { position: absolute; right: 2.4rem; top: 50%; transform: translateY(-50%); font: 600 .75rem var(--mono); color: var(--spot); }
.toc-title { margin: 0 0 .5rem; padding: 0 .75rem; font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: .35rem .75rem; border-radius: 8px; color: var(--ink-muted); text-decoration: none; font-size: .92rem; }
.toc li a:hover { color: var(--ink); background: var(--surface); }
.toc li a.active { color: var(--spot); background: var(--surface); font-weight: 600; }
kbd { font: 500 .72rem var(--mono); padding: .1em .45em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--elevated); color: var(--ink); }
mark.hit { background: var(--spot); color: var(--stage); border-radius: 3px; padding: 0 1px; }
.doc-body .empty { color: var(--ink-muted); }
section.doc { padding: 0 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
section.doc h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
section.doc h3 { margin: 2rem 0 .5rem; font-size: 1.12rem; font-weight: 700; }
section.doc p, section.doc li { color: var(--ink-muted); line-height: 1.7; }
section.doc strong, section.doc em { color: var(--ink); }
section.doc em { font-style: normal; font-weight: 500; }
section.doc ul, section.doc ol { padding-left: 1.3rem; }
section.doc li + li { margin-top: .35rem; }
section.doc a { text-decoration: none; font-weight: 600; }
section.doc a:hover { text-decoration: underline; }
.tip { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid rgba(245,165,36,.35); background: rgba(245,165,36,.08); color: var(--ink); font-size: .95rem; line-height: 1.65; }
.tip strong { color: var(--spot); }
.tip.alt { border-color: rgba(70,194,221,.35); background: rgba(70,194,221,.07); }
.tip.alt strong { color: var(--midi); }
figure.shot { margin: 2rem 0 0; }
figure.shot .frame { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
figure.shot figcaption { margin-top: .75rem; color: var(--ink-muted); font-size: .9rem; text-align: center; }
.pin { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--spot); color: var(--stage); font: 700 .75rem var(--sans); box-shadow: 0 0 0 4px rgba(10,11,14,.85); }
.pin.corner { left: -6px; top: -6px; transform: none; }
.pin.corner.right { left: auto; right: -6px; }
.pin.side { left: -14px; top: 50%; }
table.keys { width: 100%; margin-top: 1.25rem; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
table.keys td { padding: .65rem 1rem; border-top: 1px solid var(--line); color: var(--ink-muted); }
table.keys td:first-child { width: 40%; background: var(--surface); color: var(--ink); font-weight: 500; }
section.doc details { padding: 1rem 0; }
.to-top { text-align: right; }
.to-top a { text-decoration: none; font-weight: 600; }

.mock { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; padding: 2rem 1rem; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-family: var(--sans); }
.mock-ipad, .mock-phone { position: relative; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.mock-ipad { width: 15rem; padding: .5rem; border-radius: 1.25rem; }
.mock-ipad .screen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; height: 8.5rem; border-radius: .8rem; background: var(--stage); }
.mock .cap { font: 500 .6rem var(--mono); letter-spacing: .15em; color: var(--ink-muted); }
.toggle-row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; }
.toggle { position: relative; width: 1.6rem; height: .95rem; border-radius: 999px; background: #30A46C; }
.toggle::after { content: ""; position: absolute; right: .12rem; top: .12rem; width: .7rem; height: .7rem; border-radius: 50%; background: #fff; }
.mock-arrow { font-size: 1.6rem; color: var(--ink-muted); }
.mock-phone { width: 7.5rem; height: 15.5rem; padding: .4rem; border-radius: 2rem; }
.mock-phone .screen { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .4rem; height: 100%; padding: 0 .65rem; border-radius: 1.65rem; background: var(--stage); }
.mock-phone .prev { font-size: .55rem; color: #5b606b; }
.mock-phone .now { font-size: .75rem; font-weight: 700; line-height: 1.2; color: var(--spot); }
.mock-phone .next { font-size: .55rem; color: var(--ink-muted); }
.mock-phone .keys { position: absolute; bottom: .8rem; left: 50%; display: flex; gap: .25rem; transform: translateX(-50%); font-size: .55rem; color: var(--ink-muted); }
.mock-phone .keys span { padding: 0 .25rem; border-radius: 4px; background: var(--elevated); }
.mock.settings { display: block; }
.mock-card { max-width: 28rem; margin: 0 auto; padding: 1rem 1rem 1rem 1.4rem; border-radius: 20px; background: var(--stage); font-size: .75rem; color: var(--ink-muted); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.mock-card .row { position: relative; display: flex; align-items: center; gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.mock-card .cap + .row { border-top: 0; }
.mock-card b { display: block; color: var(--ink); font-weight: 600; }
.mock-card small { display: block; font-size: .62rem; }
.mock-card .led { width: .5rem; height: .5rem; border-radius: 50%; background: #3DD68C; }
.mock-card .val { margin-left: auto; padding: .25rem .5rem; border-radius: 8px; background: var(--elevated); color: var(--ink); font-size: .68rem; }
.mock-card .val i { font-style: normal; color: #3DD68C; }
.mock-card .val.dim { color: var(--ink-muted); }
.mock-card .plain { margin-left: auto; font-size: .68rem; }
.mock-card .plain + .val { margin-left: 0; }
@media (max-width: 900px) {
  .manual { grid-template-columns: 1fr; gap: 1.5rem; }
  .toc { position: static; max-height: none; }
  .toc .toc-title, .toc ul { display: none; }
}
section.doc#faq { background: none; }
