:root {
    --bg: #0c0a09;
    --bg-alt: #151210;
    --surface: #1c1816;
    --line: #2b2522;
    --text: #f5f0eb;
    --muted: #a8a09a;
    --led: #ff4d3d;
    --led-soft: rgba(255, 77, 61, .14);
    --radius: 20px;
    --wrap: 1160px;
    --font: "Inter", system-ui, -apple-system, sans-serif;
    --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent { color: var(--led); text-shadow: 0 0 24px rgba(255, 77, 61, .45); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--led); margin-bottom: 1rem;
}
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--led);
    box-shadow: 0 0 10px var(--led); animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    padding: .85em 1.4em; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--text); font: 600 1rem/1 var(--font);
    text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .mode:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }
.btn--primary { background: var(--led); border-color: var(--led); color: #fff; box-shadow: 0 8px 30px -8px rgba(255, 77, 61, .7); }
.btn--primary:hover { background: #ff6152; box-shadow: 0 10px 36px -6px rgba(255, 77, 61, .8); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1.05em 2em; font-size: 1.1rem; width: 100%; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12, 10, 9, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; font: 700 1.15rem var(--display); }
.nav__links { display: none; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
@media (min-width: 820px) { .nav__links { display: flex; } }

/* Hero */
.hero {
    position: relative; padding: 56px 0 80px;
    background:
        radial-gradient(60% 50% at 75% 45%, rgba(255, 77, 61, .16), transparent 70%),
        radial-gradient(40% 40% at 10% 0%, rgba(255, 170, 90, .07), transparent 70%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) {
    .hero { padding: 96px 0 120px; }
    .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); }

.device {
    position: relative; border-radius: 22px; padding: 14px;
    background: linear-gradient(180deg, #4a4643, #2f2c2a 55%, #252321);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -2px 0 rgba(0, 0, 0, .4),
        0 40px 80px -20px rgba(0, 0, 0, .8),
        0 0 120px -30px rgba(255, 77, 61, .5);
}
.device::after {
    /* Reflexion auf dem Tisch */
    content: ""; position: absolute; left: 8%; right: 8%; bottom: -40px; height: 40px;
    background: radial-gradient(50% 100% at 50% 0%, rgba(255, 77, 61, .28), transparent);
    filter: blur(10px); pointer-events: none;
}
#led { display: block; width: 100%; height: auto; border-radius: 10px; background: #0d0c0c; }

.modes { display: flex; justify-content: center; gap: 6px; margin: 44px auto 14px; padding: 5px; width: fit-content; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.mode {
    border: 0; background: transparent; color: var(--muted); cursor: pointer;
    font: 600 .9rem var(--font); padding: .55em 1.1em; border-radius: 999px; transition: background .2s, color .2s;
}
.mode:hover { color: var(--text); }
.mode.is-active { background: var(--led); color: #fff; }

.try { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.try input {
    flex: 1; min-width: 0; padding: .7em 1.1em; border-radius: 999px;
    border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); font: 400 .95rem var(--font);
}
.try input::placeholder { color: #6f6863; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
@media (min-width: 980px) { .section { padding: 120px 0; } }
.section__head { max-width: 640px; margin-bottom: 48px; }

/* Features */
.features { display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
    .features { grid-template-columns: repeat(3, 1fr); }
    .feature--wide { grid-column: span 2; }
}
.feature {
    padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(255, 77, 61, .5); transform: translateY(-2px); }
.feature p { color: var(--muted); margin: 0; }
.feature--wide { background: linear-gradient(135deg, rgba(255, 77, 61, .16), var(--surface) 60%); }
.feature__icon {
    width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 20px;
    border-radius: 12px; background: var(--led-soft); color: var(--led);
}
.feature__icon svg { width: 22px; height: 22px; fill: currentColor; }

/* Gallery */
.gallery { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery figure { margin: 0; width: clamp(220px, 28vw, 340px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* How */
.how { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .how { grid-template-columns: 1fr 1fr; gap: 80px; } }
.how__img img, .specs__img img, .buy__img img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.steps { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 24px; }
.steps li { display: flex; gap: 18px; }
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--muted); margin: 0; }
.steps__n {
    flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    font: 400 1rem "Silkscreen", monospace; color: var(--led); background: var(--led-soft); border: 1px solid rgba(255, 77, 61, .35);
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px;
    border-radius: 12px; background: #fff; color: #000; text-decoration: none; font: 600 1.05rem/1.1 var(--font);
    transition: transform .15s;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-size: .68rem; font-weight: 500; }

/* Specs */
.specs { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .specs { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.spec-list { margin: 32px 0 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; text-align: right; font-weight: 500; }

/* Buy */
.buy {
    display: grid; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
    background: radial-gradient(80% 80% at 100% 0%, rgba(255, 77, 61, .18), transparent 60%), var(--surface);
}
@media (min-width: 880px) { .buy { grid-template-columns: 1fr 1fr; } }
.buy__img img { border: 0; border-radius: 0; height: 100%; object-fit: cover; }
.buy__body { padding: 36px 24px; }
@media (min-width: 880px) { .buy__body { padding: 56px; align-self: center; } }
.buy__price { font: 700 2.6rem var(--display); margin: .2em 0 .6em; }
.buy__price small { font: 400 .95rem var(--font); color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
    background: var(--led-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='%23ff4d3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.buy .muted { text-align: center; margin: 16px 0 0; }

/* FAQ */
.faq { display: grid; gap: 16px; }
@media (min-width: 980px) { .faq { grid-template-columns: 1fr 1.6fr; gap: 80px; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
    list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
    font: 600 1.05rem var(--display);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
    content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    font: 400 1.5rem var(--font); color: var(--led); transition: transform .2s;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 12px; }
.faq__list a { color: var(--text); }

/* Footer */
.footer { padding: 56px 0 100px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .footer { padding-bottom: 40px; } }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__brand p { margin-top: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin-top: 40px; }

/* Sticky mobile CTA */
.sticky-buy {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    display: flex; justify-content: center; padding: 1em; border-radius: 999px;
    background: var(--led); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 12px 30px -8px rgba(255, 77, 61, .8);
    transform: translateY(140%); transition: transform .3s;
}
.sticky-buy.is-visible { transform: none; }
@media (min-width: 720px) { .sticky-buy { display: none; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gallery__track, .eyebrow .dot { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Legal pages (AGB, Datenschutz, Impressum) */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line);
    background: radial-gradient(50% 120% at 85% 0%, rgba(255, 77, 61, .12), transparent 70%); }
.legal-hero h1 { font-size: clamp(1.8rem, 7vw, 3.4rem); margin-bottom: .3em; overflow-wrap: anywhere; hyphens: auto; }
.legal-hero p { color: var(--muted); margin: 0; }
.legal-layout { display: grid; gap: 48px; padding-top: 56px; padding-bottom: 96px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; } }
.legal-toc { display: none; }
@media (min-width: 1000px) {
    .legal-toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: hidden auto; padding-right: 8px; }
    .prose ol.toc, .prose .toc-title { display: none; }
}
.legal-toc p { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--led); margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .88rem; line-height: 1.4; transition: color .15s, border-color .15s; }
.legal-toc a:hover { color: var(--text); }
.legal-toc a.is-active { color: var(--text); border-left-color: var(--led); }

.prose { max-width: 760px; font-size: 1rem; line-height: 1.75; color: #d9d2cc; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.45rem; color: var(--text); margin: 2.4em 0 .7em; padding-top: .2em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--text); margin: 1.8em 0 .5em; scroll-margin-top: 96px; }
.prose p { margin: 0 0 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration-color: rgba(255, 77, 61, .6); text-underline-offset: 3px; }
.prose a:hover { color: var(--led); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--led); }
.prose ol.toc { list-style: none; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); columns: 2 240px; column-gap: 32px; }
.prose ol.toc li { break-inside: avoid; margin-bottom: .35em; font-size: .92rem; }
.prose ol.toc a { text-decoration: none; color: var(--muted); }
.prose ol.toc a:hover { color: var(--text); }
.prose .card { padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 1.5em; }
.prose .card p { margin: 0 0 .15em; }
.prose .seal { margin-top: 3em; font-size: .85rem; color: var(--muted); }
.nav__back { display: none; }
@media (min-width: 820px) { .nav__back { display: inline; } }
.prose .card--warn { border-color: rgba(255, 77, 61, .35); background: linear-gradient(135deg, rgba(255, 77, 61, .1), var(--surface) 70%); }
.prose .card ul { margin: 0; }
.prose .card li:last-child { margin-bottom: 0; }
.prose .spec-list { margin: 0 0 1.2em; }
.prose .spec-list dd { color: var(--text); }
.prose .stores { margin: .4em 0 1.2em; }
.prose .store { color: #000; text-decoration: none; }
.prose .store:hover { color: #000; }
.prose .steps-list { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.prose .steps-list li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; margin: 0; }
.prose .steps-list li::before {
    content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 50%; font: 400 .9rem "Silkscreen", monospace; color: var(--led); background: var(--led-soft); border: 1px solid rgba(255, 77, 61, .35);
}
