/* ============================================================
   nostiq — style.css
   ============================================================ */

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

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

:root {
    /* ── Neutral (6) ───────────────────────────────────────────── */
    --ui-surface:    #FFFFFF;   /* Karten, Formulare, Papier */
    --ui-bg:         #F9F8F5;   /* Seitenhintergrund (off-white) */
    --ui-border:     #E4E0D9;   /* Trennlinien, Rahmen, Chart-Gitter */
    --ui-text:       #1C211E;   /* Fließtext, Überschriften */
    --ui-text-mid:   #596560;   /* Sekundärtext, Beschreibungen */
    --ui-text-muted: #8E9A96;   /* Labels, Captions, Hilfstext */

    /* ── Sage — Marke (5) ──────────────────────────────────────── */
    --brand-primary:        #6B8E7D;   /* Logo, Links, Akzente */
    --brand-primary-dark:   #4A6B5C;   /* Hover/Aktiv — und Text auf Sage-Fläche */
    --brand-primary-deep:   #202E28;   /* dunkle Sektionen, Footer, Hero */
    --brand-primary-soft:   #ECF3F0;   /* Sage-Fläche = zugleich Severity „ok" */
    --brand-primary-border: #C8DDD6;   /* Linien auf Sage-Flächen */

    /* ── Amber — Akzent (3) ────────────────────────────────────── */
    --brand-accent:      #C07840;      /* CTA-Buttons */
    --brand-accent-dark: #A8652E;      /* CTA-Hover */
    --brand-accent-soft: #FBF2E8;      /* Amber-Fläche = zugleich „moderat" + Warnung */

    /* ── Severity — klinische Skala (10) ───────────────────────────
       Solid = Balken/Charts/Gauge · Text = Pills auf der Fläche.
       Reihenfolge ok → mild → moderat → schwer; „sehr schwer" teilt
       Fläche und Text mit „schwer" (die Beschriftung unterscheidet). */
    --sev-ok:          #7C9885;
    --sev-ok-bg:       var(--brand-primary-soft);
    --sev-ok-text:     var(--brand-primary-dark);

    --sev-mild:        #C9B068;
    --sev-mild-bg:     #FAF3E0;
    --sev-mild-text:   #7A6020;

    --sev-mod:         #C9824D;
    --sev-mod-bg:      var(--brand-accent-soft);
    --sev-mod-text:    #7A3C10;

    --sev-severe:      #A04B3F;
    --sev-severe-bg:   #F5E8E5;
    --sev-severe-text: #7A2A20;
    --sev-severe-border: #E7C4BE;

    --sev-very-severe:      var(--sev-severe);
    --sev-very-severe-bg:   var(--sev-severe-bg);
    --sev-very-severe-text: var(--sev-severe-text);

    /* ── Semantische Aliase ────────────────────────────────────────
       Keine neuen Farben — nur sprechende Namen für vorhandene Töne,
       damit im Code „danger" stehen kann, wo Rot gemeint ist. */
    --state-danger:        var(--sev-severe);
    --state-danger-bg:     var(--sev-severe-bg);
    --state-danger-border: var(--sev-severe-border);
    --state-ok:            var(--brand-primary);
    --state-ok-bg:         var(--brand-primary-soft);
    --state-ok-border:     var(--brand-primary-border);
    --state-mild:          var(--sev-mild);
    --state-moderate:      var(--sev-mod);
    --state-warn-bg:       var(--brand-accent-soft);
    --state-warn-border:   var(--sev-mild);
    --state-warn-text:     var(--sev-mod-text);
    --status-progress-text: var(--sev-mod-text);

    /* ── RGB-Tripel für rgba()-Overlays (Alpha an der Aufrufstelle) ──
       Keine eigenen Farben, sondern dieselben Töne für halbtransparente
       Hover-, Schatten- und Schleierflächen. */
    --brand-primary-rgb:      107,142,125;
    --brand-accent-rgb:       192,120,64;
    --ui-bg-rgb:              249,248,245;
    --ui-surface-rgb:         255,255,255;
    --sage-rgb:               107,142,125;
    --sev-ok-rgb:             124,152,133;
    --state-danger-rgb:       160,75,63;
    --status-progress-rgb:    192,120,64;
    --status-archived-rgb:    89,101,96;
    --ink-rgb:                28,33,30;
    --shadow-rgb:             32,46,40;
    --brand-primary-mist-rgb: 236,243,240;

    --focus-primary:        rgba(var(--brand-primary-rgb), 0.13);
    --focus-primary-strong: rgba(var(--brand-primary-rgb), 0.15);
    --focus-accent:         rgba(var(--brand-accent-rgb), 0.20);

    /* ── Kurz-Aliase der Marketing-Site ── */
    --bg: var(--ui-bg);
    --surface: var(--ui-surface);
    --border: var(--ui-border);
    --text: var(--ui-text);
    --text-mid: var(--ui-text-mid);
    --text-light: var(--ui-text-muted);
    --sage: var(--brand-primary);
    --sage-dark: var(--brand-primary-dark);
    --sage-deep: var(--brand-primary-deep);
    --sage-bg: var(--brand-primary-soft);
    --sage-border: var(--brand-primary-border);
    --amber: var(--brand-accent);
    --amber-dark: var(--brand-accent-dark);
    --amber-bg: var(--brand-accent-soft);
    --r: 10px;
    --r-lg: 18px;
    --shadow: 0 2px 12px rgba(var(--shadow-rgb),0.07);
    --shadow-lg: 0 12px 48px rgba(var(--shadow-rgb),0.13);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Verhindert horizontalen Scroll durch das off-screen verschobene
       Mobile-Menü (transform: translateX). 'clip' statt 'hidden', damit
       position: sticky im Header erhalten bleibt. */
    overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(249,248,245,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 24px;
}
.nav-logo {
    display: inline-flex; align-items: center;
}
.nav-logo img { display: block; height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: var(--text-mid);
    transition: color 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Auf Desktop löst sich .nav-collapse auf, sodass nav-links und nav-actions
   direkt im Flex von .nav-inner liegen (space-between wie zuvor). */
.nav-collapse { display: contents; }
.nav-toggle { display: none; }
.nav-backdrop { display: none; }

.btn-ghost {
    font-family: inherit; font-size: 14px; font-weight: 500; color: var(--text-mid);
    background: none; border: 1px solid var(--border); border-radius: 8px;
    padding: 8px 18px; cursor: pointer; transition: all 0.18s;
    text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--sage); color: var(--text); }
.btn-disabled {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 38px; padding: 8px 14px;
    border: 1px solid var(--border); border-radius: 8px;
    background: var(--ui-surface); color: var(--text-light);
    font-size: 12px; font-weight: 600; white-space: nowrap;
    cursor: not-allowed; user-select: none;
}
.btn-primary {
    font-family: inherit; font-size: 14px; font-weight: 600; color: #fff;
    background: var(--amber); border: none; border-radius: 8px;
    padding: 9px 20px; cursor: pointer; transition: background 0.18s;
    text-decoration: none; display: inline-block; white-space: nowrap;
}
.btn-primary:hover { background: var(--amber-dark); }

/* ------------------------------------------------------------
   Sections — base
   ------------------------------------------------------------ */
section { padding: 80px 0; }
.section-label {
    font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sage); margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -1px;
    line-height: 1.15; text-wrap: pretty; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-mid); max-width: 560px; line-height: 1.7; }
.audience-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.audience-chip { font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; background: var(--sage-bg); border: 1px solid var(--sage-border); color: var(--sage-dark); }

/* Generic page hero (Subpages) */
.page-hero { padding: 72px 0 56px; background: linear-gradient(175deg, var(--sage-bg) 0%, var(--bg) 55%); }
.page-hero-label {
    font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sage); margin-bottom: 12px;
}
.page-hero h1 {
    font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -1.5px;
    line-height: 1.1; margin-bottom: 18px; text-wrap: pretty;
}
.page-hero p {
    font-size: 17px; color: var(--text-mid); max-width: 600px; line-height: 1.7;
}

/* ------------------------------------------------------------
   Landing — Hero
   ------------------------------------------------------------ */
.hero {
    padding: 80px 0 64px;
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(var(--brand-primary-rgb),0.16) 0, rgba(var(--brand-primary-rgb),0.08) 28%, rgba(var(--brand-primary-rgb),0) 58%),
        radial-gradient(circle at 18% 18%, rgba(var(--brand-accent-rgb),0.10) 0, rgba(var(--brand-accent-rgb),0.04) 32%, rgba(var(--brand-accent-rgb),0) 62%),
        linear-gradient(175deg, var(--sage-bg) 0%, var(--bg) 58%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255,255,255,0.48) 0%, rgba(255,255,255,0.08) 42%, rgba(255,255,255,0) 68%),
        repeating-linear-gradient(90deg, rgba(var(--ink-rgb),0.025) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(var(--ink-rgb),0.018) 0 1px, transparent 1px 72px);
    opacity: 0.72;
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 82px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(var(--ui-bg-rgb),0), var(--ui-bg));
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--sage-dark); background: var(--sage-bg); border: 1px solid var(--sage-border);
    border-radius: 100px; padding: 5px 14px; margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; line-height: 1.1;
    letter-spacing: -1.5px; color: var(--text); text-wrap: pretty;
    margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--sage-dark); }
.hero-adj {
    display: flex; align-items: center; gap: 16px;
    font-size: 15px; font-weight: 600; color: var(--text-mid);
    letter-spacing: 0.02em; margin-bottom: 24px;
}
.hero-adj .adj-word { color: var(--text); }
.hero-adj .adj-sep { color: var(--sage); font-size: 18px; }
.hero-body {
    font-size: 16px; color: var(--text-mid); line-height: 1.7;
    max-width: 480px; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-hero {
    font-family: inherit; font-size: 15px; font-weight: 600; color: #fff;
    background: var(--amber); border: none; border-radius: 10px;
    padding: 14px 28px; cursor: pointer; transition: background 0.18s;
    white-space: nowrap; text-decoration: none; display: inline-block;
}
.btn-hero:hover { background: var(--amber-dark); }
.btn-hero-ghost {
    font-family: inherit; font-size: 15px; font-weight: 500; color: var(--text);
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    padding: 13px 24px; cursor: pointer; transition: all 0.18s; white-space: nowrap;
    text-decoration: none; display: inline-block;
}
.btn-hero-ghost:hover { border-color: var(--sage); }
.hero-proof {
    display: flex; align-items: center; gap: 8px; margin-top: 20px;
    font-size: 13px; color: var(--text-mid);
}
.hero-proof-stars { color: var(--sev-mild); font-size: 14px; }

/* Landing — Dashboard mockup */
.hero-mockup { position: relative; display: flex; flex-direction: column; gap: 10px; }
.hero-mockup::before {
    content: ''; position: absolute; inset: 34px -30px -18px 34px; z-index: -1;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(var(--brand-primary-rgb),0.18), rgba(var(--brand-accent-rgb),0.10));
    filter: blur(10px);
}
.hero-mockup::after {
    content: ''; position: absolute; top: -18px; right: -18px; width: 160px; height: 160px; z-index: -1;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb),0.10);
    filter: blur(18px);
}
.mock-card {
    background: var(--surface); border-radius: var(--r-lg);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: 0 20px 70px rgba(var(--shadow-rgb),0.18), 0 2px 10px rgba(var(--ink-rgb),0.06);
}
.mock-header {
    background: var(--sage-deep); padding: 10px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.mock-header-logo { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.mock-body { padding: 16px; }
.mock-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 8px; }
.mock-score-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.mock-score { font-size: 44px; font-weight: 800; color: var(--text); letter-spacing: -2px; line-height: 1; }
.mock-score-label { font-size: 13px; font-weight: 600; color: var(--sev-mod); }
.mock-bar-wrap { margin: 12px 0; }
.mock-bar {
    height: 8px; border-radius: 100px; position: relative;
    background: linear-gradient(to right,
        var(--sev-ok) 0% 15%, var(--sev-mild) 15% 33%,
        var(--sev-mod) 33% 52%, var(--brand-accent) 52% 70%, var(--sev-severe) 70% 100%);
}
.mock-bar-marker {
    position: absolute; top: -3px; width: 14px; height: 14px;
    border-radius: 50%; background: #fff; border: 2px solid var(--sev-mod);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    left: calc(52% - 7px);
}
.mock-bar-labels {
    display: flex; justify-content: space-between;
    font-size: 9px; color: var(--text-light); margin-top: 4px;
}
.mock-chart-label { font-size: 10px; color: var(--text-light); margin-bottom: 4px; }
.mock-sparkline { width: 100%; display: block; }
.mock-footer {
    display: flex; align-items: center; gap: 8px; margin-top: 10px;
    padding-top: 10px; border-top: 1px solid var(--border);
}
.mock-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 5px;
}
.mock-badge-green { background: var(--sev-ok-bg); color: var(--brand-primary-dark); }
.mock-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-mini {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 14px;
    box-shadow: 0 10px 28px rgba(var(--shadow-rgb),0.08);
}
.mock-mini-name { font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; margin-bottom: 1px; }
.mock-mini-full { font-size: 9px; color: var(--text-light); line-height: 1.25; margin-bottom: 7px; min-height: 22px; }
.mock-mini-score { font-size: 24px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.mock-mini-max { font-size: 12px; font-weight: 600; color: var(--text-light); letter-spacing: 0; }
.mock-mini-label { font-size: 11px; color: var(--sev-mild); font-weight: 500; line-height: 1.3; min-height: 28px; margin-top: 1px; }
.mock-mini-bar {
    height: 5px; border-radius: 100px; margin-top: 8px;
    background: linear-gradient(to right, var(--sev-ok) 0% 15%, var(--sev-mild) 15% 33%, var(--sev-mod) 33% 52%, var(--brand-accent) 52% 70%, var(--sev-severe) 70% 100%);
    position: relative;
}
.mock-mini-marker {
    position: absolute; top: -3px; width: 11px; height: 11px; border-radius: 50%;
    background: #fff; border: 2px solid var(--sev-mild); box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Signature-Halbkreis-Gauge — entspricht dem echten Dashboard (includes/gauge.php):
   farbige Severity-Bögen + Zeiger auf dem Rohwert. Statisches SVG, Farben aus den
   geteilten --sev-*-Tokens. */
.mock-gauge-wrap { margin: 6px 0 2px; }
.mock-gauge { width: 100%; max-width: 248px; margin: 0 auto; display: block; }
.mock-gauge-caption { text-align: center; font-size: 13px; font-weight: 600; color: var(--sev-mod); margin-top: 2px; }

/* Wie im echten Dashboard (dashboard.css → .client-gauge__needle): die farbigen
   Bögen stehen sofort (statisch), nur der Zeiger schwingt einmal an seine Position.
   Standardzustand / reduced-motion = fertige Gauge. */
@media (prefers-reduced-motion: no-preference) {
    .mock-gauge .needle {
        transform-box: view-box; transform-origin: 120px 120px;
        animation: mockNeedle .7s cubic-bezier(.2, .75, .25, 1) both;
    }
}
@keyframes mockNeedle {
    from { transform: rotate(-38deg); opacity: 0; }
    to   { transform: rotate(0); opacity: 1; }
}

/* Landing — Security */
.security-section {
    background: var(--bg);
    color: var(--text);
    padding: 76px 0;
}
.security-head { text-align: center; max-width: 700px; margin: 0 auto; }
.security-head .section-sub { margin: 0 auto; }
.security-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 48px;
}
.security-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 30px 28px;
    min-height: 240px; display: flex; flex-direction: column; align-items: flex-start;
    color: var(--text);
}
.security-mark {
    width: 76px; height: 52px; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--sage-border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; overflow: hidden;
}
.security-mark svg {
    width: 28px; height: 28px; fill: none; stroke: var(--sage-dark);
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.security-title {
    font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
    margin-bottom: 10px;
}
.security-body {
    font-size: 14px; color: var(--text-mid);
    line-height: 1.7;
}

/* Landing — How it works */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2px; margin-top: 56px; background: var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.step { background: var(--surface); padding: 36px 32px; position: relative; }
.step-num {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--sage); margin-bottom: 16px;
}
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.step-body { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.step-icon {
    width: 44px; height: 44px; border-radius: 10px; background: var(--sage-bg);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.step-icon svg { width: 22px; height: 22px; stroke: var(--sage-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Landing — Test library */
.tests-bg { background: var(--sage-deep); color: #fff; }
.tests-bg .section-label { color: var(--sage-bg); opacity: 0.6; }
.tests-bg .section-title { color: #fff; }
.tests-bg .section-sub { color: rgba(255,255,255,0.6); }
.clusters-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
@media (min-width: 961px) and (max-width: 1180px) {
    .clusters-grid { grid-template-columns: repeat(2, 1fr); }
}
.cluster-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-lg); padding: 28px;
}
.cluster-tag {
    display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--sage); background: rgba(107,142,125,0.18);
    border-radius: 5px; padding: 3px 10px; margin-bottom: 14px;
}
.cluster-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.cluster-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 0; line-height: 1.5; }
.test-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.test-pill {
    display: flex; flex-direction: column; gap: 2px;
    padding: 8px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.15s;
}
.test-pill:hover { background: rgba(255,255,255,0.12); }
.test-pill-name {
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.92);
    display: flex; align-items: center; gap: 5px;
}
.test-pill-name::before { content: "✓"; color: var(--sage); font-size: 10px; font-weight: 800; }
.test-pill-tag { font-size: 10px; color: rgba(255,255,255,0.4); padding-left: 14px; }
.cluster-criteria { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cluster-criteria-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.cluster-criteria .test-pills { justify-content: center; }

/* Landing — Methodology */
.methodik-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center; margin-top: 48px;
}
.methodik-points { display: flex; flex-direction: column; gap: 20px; }
.methodik-point {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); transition: box-shadow 0.2s;
}
.methodik-point:hover { box-shadow: var(--shadow); }
.methodik-point-num {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
    background: var(--sage-bg); display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--sage-dark);
}
.methodik-point-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.methodik-point-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.methodik-callout {
    background: var(--sage-deep); color: #fff; border-radius: var(--r-lg);
    padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.methodik-callout-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); opacity: 0.8; }
.methodik-callout-title { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; }
.methodik-callout-body { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.methodik-callout-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600; color: var(--sage);
    border: 1px solid rgba(107,142,125,0.3); border-radius: 8px; padding: 10px 16px;
    align-self: flex-start; transition: all 0.18s;
}
.methodik-callout-link:hover { background: rgba(107,142,125,0.12); }

/* Landing — Comparison table */
.compare-table-wrap { margin-top: 48px; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
    padding: 14px 18px; text-align: left; font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.compare-table thead th {
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-light); background: var(--bg);
}
.compare-table thead th:first-child { border-radius: 8px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 8px 0 0; }
.compare-table tbody tr:hover td { background: var(--sage-bg); }
.compare-table .col-nostiq { background: rgba(107,142,125,0.07); font-weight: 600; }
.compare-table .col-nostiq td { color: var(--sage-dark); }
.col-label { font-weight: 600; color: var(--text); }
.check-yes { color: var(--sev-ok); font-weight: 700; }
.check-part { color: var(--sev-mild); }
.check-no { color: var(--text-light); }

/* Pricing */
.pricing-head { text-align: center; max-width: 760px; margin: 0 auto; }
.pricing-head .section-label { display: inline-block; }
.pricing-head .section-sub { margin: 0 auto; }
.beta-pricing-note {
    margin: 24px auto 0; max-width: 680px; border: 1px solid var(--sage-border);
    background: var(--sage-bg); color: var(--sage-dark); border-radius: var(--r);
    padding: 13px 18px; font-size: 14px; line-height: 1.6; text-align: left;
}

/* ── Abrechnungs-Pfeilerseiten (DE / AT / CH) ──────────────────────────── */
.ab-note { margin: 0 0 34px; padding: 14px 18px; border: 1px solid var(--sage-border); background: var(--sage-bg); border-radius: 10px; font-size: 13.5px; line-height: 1.55; color: var(--text-mid); max-width: 780px; }
.ab-switch { display: flex; gap: 8px; margin: 0 0 30px; flex-wrap: wrap; }
.ab-switch a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-mid); }
.ab-switch a:hover { border-color: var(--brand-primary); }
.ab-switch a.active { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.ab-prose p { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0 0 18px; max-width: 780px; }
.ab-prose ul { margin: 0 0 20px; padding: 0; max-width: 780px; list-style: none; }
.ab-prose li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; color: var(--text); margin: 0 0 12px; }
.ab-prose li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); }
.ab-highlight { margin: 10px 0 24px; padding: 20px 24px; border-left: 4px solid var(--brand-primary); background: var(--sage-bg); border-radius: 0 10px 10px 0; max-width: 780px; }
.ab-highlight p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); }
.ab-highlight strong { color: var(--brand-primary-deep); }
.ab-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* Test-Detailseiten (Testbibliothek) */
.td-table { width: 100%; max-width: 780px; border-collapse: collapse; margin: 6px 0 24px; font-size: 15px; }
.td-table th, .td-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.td-table thead th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-light); font-weight: 700; background: var(--sage-bg); }
.td-table td:first-child { font-weight: 600; white-space: nowrap; color: var(--text); }
.td-table tr:last-child td { border-bottom: 0; }
.td-scale { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: baseline; }
.td-verify { display: block; margin: -14px 0 26px; font-size: 12.5px; color: var(--text-light); max-width: 780px; line-height: 1.5; }
.td-source { margin: 0 0 8px; padding-left: 26px; font-size: 13.5px; line-height: 1.55; color: var(--text-mid); max-width: 780px; }
.billing-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
    padding: 6px;
}
.billing-option {
    appearance: none; border: 0; background: transparent; color: var(--text-light);
    font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    padding: 7px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.billing-option.is-active { color: var(--text); background: var(--surface); box-shadow: 0 1px 5px rgba(28,33,30,0.08); }
.billing-switch {
    appearance: none; position: relative; width: 46px; height: 26px; border: 0;
    border-radius: 999px; background: var(--sage-deep); cursor: pointer; flex-shrink: 0;
}
.billing-thumb {
    position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transform: translateX(20px); transition: transform 0.22s cubic-bezier(.4,0,.2,1);
}
.billing-toggle[data-billing="monthly"] .billing-thumb { transform: translateX(0); }
.billing-badge {
    font-size: 10px; font-weight: 800; background: var(--amber-bg); color: var(--amber);
    border-radius: 5px; padding: 2px 7px;
}
.billing-toggle[data-billing="monthly"] .billing-badge { visibility: hidden; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; align-items: stretch; }
.price-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 30px 26px; position: relative;
    display: flex; flex-direction: column; min-height: 100%;
}
.price-card.featured {
    border-color: var(--sage); box-shadow: 0 0 0 3px rgba(107,142,125,0.12);
}
.price-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--sage); color: #fff; border-radius: 100px; padding: 4px 14px;
    white-space: nowrap;
}
.price-card-head { min-height: 152px; display: flex; flex-direction: column; justify-content: flex-start; }
.price-plan { font-size: 13px; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 7px; }
.price-audience { min-height: 46px; font-size: 14px; color: var(--text-mid); line-height: 1.55; margin-bottom: 18px; }
.price-amount {
    display: flex; align-items: flex-start; gap: 2px; min-height: 48px;
    font-size: 44px; font-weight: 800; letter-spacing: 0; color: var(--text); line-height: 1; margin-bottom: 5px;
}
.price-amount sup { font-size: 18px; font-weight: 700; line-height: 1; margin-top: 6px; margin-right: 1px; }
.price-amount-text { font-size: 28px; letter-spacing: 0; align-items: center; word-break: break-word; }
.price-period { font-size: 13px; color: var(--text-light); margin-bottom: 0; }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-features li { font-size: 14px; color: var(--text-mid); display: flex; gap: 8px; align-items: flex-start; }
.price-features li::before { content: "✓"; color: var(--sage-dark); font-weight: 700; flex-shrink: 0; }
.price-cta {
    width: 100%; font-family: inherit; font-size: 15px; font-weight: 600;
    padding: 13px; border-radius: 8px; cursor: pointer; margin-top: auto;
    transition: all 0.18s; display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; text-align: center;
}
.price-cta-outline { background: none; border: 1.5px solid var(--border); color: var(--text); }
.price-cta-outline:hover { border-color: var(--sage); }
.price-cta-filled { background: var(--amber); border: none; color: #fff; }
.price-cta-filled:hover { background: var(--amber-dark); }
.pricing-note { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 20px; }

/* Testimonials */
.testimonials-bg { background: var(--sage-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.testi-card {
    background: var(--surface); border-radius: var(--r-lg);
    padding: 28px; border: 1px solid var(--border);
}
.testi-stars { color: var(--sev-mild); font-size: 15px; margin-bottom: 16px; }
.testi-quote { font-size: 15px; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-bg), var(--sage-border));
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--sage-dark);
}
.testi-name { font-size: 13px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--text-light); }

/* CTA section */
.cta-section {
    background: var(--sage-deep); color: #fff; text-align: center; padding: 96px 0;
}
.cta-section .section-label { color: rgba(255,255,255,0.45); }
.cta-section .section-title { color: #fff; margin: 0 auto 16px; max-width: 620px; }
.cta-section .section-sub { color: rgba(255,255,255,0.6); margin: 0 auto 36px; }

/* ------------------------------------------------------------
   Warum Verlaufsdiagnostik? (Narrativ-Block, Startseite)
   ------------------------------------------------------------ */
.why-rom { background: var(--surface); }
.why-rom .container { max-width: 820px; }
.why-rom-lead { font-size: 19px; color: var(--text); line-height: 1.7; margin: 4px 0 22px; text-wrap: pretty; }
.why-rom-text p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; }
.why-rom-text p:last-child { margin-bottom: 0; }
.why-rom-text strong { color: var(--text); font-weight: 700; }
.why-rom .quote-box { margin: 28px 0; }
.why-rom .quote-text { font-size: 18px; }

/* ------------------------------------------------------------
   Funktionen
   ------------------------------------------------------------ */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 48px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
/* Drei-Karten-Reihe: ohne leere vierte Zelle (kollabiert <960px über die feat-grid-Regel) */
.feat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feat-card { background: var(--surface); padding: 36px 32px; }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--sage-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-icon svg { width: 22px; height: 22px; stroke: var(--sage-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; }
.feat-body { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.feat-tag { display: inline-flex; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: var(--sage-bg); color: var(--sage-dark); border-radius: 5px; padding: 3px 9px; margin-bottom: 10px; }
.flow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 40px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
.flow-step { background: var(--surface); padding: 28px 24px; position: relative; }
.flow-num { font-size: 32px; font-weight: 800; letter-spacing: -1px; color: var(--brand-primary); line-height: 1; margin-bottom: 12px; }
.flow-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.flow-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.cta-strip { background: var(--sage-deep); border-radius: var(--r-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; }
.cta-strip-left h3 { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.6px; margin-bottom: 8px; }
.cta-strip-left p { font-size: 15px; color: rgba(255,255,255,0.55); max-width: 460px; line-height: 1.6; }

/* ------------------------------------------------------------
   Test-Bibliothek
   ------------------------------------------------------------ */
.cluster-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.cluster-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--sage-bg); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--sage-dark); }
.cluster-header .cluster-title { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; color: var(--text); }
.cluster-desc { font-size: 14px; color: var(--text-mid); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 60px; }
.test-card { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; transition: box-shadow 0.18s, border-color 0.18s; }
.test-card:hover { box-shadow: 0 4px 20px rgba(28,33,30,0.09); border-color: var(--brand-primary); }
.test-more { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--brand-primary); }
.test-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.test-name { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.test-license { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.license-ok { background: var(--sev-ok-bg); color: var(--sev-ok-text); }
.license-check { background: var(--sev-mild-bg); color: var(--sev-mild-text); }
.test-full-name { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.test-construct { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.test-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.test-meta-item { font-size: 11px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.test-meta-item strong { color: var(--text-mid); font-weight: 600; }
.psycho-box { margin-top: 14px; padding: 12px 14px; background: var(--bg); border-radius: 9px; border: 1px solid var(--border); }
.psycho-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 8px; }
.psycho-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.psycho-item { font-size: 11px; color: var(--text-mid); }
.psycho-item strong { color: var(--text); font-weight: 600; }
.cluster-sep { border: none; border-top: 2px solid var(--border); margin: 16px 0 48px; }
.phase2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.phase2-card { background: var(--bg); border: 2px dashed var(--border); border-radius: var(--r-lg); padding: 18px; }
.phase2-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.phase2-desc { font-size: 13px; color: var(--text-mid); }

/* ------------------------------------------------------------
   Methodik
   ------------------------------------------------------------ */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.pillar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.pillar-num { width: 36px; height: 36px; border-radius: 9px; background: var(--sage-bg); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--sage-dark); margin-bottom: 16px; }
.pillar-title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; }
.pillar-body { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.criteria-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 36px; }
.criteria-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.criteria-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sage-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.criteria-icon svg { width: 20px; height: 20px; stroke: var(--sage-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.criteria-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.criteria-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
/* Wrapper erlaubt horizontales Scrollen der Tabelle auf schmalen Screens,
   statt dass die rechte Spalte durch body { overflow-x: clip } abgeschnitten wird. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 28px; }
.ref-table { width: 100%; border-collapse: collapse; }
.table-scroll .ref-table { min-width: 560px; }
.ref-table th { padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-light); border-bottom: 2px solid var(--border); background: var(--bg); }
.ref-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: top; }
.ref-table tr:hover td { background: var(--sage-bg); }
.quote-box { border-left: 3px solid var(--sage); padding: 20px 24px; background: var(--sage-bg); border-radius: 0 var(--r) var(--r) 0; margin: 24px 0; }
.quote-text { font-size: 15px; font-style: italic; color: var(--text); line-height: 1.7; }
.quote-author { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--sage-dark); }
.anti-pattern { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 28px; }
.ap-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-mid); }
.ap-no { flex-shrink: 0; color: var(--sage-dark); font-weight: 700; }

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center; }
.about-photo { width: 300px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--sage-border); display: block; margin: 0 auto; }
.about-prose { max-width: 680px; margin-top: 24px; }
.about-prose p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.about-prose p:last-child { margin-bottom: 0; }
.about-photo-wrap { max-width: 300px; margin: 0 auto; }
.about-photo-caption { margin-top: 14px; font-size: 13px; color: var(--text-mid); line-height: 1.5; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; }
.value-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.value-body { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.not-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.not-item { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); font-size: 13px; }
.not-x { color: var(--text-light); font-weight: 700; flex-shrink: 0; }
.compat-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.compat-chip { font-size: 14px; font-weight: 500; padding: 8px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text-mid); }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.tl-item { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 15px; top: 28px; bottom: 0; width: 1px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sage-bg); border: 2px solid var(--sage-border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--sage-dark); }
.tl-label { font-size: 12px; font-weight: 700; color: var(--text-light); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.tl-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.tl-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ------------------------------------------------------------
   Kontakt
   ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; }
.form-title { font-size: 18px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.3px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-input, .form-select, .form-textarea { width: 100%; font-family: inherit; font-size: 14px; padding: 11px 14px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg); color: var(--text); outline: none; transition: border-color 0.18s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sage); background: var(--surface); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; padding: 13px; border-radius: 9px; background: var(--amber); border: none; color: #fff; cursor: pointer; margin-top: 8px; transition: background 0.18s; }
.form-submit:hover { background: var(--amber-dark); }
.form-notice { font-size: 14px; line-height: 1.55; padding: 14px 16px; border-radius: 9px; margin-bottom: 22px; border: 1px solid transparent; }
.form-notice-ok { background: var(--sev-ok-bg); border-color: var(--brand-primary-border); color: var(--sev-ok-text); }
.form-notice-error { background: var(--sev-severe-bg); border-color: var(--sev-severe-border); color: var(--sev-severe-text); }
.form-notice a { color: inherit; text-decoration: underline; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.contact-card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 8px; }
.contact-card-value { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.contact-card-sub { font-size: 13px; color: var(--text-mid); }
.beta-box { background: var(--sage-bg); border: 1px solid var(--sage-border); border-radius: var(--r-lg); padding: 24px; margin-top: 4px; }
.beta-box-title { font-size: 14px; font-weight: 700; color: var(--sage-dark); margin-bottom: 8px; }
.beta-box-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.faq-cat-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--sage); margin-bottom: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-q { width: 100%; text-align: left; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: none; border: none; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background 0.15s; }
.faq-q:hover { background: var(--bg); }
.faq-q-arrow { color: var(--text-light); font-size: 18px; flex-shrink: 0; transition: transform 0.2s; }
.faq-a { font-size: 14px; color: var(--text-mid); line-height: 1.7; padding: 0 20px 18px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q-arrow { transform: rotate(180deg); }
.faq-item.open .faq-q { background: var(--sage-bg); color: var(--sage-dark); }

/* ------------------------------------------------------------
   Legal pages (Impressum / Datenschutz)
   ------------------------------------------------------------ */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.legal-wrap h1 { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.legal-date { font-size: 13px; color: var(--text-light); margin-bottom: 40px; }
.legal-wrap h2 { font-size: 18px; font-weight: 700; margin: 36px 0 10px; }
.legal-wrap p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 12px; }
.legal-wrap li { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 6px; }
.legal-wrap strong { color: var(--text); }
.legal-wrap a { color: var(--sage-dark); text-decoration: underline; }
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; }
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 8px; }
.info-value { font-size: 14px; color: var(--text); line-height: 1.65; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
    background: var(--brand-primary-deep); color: rgba(255,255,255,0.45);
    padding: 56px 0 32px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand-name { display: inline-flex; align-items: center; margin-bottom: 14px; }
.footer-brand-name img { display: block; height: 32px; width: auto; }
.footer-brand-desc { font-size: 13px; line-height: 1.6; max-width: 260px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
    font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 5px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
    .hero-grid,
    .methodik-grid,
    .about-hero-grid,
    .contact-grid,
    .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    /* Hero-Mockup beim Umbruch deckeln + zentrieren: sonst skaliert die
       Verlaufs-SVG (Linienstärke/Datenpunkte) auf Tablet-Breiten zu mächtig
       gegenüber den festen Textgrößen. */
    .hero-mockup { max-width: 460px; margin-left: auto; margin-right: auto; }
    .steps-grid,
    .clusters-grid,
    .security-grid,
    .pricing-grid,
    .testimonials-grid,
    .value-grid,
    .criteria-grid { grid-template-columns: 1fr; }
    .feat-grid,
    .flow-grid,
    .pillar-grid,
    .not-grid,
    .ap-grid,
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-strip { flex-direction: column; align-items: flex-start; }

    /* --- Mobile-Navigation: Off-Canvas-Panel --- */
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; margin: -4px -8px -4px 0;
        background: none; border: none; cursor: pointer; color: var(--text);
        z-index: 110;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
        display: block; width: 22px; height: 2px; border-radius: 2px;
        background: currentColor; transition: transform 0.22s ease, opacity 0.22s ease;
    }
    .nav-toggle-bars { position: relative; }
    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -7px; }
    .nav-toggle-bars::after  { top: 7px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

    .nav-collapse {
        display: flex; flex-direction: column; gap: 28px;
        position: fixed; top: 0; right: 0; z-index: 105;
        width: min(82vw, 320px); height: 100dvh; height: 100vh;
        padding: 88px 28px 32px;
        background: var(--ui-surface); border-left: 1px solid var(--border);
        box-shadow: -12px 0 32px rgba(0,0,0,0.10);
        transform: translateX(100%); transition: transform 0.26s ease;
        overflow-y: auto; overscroll-behavior: contain;
    }
    body.nav-open .nav-collapse { transform: translateX(0); }

    .nav-collapse .nav-links {
        display: flex; flex-direction: column; gap: 4px;
    }
    .nav-collapse .nav-links a {
        display: block; padding: 12px 0; font-size: 17px;
        border-bottom: 1px solid var(--border);
    }
    .nav-collapse .nav-actions {
        display: flex; flex-direction: column; align-items: stretch; gap: 12px;
        margin-top: auto;
    }
    .nav-collapse .nav-actions .btn-disabled,
    .nav-collapse .nav-actions .btn-primary {
        width: 100%; text-align: center; font-size: 14px; padding: 12px 16px;
    }

    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 104;
        background: rgba(0,0,0,0.38); opacity: 0; pointer-events: none;
        transition: opacity 0.26s ease;
    }
    body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
    .nav-actions { gap: 6px; }
    .btn-disabled { padding: 7px 9px; font-size: 10px; }
    .nav-actions .btn-primary { padding: 8px 11px; font-size: 12px; }
    .billing-toggle { width: 100%; justify-content: space-between; gap: 6px; }
    .billing-option { font-size: 12px; padding: 7px 8px; }
    .billing-badge { display: none; }
    .price-card { padding: 26px 22px; }
    .price-card-head { min-height: auto; }
    .price-audience { min-height: 0; }
    .price-amount { font-size: 40px; }
    .price-amount-text { font-size: 26px; }
}
