/* ==========================================================================
   StatusForge — Verkaufsseite
   --------------------------------------------------------------------------
   Dieselbe Designsprache wie das Produkt: OKLCH-Akzent, Systemfonts, hell und
   dunkel, keine externen Requests. Die Seite verkauft ein Produkt, das mit
   „null Drittanbieter-Anfragen" wirbt — sie hält sich selbst daran.
   ========================================================================== */

:root {
    color-scheme: light dark;

    --accent:        oklch(62% 0.17 232);
    --accent-hover:  oklch(56% 0.17 232);
    --accent-text:   oklch(52% 0.17 232);
    --accent-subtle: oklch(62% 0.17 232 / 0.12);
    --accent-fg:     oklch(20% 0.02 232);

    --up:            oklch(50% 0.15 152);

    --bg:            oklch(98.5% 0.003 260);
    --bg-subtle:     oklch(96.5% 0.005 260);
    --surface:       oklch(100% 0 0);
    --border:        oklch(90% 0.006 260);
    --border-strong: oklch(82% 0.008 260);
    --text:          oklch(24% 0.015 260);
    --text-muted:    oklch(50% 0.012 260);
    --text-subtle:   oklch(55% 0.010 260);

    --radius:    10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow: 0 1px 2px oklch(20% 0.02 260 / 0.07), 0 4px 12px oklch(20% 0.02 260 / 0.07);
    --shadow-lg: 0 2px 4px oklch(20% 0.02 260 / 0.06), 0 12px 28px oklch(20% 0.02 260 / 0.12);

    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:            oklch(17% 0.012 260);
        --bg-subtle:     oklch(20% 0.014 260);
        --surface:       oklch(22% 0.014 260);
        --border:        oklch(30% 0.014 260);
        --border-strong: oklch(38% 0.016 260);
        --text:          oklch(95% 0.006 260);
        --text-muted:    oklch(74% 0.012 260);
        --text-subtle:   oklch(64% 0.012 260);
        --accent:        oklch(70% 0.17 232);
        --accent-text:   oklch(74% 0.14 232);
        --up:            oklch(74% 0.15 152);
        --shadow: 0 1px 2px oklch(0% 0 0 / 0.34), 0 4px 12px oklch(0% 0 0 / 0.30);
        --shadow-lg: 0 2px 4px oklch(0% 0 0 / 0.34), 0 12px 28px oklch(0% 0 0 / 0.42);
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 68rem; padding-inline: 1.25rem; margin-inline: auto; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h2 { margin: 0 0 0.5rem; font-size: 1.75rem; }
a { color: var(--accent-text); }

/* ---- Kopf ---------------------------------------------------------------- */

.top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.top__inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
}

.brand { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; }
.brand__mark { width: 1.25rem; height: 1.25rem; background: var(--accent); border-radius: 4px; }

.top__nav { display: flex; gap: 1.25rem; font-size: 0.875rem; }
.top__nav a { color: var(--text-muted); text-decoration: none; }
.top__nav a:hover { color: var(--text); }
@media (max-width: 44rem) { .top__nav { display: none; } }

/* ---- Hero ---------------------------------------------------------------- */

.hero {
    padding-block: 4.5rem 3.5rem;
    text-align: center;
    background: radial-gradient(90% 80% at 50% -20%, var(--accent-subtle), transparent 70%);
    border-bottom: 1px solid var(--border);
}

.hero h1 { margin: 0 0 0.75rem; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); }
.hero__sub { max-width: 38rem; margin: 0 auto 2rem; font-size: 1.125rem; color: var(--text-muted); }

.hero__price { margin-bottom: 2rem; font-size: 0.9375rem; color: var(--text-muted); }
.hero__price strong { font-size: 1.25rem; color: var(--text); }
.hero__price .direkt { color: var(--up); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.button {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: transform 120ms ease, background 120ms ease;
}
.button:active { transform: translateY(1px); }
.button--primary { color: var(--accent-fg); background: var(--accent); }
.button--primary:hover { background: var(--accent-hover); }
.button--ghost { color: var(--text); border: 1px solid var(--border-strong); }
.button--ghost:hover { border-color: var(--text-subtle); }

.hero__shot {
    max-width: 60rem;
    margin: 3rem auto 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero__shot img { display: block; width: 100%; height: auto; }

/* ---- Abschnitte ----------------------------------------------------------- */

section { padding-block: 3.5rem; }
section + section { border-top: 1px solid var(--border); }
.section-lead { max-width: 42rem; margin: 0 0 2rem; color: var(--text-muted); }

.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; }
.card p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }

/* ---- Screenshots ----------------------------------------------------------- */

.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.shot {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}
.shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--border); }
.shot figcaption { padding: 0.6rem 0.9rem; font-size: 0.8125rem; color: var(--text-muted); }
.shot { margin: 0; }

/* ---- Zahlen ---------------------------------------------------------------- */

.numbers { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.numbers td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
.numbers td:first-child { color: var(--text-muted); }
.numbers td:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Preise ---------------------------------------------------------------- */

.pricing { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); max-width: 44rem; margin-inline: auto; }

.price-card {
    padding: 1.75rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}
.price-card--direkt { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.price-card h3 { margin: 0 0 0.25rem; }
.price-card .amount { display: block; margin: 0.75rem 0; font-size: 2.25rem; font-weight: 700; }
.price-card .note { min-height: 2.6em; margin: 0 0 1rem; font-size: 0.875rem; color: var(--text-muted); }
.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--up);
    background: color-mix(in oklab, var(--up) 14%, transparent);
    border-radius: 999px;
}

/* ---- FAQ ------------------------------------------------------------------- */

.faq { max-width: 46rem; }
.faq details {
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 0.6rem 0 0; font-size: 0.9375rem; color: var(--text-muted); }

/* ---- Ehrlichkeit ------------------------------------------------------------ */

.honest {
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
}
.honest ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

/* ---- Fuß -------------------------------------------------------------------- */

footer {
    padding-block: 2.5rem;
    font-size: 0.8125rem;
    color: var(--text-subtle);
    text-align: center;
    border-top: 1px solid var(--border);
}
footer a { color: inherit; }

code { font-family: var(--mono); font-size: 0.9em; }
