/* SMTPly Startseite (Beta-Entwurf). Eigene Datei, damit die übrigen Seiten
   mit style.css unverändert bleiben, bis das neue Design entschieden ist. */

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg: #f6f5f1;
    --bg-soft: #efede7;
    --surface: #ffffff;
    --surface-2: #faf9f6;
    --ink: #15171c;
    --ink-2: #3a3e47;
    --muted: #666b75;
    --line: #e3e0d8;
    --line-strong: #d3cfc4;
    --accent: #1E3A8A;
    --accent-ink: #172554;
    --accent-soft: #e4e9f6;
    --brand: #1E3A8A;
    --brand-hover: #1E40AF;
    --ok: #1d7f55;
    --ok-soft: #e1f3ea;
    --bad: #b8412c;
    --bad-soft: #fae6e1;
    --warn: #a86a0c;
    --shadow: 0 1px 2px rgba(20, 22, 28, .04), 0 12px 32px -12px rgba(20, 22, 28, .14);
    --shadow-lg: 0 2px 4px rgba(20, 22, 28, .04), 0 32px 64px -24px rgba(20, 22, 28, .22);
    --radius: 14px;
    --radius-sm: 9px;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
    --wrap: 1160px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0e1014;
        --bg-soft: #13161b;
        --surface: #171a20;
        --surface-2: #1b1f26;
        --ink: #eceef2;
        --ink-2: #c7cbd3;
        --muted: #979da8;
        --line: #262a32;
        --line-strong: #333844;
        --accent: #4F9BE0;
        --accent-ink: #7DB6EA;
        --accent-soft: #14264a;
        --brand: #1E3A8A;
        --brand-hover: #1E40AF;
        --ok: #4cc28c;
        --ok-soft: #14301f;
        --bad: #ee8a75;
        --bad-soft: #3a1c16;
        --warn: #e0a64a;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
        --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 32px 64px -24px rgba(0, 0, 0, .7);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0e1014;
    --bg-soft: #13161b;
    --surface: #171a20;
    --surface-2: #1b1f26;
    --ink: #eceef2;
    --ink-2: #c7cbd3;
    --muted: #979da8;
    --line: #262a32;
    --line-strong: #333844;
    --accent: #4F9BE0;
    --accent-ink: #7DB6EA;
    --accent-soft: #14264a;
    --brand: #1E3A8A;
    --brand-hover: #1E40AF;
    --ok: #4cc28c;
    --ok-soft: #14301f;
    --bad: #ee8a75;
    --bad-soft: #3a1c16;
    --warn: #e0a64a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 32px 64px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

/* ── Schrift ─────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; }
.display {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.02;
}
.display em { font-style: italic; color: var(--accent); }
h1.display { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2.display { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: .88em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent);
    padding: .38rem .8rem; border-radius: 999px;
    background: var(--accent-soft);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Knöpfe ──────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: 600 .98rem/1 var(--font-sans);
    padding: .92rem 1.35rem; border-radius: 11px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-hover); }
.nav > a.btn-primary, .nav > a.btn-primary:hover { color: #fff; padding: .62rem .95rem; }
.nav > a.btn-primary:hover { background: var(--brand-hover); }


.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--ink-2); }
.btn-sm { padding: .62rem .95rem; font-size: .9rem; border-radius: 9px; }

/* ── Kopfzeile ───────────────────────────────────────────── */
.topbar {
    background: var(--ink); color: var(--bg);
    font-size: .88rem; text-align: center; padding: .55rem 16px;
}
.topbar a { color: inherit; font-weight: 600; }
.topbar .pill {
    display: inline-block; margin-right: .6rem; padding: .1rem .5rem; border-radius: 999px;
    background: rgba(255, 255, 255, .14); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
}

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 1.25rem; height: 92px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
@media (max-width: 640px) { .brand img { height: 44px; } .nav-wrap { height: 80px; } }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand .logo-light { display: none; }
    :root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}
.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav-links > a {
    color: var(--ink-2); font-size: .95rem; font-weight: 500;
    padding: .5rem .75rem; border-radius: 8px;
}
.nav-links > a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav .btn { margin-left: .5rem; }
/* Sprachwahl als kleines Dropdown */
.lang-menu { position: relative; margin-left: .4rem; }
.lang-btn {
    background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: .42rem .6rem; border-radius: 9px; border: 1px solid var(--line);
    font: 600 .82rem var(--font-sans); color: var(--ink-2); user-select: none;
}
.lang-btn:hover, .lang-menu.open .lang-btn { color: var(--ink); border-color: var(--line-strong); }
.lang-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-btn .chev { width: 10px; height: 10px; transition: transform .15s; }
.lang-menu.open .lang-btn .chev { transform: rotate(180deg); }
.lang-switch {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 160px;
    display: flex; flex-direction: column; gap: 2px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.lang-menu:not(.open) .lang-switch { display: none; }
.lang-switch a { color: var(--ink-2); padding: .5rem .7rem; border-radius: 8px; font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; }
.lang-switch a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.lang-switch a small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.lang-switch a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.theme-toggle {
    width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-2);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.nav-toggle {
    display: none; margin-left: auto; align-items: center; gap: .4rem;
    background: none; border: 1px solid var(--line); border-radius: 9px;
    color: var(--ink); padding: .45rem .7rem; font: 600 .9rem var(--font-sans); cursor: pointer;
}
@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
    }
    .nav.open { display: flex; }
    .nav-links > a { padding: .8rem .5rem; }
    .nav .btn { margin: .5rem 0 0; }
    .lang-menu { margin: .6rem 0 0; }
    .lang-btn { display: none; }
    .lang-menu .lang-switch { display: flex !important; position: static; flex-direction: row; flex-wrap: wrap; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
    .lang-menu .lang-switch a { flex: 1; justify-content: center; border: 1px solid var(--line); }
    .lang-menu .lang-switch a small { display: none; }
    .theme-toggle { order: 3; }
}

/* ── Abschnitte ──────────────────────────────────────────── */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.1rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; overflow: hidden; }
.hero h1 { max-width: 15ch; margin: 1.4rem auto 1.4rem; }
.hero .lead { max-width: 640px; margin: 0 auto; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem;
    margin-top: 1.4rem; font-size: .88rem; color: var(--muted);
}
.hero-meta span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: .4rem; }

/* Fluss-Grafik */
.flow {
    margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1040px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-lg); padding: 10px;
}
.flow-inner {
    border-radius: 13px; border: 1px solid var(--line);
    background:
        radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 22px 22px,
        var(--surface-2);
    padding: 12px;
}
.flow svg { width: 100%; height: auto; display: block; }
.flow .node rect.box { fill: var(--surface); stroke: var(--line-strong); }
.flow .node text { fill: var(--ink); font-family: var(--font-sans); }
.flow .node .sub { fill: var(--muted); font-size: 12px; }
.flow .node .title { font-size: 14.5px; font-weight: 600; }
.flow .node .ico { stroke: var(--ink-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow .hub rect.box { stroke: var(--accent); stroke-width: 1.5; }
.flow .hub .ring { fill: none; stroke: var(--accent); opacity: .25; }
.flow .wire { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 5; }
.flow .wire-out { stroke: var(--accent); opacity: .55; stroke-dasharray: none; }
.flow .wire-label { fill: var(--muted); font: 600 11px var(--font-mono); letter-spacing: .02em; }
.flow .wire-label-bg { fill: var(--surface-2); }
.flow .env rect { fill: var(--surface); stroke: var(--accent); stroke-width: 1.4; }
.flow .env path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; }
.flow .env-out rect { fill: var(--accent); stroke: var(--accent); }
.flow .env-out path { stroke: var(--surface); }
.flow .check circle { fill: var(--ok); }
.flow .check path { stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flow .counter { fill: var(--ok); font: 600 12px var(--font-sans); }
.flow-caption {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem;
    padding: 12px 14px 4px; font-size: .84rem; color: var(--muted);
}
.flow-caption b { color: var(--ink-2); font-weight: 600; }
/* Schmale Bildschirme: Fluss senkrecht statt als verkleinerte Grafik */
.flow-mobile { display: none; }
@media (max-width: 640px) {
    .flow-inner { display: none; }
    .flow-mobile { display: flex; flex-direction: column; align-items: center; padding: 18px 14px 6px; }
    .fm-devices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; width: 100%; }
    .fm-devices span {
        border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
        padding: 9px 10px; font-size: .82rem; font-weight: 600; text-align: center; color: var(--ink);
    }
    .fm-link {
        position: relative; margin: 6px 0; padding: 22px 0 22px 0; font: 600 .74rem var(--font-mono); color: var(--muted);
    }
    .fm-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed var(--line-strong); }
    .fm-link { background: linear-gradient(var(--surface-2), var(--surface-2)) center / 100% 1.4em no-repeat; padding-left: 8px; padding-right: 8px; }
    .fm-box {
        display: flex; align-items: center; gap: 12px; width: 100%; max-width: 280px;
        border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px;
    }
    .fm-box.hub { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
    .fm-box img { width: 36px; height: 36px; }
    .fm-box b { display: block; font-size: .95rem; }
    .fm-box span { display: block; font-size: .8rem; color: var(--muted); }
    .fm-ok { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-style: normal; font-size: .75rem; display: grid; place-items: center; }
}@media (max-width: 720px) { .flow .wire-label, .flow .wire-label-bg { display: none; } }

/* Kundenlogos */
.logos { margin: clamp(48px, 7vw, 72px) 0 0; text-align: center; }
.logos p { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.logos-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.2rem 3.2rem; }
.logos-row img { height: 34px; width: auto; opacity: .75; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos-row img:hover { opacity: 1; filter: none; }
.logos-row .logo-dark { display: none; }
:root[data-theme="dark"] .logos-row .logo-light { display: none; }
:root[data-theme="dark"] .logos-row .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logos-row .logo-light { display: none; }
    :root:not([data-theme="light"]) .logos-row .logo-dark { display: block; }
}

/* ── App-Fenster (Mail-Tracker-Demo im Look der Windows-App) ── */
.window {
    --w-bg: #ffffff; --w-bar: #ffffff; --w-ink: #1b1b1b; --w-muted: #5f6368; --w-line: #e5e5e5;
    --w-btn: #d9d9d9; --w-btn-ink: #1b1b1b; --w-field: #ffffff; --w-pend: #f6ecd9; --w-main: #f3f3f3; --w-head: #0067c0; --w-card: #fbfbfb;
    --t1: #e7e4f4; --t2: #f5ead9; --t3: #f5dfdf;
    background: var(--w-bg); border: 1px solid var(--line-strong); border-radius: 8px;
    box-shadow: var(--shadow-lg); overflow: hidden;
    font-family: "Segoe UI", var(--font-sans); color: var(--w-ink);
}
:root[data-theme="dark"] .window {
    --w-bg: #202020; --w-bar: #202020; --w-ink: #f3f3f3; --w-muted: #a8a8a8; --w-line: #333333;
    --w-btn: #3a3a3a; --w-btn-ink: #f3f3f3; --w-field: #2b2b2b; --w-pend: #3d3322; --w-main: #1c1c1c; --w-head: #60b3ff; --w-card: #262626;
    --t1: #2e2b42; --t2: #3d3322; --t3: #432a2a;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .window {
        --w-bg: #202020; --w-bar: #202020; --w-ink: #f3f3f3; --w-muted: #a8a8a8; --w-line: #333333;
        --w-btn: #3a3a3a; --w-btn-ink: #f3f3f3; --w-field: #2b2b2b; --w-pend: #3d3322; --w-main: #1c1c1c; --w-head: #60b3ff; --w-card: #262626;
        --t1: #2e2b42; --t2: #3d3322; --t3: #432a2a;
    }
}
.window-bar {
    display: flex; align-items: center; height: 34px; padding-left: 12px;
    background: var(--w-bar); border-bottom: 1px solid var(--w-line); font-size: .78rem; color: var(--w-ink);
}
.window-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-ctrl { display: flex; height: 100%; }
.window-ctrl span { width: 46px; display: grid; place-items: center; }
.window-ctrl svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.demo { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 440px; }
.demo-side {
    background: #1E3A8A; color: #fff; padding: 10px 0; display: flex; flex-direction: column;
}
.demo-side .item { display: flex; align-items: center; gap: 12px; padding: 9px 16px; font-size: .86rem; position: relative; }
.demo-side .item.active { background: rgba(255, 255, 255, .08); }
.demo-side .item.active::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: #60a5fa; }
.demo-side .item.menu { padding-bottom: 14px; }
.demo-side .spacer { flex: 1; }
.demo-side svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.demo-main { padding: 14px 16px 10px; min-width: 0; display: flex; flex-direction: column; background: var(--w-main); }
.table { background: var(--w-bg); }
.stats { display: flex; gap: 10px; margin-bottom: 10px; }
.stat { border-radius: 4px; padding: 8px 14px 6px; min-width: 110px; }
.stat:nth-child(1) { background: var(--t1); }
.stat:nth-child(2) { background: var(--t2); }
.stat:nth-child(3) { background: var(--t3); }
.stat .k { font-size: .72rem; color: var(--w-ink); opacity: .8; }
.stat .v { font-size: 1.2rem; font-weight: 400; margin-top: 1px; font-variant-numeric: tabular-nums; }
.demo-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.demo-btns span { background: var(--w-btn); color: var(--w-btn-ink); font-size: .76rem; padding: 5px 10px; border-radius: 3px; }
.demo-btns span.off { opacity: .45; }
.demo-filter { display: flex; gap: 8px; margin-bottom: 8px; }
.demo-filter span { border: 1px solid var(--w-line); background: var(--w-field); border-radius: 3px; font-size: .76rem; padding: 5px 9px; color: var(--w-muted); }
.demo-filter span:last-child { flex: 1; }
.table { width: 100%; border-collapse: collapse; font-size: .78rem; table-layout: fixed; }
.table th {
    text-align: left; font-weight: 400; color: var(--w-muted); padding: 7px 8px;
    border-bottom: 1px solid var(--w-line); border-left: 1px solid var(--w-line);
}
.table th:first-child { border-left: 0; }
.table td { padding: 8px; border-bottom: 1px solid var(--w-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--w-ink); }
.table td.chev { color: var(--w-muted); padding-right: 0; }
.table tr.pend td { background: var(--w-pend); }
.table tr.enter { animation: rowIn .45s ease both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.table tr td { transition: background-color .6s ease; }
.table th:nth-child(1) { width: 24px; }
.table th:nth-child(2) { width: 118px; }
.table th:nth-child(6) { width: 104px; }
.table th:nth-child(7) { width: 104px; }
.demo-status { margin-top: auto; padding-top: 8px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: .72rem; color: var(--w-muted); }
.demo-status .live { background: #22C55E; color: #fff; border-radius: 3px; padding: 1px 6px; font-size: .68rem; }
/* Weitere App-Ansichten (Einstellungen, Hilfe) */
.demo.compact { min-height: 400px; }
.demo-side .item.sub { padding-left: 42px; font-size: .82rem; }
.demo-side .item .chev-r { margin-left: auto; width: 12px; height: 12px; }
.app-view { padding: 18px 22px 14px; min-width: 0; background: var(--w-main); display: flex; flex-direction: column; gap: 10px; font-size: .8rem; line-height: 1.45; }
.app-view h4 { margin: 0; font: 600 1.15rem "Segoe UI", var(--font-sans); color: var(--w-head); }
.app-view h4.plain { color: var(--w-ink); font-weight: 400; font-size: 1.35rem; }
.app-view p { margin: 0; color: var(--w-ink); }
.app-view .lbl { font-weight: 600; margin-top: 4px; }
.app-view .hint { color: var(--w-muted); font-size: .74rem; }
.radio { display: flex; align-items: center; gap: 10px; }
.radio i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--w-muted); flex-shrink: 0; background: var(--w-field); }
.radio.on i { border: 5px solid #0067c0; background: #fff; }
.app-field { border: 1px solid var(--w-line); border-bottom-color: var(--w-muted); background: var(--w-field); border-radius: 3px; padding: 6px 10px; max-width: 420px; }
.app-btn { align-self: flex-start; background: var(--w-btn); color: var(--w-btn-ink); padding: 5px 10px; border-radius: 3px; font-size: .78rem; }
.app-btn.primary { background: #1E3A8A; color: #fff; }
.app-foot { margin-top: auto; border-top: 1px solid var(--w-line); padding-top: 10px; display: flex; justify-content: flex-end; }
.app-foot .app-btn { padding: 6px 34px; }
.app-card { border: 1px solid var(--w-line); background: var(--w-card); border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.app-card b { font-size: .88rem; font-weight: 600; }
.st-list { display: grid; gap: 5px; margin-top: 2px; }
.st-list div { display: flex; align-items: center; gap: 9px; transition: opacity .3s ease; }
.st-list i { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 700; color: #fff; background: #2E9E44; flex-shrink: 0; }
.st-list i::before { content: "✓"; }
.st-list div.wait { opacity: .35; }
.st-list div.wait i { background: var(--w-muted); }
.st-list div.wait i::before { content: ""; }
.st-list span { color: var(--w-muted); margin-left: auto; font-size: .74rem; white-space: nowrap; }
@media (max-width: 560px) { .st-list span { display: none; } .app-view { padding: 14px; } }
@media (max-width: 860px) {
    .demo { grid-template-columns: minmax(0, 1fr); }
    .demo-side { display: none; }
    .table td:nth-child(6), .table th:nth-child(6) { display: none; }
}
@media (max-width: 560px) {
    .demo-btns, .demo-filter { display: none; }
    .stat { min-width: 0; flex: 1; }
    .table td:nth-child(2), .table th:nth-child(2), .table td:nth-child(4), .table th:nth-child(4), .table td:nth-child(7), .table th:nth-child(7) { display: none; }
    .table th:nth-child(3) { width: 46%; }
}

/* ── Vorher / Nachher ────────────────────────────────────── */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.cmp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.cmp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cmp-head h3 { font-size: 1rem; }
.badge { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.bad { color: var(--bad); background: var(--bad-soft); }
.badge.ok { color: var(--ok); background: var(--ok-soft); }
.kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 12px; font-size: .92rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--font-mono); font-size: .86rem; color: var(--ink); overflow-wrap: break-word; }
.term {
    margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm);
    font-family: var(--font-mono); font-size: .82rem; line-height: 1.55;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); overflow-wrap: break-word;
}
.term .bad { color: var(--bad); }
.term .ok { color: var(--ok); }
.compare-note { text-align: center; margin: 28px auto 0; max-width: 680px; color: var(--muted); font-size: .95rem; }

/* ── Schritte ────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.step-body { padding: 22px 22px 18px; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    font: 600 .9rem var(--font-sans); color: var(--accent); background: var(--accent-soft); margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.step-shot { margin-top: auto; padding: 0 16px 16px; }
.step-shot .frame { border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); }
.step-shot .frame img { width: 100%; }
/* Vereinfachte Zustimmung (Schritt 2), bewusst ohne Microsoft-Logo */
.consent {
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2);
    padding: 14px 16px; font-size: .8rem; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px;
}
.cs-top { font-size: .72rem; color: var(--muted); }
.cs-title { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.cs-app { display: flex; align-items: center; gap: 10px; }
.cs-app img { width: 30px; height: 30px; }
.cs-app b { display: block; color: var(--ink); font-size: .86rem; }
.cs-app span { color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.cs-verified { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); color: var(--surface); font-style: normal; font-size: .58rem; font-weight: 700; display: inline-grid; place-items: center; }
.cs-perms { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.cs-perms li::before { content: "›"; color: var(--muted); margin-right: 8px; }
.cs-org { display: flex; align-items: center; gap: 8px; }
.cs-box { width: 15px; height: 15px; border: 1px solid var(--muted); border-radius: 3px; flex-shrink: 0; display: grid; place-items: center; font-style: normal; font-size: .64rem; color: #fff; transition: background-color .25s, border-color .25s; }
.cs-box.on { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
.cs-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.cs-btns span { padding: 5px 12px; border-radius: 3px; background: var(--line); color: var(--ink); font-size: .76rem; }
.cs-btns .go { background: var(--brand); color: #fff; transition: box-shadow .3s; }
.cs-btns .go.pulse { box-shadow: 0 0 0 4px var(--accent-soft); }.step-code {
    margin: 0 16px 16px; padding: 14px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface-2); font-family: var(--font-mono); font-size: .82rem; line-height: 1.7; color: var(--ink-2);
}
.step-code .strike { text-decoration: line-through; color: var(--muted); }
.step-code .new { color: var(--ok); font-weight: 600; }
.steps-foot { text-align: center; margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* ── Gerätekarten ────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; display: flex; flex-direction: column; gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.mail-chip {
    margin-top: auto; display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--surface-2);
    font-size: .8rem; min-width: 0;
}
.mail-chip .from { font-family: var(--font-mono); color: var(--muted); white-space: nowrap; }
.mail-chip .subj { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.mail-chip .ok { color: var(--ok); font-weight: 700; }

/* ── Funktionen mit Screenshot ───────────────────────────── */
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 112px); }
.feature-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-row.flip .feature-copy { order: 2; }
.feature-row.stack { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.feature-row.stack .feature-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px clamp(28px, 5vw, 72px); align-items: start; }
.feature-row.stack .feature-copy > .eyebrow, .feature-row.stack .feature-copy > h2 { grid-column: 1; }
.feature-row.stack .feature-copy > p { grid-column: 1; margin: 0; }
.feature-row.stack .feature-copy > .checks { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
@media (max-width: 860px) {
    .feature-row.stack .feature-copy { grid-template-columns: minmax(0, 1fr); }
    .feature-row.stack .feature-copy > .checks { grid-column: 1; grid-row: auto; }
}
@media (max-width: 900px) {
    .feature-row, .feature-row.flip { grid-template-columns: minmax(0, 1fr); }
    .feature-row.flip .feature-copy { order: 0; }
}
.feature-copy .eyebrow { margin-bottom: 1rem; }
.feature-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
.feature-copy p { color: var(--ink-2); margin: 0 0 1.2rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 1.8rem; color: var(--ink-2); font-size: .97rem; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .35rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
    background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%231d7f55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.shot { position: relative; min-width: 0; }
.shot img { border-radius: 10px; }
.shot .scr-dark { display: none; }
:root[data-theme="dark"] .shot .scr-light { display: none; }
:root[data-theme="dark"] .shot .scr-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .shot .scr-light { display: none; }
    :root:not([data-theme="light"]) .shot .scr-dark { display: block; }
}
.step-shot .scr-dark { display: none; }
:root[data-theme="dark"] .step-shot .scr-light { display: none; }
:root[data-theme="dark"] .step-shot .scr-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .step-shot .scr-light { display: none; }
    :root:not([data-theme="light"]) .step-shot .scr-dark { display: block; }
}
.note-pop {
    width: fit-content; margin: 14px 0 0 auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
    padding: 10px 14px; font-size: .84rem; display: flex; align-items: center; gap: 10px; max-width: 280px;
}
.note-pop b { color: var(--ink); }
.note-pop .dot-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px var(--ok-soft); }
@media (max-width: 640px) { .note-pop { margin-top: 12px; max-width: none; width: auto; } }

/* Kleine Funktionsliste */
.minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(64px, 9vw, 104px); }
@media (max-width: 960px) { .minis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .minis { grid-template-columns: minmax(0, 1fr); } }
.mini { background: var(--surface); padding: 20px; }
.mini h3 { font-size: .98rem; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mini p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
:where(.page main) a.ed { text-decoration: none; vertical-align: 2px; }
a.ed:hover { text-decoration: none; background: var(--brand); color: #fff; }
.ed { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; color: var(--accent); background: var(--accent-soft); }

/* ── Datenschutz ─────────────────────────────────────────── */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .privacy { grid-template-columns: minmax(0, 1fr); } }
.privacy h2 { margin-bottom: 1.1rem; }
.privacy .lead { margin: 0 0 1.6rem; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.path-step { display: flex; align-items: center; gap: 14px; }
.path-step .pi {
    width: 44px; height: 44px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink-2);
}
.path-step .pi svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.path-step.you .pi { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.path-step b { display: block; font-size: .98rem; }
.path-step span { font-size: .86rem; color: var(--muted); }
.path-link { margin: 6px 0 6px 21px; padding: 8px 0 8px 22px; border-left: 2px dashed var(--line-strong); font: 600 .74rem var(--font-mono); color: var(--muted); }
.path-none {
    margin-top: 18px; padding: 12px 14px; border-radius: 11px; border: 1px dashed var(--line-strong);
    display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted);
}
.path-none s { color: var(--ink-2); }

/* ── Stimmen ─────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; margin: 0; }
.quote blockquote { margin: 0 0 1.4rem; font-family: var(--font-serif); font-size: 1.32rem; line-height: 1.35; color: var(--ink); }
/* Logo oben in einheitlicher Höhe, damit alle drei auf einer Linie stehen */
.quote figcaption { display: contents; }
.quote figcaption img { order: -1; height: 40px !important; width: auto; max-width: 170px; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.quote figcaption > div { margin-top: auto; font-size: .86rem; color: var(--muted); }
.quote-note { margin: -0.8rem 0 1.2rem; font-size: .78rem; color: var(--muted); font-style: italic; }
.quote .who { color: var(--ink); font-weight: 600; font-size: .92rem; }
.quote .logo-dark { display: none; }
:root[data-theme="dark"] .quote .logo-light { display: none; }
:root[data-theme="dark"] .quote .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .quote .logo-light { display: none; }
    :root:not([data-theme="light"]) .quote .logo-dark { display: block; }
}
.center-link { text-align: center; margin-top: 28px; }

/* ── Preise ──────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .prices { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); position: relative; }
.price.featured::before {
    content: "Beliebt bei Kunden"; position: absolute; top: -12px; left: 28px;
    font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: #fff; background: var(--brand); padding: 4px 10px; border-radius: 999px;
}
.price h3 { font-size: 1.05rem; }
.price .amount { font-family: var(--font-serif); font-size: 3.2rem; line-height: 1; margin: 14px 0 4px; }
.price .amount small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); margin-left: 6px; }
.price .for { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.price .checks { margin-bottom: 24px; }
.price .checks li { font-size: .92rem; }
.price .btn { margin-top: auto; width: 100%; }
.price-foot { text-align: center; margin: 26px auto 0; max-width: 700px; color: var(--muted); font-size: .9rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
    font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 20px; color: var(--ink-2); }
.faq .a p { margin: 0; }

/* ── Abschluss ───────────────────────────────────────────── */
.final {
    text-align: center; border-radius: 24px; padding: clamp(48px, 8vw, 88px) 24px;
    background:
        radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
        var(--ink);
    color: var(--bg);
}
.final h2 { color: var(--bg); max-width: 18ch; margin: 0 auto 1rem; }
.final h2 em { color: #4F9BE0; }
.final p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 560px; margin: 0 auto; }
.final .hero-cta { margin-top: 1.8rem; }
.final .btn-quiet { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
:root[data-theme="dark"] .final { background: radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); color: var(--ink); }
:root[data-theme="dark"] .final h2 { color: var(--ink); }
:root[data-theme="dark"] .final p { color: var(--ink-2); }
:root[data-theme="dark"] .final .btn-quiet { color: var(--ink); border-color: var(--line-strong); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .final { background: radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); color: var(--ink); }
    :root:not([data-theme="light"]) .final h2 { color: var(--ink); }
    :root:not([data-theme="light"]) .final p { color: var(--ink-2); }
    :root:not([data-theme="light"]) .final .btn-quiet { color: var(--ink); border-color: var(--line-strong); }
}

/* ── Fußzeile ────────────────────────────────────────────── */
.site-footer { padding: 64px 0 40px; margin-top: clamp(72px, 10vw, 120px); border-top: 1px solid var(--line); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.foot-grid h4 { margin: 0 0 .8rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-grid a { color: var(--ink-2); }
.foot-grid .brand img { height: 40px; margin-bottom: 12px; }
.foot-grid p { color: var(--muted); margin: 0; max-width: 34ch; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; }

/* ── Einblenden beim Scrollen ────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   Unterseiten: die bestehenden Inhaltsklassen im neuen Design.
   Kopf und Fuß teilen sich die Seiten mit der Startseite; der Inhalt
   behält seine alten Klassen, damit er nicht neu geschrieben werden muss.
   ═══════════════════════════════════════════════════════════════ */

/* Alte Variablennamen, die in Inline-Styles der Inhalte vorkommen */
:root {
    --color-text: var(--ink); --color-text-muted: var(--muted); --color-bg: var(--bg);
    --color-bg-soft: var(--bg-soft); --color-bg-elev: var(--surface); --color-border: var(--line);
    --color-primary: var(--brand); --color-primary-hover: var(--brand-hover); --color-primary-soft: var(--accent-soft);
    --color-primary-soft2: var(--accent-soft); --color-accent: var(--accent); --color-success: var(--ok);
    --color-warning: var(--warn); --color-danger: var(--bad); --color-text-invert: #fff;
    --radius-lg: 18px; --shadow-sm: var(--shadow); --max-width: var(--wrap);
}

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
.text-center { text-align: center; }
.small { font-size: .88rem; }

.page main { overflow-wrap: break-word; }
.page main [id] { scroll-margin-top: 100px; }
:where(.page main) .section { padding: clamp(48px, 7vw, 96px) 0; }
:where(.page main) h1 {
    font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04;
    font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 0 0 1rem;
}
:where(.page main) h2 {
    font-family: var(--font-serif); font-weight: 400; line-height: 1.1;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 2.4rem 0 1rem;
}
:where(.page main) h2:first-child { margin-top: 0; }
:where(.page main) h3 { margin: 1.8rem 0 .6rem; }
:where(.page main) h4 { font-size: 1rem; margin: 1.4rem 0 .5rem; }
:where(.page main) p, :where(.page main) li { color: var(--ink-2); }
:where(.page main) p { margin: 0 0 1rem; }
:where(.page main) ul, :where(.page main) ol { padding-left: 1.3rem; margin: 0 0 1rem; }
:where(.page main) li { margin-bottom: .35rem; }
:where(.page main) strong { color: var(--ink); }
:where(.page main) a:not(.btn) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
:where(.page main) code {
    font-family: var(--font-mono); font-size: .86em; background: var(--bg-soft); border: 1px solid var(--line);
    padding: .08em .4em; border-radius: 5px; overflow-wrap: break-word;
}
:where(.page main) pre { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: .86rem; }
:where(.page main) pre code { background: none; border: 0; padding: 0; }
:where(.page main) table:not(.pricing-table):not(.table) { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .94rem; }
:where(.page main) table:not(.pricing-table):not(.table) th, :where(.page main) table:not(.pricing-table):not(.table) td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
:where(.page main) table:not(.pricing-table):not(.table) th { color: var(--ink); font-weight: 600; background: var(--bg-soft); }
.page main .lead { max-width: 720px; }
.page main .text-center .lead, .page main .lead.text-center { margin-left: auto; margin-right: auto; }
:where(.page main) hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:where(.page main) img { max-width: 100%; height: auto; }
@media (max-width: 640px) {
    :where(.page main) table:not(.pricing-table):not(.table) { display: block; overflow-x: auto; }
}

/* Abschnitte */
.section-dark { background: var(--ink); color: var(--bg); }
.section-dark h2, .section-dark h3, .section-dark p, .section-dark li, .section-dark strong { color: var(--bg) !important; }
:root[data-theme="dark"] .section-dark { color: var(--ink); background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .section-dark h2, :root[data-theme="dark"] .section-dark h3, :root[data-theme="dark"] .section-dark p, :root[data-theme="dark"] .section-dark li, :root[data-theme="dark"] .section-dark strong { color: var(--ink) !important; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .section-dark { color: var(--ink); background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    :root:not([data-theme="light"]) .section-dark h2, :root:not([data-theme="light"]) .section-dark h3, :root:not([data-theme="light"]) .section-dark p, :root:not([data-theme="light"]) .section-dark li, :root:not([data-theme="light"]) .section-dark strong { color: var(--ink) !important; }
}
/* Tabellen im dunklen Abschnitt: im hellen Modus hell auf Dunkel, im Dunkelmodus normale Farben */
.page main .section-dark table:not(.pricing-table):not(.table) td { color: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom-color: rgba(255, 255, 255, .12); }
.page main .section-dark table:not(.pricing-table):not(.table) th { color: var(--bg); background: rgba(255, 255, 255, .06); border-bottom-color: rgba(255, 255, 255, .12); }
.section-dark a:not(.btn) { color: #4F9BE0; }
:root[data-theme="dark"] .page main .section-dark table:not(.pricing-table):not(.table) td { color: var(--ink-2); border-bottom-color: var(--line); }
:root[data-theme="dark"] .page main .section-dark table:not(.pricing-table):not(.table) th { color: var(--ink); background: var(--bg-soft); border-bottom-color: var(--line); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .page main .section-dark table:not(.pricing-table):not(.table) td { color: var(--ink-2); border-bottom-color: var(--line); }
    :root:not([data-theme="light"]) .page main .section-dark table:not(.pricing-table):not(.table) th { color: var(--ink); background: var(--bg-soft); border-bottom-color: var(--line); }
}.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .09em;
    text-transform: uppercase; color: var(--accent); padding: .38rem .8rem; border-radius: 999px; background: var(--accent-soft); margin-bottom: 1rem;
}

/* Zeitleiste (Basic-Auth-Seite) */
.timeline { list-style: none; margin: 2.4rem 0 0 !important; padding: 0 !important; }
.timeline li {
    --tl: var(--muted);
    position: relative; display: grid; grid-template-columns: 118px 36px minmax(0, 1fr);
    margin: 0 !important; padding-bottom: 22px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline .tl-ok { --tl: var(--ok); }
.timeline .tl-warn { --tl: var(--warn); }
.timeline .tl-bad { --tl: var(--bad); }
.timeline .tl-new { --tl: var(--accent); }
/* Linie und Punkt in der mittleren Spalte */
.timeline li::before {
    content: ""; position: absolute; left: calc(118px + 17px); top: 0; bottom: 0; width: 2px;
    background: linear-gradient(var(--line-strong), var(--line-strong));
}
.timeline li:first-child::before { top: 26px; }
.timeline li:last-child::before { bottom: auto; height: 26px; }
.timeline li::after {
    content: ""; position: absolute; left: calc(118px + 10px); top: 19px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--tl); box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px color-mix(in srgb, var(--tl) 35%, transparent);
}
.section-soft .timeline li::after { box-shadow: 0 0 0 5px var(--bg-soft), 0 0 0 7px color-mix(in srgb, var(--tl) 35%, transparent); }
.timeline .tl-current::after { animation: tlPulse 2.2s ease-out infinite; }
@keyframes tlPulse {
    0% { box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px color-mix(in srgb, var(--tl) 45%, transparent); }
    70% { box-shadow: 0 0 0 5px var(--bg), 0 0 0 16px color-mix(in srgb, var(--tl) 0%, transparent); }
    100% { box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px color-mix(in srgb, var(--tl) 0%, transparent); }
}
.tl-when {
    grid-column: 1; padding-top: 12px; text-align: right; font-family: var(--font-serif);
    font-size: 1.45rem; line-height: 1.05; color: var(--ink);
}
.tl-when span { display: block; font-family: var(--font-sans); font-size: .8rem; font-weight: 600; color: var(--tl); margin-top: 4px; letter-spacing: .02em; }
.tl-body {
    grid-column: 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow); border-top: 3px solid var(--tl);
}
.tl-current .tl-body { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tl) 40%, transparent), var(--shadow-lg); }
.tl-body h3 { margin: 0 0 .35rem !important; font-size: 1.08rem; }
.tl-body p { margin: 0 !important; font-size: .96rem; }
.tl-here {
    display: inline-block; margin-bottom: .55rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--tl); background: color-mix(in srgb, var(--tl) 14%, transparent); padding: 3px 9px; border-radius: 999px;
}
.tl-source { margin-top: 1rem !important; font-size: .82rem; color: var(--muted) !important; text-align: right; }
@media (max-width: 640px) {
    .timeline li { grid-template-columns: 28px minmax(0, 1fr); }
    .timeline li::before { left: 13px; }
    .timeline li::after { left: 6px; }
    .tl-when { grid-column: 2; grid-row: 1; text-align: left; padding: 10px 0 8px; font-size: 1.2rem; display: flex; align-items: baseline; gap: 8px; }
    .tl-when span { display: inline; margin: 0; }
    .tl-body { grid-column: 2; grid-row: 2; }
    .tl-source { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .timeline .tl-current::after { animation: none; } }
/* Downloadseite */
.dl-hero { padding-bottom: clamp(48px, 7vw, 88px) !important; }
.dl-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 2.6rem; text-align: left; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); }
.dl-main { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), var(--shadow-lg); }
.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.dl-head img { width: 56px; height: 56px; }
.dl-head h2 { font-family: var(--font-sans) !important; font-size: 1.3rem !important; font-weight: 650 !important; margin: 0 !important; }
.dl-head p { margin: 2px 0 0 !important; color: var(--muted) !important; font-size: .92rem; }
.dl-btn { width: 100%; justify-content: center; }
.dl-meta { margin: 18px 0 6px !important; font-size: .84rem; color: var(--muted) !important; }
.dl-meta code { font-size: .78rem; word-break: break-all; }
.dl-links { margin: 0 !important; font-size: .86rem; }
.dl-side h3 { margin: 0 0 14px !important; }
.dl-side .checks li { font-size: .93rem; }
.dl-signed { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.dl-signed .dot-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; margin-top: 6px; box-shadow: 0 0 0 4px var(--ok-soft); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 620px) { .steps-4 { grid-template-columns: minmax(0, 1fr); } }
.page .compare + .minis { margin-top: 20px; }
.page .cmp p { font-size: .96rem; }
.page .cmp .checks { margin-top: .8rem; }
/* Unterseiten im Stil der Startseite */
.page-hero { padding-bottom: clamp(40px, 6vw, 72px) !important; }
.page-hero h1 { max-width: 18ch; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2.2rem; }
.jump a { font-size: .86rem; font-weight: 600; color: var(--ink-2) !important; text-decoration: none !important; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.jump a:hover { border-color: var(--accent); color: var(--accent) !important; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards-4 { grid-template-columns: minmax(0, 1fr); } }
.minis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 960px) { .minis-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .minis-3 { grid-template-columns: minmax(0, 1fr); } }
.page main .mini h3 { margin: 0 0 6px !important; font-size: .98rem; }
.page main .mini p { margin: 0 !important; font-size: .9rem; color: var(--muted); }
.page main .card h3 { margin: 12px 0 6px !important; }
.page main .card p { margin: 0 !important; font-size: .94rem; }
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .case { grid-template-columns: minmax(0, 1fr); } }
.case-story, .case-criteria { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.case-story h2 { margin: 1rem 0 .8rem !important; }
.case-stats { display: flex; gap: 14px; margin: 1.4rem 0; }
.case-stats div { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.case-stats b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.case-stats span { font-size: .84rem; color: var(--muted); }
.case-logo img { height: 30px; width: auto; }
.case-logo .logo-dark { display: none; }
:root[data-theme="dark"] .case-logo .logo-light { display: none; }
:root[data-theme="dark"] .case-logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .case-logo .logo-light { display: none; } :root:not([data-theme="light"]) .case-logo .logo-dark { display: block; } }
.case-criteria h3 { margin: 0 0 1rem !important; }
.case-criteria .checks li { font-size: .94rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery-item { margin: 0; }
.gallery-item figcaption { margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px 18px; box-shadow: var(--shadow); overflow-x: auto; }
.table-card table { margin: 0 !important; }
/* Editionstabelle: nie mitten im Wort umbrechen, am Handy seitlich wischen */
.pricing-table, .pricing-table * { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.pricing-table .btn { white-space: nowrap; padding: .6rem .95rem; font-size: .88rem; }
@media (max-width: 760px) {
    .table-card { padding: 4px 0; -webkit-overflow-scrolling: touch; }
    .table-card .pricing-table { display: table !important; min-width: 660px; overflow: visible; }
    .table-card .pricing-table th, .table-card .pricing-table td { padding: 10px 10px; }
    .table-card .pricing-table tbody th { width: 190px; min-width: 190px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
}
.swipe-hint { display: none; }
@media (max-width: 760px) { .swipe-hint { display: block; text-align: center; font-size: .82rem; color: var(--muted); margin: 0 0 10px !important; } }
.spec-card { max-width: 900px; margin: 0 auto; }
.page main .spec-card th { background: transparent !important; width: 32%; color: var(--ink) !important; }
.page main .spec-card td { color: var(--ink-2) !important; }
.page main .spec-card tr:last-child th, .page main .spec-card tr:last-child td { border-bottom: 0; }
/* Technische Eckdaten als Kacheln */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
@media (max-width: 960px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .specs { grid-template-columns: minmax(0, 1fr); } }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.spec dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.spec dd { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.foot-reviews { margin-top: .8rem !important; font-size: .86rem; }
.foot-reviews a { font-weight: 600; }
/* Lesebreite für Fließtext in breiten Abschnitten, Raster in voller Breite */
.page main .section > .container > :is(p, ul, ol:not(.timeline), h3, h4, details, .callout, pre, .faq, .tl-source, .btn-group, form) { max-width: 800px; margin-left: auto; margin-right: auto; }
.page main .section > .container > ol.timeline { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.page main .section-head { max-width: 780px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.page main .section-head h2 { margin: 0 0 1rem !important; }
.page main .section-head .lead { margin: 0 auto !important; }
/* Seiten mit h1 im ersten Abschnitt: Einstieg wie auf der Startseite */
.page main > section:first-child > .container > h1 { text-align: center; max-width: 20ch; margin: 0 auto 1.1rem; }
.page main > section:first-child > .container > h1 + .lead { text-align: center; margin: 0 auto 2rem; max-width: 680px; }
/* Kontaktseite */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.contact-side { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow); }
.side-card h3 { margin: 0 0 .6rem !important; font-size: 1.02rem; }
.side-card p { margin: 0 !important; font-size: .94rem; }
@media (max-width: 760px) { .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Optionen (Basic-Auth-Seite) */
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 820px) { .opt-grid { grid-template-columns: minmax(0, 1fr); } }
.opt-grid .price-card { height: 100%; }
.opt-grid .price-card .btn { margin-top: auto; align-self: flex-start; }
.opt-grid .price-card h3 { margin-top: 0 !important; }
/* Kopfbereich der Unterseiten (Klasse .hero, wie auf der Basic-Auth-Seite) */
.page .hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px) !important; text-align: center; }
.page .hero .container { max-width: 900px !important; }
.page .hero h1 { max-width: none; margin: 1.1rem auto 1.3rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page .hero h1 em { font-style: italic; color: var(--accent); }
.page .hero .lead { max-width: 680px; margin: 0 auto; font-size: 1.08rem; }
.page .hero .btn-group { justify-content: center; margin-top: 2rem !important; }

/* Knöpfe */
.btn-secondary, .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.02rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.page main .btn { white-space: normal; text-align: center; line-height: 1.25; }

/* Hinweiskästen */
.callout {
    display: flex; gap: 12px; border: 1px solid var(--line); border-left: 4px solid var(--accent);
    background: var(--surface); border-radius: 12px; padding: 16px 18px; margin: 1.4rem 0; box-shadow: var(--shadow);
}
.callout > div { min-width: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-info { border-left-color: var(--accent); }
.callout-warning { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 6%, var(--surface)); }
.callout-success { border-left-color: var(--ok); background: color-mix(in srgb, var(--ok) 6%, var(--surface)); }

/* Feature-Raster */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; margin-top: 2.2rem; }
/* Mauerwerk: Karten füllen spaltenweise auf, lange stehen nicht neben kurzen mit Leerraum */
.feature-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature h3 { margin: .8rem 0 .4rem; font-size: 1.05rem; }
.feature p { margin: 0; font-size: .95rem; }
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}

/* Zweispaltig mit Bild */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin: 3rem 0; }
.split.reverse > :first-child { order: 2; }
/* Abschnitt mit App-Nachbildung: Text oben, Fenster darunter in voller Breite */
.split:has(> .window) { grid-template-columns: minmax(0, 1fr); }
.split:has(> .window) > div:not(.window) { max-width: 760px; }
.split.reverse:has(> .window) > :first-child { order: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }

/* Screenshots mit Hell/Dunkel-Paar */
.scr-dark { display: none !important; }
:root[data-theme="dark"] .scr-light { display: none !important; }
:root[data-theme="dark"] .scr-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .scr-light { display: none !important; }
    :root:not([data-theme="light"]) .scr-dark { display: block !important; }
}
.app-screenshot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); line-height: 0; cursor: zoom-in; }
.app-screenshot img { width: 100%; height: auto; }
.doc-screenshot {
    display: block; margin: 1rem 0 1.5rem; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow);
    max-width: 60%; height: auto; cursor: zoom-in; background: var(--surface);
}
.doc-screenshot.small { max-width: 42%; }
@media (max-width: 760px) { .doc-screenshot, .doc-screenshot.small { max-width: 100%; } }
.doc-screenshot-caption { display: block; margin: -.75rem 0 1.5rem; font-size: .86rem; color: var(--muted); font-style: italic; }
.doc-figure { margin: 0; }

/* Dokumentation mit Inhaltsverzeichnis */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; }
.doc-toc {
    position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto;
    font-size: .9rem; padding: 4px 4px 4px 0;
}
.doc-toc h4 { margin: 0 0 .7rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.doc-toc ul { list-style: none; padding: 0; margin: 0; }
.doc-toc li { margin: 0; }
.doc-toc a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--ink-2) !important; text-decoration: none !important; border-left: 2px solid transparent; }
.doc-toc a:hover { background: var(--bg-soft); color: var(--ink) !important; }
.doc-toc a.active { color: var(--accent) !important; border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.doc-toc ul ul a { padding-left: 22px; font-size: .86rem; }
.doc-content { min-width: 0; }
.doc-content h2 { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc-content h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.doc-content h3 { scroll-margin-top: 100px; }
.doc-content [id] { scroll-margin-top: 100px; }
@media (max-width: 960px) {
    .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .doc-toc { position: static; max-height: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
}

/* FAQ der Unterseiten (details/summary mit .faq-body) */
.faq { margin-top: 2rem; }
.faq .faq-body { padding: 0 0 20px; color: var(--ink-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }
/* Aufklappbare Einträge überall auf den Unterseiten (FAQ und Doku) */
:where(.page main) details { border-bottom: 1px solid var(--line); }
:where(.page main) details:first-of-type { border-top: 1px solid var(--line); }
:where(.page main) details + details { border-top: 0; }
:where(.page main) details > summary {
    list-style: none; cursor: pointer; position: relative; padding: 16px 36px 16px 0;
    font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
:where(.page main) details > summary::-webkit-details-marker { display: none; }
:where(.page main) details > summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
:where(.page main) details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
:where(.page main) details > summary:hover { color: var(--accent); }

/* Lightbox für Doku-Screenshots (main.js) */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .88); z-index: 999; align-items: center; justify-content: center; cursor: zoom-out; padding: 1.5rem; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); object-fit: contain; }
.lightbox-close { position: fixed; top: 1rem; right: 1.25rem; background: transparent; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; opacity: .8; z-index: 1000; }
.lightbox-close:hover { opacity: 1; }

/* Preise und Editionsvergleich */
.pricing-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; margin: 2.4rem auto 0; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.price-card h3 { margin-top: 0; }
.price-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.pricing-table { width: 100%; border-collapse: collapse; margin: 0 auto; font-size: .95rem; }
.pricing-table th, .pricing-table td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: center; vertical-align: middle; color: var(--ink-2); }
.pricing-table thead th { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.pricing-table tbody th { text-align: left; font-weight: 500; width: 36%; }
@media (max-width: 700px) { .pricing-table { display: block; overflow-x: auto; font-size: .86rem; } }

/* Formulare */
.form-group { margin-bottom: 1.3rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--ink); font-size: .95rem; }
.form-input, :where(.page main) textarea, :where(.page main) select {
    width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
    border-radius: 10px; padding: 11px 13px;
}
.form-input:focus, :where(.page main) textarea:focus, :where(.page main) select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.radio-group { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radio-label { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-2); cursor: pointer; }

/* Referenzen */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; margin: 2.4rem auto 0; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; margin: 0; }
.testimonial-quote { margin: 0 0 1.4rem; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.35; color: var(--ink); }
.testimonial-quote-translation { font-size: .9rem; color: var(--muted); font-style: italic; margin: -0.6rem 0 1.2rem; }
.testimonial-attribution { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.testimonial-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.testimonial-logo-dark { display: none; }
:root[data-theme="dark"] .testimonial-logo-light { display: none; }
:root[data-theme="dark"] .testimonial-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .testimonial-logo-light { display: none; }
    :root:not([data-theme="light"]) .testimonial-logo-dark { display: block; }
}
.testimonial-name { font-weight: 600; color: var(--ink); }
.testimonial-role { color: var(--muted); font-size: .9rem; }

/* Referenzseite im Stil der Startseite: volle Breite, drei Spalten, Logo oben */
.page main .container:has(.testimonial-grid) { max-width: var(--wrap) !important; }
.page main .container:has(.testimonial-grid) > h1, .page main .container:has(.testimonial-grid) > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.page main .container:has(.testimonial-grid) > .lead { max-width: 720px; }
.testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)) !important; max-width: none !important; }
.testimonial-card { padding: 24px 24px 22px; }
.testimonial-quote { font-size: 1.2rem; }
.testimonial-attribution { display: contents; }
:where(.page main) img.testimonial-logo { order: -1; height: 32px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.testimonial-meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial-name { font-size: .95rem; }
.testimonial-role { font-size: .86rem; line-height: 1.5; }
/* Dienst-Karte auf der Produktseite */
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); }
.svc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.svc-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.svc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.svc-head b { display: block; font-size: 1.05rem; color: var(--ink); }
.svc-head div span { font-size: .85rem; color: var(--muted); }
.svc-state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; }
.svc-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.svc-props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 18px; }
.svc-props div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.svc-props dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.svc-props dd { margin: 2px 0 0; font: 600 .9rem var(--font-mono); color: var(--ink); }
.svc-flow { list-style: none; margin: 0 !important; padding: 0 !important; position: relative; }
.svc-flow::before {
    content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 2px;
    background: repeating-linear-gradient(var(--line-strong) 0 5px, transparent 5px 10px);
}
.svc-flow::after {
    content: ""; position: absolute; left: 11px; top: 18px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: svcRun 3.2s ease-in-out infinite;
}
@keyframes svcRun { 0% { top: 12px; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 22px); opacity: 0; } }
.svc-flow li { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 0 0 10px !important; }
.svc-flow li:last-child { margin-bottom: 0 !important; }
.svc-n { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 .85rem var(--font-sans); color: var(--accent); background: var(--surface); border: 2px solid var(--accent); }
.svc-flow li > div { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.svc-flow b { display: block; color: var(--ink); font-size: .95rem; }
.svc-flow li > div span { font-size: .84rem; color: var(--muted); }
@media (max-width: 480px) { .svc-props { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .svc-flow::after { animation: none; display: none; } }
/* Abschlusskasten */
.cta-box {
    text-align: center; border-radius: 24px; margin: clamp(48px, 7vw, 96px) auto; padding: clamp(40px, 6vw, 64px) 24px;
    background: radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--ink);
}
.cta-box h2 { color: var(--bg) !important; margin-top: 0 !important; }
.page main .cta-box p { margin: 0 auto 1rem; }
.cta-box p { color: color-mix(in srgb, var(--bg) 75%, transparent) !important; max-width: 42em; margin-left: auto; margin-right: auto; }
.cta-box a:not(.btn) { color: #4F9BE0 !important; }
.cta-box .btn-group { justify-content: center; }
.cta-box .btn-ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
:root[data-theme="dark"] .cta-box { background: radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
:root[data-theme="dark"] .cta-box h2 { color: var(--ink) !important; }
:root[data-theme="dark"] .page main .cta-box p { margin: 0 auto 1rem; }
.cta-box p { color: var(--ink-2) !important; }
:root[data-theme="dark"] .cta-box .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .cta-box { background: radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
    :root:not([data-theme="light"]) .cta-box h2 { color: var(--ink) !important; }
    :root:not([data-theme="light"]) .page main .cta-box p { margin: 0 auto 1rem; }
.cta-box p { color: var(--ink-2) !important; }
    :root:not([data-theme="light"]) .cta-box .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
}

/* Aktiver Menüpunkt in der Kopfzeile */
.nav-links > a.active { color: var(--ink); background: var(--bg-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .table tr.enter { animation: none; }
    .tag.q::before { animation: none; }
    .flow .anim { display: none; }
    .flow .anim.static { display: inline; }
}

/* Navigation: Werkzeugleiste (Sprache, Hell/Dunkel). Desktop: unsichtbarer
   Rahmen, Reihenfolge Links, Sprache, Testen, Schalter. Handy: im Menü unten. */
.nav-tools { display: contents; }
.nav > .btn-primary { order: 2; }
.nav-tools .theme-toggle { order: 3; margin-left: .4rem; }
@media (max-width: 960px) {
    .nav-toggle { margin-left: auto; }
    .nav-tools {
        display: flex; align-items: center; justify-content: space-between; gap: 12px; order: 5;
        margin-top: .6rem; padding-top: .9rem; border-top: 1px solid var(--line);
    }
    .nav-tools .lang-menu { margin: 0; }
    .nav-tools .lang-menu .lang-switch { gap: 4px; flex-wrap: nowrap; }
    .nav-tools .lang-menu .lang-switch a { flex: none; font-size: 0; padding: .35rem .6rem; border-radius: 8px; }
    .nav-tools .lang-menu .lang-switch a small { display: inline !important; font-size: .8rem; font-weight: 600; color: inherit; }
    .nav-tools .theme-toggle { margin: 0; width: 36px; height: 36px; }
    .nav > .btn-primary { order: 6; align-self: flex-start; margin: .9rem 0 .2rem !important; padding: .55rem 1rem !important; font-size: .88rem !important; box-shadow: none; }
}
/* Etiketten nie umbrechen; der Titel daneben weicht aus */
.badge, .ed, .tl-here, .svc-state { white-space: nowrap; flex-shrink: 0; }
.cmp-head { gap: 12px; align-items: flex-start; }
.cmp-head h3 { min-width: 0; }
.cmp-head .badge { margin-top: 2px; }
/* Vergleich mit anderen Relay-Wegen (Startseite, Abschnitt Umstieg) */
.vs { margin-top: clamp(40px, 6vw, 64px); }
.vs-title { text-align: center; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .6rem; }
.vs-lead { text-align: center; max-width: 700px; margin: 0 auto 1.6rem; color: var(--ink-2); }
.vs-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.vs-table th, .vs-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table thead th { font-weight: 650; color: var(--ink); font-size: .9rem; }
.vs-table tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.vs-table .vs-us { background: var(--accent-soft); color: var(--ink); }
.vs-table thead .vs-us { color: var(--accent); border-radius: 10px 10px 0 0; }
.vs-yes { font-weight: 600; }
.vs-yes::before { content: "✓ "; color: var(--ok); font-weight: 700; }
@media (max-width: 760px) { .vs .table-card { padding: 4px 0; } .vs-table { min-width: 720px; } .vs-table tbody th { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 150px; } }
/* Rechtstexte: Lesekarte neben dem Inhaltsverzeichnis */
.legal-section { padding-top: 0 !important; }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); max-width: 820px; }
.legal-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem) !important; }
.legal-card > p:first-child, .legal-card > h2:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }

/* Dokumentation: Einstieg mit Themen-Kacheln */
.doc-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem) !important; margin: 1rem 0 1rem !important; }
.doc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(40px, 6vw, 72px); }
@media (max-width: 960px) { .doc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .doc-tiles { grid-template-columns: minmax(0, 1fr); } }
.doc-tile {
    display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    text-decoration: none !important; color: var(--ink) !important; transition: border-color .15s, transform .15s;
}
.doc-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.doc-tile .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.doc-tile .icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc-tile b { font-size: .98rem; }
.doc-tile > span:last-child { font-size: .84rem; color: var(--muted); }
/* Vergleich als Karten (Produktseite) */
.vs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .vs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .vs-cards { grid-template-columns: minmax(0, 1fr); } }
.vs-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.vs-card-us { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.vs-card-head { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.vs-card-head b { display: block; font-size: 1.05rem; color: var(--ink); }
.vs-card-us .vs-card-head b { color: var(--accent); }
.vs-card-head span { font-size: .82rem; color: var(--muted); }
.vs-card dl { margin: 0; flex: 1; }
.vs-row { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px dashed var(--line); }
.vs-row:last-child { border-bottom: 0; }
.vs-row::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; border-radius: 50%; }
.vs-g::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.vs-m::before { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 18%, transparent); }
.vs-b::before { background: var(--line-strong); }
.vs-n::before { background: transparent; border: 1.5px solid var(--line-strong); width: 8px; height: 8px; }
.vs-row dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs-row dd { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); }
.vs-g dd { color: var(--ink); font-weight: 500; }
.vs-card .btn { margin-top: 16px; align-self: stretch; }
.vs-note { text-align: center; font-size: .84rem; color: var(--muted) !important; margin: 1.2rem auto 0 !important; max-width: 640px; }
/* Navigation ruhiger: keine Kästen um Sprache und Schalter, Unterstreichung statt Fläche */
.nav { gap: .15rem; }
.nav-links > a { position: relative; background: none !important; color: var(--ink-2); padding: .5rem .7rem; }
.nav-links > a:hover { color: var(--ink); text-decoration: none; }
.nav-links > a.active { color: var(--ink); }
@media (min-width: 961px) {
    .nav-tools .lang-menu { order: 1; margin-left: .6rem; padding-left: .9rem; border-left: 1px solid var(--line); }
    .nav-tools .theme-toggle { order: 2; }
    .nav > .btn-primary { order: 3; }
}
.lang-btn { border: 0 !important; background: none !important; padding: .4rem .35rem; gap: 4px; font-size: .8rem; color: var(--muted); }
.lang-btn:hover, .lang-menu.open .lang-btn { color: var(--ink); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-btn .chev { width: 8px; height: 8px; opacity: .7; }
.theme-toggle { border: 0 !important; background: none !important; width: 32px !important; height: 32px !important; color: var(--muted) !important; border-radius: 8px; }
.theme-toggle:hover { color: var(--ink) !important; background: var(--bg-soft) !important; }
.theme-toggle svg { width: 16px; height: 16px; }
.nav > a.btn-primary { margin-left: .8rem; box-shadow: none; border-radius: 8px; padding: .55rem 1rem !important; font-size: .88rem; }
.nav > a.btn-primary:hover { transform: none; }
@media (max-width: 960px) {
    .nav-links > a { padding: .75rem 0; }
    .nav-tools .lang-menu { border-left: 0; padding-left: 0; margin: 0; }
    .nav-tools .lang-menu .lang-switch { gap: 0; }
    .nav-tools .lang-menu .lang-switch a { border: 0 !important; background: none !important; padding: .3rem .5rem; color: var(--muted); }
    .nav-tools .lang-menu .lang-switch a:first-child { padding-left: 0; }
    .nav-tools .lang-menu .lang-switch a + a small::before { content: "·"; margin-right: .9rem; color: var(--line-strong); }
    .nav-tools .lang-menu .lang-switch a.active { color: var(--accent); }
    .nav > a.btn-primary { margin-left: 0; }
}
/* Schmaler Desktop (961 bis 1120 px): Navigation enger, damit sechs Punkte passen */
@media (min-width: 961px) and (max-width: 1120px) {
    .nav-wrap { gap: .6rem; }
    .brand img { height: 46px; }
    .nav-links > a { padding: .5rem .45rem; font-size: .9rem; }
    .nav-tools .lang-menu { margin-left: .3rem; padding-left: .5rem; }
    .nav > a.btn-primary { margin-left: .4rem; padding: .5rem .8rem !important; font-size: .85rem; }
}

/* Navigation, Variante Kapsel (Standard) und Linie (?nav=linie). Die Links
   stehen in .nav-links; am Handy löst sich der Rahmen auf (display: contents). */
.nav-links { display: flex; align-items: center; gap: .15rem; }
@media (max-width: 960px) {
    .nav-links { display: contents; }
}
@media (min-width: 961px) {
}
@media (min-width: 961px) and (max-width: 1120px) {
}


/* ═══ Kopfzeile als schwebende Kapsel (Vorbild: nunc.coffee) ═══ */
.site-header { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 0 !important; padding: 12px 0 0; pointer-events: none; }
.site-header .nav-wrap {
    pointer-events: auto; position: relative;
    width: calc(100% - 48px); max-width: calc(var(--wrap) - 48px); margin: 0 auto; height: 68px; padding: 0 8px 0 18px;
    background: color-mix(in srgb, var(--surface) 46%, transparent);
    backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px);
    border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 8px 28px -16px rgba(20, 22, 28, .35);
    transition: box-shadow .2s ease;
}
.site-header.scrolled .nav-wrap { box-shadow: 0 10px 32px -14px rgba(20, 22, 28, .45); }
.site-header .brand img { height: 52px; }
/* Links: schlichter Text, aktive Seite kräftiger */
.nav-links { padding: 0 !important; border: 0 !important; background: none !important; gap: .1rem; }
.nav-links > a { padding: .45rem .8rem !important; border-radius: 999px; font-size: .92rem; color: var(--ink-2); }
.nav-links > a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent) !important; }
.nav-links > a.active { color: var(--ink); font-weight: 650; background: none !important; box-shadow: none !important; }
.nav-links > a.active::after { display: none; }
.nav > a.btn-primary { border-radius: 999px !important; padding: .62rem 1.15rem !important; }
.theme-toggle { border-radius: 999px !important; }
@media (min-width: 961px) and (max-width: 1120px) {
    .site-header .nav-wrap { width: calc(100% - 32px); padding: 0 6px 0 14px; }
    .site-header .brand img { height: 46px; }
    .nav-links > a { padding: .4rem .5rem !important; font-size: .86rem; }
}
/* Handy: Kapsel mit Logo und Menü-Knopf, Menü als Karte darunter */
@media (max-width: 960px) {
    .site-header { padding-top: 10px; }
    .site-header .nav-wrap { width: calc(100% - 24px); height: 62px; padding: 0 8px 0 14px; }
    .site-header .brand img { height: 44px; }
    .nav-toggle { border-radius: 999px; }
    .nav {
        top: calc(100% + 8px) !important; left: 0 !important; right: 0 !important;
        border: 1px solid var(--line) !important; border-radius: 20px; background: var(--surface) !important;
        box-shadow: 0 18px 40px -18px rgba(20, 22, 28, .45); padding: .6rem 18px 1rem !important;
    }
    .nav-links > a { padding: .7rem 0 !important; background: none !important; font-size: 1rem; }
    .nav-links > a.active { color: var(--accent); }
}

/* ═══ Kopfzeile: gleicher Radius wie Karten, Unternavigation, Handy in einer Karte ═══ */
.site-header .nav-wrap { border-radius: var(--radius); }
.nav > a.btn-primary { border-radius: 9px !important; }
.theme-toggle, .nav-toggle { border-radius: 9px !important; }
.nav-links > a { border-radius: 8px; }
.nav-dd { position: relative; }
.nav-dd-btn {
    font: inherit; font-size: .92rem; color: var(--ink-2); background: none; border: 0; cursor: pointer;
    padding: .45rem .8rem; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px;
}
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-dd-btn.active { color: var(--ink); font-weight: 650; }
.dd-chev { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-dd.open .dd-chev { transform: rotate(180deg); }
.nav-dd-panel {
    display: none; position: absolute; top: calc(100% + 12px); left: -10px; min-width: 340px; z-index: 70;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px;
}
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dd-panel a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none !important; }
.nav-dd-panel a:hover { background: var(--bg-soft); }
.nav-dd-panel b { display: block; font-size: .94rem; font-weight: 600; color: var(--ink); }
.nav-dd-panel span { display: block; font-size: .84rem; color: var(--muted); margin-top: 1px; line-height: 1.4; }
@media (min-width: 961px) {
    .nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel, .nav-dd.open .nav-dd-panel { display: block; }
    .nav-dd:hover .dd-chev { transform: rotate(180deg); }
}
@media (min-width: 961px) and (max-width: 1120px) { .nav-dd-btn { padding: .4rem .5rem; font-size: .86rem; } }
@media (max-width: 960px) {
    /* Eine Karte: das Menü klappt innerhalb der Kopfzeile auf */
    .site-header .nav-wrap { flex-wrap: wrap; height: auto !important; min-height: 62px; padding: 7px 8px 7px 14px; }
    .nav {
        position: static !important; flex-basis: 100%; width: 100%; margin-top: 7px;
        border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important;
        box-shadow: none !important; background: none !important; padding: .3rem 6px .8rem !important;
    }
    .nav-dd { position: static; }
    .nav-dd-btn { width: 100%; justify-content: space-between; padding: .7rem 0; font-size: 1rem; border-radius: 0; background: none !important; }
    .nav-dd.open .nav-dd-panel { display: block; position: static; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 .4rem 12px; }
    .nav-dd-panel::before { display: none; }
    .nav-dd-panel a { padding: .5rem 0; }
    .nav-dd-panel b { font-weight: 500; color: var(--ink-2); }
    .nav-dd-panel span { display: none; }
}
/* Sprungziele: Abstand für die schwebende Kopfzeile, auf allen Seiten */
[id] { scroll-margin-top: 100px; }
@media (max-width: 960px) { [id] { scroll-margin-top: 88px; } }
/* Ganze Abschnitte bringen eigenen Innenabstand mit: nur wenig zusätzlich */
section[id] { scroll-margin-top: 12px !important; }
@media (max-width: 960px) { section[id] { scroll-margin-top: 24px !important; } }
/* Nach einem Klick im Aufklappmenü bleibt es zu, bis die Maus es verlässt */
@media (min-width: 961px) { .nav-dd.suppress:hover .nav-dd-panel, .nav-dd.suppress:focus-within .nav-dd-panel { display: none; } }/* Galerie: gleich große Rahmen, Aufnahmen mit anderem Format mittig darin */
.gallery .app-screenshot { aspect-ratio: 1422 / 794; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.gallery .app-screenshot img { width: 100%; height: 100%; object-fit: contain; }
/* Hauptpunkt „Basic Auth 2026" mit kleinem Warnpunkt */
/* Verweise von der Startseite auf die Produktseite („Mehr dazu“) */
.more-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; margin: 28px 0 0; }
.more-links a { font-weight: 600; color: var(--accent); text-decoration: none; }
.more-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.more-links.more-left { justify-content: flex-start; margin-top: 18px; }
/* Umstieg von IIS-SMTP und hMailServer auf der Produktseite */
.vs-sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 22px; }
.relay-cards { margin-bottom: 44px; }
/* Datenschutz-Block im Abschnitt Sicherheit */
.sec-privacy { margin-top: clamp(40px, 6vw, 72px); }
.sec-privacy-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6rem; }
/* Funktionskacheln: einzelne Karten statt Rasterlinien, Edition als Marke über dem Titel */
.minis, .page main .minis { gap: 14px; background: none; border: 0; border-radius: 0; overflow: visible; }
.mini, .page main .mini {
    position: relative; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); box-shadow: 0 1px 2px rgba(20, 22, 28, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 14px 30px -18px rgba(20, 22, 28, .35); }
.mini h3, .page main .mini h3 { flex-direction: column-reverse; align-items: flex-start; gap: 10px; font-size: 1.02rem; line-height: 1.3; margin: 0 0 8px !important; }
.mini:has(.ed) { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--surface)) 0%, var(--surface) 55%); }
.mini::before { content: ""; position: absolute; left: 22px; top: -1px; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--line); }
.mini:has(.ed)::before { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .mini, .mini:hover { transition: none; transform: none; } }

/* ═══ Links-Rechts-Abschnitte der Unterseiten ═══ */
/* nummerierte Schritte in einer Textspalte */
.num-steps { list-style: none; counter-reset: ns; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 16px; }
.num-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; margin: 0; }
.num-steps li::before { content: counter(ns); grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .92rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); }
.num-steps b { color: var(--ink); font-size: 1rem; line-height: 1.35; padding-top: 5px; }
.num-steps span { color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
/* Nachbildung des Installers */
.setup-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 300px; background: var(--w-bg); }
.setup-side { background: linear-gradient(180deg, #1E3A8A, #172f6e); display: grid; place-items: start center; padding-top: 34px; }
.setup-side img { width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.setup-main { padding: 26px 26px 18px; min-width: 0; font-size: .86rem; }
.setup-main h3 { font-family: "Segoe UI", var(--font-sans); font-size: 1.15rem; font-weight: 600; color: var(--w-ink); margin: 0 0 10px; }
.setup-main p { color: var(--w-muted); margin: 0 0 14px; }
.setup-done { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.setup-done li { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--w-ink); }
.setup-done li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.setup-check { display: flex; align-items: center; gap: 9px; color: var(--w-ink); }
.setup-check .box { width: 18px; height: 18px; border-radius: 4px; background: #0067c0; display: grid; place-items: center; flex: none; }
.setup-check svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.setup-foot { display: flex; justify-content: flex-end; padding: 12px 16px; background: var(--w-main); border-top: 1px solid var(--w-line); }
.w-btn { display: inline-block; font-size: .82rem; padding: 6px 22px; border-radius: 4px; background: var(--w-btn); color: var(--w-btn-ink); }
.w-btn.primary { background: #1E3A8A; color: #fff; }
@media (max-width: 520px) { .setup-body { grid-template-columns: 76px minmax(0, 1fr); } .setup-side img { width: 44px; height: 44px; } .setup-main { padding: 20px 16px 14px; } }
/* Sendeprotokoll eines Geräts */
.devlog-body { background: #111827; color: #d1d5db; padding: 16px 18px 18px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .78rem; line-height: 1.55; min-height: 220px; }
.log-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 3px 0; overflow-wrap: anywhere; }
.log-line .t { color: #6b7280; }
.log-line.err { color: #fca5a5; }
.log-line.err.strong { color: #fecaca; font-weight: 700; }
.note-pop .dot-warn { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); flex: none; }
/* Mail-Tracker-Ausschnitt */
.trk-body { background: var(--w-main); padding: 14px 16px 16px; }
.trk-head { font-size: 1.05rem; font-weight: 600; margin: 2px 0 12px; color: var(--w-ink); }
.trk { background: var(--w-bg); border: 1px solid var(--w-line); border-radius: 6px; font-size: .78rem; overflow: hidden; }
.trk-row { display: grid; grid-template-columns: 46px minmax(0, 1.1fr) minmax(0, 1.5fr) 74px; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--w-line); align-items: center; }
.trk-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trk-th { border-top: 0; color: var(--w-muted); font-weight: 600; background: var(--w-card); }
.trk-ok { color: #15803d; font-weight: 600; }
:root[data-theme="dark"] .trk-ok { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trk-ok { color: #4ade80; } }
@media (max-width: 520px) { .trk-row { grid-template-columns: 40px minmax(0, 1fr) 66px; } .trk-row > span:nth-child(3) { display: none; } }
/* Referenzen */
.ref-case { margin-top: clamp(36px, 5vw, 56px); }
.case-figure { margin: 0 0 1.2rem; }
.case-quote { margin: 0 0 1rem; font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.38; color: var(--ink); }
.case-figure .testimonial-quote-translation { margin: -0.3rem 0 1rem; }
.case-figure .testimonial-attribution { display: flex; flex-direction: column; gap: 8px; }
.ref-more { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: clamp(56px, 8vw, 96px) 0 0; }
.ref-grid { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)) !important; }
.ref-boxes { margin-top: clamp(48px, 7vw, 80px); }
.ref-boxes .cmp { display: flex; flex-direction: column; }
.ref-boxes .cmp h3 { font-size: 1.15rem; margin: 0 0 .7rem; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto !important; padding-top: .4rem; }

/* ═══ Einheitliche Kacheln auf allen Seiten ═══
   Eine Form für jede Inhaltskachel: gleiche Fläche, Linie, Rundung, Schatten und Innenabstand,
   dieselbe leichte Anhebung beim Überfahren. Editionen erscheinen nur noch als Marke. */
.card, .mini, .spec, .cmp, .feature, .quote, .testimonial-card, .vs-card, .side-card, .step,
.case-story, .case-criteria, .price, .price-card, .dl-card, .table-card, .svc, .legal-card,
.page main .mini, .page main .spec, .page main .cmp, .page main .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card, .mini, .spec, .cmp, .feature, .quote, .testimonial-card, .vs-card, .side-card,
.page main .mini, .page main .spec, .page main .cmp, .page main .card { padding: 22px; }
.card, .mini, .spec, .cmp, .feature, .quote, .testimonial-card, .vs-card, .side-card, .step {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover, .mini:hover, .spec:hover, .cmp:hover, .feature:hover, .quote:hover, .testimonial-card:hover, .vs-card:hover, .side-card:hover, .step:hover {
    transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    box-shadow: 0 1px 2px rgba(20, 22, 28, .05), 0 18px 36px -18px rgba(20, 22, 28, .3);
}
.mini::before { content: none; }
.mini:has(.ed) { background: var(--surface); }
.minis, .page main .minis, .specs, .cards { gap: 16px; }
@media (prefers-reduced-motion: reduce) {
    .card, .mini, .spec, .cmp, .feature, .quote, .testimonial-card, .vs-card, .side-card, .step { transition: none; }
    .card:hover, .mini:hover, .spec:hover, .cmp:hover, .feature:hover, .quote:hover, .testimonial-card:hover, .vs-card:hover, .side-card:hover, .step:hover { transform: none; }
}

/* ═══ Keine einzelnen Wörter in der letzten Zeile ═══
   Überschriften verteilen ihre Wörter gleichmäßig auf die Zeilen, Fließtext vermeidet ein
   verwaistes letztes Wort. Browser ohne Unterstützung umbrechen wie bisher. */
h1, h2, h3, h4, .display, .eyebrow, .lead, .section-head p, .hero p, .page-hero p, blockquote, .case-quote, .testimonial-quote, .note-pop, .compare-note, .vs-sub, figcaption, dt { text-wrap: balance; }
p, li, dd, td, th, summary { text-wrap: pretty; }

/* ═══ Überschriften einheitlich schmal gesetzt (Vorbild: Startseite) ═══ */
.hero h1, .page .hero h1, .page-hero h1, .page main > section:first-child > .container > h1 {
    max-width: 15ch; margin-left: auto; margin-right: auto;
    font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02;
}
.section-head h2, .page main .section-head h2, .final h2 { max-width: 17ch; margin-left: auto !important; margin-right: auto !important; }
.hero h1 br, .page-hero h1 br, .section-head h2 br { display: none; }

/* ═══ Lange Wörter in Überschriften ═══
   Nie mitten im Wort ohne Trennstrich umbrechen: Überschriften trennen an Silbengrenzen
   (lang-Attribut der Seite), und der Kopf der Unterseiten ist etwas breiter und kleiner
   als der Startseiten-Kopf, damit Komposita wie „Geschäftsbedingungen“ ganz bleiben. */
h1, h2, h3, .display { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: normal; }
@media (max-width: 420px) { h1, h2, .display { overflow-wrap: break-word; } }
.page .hero h1, .page-hero h1, .page main > section:first-child > .container > h1 {
    max-width: 18ch; font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}
/* Startseite: seit der längeren H1 (09/2026) breiter und kleiner, damit die Unterzeile auf
   einem 13-Zoll-Notebook ohne Scrollen sichtbar bleibt. */
body:not(.page) > main .hero h1 { max-width: 21ch; font-size: clamp(2.4rem, 4.6vw, 4rem); }

/* Etikett der hervorgehobenen Edition in der Seitensprache */
:lang(en) .price.featured::before { content: "Customer favorite"; }
:lang(fr) .price.featured::before { content: "Le choix des clients"; }
:lang(es) .price.featured::before { content: "La favorita de los clientes"; }

/* Download-Knopf: so breit wie sein Text statt über die ganze Karte,
   auf dem Handy weiterhin volle Breite (leichter zu treffen). */
.dl-btn { width: auto; padding: 12px 22px; font-size: 1rem; }
@media (max-width: 560px) { .dl-btn { width: 100%; } }

/* Dashboard-Nachbildung wie App 1.8.7: keine Dienstknöpfe über der Tabelle,
   „Spalten“ rechts in der Filterzeile, runde Kacheln mit zentrierten Zahlen,
   Statusleiste mit Punkt statt Live-Marke. */
.demo .stat { border-radius: 8px; text-align: center; padding: 10px 14px 8px; }
.demo-filter span { border-radius: 4px; }
.demo-filter span.btn { flex: none; background: var(--w-btn); color: var(--w-btn-ink); border-color: transparent; }
.demo-status { margin: auto -16px -10px; padding: 7px 16px; border-top: 1px solid var(--w-line); background: var(--w-bg); font-size: .74rem; color: var(--w-ink); }
.demo-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; display: inline-block; }
.demo-status .chev { opacity: .55; font-size: .7rem; }

.page-meta { color: var(--muted); font-size: .88rem; margin: .6rem 0 0; }
.page-sources { margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); line-height: 1.6; }
.page-sources a { text-decoration: underline; text-underline-offset: 2px; }

.price-note { max-width: 760px; margin: 0 auto 26px; padding: .9rem 1.1rem; text-align: center; font-size: .92rem; line-height: 1.55; color: var(--ink-2, var(--ink)); background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: 12px; }

/* Anmeldung Einrichtungstipps / Newsletter (Brevo) */
.signup { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.signup h2 { margin: 0 0 .5rem; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.signup > p { margin: 0 0 1.1rem; color: var(--ink-2, var(--ink)); }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-row .form-input { flex: 1 1 260px; min-width: 0; margin: 0; }
.signup-row .btn { flex: 0 0 auto; }
.signup-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.signup-note { margin: .8rem 0 0 !important; font-size: .86rem; color: var(--muted); }
.signup-status { margin: .8rem 0 0; font-size: .95rem; font-weight: 600; }
.signup-status:empty { display: none; }
.signup-status.is-ok { color: var(--ok); }
.signup-status.is-error { color: var(--bad); }
.signup form.is-done .signup-row { display: none; }
.signup-list { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.signup-list li { margin: .25rem 0; }
.signup-after { text-align: center; max-width: 760px; margin: 1.2rem auto 0 !important; font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .signup-row .btn { flex: 1 1 100%; } }

.price-badge { display: block; width: fit-content; align-self: flex-start; margin: 2px 0 8px; padding: .22rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 650; letter-spacing: .01em; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.price-badge.is-down { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }

/* ── Nachbau der Ansichten Dashboard und Mailfluss (nur Darstellung, Beispieldaten) ── */
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-head b { font-size: 1.05rem; font-weight: 600; }
.mk-head span { font-size: .72rem; background: var(--w-btn); color: var(--w-btn-ink); padding: 4px 10px; border-radius: 3px; }
.mk-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.mk-tile { border: 1px solid var(--w-line); border-radius: 4px; padding: 7px 10px 6px; background: var(--w-bg); min-width: 0; }
.mk-tile b { display: block; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-tile i { display: block; font-style: normal; font-size: .68rem; color: var(--w-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tile.ok b { color: #1d7f55; } .mk-tile.warn b { color: #b8770c; } .mk-tile.bad b { color: #c0392b; }
:root[data-theme="dark"] .mk-tile.ok b { color: #5fd39a; } :root[data-theme="dark"] .mk-tile.warn b { color: #e8b04a; } :root[data-theme="dark"] .mk-tile.bad b { color: #f0907e; }
.mk-card { border: 1px solid var(--w-line); border-radius: 4px; padding: 8px 10px; background: var(--w-bg); min-width: 0; }
.mk-card > b { display: block; font-size: .78rem; font-weight: 600; margin-bottom: 6px; }
.mk-chart { width: 100%; height: auto; display: block; }
.mk-chart .grid { stroke: var(--w-line); stroke-width: 1; }
.mk-chart text { fill: var(--w-muted); font-size: 9px; font-family: "Segoe UI", var(--font-sans); }
.mk-chart .s1 { fill: none; stroke: #1d7f55; stroke-width: 2; } .mk-chart .s2 { fill: none; stroke: #c0392b; stroke-width: 2; }
.mk-legend { display: flex; gap: 12px; justify-content: flex-end; font-size: .66rem; color: var(--w-muted); margin-top: -4px; }
.mk-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; background: #1d7f55; }
.mk-legend i.r { background: #c0392b; }
.mk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-bar { font-size: .7rem; margin-bottom: 6px; }
.mk-bar div { display: flex; justify-content: space-between; gap: 8px; } .mk-bar div span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-bar em { display: block; height: 3px; border-radius: 2px; background: #3b82c4; margin-top: 2px; }
.mk-bar.r em { background: #e58c79; }
.mk-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .74rem; }
.mk-flow span { border-radius: 999px; padding: 4px 12px; background: var(--w-btn); }
.mk-flow span.st { background: rgba(30, 58, 138, .18); color: var(--w-head); font-weight: 600; }
.mk-rules { width: 100%; border-collapse: collapse; font-size: .72rem; table-layout: fixed; }
.mk-rules th { text-align: left; font-weight: 400; color: var(--w-muted); padding: 5px 8px; border-bottom: 1px solid var(--w-line); }
.mk-rules td { padding: 5px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-rules tr.grp td { color: var(--w-head); font-weight: 600; padding-top: 9px; border-top: 1px solid var(--w-line); }
.mk-rules tr.grp td small { color: var(--w-muted); font-weight: 400; margin-left: 6px; }
.mk-rules td.n { color: var(--w-muted); width: 28px; } .mk-rules tr.imp td { font-style: italic; }
.mk-rules .rj { color: #c0392b; } .mk-rules .ac { color: #1d7f55; } .mk-rules .as { color: #2a6fb5; }
.mk-rules .on { color: #1d7f55; } .mk-rules td.dim { color: var(--w-muted); }
@media (max-width: 720px) { .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-cols { grid-template-columns: 1fr; } .mk-rules th:nth-child(n+4), .mk-rules td:nth-child(n+4) { display: none; } }

/* Umschaltbares Fenster (Startseite, Produktseite): Dashboard, Maillog, Mailfluss */
.demo[data-switch] .demo-side .item[data-view] { cursor: pointer; }
.demo[data-switch] .demo-side .item[data-view]:hover { background: rgba(255, 255, 255, .05); }
.demo[data-switch] .demo-side .item[data-view]:focus-visible { outline: 2px solid #60a5fa; outline-offset: -2px; }
.demo-panes { display: grid; flex: 1; min-width: 0; }
.demo-pane { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: .8rem; line-height: 1.45; visibility: hidden; }
.demo-pane.on { visibility: visible; }
.demo-pane[data-pane="maillog"] { gap: 0; font-size: inherit; line-height: inherit; }
.demo-pane .mk-rules { font-size: .68rem; }
.demo-pane .mk-rules th:nth-child(1) { width: 34px; }
.demo-pane .mk-rules th:nth-child(2) { width: 27%; }
.demo-pane .mk-rules th:nth-child(3) { width: 25%; }
.demo-pane .mk-rules th:nth-child(4) { width: 22%; }
.demo-pane .mk-rules th:nth-child(5) { width: 10%; }
