/* <!-- style.css --> */
/* KIundQ — "Metrologie / Engineered Precision" Design System */

/* ============================================================
   0. FONTS (self-hosted, no external requests)
   ============================================================ */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-600.woff2") format("woff2"); }

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
    /* --- Color: Teal (brand anchor) --- */
    --teal-900: #0B3B38;   /* dark teal for headlines on light, deep accents */
    --teal-700: #0F6E68;   /* PRIMARY: text-links, CTA surfaces, card H3. AA-safe (~5.3:1 on white) */
    --teal-600: #0F8079;   /* hover/active variant of primary */
    --teal-logo: #008080;  /* logo/brand-mark ONLY, never for small text */
    --teal-050: #E9F3F2;   /* teal-tinted surface for badges/eyebrow backgrounds */

    /* --- Color: Ink (near-black, teal-tinted) --- */
    --ink-900: #0E1A1A;    /* dark-anchor: dark sections (contact/hero contrast) */
    --ink-700: #24312F;    /* body text on light */
    --ink-500: #55635F;    /* secondary text / subtitles */

    /* --- Color: Neutral surfaces --- */
    --surface: #F6F7F5;    /* warm off-white for alternating sections */
    --white:   #FFFFFF;
    --border:  #E4E7E4;    /* fine rules/borders */

    /* --- Color: Signal amber (rare, confidence/scoring only) --- */
    --amber-500: #E8A33D;
    --amber-050: #FBF1DE;

    /* --- Color: Confidence-score semantics --- */
    --score-high: #2E9E6B;
    --score-mid:  #E8A33D;
    --score-low:  #D1495B;

    /* --- Legacy aliases kept for /en (mirrored separately) --- */
    --primary-color: var(--teal-700);
    --dark-color: var(--ink-900);
    --medium-color: var(--ink-700);
    --light-color: var(--surface);
    --white-color: var(--white);

    /* --- Typography --- */
    --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --font-family: var(--font-body);

    --text-h1: clamp(2.2rem, 5vw, 3.6rem);
    --text-h2: clamp(1.9rem, 3.5vw, 2.6rem);
    --text-h3: 1.35rem;
    --text-body: 1.05rem;
    --text-eyebrow: 0.98rem;

    /* --- Layout rhythm --- */
    --container-max: 1160px;
    --section-pad: clamp(3.25rem, 8vw, 6rem);
    --radius: 12px;
    --radius-sm: 8px;

    --transition-speed: 0.2s;
    --transition-fast: 0.15s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--ink-700);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal-900);
}

h1 { font-size: var(--text-h1); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); line-height: 1.12; letter-spacing: -0.02em; text-align: center; margin-bottom: 1.25rem; }
h3 { font-size: var(--text-h3); font-family: var(--font-body); font-weight: 600; color: var(--ink-900); line-height: 1.3; }

p { font-size: var(--text-body); }

a { color: var(--teal-700); }

section { padding: var(--section-pad) 0; }

.subtitle {
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.15rem;
    color: var(--ink-500);
    text-align: center;
}

/* Eyebrow / mono label — the signature "measurement" label */
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-eyebrow);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 0.75rem;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.font-mono { font-family: var(--font-mono); }

/* Focus-visible — visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--teal-700);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ============================================================
   3. SIGNATURE COMPONENTS — Tick-Divider & Confidence-Gauge
   ============================================================ */
.tick-divider {
    --tick-color: var(--border);
    --tick-gap: 14px;
    position: relative;
    height: 16px;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 2.5rem auto;
    background:
        linear-gradient(var(--tick-color), var(--tick-color)) bottom / 100% 1px no-repeat,
        repeating-linear-gradient(to right, var(--tick-color) 0 1px, transparent 1px var(--tick-gap)) bottom / 100% 100% no-repeat;
}
.tick-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--teal-700);
}
.tick-divider--left { margin-left: 0; }

/* Confidence-Gauge: horizontal scale bar with a filled score marker */
.confidence-gauge { width: 100%; }
.gauge-track {
    position: relative;
    height: 10px;
    border-radius: 6px;
    background-color: var(--border);
    background-image: repeating-linear-gradient(to right, rgba(14, 26, 26, 0.14) 0 1px, transparent 1px 10%);
    overflow: hidden;
}
.gauge-fill {
    height: 100%;
    width: var(--gauge-value, 0%);
    background-color: var(--amber-500);
    border-radius: 6px 0 0 6px;
    transition: width 0.8s ease-out;
}
.gauge-fill.score-high { background-color: var(--score-high); }
.gauge-fill.score-mid  { background-color: var(--score-mid); }
.gauge-fill.score-low  { background-color: var(--score-low); }
.gauge-label {
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-500);
    letter-spacing: 0.02em;
}
.gauge-label .gauge-pct {
    color: var(--ink-900);
    font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
    .gauge-fill { transition: none; }
}

/* Inline icon sizing (Lucide-style SVG set, stroke 1.75, currentColor) */
.icon {
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
}

/* --- Utility: visually-hidden labels (accessibility) --- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* --- Skip-link: focus moves into view --- */
.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 3000;
    background: var(--teal-700); color: #fff; padding: 10px 16px;
    border-radius: 6px; text-decoration: none; font-weight: 600;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 2px solid var(--teal-700);
    cursor: pointer;
}
.btn-primary {
    background-color: var(--teal-700);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--teal-600);
    border-color: var(--teal-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 110, 104, 0.2);
}
.btn-sm { padding: 10px 18px; font-size: 0.95rem; }

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background-color: var(--teal-700);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    white-space: nowrap;
}
.btn-header-cta:hover {
    background-color: var(--teal-600);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .btn, .btn-header-cta { transition: none; }
    .btn-primary:hover, .btn-header-cta:hover { transform: none; }
}

/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 54px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    opacity: 0;
    transition: opacity var(--transition-speed) ease-in-out;
    display: flex;
    align-items: center;
}
.nav-logo.visible { opacity: 1; }
.nav-logo img { height: 44px; }

.nav-controls { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu { display: flex; list-style: none; gap: 1.75rem; align-items: center; }
.nav-link {
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
}
.nav-link:hover { color: var(--teal-700); }
.nav-menu-cta { display: none; }

.language-switcher { display: flex; align-items: center; gap: 0.5rem; }
.language-switcher button {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--ink-500);
    font-weight: 500;
}
.language-switcher button.active { color: var(--teal-700); font-weight: 600; }
.language-switcher span { color: var(--border); }

.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger:focus-visible {
    outline: 3px solid var(--teal-700);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- Nav dropdown ("Lösungen" / "Solutions") --- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--ink-700);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0;
    transition: color var(--transition-speed);
}
.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown-toggle[aria-expanded="true"] { color: var(--teal-700); }
.nav-dropdown-toggle:focus-visible {
    outline: 3px solid var(--teal-700);
    outline-offset: 4px;
    border-radius: 2px;
}
.nav-caret { flex: none; transition: transform var(--transition-speed) ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 14px;
    min-width: 210px;
    list-style: none;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 34px rgba(14, 26, 26, 0.12);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease, visibility var(--transition-speed);
    z-index: 1001;
}
/* invisible bridge so the pointer can cross the gap without closing on hover */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu .nav-link {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 0.92rem;
    white-space: nowrap;
}
.nav-dropdown-menu .nav-link:hover,
.nav-dropdown-menu .nav-link:focus-visible {
    background-color: var(--teal-050);
    color: var(--teal-700);
}
@media (prefers-reduced-motion: reduce) {
    .nav-caret, .nav-dropdown-menu { transition: none; }
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero-section {
    text-align: center;
    padding: 0 20px;
}

/* The hero-content fills exactly one screen (the "fold"). */
.hero-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 84px 0 40px;
}

.hero-logo-static {
    height: 132px;
    margin-bottom: 1.25rem;
    z-index: 1;
    position: relative;
    display: block;
    will-change: opacity, transform;
}

.hero-content h1 { margin-top: 0; margin-bottom: 1rem; hyphens: manual; }
.hero-content p.hero-subline { font-size: 1.2rem; max-width: 650px; margin: 0 auto 2rem; color: var(--ink-500); }

/* --- Hero product proof: below-the-fold, appears on scroll (gauge fills scroll-linked) --- */
.hero-proof {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding-bottom: var(--section-pad);
}
.hero-proof-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(14, 26, 26, 0.14);
    background: var(--surface);
}
.hero-proof-media img { display: block; width: 100%; height: auto; }
.hero-proof-gauge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem 1rem 0.75rem;
    background: linear-gradient(0deg, rgba(14, 26, 26, 0.88) 0%, rgba(14, 26, 26, 0.55) 70%, transparent 100%);
    text-align: left;
}
.hero-proof-gauge .gauge-label { color: var(--surface); }
.hero-proof-gauge .gauge-label .gauge-pct { color: var(--white); }
/* Scroll-scrubbed fill (set via JS): no width transition so it tracks scroll 1:1 */
.hero-proof-gauge .gauge-fill { transition: none; }

/* --- Hero product cards (index + name + one-line value prop, 3-up) --- */
.hero-chip-row {
    margin-top: 1.75rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    max-width: 740px;
}
.hero-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    height: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    text-align: left;
    font-size: 0.92rem;
    color: var(--ink-700);
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}
/* Amber highlight on hover/focus — links to the matching example below */
.hero-chip:hover,
.hero-chip:focus-visible {
    border-color: var(--amber-500);
    box-shadow: 0 6px 16px rgba(232, 163, 61, 0.28);
    transform: translateY(-2px);
    color: var(--ink-900);
}
.hero-chip:hover .chip-index,
.hero-chip:focus-visible .chip-index {
    background: var(--amber-500);
    color: var(--white);
}
.hero-chip-head {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-chip .chip-index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--teal-700);
    background: var(--teal-050);
    border-radius: 999px;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-chip .chip-name { font-weight: 600; color: var(--ink-900); }
.hero-chip .chip-desc {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--ink-500);
}

/* Coming-soon badge on a hero chip (e.g. FMEA Moderator) */
.chip-soon {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber-500);
    background: var(--amber-050);
    border-radius: 999px;
    padding: 2px 8px;
    line-height: 1.5;
}

/* Anchor targets for hero-chip links land clear of the fixed header */
#showcase-8d, #showcase-claim, #showcase-rootcause, #showcase-fmea { scroll-margin-top: 84px; }

@media (max-width: 768px) {
    .hero-section { padding: 0 20px; }
    .hero-content { padding: 72px 0 32px; }
    .hero-logo-static { height: 120px; }
    .hero-content h1 {
        margin-top: 0;
        font-size: 1.85rem;
        line-height: 1.22;
        hyphens: manual;
        word-wrap: break-word;
    }
    .hero-content p.hero-subline { font-size: 1.05rem; padding: 0 10px; }
    .hero-chip-row { grid-template-columns: 1fr; max-width: 380px; }
    .hero-proof { padding: 0 10px var(--section-pad); max-width: 100%; }
}

/* ============================================================
   7. BENEFITS — Gauge/Kennzahl-Strip (no card grid)
   ============================================================ */
.benefits-section { background-color: var(--surface); }

.benefit-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 2.5rem;
}
.benefit-stat {
    flex: 1 1 220px;
    max-width: 340px;
    text-align: center;
    padding: 2.25rem 1.75rem;
    position: relative;
}
.benefit-stat + .benefit-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
}
.benefit-value {
    font-family: var(--font-mono);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 600;
    color: var(--teal-700);
    line-height: 1;
}
.benefit-tick {
    width: 64px;
    height: 6px;
    margin: 0.85rem auto 1rem auto;
    background-image: repeating-linear-gradient(to right, var(--teal-700) 0 4px, transparent 4px 8px);
}
.benefit-label { font-size: 1.1rem; font-weight: 600; color: var(--ink-900); }
.benefit-desc { display: block; font-size: 0.92rem; font-weight: 400; color: var(--ink-500); margin-top: 0.4rem; }

@media (max-width: 640px) {
    .benefit-stat + .benefit-stat::before { display: none; }
    .benefit-stat { border-top: 1px solid var(--border); padding: 1.75rem 1rem; }
    .benefit-stat:first-child { border-top: none; }
}

/* --- Legacy card grid kept for /en compatibility (mirrored separately) --- */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(14, 26, 26, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.benefit-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(14, 26, 26, 0.1); }
.benefit-card .benefit-value { margin-bottom: 0.5rem; }
.benefit-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ============================================================
   8. PROCESS ("Lösung") — numbered sequence 01→04
   ============================================================ */
.process-section { background-color: var(--white); }

.process-list {
    position: relative;
    list-style: none;
    max-width: 760px;
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.process-list::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-image: repeating-linear-gradient(to bottom, var(--border) 0 6px, transparent 6px 14px);
}
.process-step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    z-index: 1;
}
.process-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--teal-700);
    background: var(--white);
    border: 2px solid var(--teal-050);
    border-radius: 50%;
}
.process-body h3 { margin-bottom: 0.4rem; }
.process-body p { color: var(--ink-500); }

/* --- Legacy card grid kept for /en compatibility (mirrored separately) --- */
.security-options-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 700px) { .security-options-grid { grid-template-columns: repeat(2, 1fr); } }
.security-option-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: left;
    box-shadow: 0 4px 15px rgba(14, 26, 26, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.security-option-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(14, 26, 26, 0.1); }
.security-option-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--teal-700); }

/* ============================================================
   9. SHOWCASE / DEMO
   ============================================================ */
.showcase-section { background-color: var(--surface); }

.showcase-lead { max-width: 1000px; margin: 0 auto 4rem auto; text-align: center; }
.showcase-lead img {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 12px 34px rgba(14, 26, 26, 0.12);
}
.showcase-lead figcaption { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-500); font-style: italic; }

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}
.showcase-row:last-child { margin-bottom: 0; }

/* --- Product-name badge -------------------------------------------------
   A confident, wordmark-style product label. DELIBERATELY not the mono
   "metrology" eyebrow used elsewhere: Space Grotesk + a leading accent dot
   so it reads as a product NAME, and stays visually distinct from the quiet
   mono .tag-badge topic pills lower in the same block.
   Tiers: base = live secondary product (teal tint) · --flagship = hero
   (solid teal fill) · --soon = not-yet-live (neutral outline).           */
.showcase-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 100%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    color: var(--teal-700);
    background-color: var(--teal-050);
    padding: 10px 20px 10px 17px;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.showcase-badge::before {          /* accent dot marker, inherits text colour */
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}
.showcase-badge__name {            /* the bold product wordmark */
    font-family: var(--font-display);
    font-weight: 700;
}
.showcase-badge__kicker {          /* collection label, e.g. "Unser Hauptprodukt" */
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.showcase-badge__desc {            /* descriptor, e.g. "5Why & Ishikawa" */
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--ink-500);
}

/* Hero / flagship: solid teal fill, white wordmark — loudest tier. */
.showcase-badge--flagship {
    color: var(--white);
    background-color: var(--teal-700);
    padding: 11px 22px 11px 19px;
    font-size: 1.45rem;
    box-shadow: 0 2px 10px rgba(15, 110, 104, 0.28);
}
.showcase-badge--flagship .showcase-badge__kicker { color: var(--teal-050); }

/* Not-yet-live (FMEA): neutral outline, muted ink — clearly subordinate. */
.showcase-badge--soon {
    color: var(--ink-500);
    background-color: var(--surface);
    border: 1px solid var(--border);
}
.showcase-text h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--ink-900); }
.showcase-text p { color: var(--ink-500); }
.showcase-media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(14, 26, 26, 0.12);
    background: var(--surface);
}
.showcase-media img { display: block; width: 100%; height: auto; }

/* --- Flagship product highlight (8D Checker) --- */
.showcase-flagship {
    max-width: 1000px;
    margin: 0 auto 0 auto;
    padding: 2.5rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
    border: 1px solid var(--border);
    box-shadow: 0 16px 44px rgba(15, 110, 104, 0.12);
    text-align: center;
}
.showcase-flagship h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1rem; color: var(--ink-900); }
.showcase-flagship > p { max-width: 720px; margin: 0 auto 2rem auto; color: var(--ink-500); }
.showcase-flagship .showcase-media { margin-bottom: 1.1rem; }
.showcase-video {
    display: block; width: 100%; height: auto;
    aspect-ratio: 1600 / 910;
    object-fit: contain;
    background: var(--teal-050);
}
.showcase-flagship .confidence-gauge {
    max-width: 420px;
    margin: 0 auto 1.75rem auto;
    text-align: left;
}
.showcase-caption { font-size: 0.9rem; color: var(--ink-500); font-style: italic; margin-bottom: 2rem; }
.showcase-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
    text-align: left;
}
@media (max-width: 820px) { .showcase-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .showcase-features { grid-template-columns: 1fr; } }
.showcase-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.98rem;
    color: var(--ink-700);
    line-height: 1.45;
}
.showcase-features li .icon { color: var(--teal-700); margin-top: 0.15rem; }

/* --- Peak-intent CTA band, directly after the flagship video --- */
.cta-band {
    max-width: 1000px;
    margin: 2.5rem auto 4.5rem auto;
    padding: 1.5rem 2rem;
    background: var(--teal-050);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.cta-band p {
    margin: 0;
    font-weight: 600;
    color: var(--teal-900);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .showcase-flagship { padding: 1.5rem; }
    .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
}

.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-media { order: 1; }

@media (max-width: 768px) {
    .showcase-row { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
    .showcase-media { order: 1 !important; }
    .showcase-text { order: 2 !important; }
    .showcase-text h3 { font-size: 1.4rem; }
    .showcase-lead { margin-bottom: 3rem; }
}

/* --- "Coming soon" card (e.g. FMEA Moderator waitlist) --- */
.showcase-comingsoon {
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    text-align: center;
}
.showcase-comingsoon h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--ink-900); }
.showcase-comingsoon > p { max-width: 620px; margin: 0 auto 1.75rem auto; color: var(--ink-500); }

/* "Gummistempel" for coming-soon products (e.g. FMEA Moderator) */
.stamp {
    display: inline-block;
    transform: rotate(-5deg);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: clamp(0.9rem, 2.2vw, 1.15rem);
    color: #7A4E00;                         /* dunkles Amber – WCAG-AA auf hell (~6.4:1) */
    border: 2.5px solid var(--amber-500);
    border-radius: 8px;
    padding: 0.4rem 1rem;
    background: rgba(251, 241, 222, 0.35);
    box-shadow: inset 0 0 0 2px rgba(232, 163, 61, 0.35);  /* Doppellinie = Stempel-Look */
    opacity: 0.92;
    margin-bottom: 1rem;
}
@media (prefers-reduced-motion: reduce) { .stamp { transform: rotate(-5deg); } }

.waitlist-mini {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}
.waitlist-mini input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink-900);
    transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}
.waitlist-mini input[type="email"]::placeholder { color: var(--ink-500); }
.waitlist-mini input[type="email"]:focus {
    outline: none;
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(15, 110, 104, 0.2);
}
.waitlist-mini .btn { white-space: nowrap; }

/* Honeypot field: hidden from sighted users, still reachable by simple bots */
.hp-field { display: none; }

.waitlist-mini-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    color: var(--ink-500);
}

@media (max-width: 560px) {
    .waitlist-mini { flex-direction: column; max-width: 100%; }
}

@media (max-width: 768px) {
    .showcase-comingsoon { padding: 1.5rem; margin-top: 3rem; }
}

/* ============================================================
   10. TRUST / ÜBER UNS
   ============================================================ */
.trust-section { background-color: var(--white); }

/* Mission / Vision / Strategie */
.mvs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 980px;
    margin: 3rem auto 0 auto;
    text-align: left;
}
.mvs-item {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.mvs-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 0.75rem;
}
.mvs-item p { color: var(--ink-700); margin: 0; }

/* Partner-Referenz (TQU) */
.partner-block {
    max-width: 720px;
    margin: 3.5rem auto 0 auto;
    text-align: center;
}
.partner-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 1.25rem;
}
.partner-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    text-align: left;
}
.partner-logo-link { display: inline-block; line-height: 0; flex-shrink: 0; }
.partner-logo { width: 100%; max-width: 200px; height: auto; display: block; }
.partner-text { color: var(--ink-700); margin: 0; max-width: 380px; }
.future-refs-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--ink-500);
    font-style: italic;
}

/* Zitat-Platzhalter (Testimonial) */
.quote-block {
    max-width: 640px;
    margin: 3rem auto 0 auto;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-left: 3px solid var(--teal-700);
    text-align: left;
}
.quote-block p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--ink-900);
    margin: 0 0 0.75rem 0;
}
.quote-block cite {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-style: normal;
    letter-spacing: 0.04em;
    color: var(--ink-500);
}
.quote-attribution { display: flex; align-items: center; gap: 14px; margin-top: 1rem; }
.quote-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-attribution cite { margin: 0; }

@media (max-width: 768px) {
    .mvs-grid { grid-template-columns: 1fr; }
    .partner-row { flex-direction: column; text-align: center; }
    .partner-text { text-align: center; max-width: none; }
}

/* --- legacy placeholder-section styles (no longer used in #ueber-uns, kept for reference) --- */
.trust-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 900px;
    margin: 3rem auto 0 auto;
    text-align: left;
}
.trust-portrait-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-500);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}
.trust-portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
}
.trust-bio p { color: var(--ink-700); margin-bottom: 1.5rem; }
.trust-bio .chip-list + .credential-label { margin-top: 1.5rem; }
.trust-bio .chip-list + .placeholder-note { margin-top: 1rem; }
.trust-bio .placeholder-note {
    font-size: 0.85rem;
    color: var(--ink-500);
    font-style: italic;
}
.credential-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 0.75rem;
}
.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.chip {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--teal-700);
    background: var(--teal-050);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}

@media (max-width: 640px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-portrait-placeholder,
    .trust-portrait { max-width: 220px; margin: 0 auto; }
}

/* ============================================================
   11. IT-SICHERHEIT / HOSTING
   ============================================================ */
.platform-hosting-section { background-color: var(--surface); }

.hosting-options-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 2.5rem; }
@media (min-width: 768px) {
    .hosting-options-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
.hosting-option-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius);
    text-align: left;
    border: 1px solid var(--border);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.hosting-option-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(14, 26, 26, 0.08); }
.hosting-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--teal-050);
    color: var(--teal-700);
    margin-bottom: 1rem;
}
.hosting-option-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--ink-900); }
.hosting-option-card p { color: var(--ink-500); font-size: 0.98rem; }

/* ============================================================
   12. CONTACT / BOOKING (dark section)
   ============================================================ */
.contact-section {
    background-color: var(--ink-900);
    color: var(--white);
    text-align: center;
}
.contact-section h2 { color: var(--white); }
.contact-section .subtitle { color: rgba(246, 247, 245, 0.75); }

/* Booking mode toggle — single data-attribute controls form vs. calendar */
.booking-calendar { display: none; }
.contact-section[data-booking-mode="calendar"] .booking-form { display: none; }
.contact-section[data-booking-mode="calendar"] .booking-calendar { display: block; }

.booking-calendar-placeholder {
    max-width: 500px;
    margin: 30px auto 0;
    padding: 2.5rem 1.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    color: rgba(246, 247, 245, 0.75);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.contact-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1 !important;
    font-style: italic;
    transition: opacity var(--transition-speed) ease, color var(--transition-speed) ease;
}
.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder,
.contact-form input:not(:placeholder-shown)::placeholder,
.contact-form textarea:not(:placeholder-shown)::placeholder {
    opacity: 0 !important;
    color: transparent !important;
}

.contact-form label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-align: left;
}

.contact-form input,
.contact-form textarea,
.contact-form input[type="tel"] {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid #3a4644;
    background-color: #16211f;
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-speed) ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(15, 110, 104, 0.3);
}
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.4; }

.submit-button {
    align-self: stretch;
    padding: 14px;
    background-color: var(--teal-700);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}
.submit-button:hover { background-color: var(--teal-600); }
.submit-button:active { transform: translateY(1px); }

.micro-trust {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: rgba(246, 247, 245, 0.65);
}

/* Privacy note below the forms — context-aware colours, both ≥4.5:1 */
.form-privacy-note {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0.75rem auto 0 auto;
    max-width: 500px;
}
.form-privacy-note a { text-decoration: underline; }
/* Contact form sits in the dark section (--ink-900) → light text, light link */
.contact-section .form-privacy-note { color: rgba(246, 247, 245, 0.7); }
.contact-section .form-privacy-note a { color: #7FD8D0; }         /* light teal on ink-900 (~9:1) */
.contact-section .form-privacy-note a:hover { color: #A6E6E0; }
/* Waitlist sits on a light card → dimmed dark text, teal link */
.showcase-comingsoon .form-privacy-note { color: var(--ink-500); max-width: 480px; }
.showcase-comingsoon .form-privacy-note a { color: var(--teal-700); }
.showcase-comingsoon .form-privacy-note a:hover { color: var(--teal-600); }

#formStatus {
    font-weight: 600;
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
#formStatus.green { background-color: rgba(46, 158, 107, 0.25); border-color: rgba(46, 158, 107, 0.4); }
#formStatus.red { background-color: rgba(209, 73, 91, 0.25); border-color: rgba(209, 73, 91, 0.4); }
#formStatus.blue { background-color: rgba(15, 110, 104, 0.3); border-color: rgba(15, 110, 104, 0.4); }

@media (max-width: 768px) {
    .contact-form { max-width: 100%; padding: 0 1rem; }
    .contact-form input,
    .contact-form textarea,
    .contact-form input[type="tel"] { padding: 12px; font-size: 16px; }
    .contact-form label { font-size: 0.95rem; }
}

/* --- Legacy alias kept for /en compatibility (mirrored separately) --- */
.waitlist-section { background-color: var(--ink-900); color: var(--white); text-align: center; }
.waitlist-section h2 { color: var(--white); }
.waitlist-form { display: flex; flex-direction: column; max-width: 500px; margin: 30px auto 0; gap: 15px; }
.waitlist-form input { padding: 14px; font-size: 1rem; border: 1px solid #3a4644; background-color: #16211f; color: var(--white); border-radius: var(--radius-sm); }

/* ============================================================
   13. FOOTER
   ============================================================ */
.footer { background-color: var(--surface); padding: 60px 0; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-logo-container { flex-shrink: 0; }
.footer-logo { height: 60px; }
.footer-details { text-align: right; }
.footer-claim { font-weight: 600; margin-bottom: 1rem; font-size: 1.1rem; color: var(--ink-900); }
.footer-contact-links { margin-top: 1rem; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.footer-contact-links a { color: var(--teal-700); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.footer-contact-links a:hover { text-decoration: underline; }
.footer-parent { margin-top: 1rem; }
.footer-parent a { color: var(--teal-700); text-decoration: none; font-weight: 600; }
.footer-parent a:hover { text-decoration: underline; }
.linkedin-icon { width: 24px; height: 24px; fill: var(--teal-700); }
.footer-products { display: flex; flex-direction: column; gap: 10px; text-align: left; flex-shrink: 0; }
.footer-col-title { font-weight: 600; color: var(--ink-900); margin-bottom: 4px; font-size: 1.1rem; }
.footer-products a { color: var(--teal-700); text-decoration: none; font-weight: 600; }
.footer-products a:hover { text-decoration: underline; }
.footer-divider { border: none; height: 1px; background-color: var(--border); margin-bottom: 20px; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--ink-500); }
.legal-links a { color: var(--ink-700); text-decoration: none; font-weight: 600; }
.legal-links a:hover { text-decoration: underline; color: var(--teal-700); }

@media (max-width: 768px) {
    .footer-main { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-details { text-align: center; }
    .footer-contact-links { justify-content: center; }
    .footer-products { align-items: center; text-align: center; }
    .footer-legal { flex-direction: column; gap: 10px; }
}

/* ============================================================
   14. SCROLL-REVEAL & MOTION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal.benefit-card:nth-child(2),
.reveal.security-option-card:nth-child(2),
.reveal.hosting-option-card:nth-child(2),
.reveal.process-step:nth-child(2) { transition-delay: 0.1s; }
.reveal.benefit-card:nth-child(3),
.reveal.security-option-card:nth-child(3),
.reveal.hosting-option-card:nth-child(3),
.reveal.process-step:nth-child(3) { transition-delay: 0.2s; }
.reveal.security-option-card:nth-child(4),
.reveal.process-step:nth-child(4) { transition-delay: 0.3s; }

/* prefers-reduced-motion: neutralize transform/opacity transitions site-wide */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   15. MOBILE NAV
   ============================================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 54px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(14, 26, 26, 0.08);
        padding: 2rem 0;
        gap: 1.75rem;
    }
    .nav-menu.active { left: 0; }

    .hamburger { display: block; }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        background-color: var(--ink-900);
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .btn-header-cta { display: none; }
    .nav-menu-cta { display: block; margin-top: 0.25rem; }
    .nav-menu-cta .nav-link { padding: 10px 20px; }

    /* Dropdown collapses into a static, always-expanded group inside the slide-in menu */
    .nav-dropdown { flex-direction: column; align-items: center; width: 100%; }
    .nav-dropdown-toggle { justify-content: center; font-size: 1rem; cursor: default; }
    .nav-caret { display: none; }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin: 1.5rem 0 0;
        min-width: 0;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 1.5rem;
        align-items: center;
    }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown-menu .nav-link { padding: 0; font-size: 1rem; }
    .nav-dropdown-menu .nav-link:hover,
    .nav-dropdown-menu .nav-link:focus-visible { background: none; }

    .driver-card { min-width: 0 !important; width: 100%; padding: 1.5rem; }
    .hero-profit-drivers { padding: 0 10px; }
}

/* ============================================================
   16. MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(14, 26, 26, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.modal.visible { display: flex; align-items: center; justify-content: center; opacity: 1; }

.modal-content {
    background-color: var(--white);
    padding: 40px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 20px 40px rgba(14, 26, 26, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal.visible .modal-content { transform: translateY(0); }

#modal-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-right: 30px;
    border-bottom: 2px solid var(--teal-700);
    padding-bottom: 10px;
    color: var(--ink-900);
}

.close-button {
    color: var(--ink-700);
    position: absolute;
    top: 20px; right: 25px;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-speed);
}
.close-button:hover { color: var(--teal-700); }

#modal-body { line-height: 1.7; color: var(--ink-700); font-size: 1rem; text-align: left; }
#modal-body h3 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--ink-900); font-size: 1.3rem; font-weight: 700; }
#modal-body p { margin-bottom: 1.2rem; }
#modal-body strong { color: var(--ink-900); display: inline-block; margin-top: 0.5rem; }
#modal-body ul { margin: 1rem 0 1.5rem 1.5rem; }
#modal-body li { margin-bottom: 0.6rem; }
#modal-body a { color: var(--teal-700); text-decoration: underline; }

@media (max-width: 768px) {
    .modal-content { padding: 25px; margin: 0; max-height: 95vh; }
    #modal-title { font-size: 1.5rem; }
}

/* ============================================================
   17. NOTIFICATION
   ============================================================ */
.notification {
    position: fixed;
    top: 0; left: 50%;
    width: 90%; max-width: 500px;
    padding: 16px;
    background-color: var(--ink-900);
    color: var(--white);
    text-align: center;
    z-index: 9999;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(14, 26, 26, 0.25);
    transform: translate(-50%, -150%);
    transition: transform 0.4s ease-in-out;
}
.notification.show { transform: translate(-50%, 20px); }
.notification.success { background-color: var(--teal-700); }
.notification.error { background-color: var(--score-low); }
.notification.info { background-color: #3a6ea5; }

@media (prefers-reduced-motion: reduce) {
    .notification { transition: none; }
}

/* ============================================================
   18. LEGACY (kept only for /en, mirrored separately)
   ============================================================ */
.hero-profit-drivers { margin-top: 2.5rem; width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; }
.drivers-grid { display: flex; justify-content: center; gap: 1.5rem; text-align: left; flex-wrap: wrap; }
.driver-card {
    flex: 1; min-width: 300px; background: var(--white); padding: 1.5rem; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(14, 26, 26, 0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex; flex-direction: column; justify-content: center;
}
.driver-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15, 110, 104, 0.15); border-color: var(--teal-700); }
.driver-card strong { display: flex; align-items: center; color: var(--ink-900); font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 700; }
.driver-card strong::before {
    content: '✔'; display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; background-color: var(--teal-050); color: var(--teal-700);
    border-radius: 50%; font-size: 14px; margin-right: 10px;
}
.driver-card p { font-size: 0.95rem; color: var(--ink-500); margin: 0; line-height: 1.5; padding-left: 34px; }
@media (max-width: 768px) {
    .drivers-grid { flex-direction: column; gap: 1rem; }
    .driver-card { padding: 1.2rem; }
}
.tool-card {
    background: var(--white); padding: 20px; border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(14, 26, 26, 0.05); transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(14, 26, 26, 0.1); }
.tool-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--teal-700); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 3rem auto; max-width: 800px; }
.example-image { display: block; max-width: 700px; width: 100%; height: auto; margin: 2rem auto; border-radius: var(--radius-sm); box-shadow: 0 4px 12px rgba(14, 26, 26, 0.1); object-fit: contain; }
.additional-tools { font-size: 1.1rem; margin: 2rem auto; max-width: 600px; font-style: italic; color: var(--ink-500); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 2.5rem 1.25rem 0;
    position: relative;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: .25rem; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem; font-weight: 400; line-height: 1;
    color: var(--teal-700);
    transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible {
    outline: 2px solid var(--teal-700);
    outline-offset: 2px;
}
.faq-answer { padding: 0 0 1.25rem; }
.faq-answer p { margin: 0; color: var(--ink-500); line-height: 1.6; }

/* ============================================================
   14. DEEP-CONTENT SUBPAGES (e.g. /de/8d-checker/) — reference template
   ============================================================ */
/* These pages have no full-screen parallax hero, so .nav-logo (normally
   faded in via the scroll JS keyed off .hero-logo-static) must be visible
   from the start. Add class="subpage" to <body> on such pages. */
body.subpage .nav-logo { opacity: 1; }

/* Simple breadcrumb above the page H1 */
.breadcrumb {
    max-width: 760px;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-500);
}
.breadcrumb a { color: var(--ink-500); text-decoration: underline; }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb span[aria-current="page"] { color: var(--teal-700); font-weight: 600; }

/* Page intro (H1 + value prop + CTA), first section under the fixed header */
.page-intro { padding-top: calc(54px + var(--section-pad)); text-align: center; }
.page-intro .btn { margin-top: 0.5rem; }

/* ============================================================
   15. BLOG (Task A.3 — templates: scripts/templates/article.html,
   scripts/templates/blog-index.html)
   Reuses existing tokens/components: .cta-band, .page-intro,
   .section-head, .eyebrow, .breadcrumb, .reveal — NOT redefined here.
   Amber (--amber-*) stays reserved for confidence/scoring accents;
   category badges are differentiated via the teal/ink palette instead.
   ============================================================ */

/* --- Article meta row (author · date · category), under the H1 --- */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--ink-500);
}
.article-meta-author { color: var(--ink-700); font-weight: 500; }
.article-meta-date { color: var(--ink-500); }
.article-meta-sep { color: var(--border); }

/* --- Category badge: shared tag/pill, distinguished by a left accent
   bar + label text rather than four loud fills (amber stays reserved
   for confidence/scoring elsewhere) --- */
.category-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
    padding: 4px 11px 4px 9px;
    border: 1px solid var(--border);
    border-left: 3px solid currentColor;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-700);
    white-space: nowrap;
}
.category-8d          { background: var(--teal-050); color: var(--teal-700); } /* 5.4:1 on teal-050 */
.category-fmea        { background: var(--teal-050); color: var(--teal-900); } /* 10.9:1 on teal-050 */
.category-reklamation { background: var(--surface);  color: var(--ink-700); }  /* 12.6:1 on surface */
.category-ki-im-qm    { background: var(--teal-050); color: var(--ink-700); }  /* 11.9:1 on teal-050 */
.category-qm-allgemein{ background: var(--surface);  color: var(--ink-500); }  /* 5.9:1 on surface */

/* --- Article hero image: a wide media band, centered on the SAME axis as the
   text measure below it (Ghost Casper / Stripe pattern — the cover is wider
   than the reading column but shares its centre, so it reads as a deliberate
   eye-catcher without breaking the grid). --- */
.article-hero-section { padding-top: 0; padding-bottom: 0; }
.article-hero {
    max-width: var(--blog-wide);
    margin: 0 auto;
}
/* Ratio-locked frame — a consistent cinematic crop for every hero, so the
   wide cover band always reads the same regardless of the source photo. */
.article-hero-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 18px 46px rgba(14, 26, 26, 0.14);
}
.article-hero-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-hero-caption {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--ink-500);
}
.article-hero-caption:empty { display: none; }

/* --- Article body: long-form typography, on the shared reading measure --- */
.article-body {
    max-width: var(--blog-measure);
    margin: 0 auto;
    font-size: var(--text-body);
    line-height: 1.75;
    color: var(--ink-700);
}
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.25rem; }
/* Lead paragraph — a slightly larger, darker opener (editorial convention on
   Stripe / Every.to feature articles) that eases the reader into the body. */
.article-body > p:first-of-type {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--ink-900);
}
.article-body h2 {
    text-align: left;
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 2.75rem 0 1rem;
    color: var(--teal-900);
}
.article-body h3 {
    text-align: left;
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
    color: var(--ink-900);
}
.article-body ul,
.article-body ol {
    margin: 0 0 1.25rem 0.25rem;
    padding-left: 1.25rem;
}
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body li > ul,
.article-body li > ol { margin-top: 0.5rem; margin-bottom: 0; }
.article-body strong { color: var(--ink-900); font-weight: 600; }
.article-body a {
    color: var(--teal-700);
    text-decoration: underline;
    text-decoration-color: rgba(15, 110, 104, 0.35);
    text-underline-offset: 2px;
    transition: color var(--transition-fast) ease, text-decoration-color var(--transition-fast) ease;
}
.article-body a:hover { color: var(--teal-600); text-decoration-color: currentColor; }
.article-body blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: var(--teal-050);
    border-left: 3px solid var(--teal-700);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--teal-900);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    color: var(--teal-900);
}
.article-body pre {
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--ink-900);
    border-radius: var(--radius-sm);
    overflow-x: auto;
}
.article-body pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--surface);
}
.article-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}
.article-body figure { margin: 2rem 0; }
.article-body figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.article-body figure figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    color: var(--ink-500);
}

/* --- Author bio card (end of article) --- */
.author-bio {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    max-width: var(--blog-measure);
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.author-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--border);
}
.author-bio-text-wrap { min-width: 0; }
.author-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--teal-900);
    margin-bottom: 0.35rem;
}
.author-bio-text { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-500); }

@media (max-width: 560px) {
    .author-bio { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1.25rem; }
}

/* --- "Aus dem Blog" / "Weitere Artikel" related-articles wrapper
   (reuses .blog-grid / .blog-card below) --- */
.related-articles-section { background: var(--surface); }

/* --- Blog grid (index page + related-articles slot) --- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2.5rem;
}
@media (min-width: 700px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(14, 26, 26, 0.05);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(14, 26, 26, 0.1);
    border-color: var(--teal-700);
}
.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.blog-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--surface);
}
.blog-card-link .category-badge {
    align-self: flex-start;
    margin: 1rem 1.25rem 0;
}
.blog-card-title {
    margin: 0.65rem 1.25rem 0.4rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.32;
    text-align: left;
    color: var(--ink-900);
    transition: color var(--transition-fast) ease;
}
.blog-card:hover .blog-card-title { color: var(--teal-700); }
.blog-card-date {
    margin: 0 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-500);
}
.blog-card-teaser {
    flex: 1;
    margin: 0.6rem 1.25rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-500);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   16. BLOG — editorial identity (deliberately diverges from the
   marketing pages above: left-aligned masthead, body-voice headlines,
   quieter CTA, flatter cards). Still self-hosted fonts/tokens only.
   ============================================================ */

/* --- ONE grid system for the whole blog -------------------------------
   Every element that belongs to the reading flow (breadcrumb, kicker, H1,
   meta, subtitle, body copy, CTA, author bio, "more articles" heading)
   is pinned to the SAME centred measure via `--blog-measure`. The hero
   image uses `--blog-wide`, a wider band centred on the SAME axis. Because
   both tokens share `margin-inline: auto`, equal-width blocks always line
   up on the same left edge, and the wider hero extends symmetrically past
   the text — the masthead/body edge can no longer drift apart (Ghost Casper
   720px measure + full-width centred cover; Stripe/Every.to editorial voice).
   Change the column width here, in ONE place, and the whole blog follows. */
:root {
    --blog-measure: 720px;   /* reading column — the single source of truth */
    --blog-wide: 1040px;     /* hero / wide-media band, centred on the same axis */
}

/* --- Masthead: breadcrumb + kicker + H1 + meta sit in one centred column,
   identical in width and axis to .article-body below, so the title and the
   body text share the same left edge. Type is left-aligned within that
   centred column (editorial voice), not centred like the marketing hero. --- */
.blog-intro {
    padding-top: calc(54px + 2.75rem);
    padding-bottom: 0.5rem;
}
.blog-intro .breadcrumb {
    max-width: var(--blog-measure);
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* .page-intro centres text; the blog column is left-aligned */
}
.blog-intro .section-head {
    text-align: left;
    max-width: var(--blog-measure);
    margin: 0 auto;
}
.blog-intro .subtitle { text-align: left; margin: 0 auto; max-width: var(--blog-measure); }
.blog-intro .article-meta { justify-content: flex-start; }
.blog-intro h1 {
    font-family: var(--font-body);
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
}
/* Category badge used as a kicker above the H1 (article pages only) */
.blog-kicker { margin-bottom: 0.85rem; }

/* --- Free-form tags: subtler than .category-badge (no left accent bar,
   no per-item colour), just a quiet row of pills. Badges only — no
   dedicated tag pages/URLs, see ALLOWED_TAGS in build_blog.py. --- */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}
.tag-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-500);
    white-space: nowrap;
}

/* Index masthead: no narrow reading column below it — align the header to the
   card-grid's left edge (container padding edge) so the two share one edge. */
.blog-index-intro .breadcrumb { max-width: none; margin-left: 0; margin-right: 0; }
.blog-index-intro .section-head { max-width: none; margin-left: 0; margin-right: 0; }
.blog-index-intro .subtitle { max-width: 640px; margin-left: 0; margin-right: 0; }

.nav-link.active { color: var(--teal-700); }

/* --- Article meta: add reading time alongside author/date --- */
.article-meta-reading-time { color: var(--ink-500); }

/* --- Body sits close under the hero; the hero band supplies the breathing
   room above, so the content section only needs a modest top pad. --- */
#article-content { padding-top: 2.75rem; }

/* --- Quieter CTA variant: an editorial aside, not a sales banner —
   pinned to the reading measure so it lines up with the body column. --- */
.blog-cta-band {
    max-width: var(--blog-measure);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--teal-700);
    border-radius: var(--radius-sm);
    box-shadow: none;
}
.blog-cta-band p { color: var(--ink-700); font-weight: 500; }

/* --- Flatter, editorial card treatment: no lift/shadow, a simple
   border-color response on hover instead of the product-card style
   used for feature grids elsewhere. --- */
.blog-card {
    box-shadow: none;
    transition: border-color var(--transition-speed) ease;
}
.blog-card:hover {
    transform: none;
    box-shadow: none;
}
.blog-card-title { font-family: var(--font-body); }

/* "Weitere Artikel" heading follows the same left-aligned editorial
   voice as the masthead above it, instead of the sitewide centered h2. */
.related-articles-section .section-head {
    text-align: left;
    margin-left: 0;
}
.related-articles-section .section-head h2 { text-align: left; }

@media (max-width: 560px) {
    .blog-intro { padding-top: calc(54px + 2rem); }
}
