/* Facedeck: Produktseite im Apple-Stil, Farben aus der App (Grund #0E0E12, Taste #2A2A33, Akzent #6C5CE7). Hell und dunkel nach dem Gerät. */
:root {
    --text: #1d1d1f;
    --text-2: #62626c;
    --bg: #ffffff;
    --bg-2: #f4f3fb;
    --line: #dfdcf0;
    --link: #5544d8;
    --accent: #6c5ce7;
    --grad: linear-gradient(120deg, #4636c9 0%, #6c5ce7 50%, #9d90ff 100%);
    --grad-text: linear-gradient(120deg, #3b2cb8 0%, #6c5ce7 55%, #9d90ff 100%);
    --deck: #0e0e12;
    --tile: #2a2a33;
    --frame: #1a1a20;
    --shadow: 0 30px 70px rgba(44, 32, 120, 0.3);
    --radius: 28px;
    --max: 1080px;
    --gutter: clamp(16px, 4vw, 32px);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #f5f5f7;
        --text-2: #a3a3ad;
        --bg: #0e0e12;
        --bg-2: #17171d;
        --line: #2a2a33;
        --link: #a99dff;
        --grad-text: linear-gradient(120deg, #8375f5 0%, #a99dff 55%, #d6d0ff 100%);
        --frame: #24242c;
        --shadow: 0 30px 80px rgba(108, 92, 231, 0.22);
    }
}

@media (prefers-color-scheme: dark) {
    .brand img, .hero .icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.022em;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { overflow-wrap: break-word; letter-spacing: -0.03em; line-height: 1.08; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 20; }

/* Symbole (Lucide): Linien in der Textfarbe */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Kopfzeile */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; }
.nav nav a { color: var(--text); opacity: 0.82; }
.lang { position: relative; font-size: 14px; }
.lang summary { list-style: none; cursor: pointer; color: var(--text); opacity: 0.82; padding: 6px 0; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; font-size: 11px; }
.lang ul {
    position: absolute; right: 0; top: 34px; list-style: none; background: var(--bg); border: 1px solid var(--line);
    border-radius: 14px; padding: 8px; min-width: 140px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}
.lang li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); white-space: nowrap; }
.lang li a:hover, .lang li a[aria-current] { background: var(--bg-2); text-decoration: none; }

/* Auftakt */
.hero { text-align: center; padding: clamp(48px, 9vw, 96px) 0 clamp(48px, 8vw, 96px); overflow: hidden; }
.hero .icon { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 10px 30px rgba(76, 60, 200, 0.32); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--link); margin-bottom: 10px; }
.hero h1 {
    font-size: clamp(40px, 7.4vw, 80px); font-weight: 700;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em;
}
.lead { font-size: clamp(19px, 2.3vw, 24px); color: var(--text-2); max-width: 720px; margin: 18px auto 0; line-height: 1.35; letter-spacing: -0.015em; }
.cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600;
    background: var(--grad); color: #fff; font-size: 17px;
}
.pill.plain { background: var(--bg-2); color: var(--text); box-shadow: 0 0 0 1px var(--line) inset; }
.pill:hover { text-decoration: none; filter: brightness(1.06); }
.pill.soon { cursor: default; }
.note { font-size: 14px; color: var(--text-2); max-width: 520px; }

/* Geräte: gezeichnet, bis es Screenshots gibt. Alle Maße hängen an der Breite des Geräts (cqw). */
.devices { position: relative; width: min(100%, 860px); margin: clamp(40px, 7vw, 72px) auto 0; padding: 0 12% 6% 0; }
.devices .iphone { position: absolute; right: 0; bottom: 0; width: 24%; }
.device { position: relative; container-type: inline-size; background: var(--frame); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.14) inset; flex: none; }
.ipad { aspect-ratio: 4 / 3; border-radius: 5.4% / 7.2%; }
.iphone { aspect-ratio: 9 / 19.5; border-radius: 17% / 7.85%; width: min(70vw, 290px); }
.screen {
    position: absolute; inset: 2.1cqw; border-radius: 3.6cqw; background: var(--deck); color: #fff; overflow: hidden;
    display: flex; flex-direction: column; padding: 2.4cqw 3.2cqw 3.2cqw; text-align: left; letter-spacing: 0;
}
.iphone .screen { inset: 3.4cqw; border-radius: 13.6cqw; padding: 15cqw 6cqw 8cqw; }
.iphone .screen::before { content: ""; position: absolute; top: 3.6cqw; left: 50%; width: 30cqw; height: 8.4cqw; margin-left: -15cqw; border-radius: 99px; background: #000; }
.device.shot { overflow: hidden; padding: 2.1cqw; }
.device.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 3.6cqw; }
.iphone.shot { padding: 3.4cqw; }
.iphone.shot img { border-radius: 13.6cqw; }
.bar { display: flex; align-items: center; justify-content: space-between; font-size: 2cqw; line-height: 1; color: #9a9aa8; }
.bar b { color: #fff; font-weight: 600; font-size: 2.3cqw; }
.bar span::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: #3ecf8e; margin-right: 0.5em; vertical-align: 0.08em; }
.iphone .bar { font-size: 4.6cqw; }
.iphone .bar b { font-size: 5.6cqw; }

.deck { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap, 2.2cqw); margin: auto 0; width: 100%; }
.iphone .deck { --gap: 4.2cqw; }
.tile {
    aspect-ratio: 1; border-radius: 22%; background: var(--tile); color: #fff; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9%;
}
.tile .i { width: 36%; height: 36%; stroke-width: 1.8; }
.tile span { font-size: var(--label, 1.72cqw); line-height: 1.1; font-weight: 500; white-space: nowrap; letter-spacing: 0; }
.tile.on { background: var(--accent); box-shadow: 0 0 5cqw rgba(108, 92, 231, 0.45); }
.iphone .tile span { --label: 3.7cqw; }

/* Zeichnungen neben den Absätzen */
.panel {
    container-type: inline-size; width: min(100%, 420px); background: var(--deck); color: #fff; border-radius: var(--radius);
    padding: clamp(20px, 5vw, 34px); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; letter-spacing: 0; text-align: left;
}
.panel .deck { --gap: 5cqw; }
.panel .tile span { --label: 4.2cqw; }
.panel .tile.on { box-shadow: 0 0 9cqw rgba(108, 92, 231, 0.5); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5cqw; margin-top: 4.5cqw; font-size: max(11px, 3.5cqw); line-height: 1.25; color: #a3a3ad; text-align: center; }
.panel.gestures { display: grid; grid-template-columns: 34% 1fr; align-items: center; gap: 7cqw; }
.panel.gestures .tile span { --label: 5cqw; }
.panel ul { list-style: none; display: grid; gap: 3.4cqw; }
.panel li { background: var(--tile); border-radius: 4.5cqw; padding: 3.2cqw 4.4cqw; display: grid; gap: 0.6cqw; line-height: 1.2; }
.panel li b { font-size: max(11px, 3.4cqw); font-weight: 500; color: #a99dff; }
.panel li span { font-size: max(13px, 4.4cqw); font-weight: 600; }
.panel .row + .row { margin-top: 8cqw; }
.panel .row p { display: flex; align-items: center; gap: 2.4cqw; margin: 0 0 3.4cqw; font-size: max(13px, 4.4cqw); color: #fff; max-width: none; line-height: 1; }
.panel .row p .i { width: 1.15em; height: 1.15em; }
.panel .row p span { margin-left: auto; font-size: max(11px, 3.3cqw); font-weight: 600; color: #fff; background: var(--accent); border-radius: 99px; padding: 0.35em 0.8em; }
.panel .row .deck { --gap: 3.4cqw; }
.panel .row .tile span { --label: 3.3cqw; }
.panel .row:not(.front) { opacity: 0.42; }

/* Abschnitte */
section h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; }
.steps, .caps, .use, .privacy, .faq { padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.steps, .features, .privacy { background: var(--bg-2); }
.steps .lead, .caps .lead, .privacy .lead { margin-top: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-2); border-radius: var(--radius); padding: 28px; min-width: 0; }
.steps .card, .privacy .card { background: var(--bg); }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 16px; }
.card > .i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; display: block; }
.cards.four .card { padding: 24px; }
.cards.four .card h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.15; }
.cards.four .card p { font-size: 15px; }
.step { position: relative; }
.number {
    position: absolute; top: 24px; right: 26px; font-size: 15px; font-weight: 700; color: #fff; background: var(--grad);
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; letter-spacing: 0;
}
.cards.two .card { padding: clamp(24px, 3.6vw, 40px); display: flex; flex-direction: column; }
.cards.two .card h3 { font-size: clamp(24px, 3vw, 32px); }
.cards.two .card p { font-size: 17px; }
.strip { container-type: inline-size; background: var(--deck); border-radius: 22px; padding: 16px; margin-top: auto; }
.strip .deck { --gap: 3.2cqw; margin: 0; }
.strip .tile span { --label: max(9px, 2.9cqw); }
.cards.two .card p { margin-bottom: 26px; }

/* Funktionen im Wechsel */
.features { padding: clamp(40px, 6vw, 80px) 0; }
.caps + .features { background: var(--bg-2); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 80px); padding: clamp(28px, 5vw, 56px) 0; }
.feature > :first-child { justify-self: end; }
.feature:nth-child(even) > :first-child { order: 2; justify-self: start; }
.feature h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; }
.feature p { font-size: clamp(18px, 2vw, 22px); color: var(--text-2); margin-top: 14px; line-height: 1.38; max-width: 440px; }

/* Fragen */
.faq .wrap { max-width: 800px; }
.faq h2 { margin-bottom: 32px; }
.faq details { text-align: left; border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); padding: 0 36px 22px 0; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 13px; color: var(--text-2); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
footer .links a { color: var(--text); opacity: 0.85; }
footer p + p { margin-top: 8px; }

/* Rechtliche Seiten und Hilfe */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; margin-bottom: 14px; }
.doc h1 ~ h1 { margin-top: 44px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 38px 0 10px; letter-spacing: -0.02em; }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 20px; }
.doc li { margin-top: 8px; }

@media (max-width: 900px) {
    .cards.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav nav { display: none; }
    .lang { margin-left: auto; }
    .feature { grid-template-columns: 1fr; text-align: center; }
    .feature > :first-child, .feature:nth-child(even) > :first-child { order: 2; justify-self: center; }
    .feature p { margin-left: auto; margin-right: auto; }
    .cards, .cards.two { grid-template-columns: 1fr; }
    .devices { padding: 0 4% 12% 0; }
    .devices .iphone { width: 30%; }
}

@media (max-width: 480px) {
    .cards.four { grid-template-columns: 1fr; }
    .pill { font-size: 16px; padding: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
