/* ══════════════════════════════════════════════════════════
   LAW4 — law4.ch
   Editorial design system: navy & gold, Instrument Serif
   display over Inter body, hairline precision, scroll-driven
   choreography. Motion is GPU-only (transform/opacity) and
   yields fully to prefers-reduced-motion.
   ══════════════════════════════════════════════════════════ */

/* Palette = die Standard-Einstellungen des Workspace-Produkts
   (frontend/src/app/theme.ts, BRAND_DEFAULTS): Primär #0b1a3a,
   Akzent #9aa0aa, Seitenleiste #2b3445, Hintergrund #f4f5f6.
   Gold existiert nur noch in der Wortmarke, nicht als UI-Akzent. */
:root {
    --navy: #0b1a3a;
    --navy-dark: #07152e;
    --navy-mid: #122548;
    --sidebar: #2b3445;
    --accent: #9aa0aa;
    /* Dunklere Ableitung derselben Familie für Text auf hellem Grund (5.8:1). */
    --accent-strong: #5c6572;
    /* Gold der Wortmarke — ausschliesslich für «Law4» als Text. */
    --brand-gold: #c9a84c;
    /* Sehr zurückhaltendes Gold, stark entsättigt — nur für Display-
       Hervorhebungen: Champagne auf dunklem Grund (8.9:1 auf Navy),
       Bronze auf hellem (4.9:1 auf Weiss). Nie für Buttons oder Flächen. */
    --gold-soft: #c6ba94;
    --gold-text: #7e6f45;
    --paper: #ffffff;
    --paper-warm: #f4f5f6;
    --ink: #0d1117;
    --ink-soft: #475569;
    --ink-muted: #6b7280;
    --line: #e5e7eb;
    --green: #16a34a;
    --red: #dc2626;
    --grey: #6b7280;
    --app-bg: #f4f5f6;
    --hairline: rgba(11, 26, 58, 0.1);
    --display: "Instrument Serif", Georgia, serif;
    --body: "Inter", -apple-system, "Segoe UI", sans-serif;
    --ease-out: cubic-bezier(0.22, 0.61, 0.13, 1);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

em {
    font-style: italic;
}

section {
    scroll-margin-top: 84px;
}

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

.container.narrow {
    max-width: 860px;
}

.center {
    text-align: center;
}

:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: rgba(154, 160, 170, 0.35);
}

/* ── Typography primitives ─────────────────────────────── */

.kicker {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 16px;
}



.kicker.light {
    color: rgba(255, 255, 255, 0.6);
}

.section-heading {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.1rem, 4.2vw, 3.05rem);
    letter-spacing: -0.012em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.section-heading em {
    font-style: italic;
}

.section-heading.xl {
    font-size: clamp(2.7rem, 5.6vw, 4.3rem);
}

.section-heading em {
    color: var(--gold-text);
}

.section-heading.light {
    color: #fff;
}

.section-heading.light em {
    color: var(--gold-soft);
}

.section-sub {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 620px;
}

.section-sub.wide {
    max-width: 640px;
}

.section-sub.light {
    color: rgba(255, 255, 255, 0.68);
}

.section-sub.center {
    margin-inline: auto;
}

.section-intro {
    padding-block: clamp(88px, 11vw, 150px) clamp(28px, 4vw, 56px);
    max-width: 820px;
}

.section-intro.center {
    margin-inline: auto;
    text-align: center;
}

.kicker.center {
    text-align: center;
}

.module-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

.section-intro.center .module-status {
    justify-content: center;
}

/* ── Shared bits ───────────────────────────────────────── */

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14);
    display: inline-block;
    flex-shrink: 0;
}

.pulse-dot.green {
    background: var(--green);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    padding: 14px 26px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

/* Primär-Aktion. Auf den dunklen Navy-Flächen dieser Seite trägt sie
   Weiss mit Navy-Text — das Pendant zum navy Primär-Button des Produkts. */
.btn-primary {
    background: #fff;
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--app-bg);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -14px rgba(2, 8, 20, 0.6);
}

.btn-arrow {
    transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-weight: 600;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
}

/* Touch feedback — on coarse pointers taps answer instantly, standing in
   for the hover states that phones never see. */
@media (hover: none) {
    .btn:active {
        transform: scale(0.96);
        transition-duration: 0.12s;
    }

    .nav-cta:active {
        transform: scale(0.95);
        transition-duration: 0.12s;
    }

    /* Cards fold the parallax vars in; the .revealed variants outrank
       the late parallax rule at equal file position. */
    .stack-card:active,
    .stack-card.revealed:active,
    .value-card.revealed:active,
    .integration-card.revealed:active,
    .product-card.revealed:active {
        transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(0.985) rotate(var(--lean, 0deg));
        transition-duration: 0.16s;
    }

    .faq-item summary:active {
        opacity: 0.65;
    }

    .persona-icon {
        transition: transform 0.2s var(--ease-out);
    }

    .persona:active .persona-icon {
        transform: scale(0.9);
    }
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.pill.accent {
    background: rgba(154, 160, 170, 0.12);
    color: var(--accent-strong);
    border: 1px solid rgba(154, 160, 170, 0.25);
}

.pill.green {
    background: rgba(22, 163, 74, 0.12);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.25);
}

/* ── Ambient motion layer ──────────────────────────────── */

/* Skeleton lines shimmer like loading UI. */
.sk-line {
    position: relative;
    overflow: hidden;
}

.sk-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: translateX(-100%);
    animation: skShimmer 2.6s ease-in-out infinite;
}

@keyframes skShimmer {
    0% {
        transform: translateX(-100%);
    }
    60%,
    100% {
        transform: translateX(100%);
    }
}

/* Nav & footer links slide a hairline underline in. */
.site-nav a:not(.nav-cta) {
    position: relative;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.35s var(--ease-out);
}

.site-nav a:not(.nav-cta):hover::after {
    transform: scaleX(1);
}

.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.35s var(--ease-out);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

/* Kickers track in from wide spacing while revealing. */
.kicker {
    transition:
        letter-spacing 0.9s var(--ease-out),
        opacity 0.9s ease;
}

[data-reveal]:not(.revealed) .kicker {
    letter-spacing: 0.34em;
    opacity: 0;
}

/* ── Film grain on dark sections — the analogue touch ──── */

.hero::after,
.workflow::after,
.manifesto-pin::after,
.cta::after,
.facts::after,
.journey::after,
.team-band::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Preloader ─────────────────────────────────────────── */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: var(--navy);
    display: grid;
    place-items: center;
    transition:
        transform 0.9s var(--ease-out) 0.15s,
        visibility 0s 1.1s;
}

.preloader.done {
    transform: translateY(-100%);
    visibility: hidden;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.preloader-word {
    font-family: var(--display);
    font-size: clamp(3rem, 8vw, 5rem);
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    overflow: hidden;
    display: inline-flex;
}

.preloader-letter {
    display: inline-block;
    transform: translateY(110%);
    animation: preloaderRise 0.7s var(--ease-out) forwards;
}

.preloader-letter:nth-child(2) { animation-delay: 0.07s; }
.preloader-letter:nth-child(3) { animation-delay: 0.14s; }
.preloader-letter:nth-child(4) { animation-delay: 0.21s; }

.preloader-gold {
    color: var(--brand-gold);
    font-style: italic;
}

@keyframes preloaderRise {
    to {
        transform: translateY(0);
    }
}

.preloader-line {
    width: 0;
    height: 1px;
    background: rgba(198, 186, 148, 0.6);
    animation: preloaderLine 0.8s var(--ease-out) 0.35s forwards;
}

@keyframes preloaderLine {
    to {
        width: 180px;
    }
}

.preloader-tag {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: preloaderFade 0.6s ease 0.55s forwards;
}

@keyframes preloaderFade {
    to {
        opacity: 1;
    }
}

/* Page content is held briefly so the curtain lift reveals it cleanly. */
body.loading {
    overflow: hidden;
}

/* ── Motion failsafe ───────────────────────────────────
   The curtain and every reveal are resolved by js/main.js alone. If that
   file never executes — 404 after a cache-bust bump, corporate proxy, parse
   error on an older engine — the page would stay blank for good. The
   <noscript> block does not cover this: it applies only when JS is
   *disabled*, not when it is enabled but never completes.

   The <head> watchdog on each page sets this class after 3s unless the
   motion layer reported in, and also adds `.revealed` to every
   [data-reveal], so their visibility comes from the regular reveal styling.
   What stays here is everything outside of that. */
.motion-failsafe .preloader {
    display: none !important;
}

.motion-failsafe .lp-rise,
.motion-failsafe .word-inner,
.motion-failsafe .showcase-step {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
}

.motion-failsafe .story-captions p {
    position: static;
    opacity: 1 !important;
}

.motion-failsafe .story-track {
    height: auto !important;
}

.motion-failsafe .stage-workspace {
    opacity: 1 !important;
    transform: none !important;
}

.motion-failsafe .stage-card,
.motion-failsafe .stage-path {
    display: none !important;
}

.motion-failsafe .process-fill {
    transform: scaleX(1) !important;
}

.motion-failsafe .why-stats::before,
.motion-failsafe .why-stats::after,
.motion-failsafe .why-stats > div + div::before,
.motion-failsafe .why-benefits .benefit-icon {
    opacity: 1 !important;
    transform: none !important;
}

/* Die Zeitachse wird sonst vom Scroll-Scrub aufgehellt — ohne ihn bliebe
   sie auf dem ungelesenen Stand: Linie eingeklappt, alle Meilensteine matt. */
.motion-failsafe .timeline-fill {
    transform: scaleY(1) !important;
}

.motion-failsafe .timeline-item {
    opacity: 1 !important;
}

.motion-failsafe .timeline-dot {
    background: var(--accent) !important;
    border-color: transparent !important;
}

/* ── Header ────────────────────────────────────────────── */

/* No transform/filter may ever stick on the header itself: it would become
   the containing block for the fixed mobile drawer and clip it to 78px.
   The entrance animation therefore avoids `forwards`, and the frosted-glass
   layer lives on a ::before instead of the header. */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    border-bottom: 1px solid transparent;
    transition:
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    animation: headerIn 0.7s var(--ease-out);
}

/* The chrome is never a full-width background bar: once the page
   scrolls, a detached glass capsule floats in behind the content.
   It lives on ::before (not on an ancestor of the fixed drawer). */
.site-header::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 50%;
    width: min(100% - 20px, 1200px);
    z-index: -1;
    border-radius: 999px;
    background: rgba(9, 21, 46, 0.85);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px -18px rgba(7, 21, 46, 0.55);
    opacity: 0;
    transform: translateX(-50%) translateY(-8px) scale(0.97);
    transition:
        opacity 0.4s ease,
        width 0.6s var(--ease-out),
        transform 0.55s cubic-bezier(0.34, 1.35, 0.64, 1);
    pointer-events: none;
}

@keyframes headerIn {
    from {
        opacity: 0;
        transform: translate3d(0, -12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Entrance choreography — brand, links and CTA drop in one after the
   other. `backwards` only holds the start state until the delay; nothing
   sticks afterwards, so the drawer containing-block stays safe. */
.brand,
.nav-toggle {
    animation: headItem 0.6s var(--ease-out) backwards;
    animation-delay: 0.16s;
}

@keyframes headItem {
    from {
        opacity: 0;
        transform: translate3d(0, -16px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 1101px) {
    .site-nav > a {
        animation: headItem 0.55s var(--ease-out) backwards;
    }

    .site-nav > a:nth-of-type(1) { animation-delay: 0.3s; }
    .site-nav > a:nth-of-type(2) { animation-delay: 0.36s; }
    .site-nav > a:nth-of-type(3) { animation-delay: 0.42s; }
    .site-nav > a:nth-of-type(4) { animation-delay: 0.48s; }
    .site-nav > a:nth-of-type(5) { animation-delay: 0.54s; }
    .site-nav > a:nth-of-type(6) { animation-delay: 0.62s; }
}

/* No full-width hairline or shadow — the capsule carries the depth. */
.site-header.scrolled::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 78px;
    transition:
        min-height 0.45s ease,
        max-width 0.6s var(--ease-out),
        padding 0.6s var(--ease-out);
}

.site-header.scrolled .header-inner {
    min-height: 68px;
}

/* The real island moment: content and capsule condense together into a
   compact centred pill once the page scrolls (desktop nav only). */
@media (min-width: 1101px) {
    .site-header.scrolled .header-inner {
        max-width: 1044px;
        padding-inline: 30px;
    }

    .site-header.scrolled::before {
        width: min(100% - 20px, 1044px);
    }
}

.brand {
    display: flex;
    align-items: center;
    user-select: none;
    transform-origin: left center;
    transition:
        transform 0.45s var(--ease-out),
        opacity 0.3s ease;
}

/* The whole brand condenses slightly once the chrome compacts. */
.site-header.scrolled .brand {
    transform: scale(0.95);
}

/* The real word mark (white/gold) — the capsule stays dark in every
   state, so the logo never needs a colour switch. */
.brand-logo {
    display: block;
    height: 40px;
    width: auto;
    transition:
        transform 0.45s var(--ease-out),
        filter 0.45s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.03);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* Magic pill — one soft highlight glides between the links instead of
   each link lighting up separately (injected and driven by JS). */
@media (min-width: 1101px) {
    .site-nav {
        position: relative;
    }

    .nav-pill {
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.13);
        opacity: 0;
        pointer-events: none;
        transition:
            left 0.4s var(--ease-out),
            width 0.4s var(--ease-out),
            top 0.4s var(--ease-out),
            height 0.4s var(--ease-out),
            opacity 0.3s ease,
            background-color 0.3s ease;
    }

    .site-nav.has-pill a:hover:not(.nav-cta) {
        background: transparent;
    }

    .site-nav.has-pill a.nav-active:not(.nav-cta) {
        background: transparent;
    }
}

@media (max-width: 1100px) {
    .nav-pill {
        display: none;
    }
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.85);
    transition:
        color 0.3s ease,
        background-color 0.2s ease;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
    margin-left: 10px;
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 18px;
    /* Pillenform — sie folgt der Geometrie der Header-Kapsel. */
    border-radius: 999px;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.site-nav .nav-cta:hover {
    background: var(--app-bg);
    color: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -12px rgba(2, 8, 20, 0.55);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition:
        transform 0.3s var(--ease-out),
        background-color 0.3s ease;
}

.site-header.nav-open .nav-toggle span {
    background: #fff;
}

.site-header.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 1100px) {
    /* Full-screen brand drawer: dark navy glass, oversized numbered
       links, contact block — the mobile menu as a moment of its own. */
    .site-nav {
        position: fixed;
        inset: 0;
        width: auto;
        background: rgba(8, 18, 40, 0.96);
        -webkit-backdrop-filter: blur(22px) saturate(150%);
        backdrop-filter: blur(22px) saturate(150%);
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 2px;
        padding:
            calc(96px + env(safe-area-inset-top, 0px))
            clamp(28px, 9vw, 56px)
            calc(28px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        counter-reset: navlink;
        opacity: 0;
        transform: translateY(-3%) scale(1.02);
        visibility: hidden;
        transition:
            opacity 0.35s ease,
            transform 0.5s var(--ease-out),
            visibility 0s 0.5s;
    }

    .site-header.nav-open .site-nav {
        opacity: 1;
        transform: none;
        visibility: visible;
        transition:
            opacity 0.3s ease,
            transform 0.5s var(--ease-out);
    }

    .site-nav a,
    .site-header.scrolled .site-nav a {
        color: rgba(255, 255, 255, 0.92);
        font-size: clamp(24px, 6.4vw, 30px);
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        padding: 13px 0;
        border-radius: 0;
    }

    .site-nav a:hover {
        background: transparent;
        color: #fff;
    }

    .site-nav > a:not(.nav-cta) {
        display: flex;
        align-items: baseline;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav > a:not(.nav-cta)::before {
        counter-increment: navlink;
        content: "0" counter(navlink);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        color: var(--accent);
        opacity: 0.75;
        flex-shrink: 0;
    }

    .site-nav .nav-cta {
        margin-left: 0;
        margin-top: 30px;
        text-align: center;
        justify-content: center;
        display: flex;
        font-size: 16px;
        padding: 16px 24px;
    }

    /* Drawer links cascade in once the menu opens. */
    .site-nav > a {
        opacity: 0;
        transform: translateY(26px);
        transition:
            opacity 0.4s var(--ease-out),
            transform 0.45s var(--ease-out);
    }

    .site-header.nav-open .site-nav > a {
        opacity: 1;
        transform: none;
    }

    .site-header.nav-open .site-nav > a:nth-child(1) { transition-delay: 0.07s; }
    .site-header.nav-open .site-nav > a:nth-child(2) { transition-delay: 0.12s; }
    .site-header.nav-open .site-nav > a:nth-child(3) { transition-delay: 0.17s; }
    .site-header.nav-open .site-nav > a:nth-child(4) { transition-delay: 0.22s; }
    .site-header.nav-open .site-nav > a:nth-child(5) { transition-delay: 0.27s; }
    .site-header.nav-open .site-nav > a:nth-child(6) { transition-delay: 0.33s; }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10;
    }

    /* The white word mark stays readable on the dark overlay. */
    .brand {
        position: relative;
        z-index: 11;
    }
}

/* The page behind an open drawer must not scroll. */
body.nav-lock {
    overflow: hidden;
}

/* ── Hero ──────────────────────────────────────────────── */

.hero {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding-top: clamp(112px, 16vh, 160px);
    padding-bottom: clamp(72px, 10vh, 112px);
}

.hero-glow {
    position: absolute;
    inset: -40px;
    will-change: transform;
    background:
        radial-gradient(1100px 620px at 12% -8%, rgba(154, 160, 170, 0.06), transparent 60%),
        radial-gradient(900px 700px at 100% 110%, rgba(24, 46, 92, 0.4), transparent 62%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: -24px;
    will-change: transform;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
    mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
    pointer-events: none;
}

.hero .container {
    position: relative;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    will-change: opacity, transform;
}

/* Quiet eyebrow line above the headline — no pill, no blinking. */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 1.04;
    color: #fff;
    letter-spacing: -0.015em;
    margin-bottom: 26px;
}

.hero-title em {
    font-style: italic;
}

.hero-title em {
    color: var(--gold-soft);
}

.hero-sub {
    font-size: clamp(17px, 1.5vw, 20px);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

.btn-arrow-down {
    display: inline-block;
}

.btn:hover .btn-arrow-down {
    transform: translateY(3px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* Scroll cue — a quiet Apple-style invitation to begin the story. */
.scroll-cue {
    margin-top: clamp(36px, 6vh, 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-cue-line {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    display: block;
}

.scroll-cue-line i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18px;
    background: linear-gradient(180deg, transparent, var(--accent));
    animation: cueDrop 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes cueDrop {
    0% {
        transform: translateY(-20px);
    }
    70%,
    100% {
        transform: translateY(56px);
    }
}

.scroll-cue-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
}

/* Quiet dot separators instead of a row of checkmarks. */
.hero-trust li:not(:first-child)::before {
    content: "·";
    color: rgba(255, 255, 255, 0.32);
}

/* entrance stagger for hero children (delay via --d) */
.lp-rise {
    opacity: 0;
    animation: lpRise 0.9s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes lpRise {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Word-by-word headline reveal (spans injected by JS) */
.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-block: 0.06em;
}

.word-inner {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.75em);
    transition:
        opacity 0.7s ease,
        transform 0.7s var(--ease-out);
}

.words-shown .word-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ── App mockup (shared hero + showcase) ───────────────── */

.app-mockup {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 2px rgba(7, 21, 46, 0.2),
        0 24px 48px -12px rgba(7, 21, 46, 0.4),
        0 64px 120px -32px rgba(7, 21, 46, 0.5);
    background: var(--paper);
    font-family: var(--body);
}

.mock-browser {
    background: var(--navy-mid);
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.traffic {
    display: inline-flex;
    gap: 5px;
}

.traffic i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }

.mock-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Marks every mockup as sample data — no real clients are depicted. */
.mock-demo-tag {
    flex-shrink: 0;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(154, 160, 170, 0.8);
    background: rgba(154, 160, 170, 0.12);
    border: 1px solid rgba(154, 160, 170, 0.24);
    border-radius: 4px;
    padding: 2px 7px;
    line-height: 1.4;
}

.mock-layout {
    display: flex;
    height: 302px;
}

.mock-sidebar {
    width: 112px;
    flex-shrink: 0;
    background: var(--sidebar);
    display: flex;
    flex-direction: column;
    padding-top: 8px;
    overflow: hidden;
}

@media (max-width: 480px) {
    .mock-sidebar {
        width: 92px;
    }
}

.mock-firm {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px 7px;
}

.mock-firm-logo {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--accent);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
}

.mock-firm-name {
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-nav-group {
    padding: 0 6px;
}

.mock-nav-label {
    font-size: 5.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 0 6px;
    margin-bottom: 3px;
}

.mock-nav-label + .mock-nav-label,
.mock-nav-item + .mock-nav-label {
    margin-top: 6px;
}

.mock-nav-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4.5px 6px;
    border-radius: 5px;
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    font-size: 8px;
    font-weight: 500;
    white-space: nowrap;
    transition:
        background-color 0.45s ease,
        color 0.45s ease;
}

.mock-nav-item .mock-nav-ic {
    font-size: 8px;
    width: 10px;
    display: inline-flex;
    justify-content: center;
    flex-shrink: 0;
}

.mock-nav-item.active {
    background: rgba(154, 160, 170, 0.16);
    color: #fff;
    font-weight: 600;
}

.mock-nav-item.active::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 22%;
    height: 56%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent);
}

.mock-side-spacer {
    flex: 1;
}

.mock-powered {
    margin: 0 6px 4px;
    padding: 4px 6px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 4px;
}

.mock-powered-label {
    font-size: 4.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    flex: 1;
}

.mock-powered-brand {
    font-family: var(--display);
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.mock-powered-brand b {
    color: var(--brand-gold);
    font-weight: 700;
}

.mock-powered-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.mock-user {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mock-user-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 6.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.mock-user-name {
    font-size: 7px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-user-role {
    font-size: 5.5px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mock-topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-crumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 7.5px;
}

.mock-crumb-root {
    color: var(--ink-muted);
    font-weight: 500;
}

.mock-crumb-sep {
    color: #c3c7cd;
}

.mock-crumb-here {
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: mockFade 0.5s ease-out;
}

@keyframes mockFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mock-topbar-spacer {
    flex: 1;
}

.mock-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 5px;
    border: 1px solid var(--line);
    background: #fafafa;
    font-size: 6.5px;
    color: var(--ink-muted);
}

@media (max-width: 480px) {
    .mock-search {
        display: none;
    }
}

.mock-kbd {
    font-size: 5px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 1px 3px;
    border-radius: 3px;
    border: 1px solid var(--line);
    background: #fff;
    line-height: 1.4;
}

.mock-bell {
    position: relative;
    display: flex;
    font-size: 9px;
    color: var(--ink-soft);
}

.mock-bell::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
}

.mock-page {
    flex: 1;
    background: var(--app-bg);
    padding: 10px 12px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    animation: mockFade 0.5s ease-out;
}

.mock-page-head > span:first-child {
    min-width: 0;
}

.mock-page-title,
.mock-page-sub {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-page-title {
    font-family: var(--display);
    font-size: 15px;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.mock-page-title em {
    color: var(--navy);
}

.mock-page-sub {
    font-size: 6.5px;
    color: var(--ink-muted);
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
}

.mock-action {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--navy);
    color: #fff;
    font-size: 6.5px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    animation: mockRise 0.55s ease-out;
}

@keyframes mockRise {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mock-stat {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 7px;
    padding: 6px 8px;
    min-width: 0;
}

.mock-stat-label {
    font-size: 5.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-stat-value {
    font-family: var(--display);
    font-size: 13px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
}

.mock-table {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 9px;
    overflow: hidden;
    flex: 1;
    animation: mockRise 0.6s ease-out;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-bottom: 1px solid #f3f4f6;
}

.mock-row:last-child {
    border-bottom: none;
}

.mock-row:first-child {
    background: rgba(11, 26, 58, 0.02);
}

.mock-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(11, 26, 58, 0.08);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 6px;
    font-weight: 700;
    flex-shrink: 0;
}

.mock-avatar.icon {
    border-radius: 5px;
    background: rgba(11, 26, 58, 0.06);
    font-size: 8px;
}

.mock-row-text {
    min-width: 0;
    flex: 1;
}

.mock-row-primary {
    font-size: 8px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-row-secondary {
    font-size: 6.5px;
    color: var(--ink-muted);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-amount {
    font-size: 7.5px;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .mock-amount {
        display: none;
    }
}

.mock-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 5px;
    border-radius: 4px;
    flex-shrink: 0;
    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
}

.mock-badge i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    display: inline-block;
}

/* ── Trust strip ───────────────────────────────────────── */

.trust {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.trust-inner {
    padding-block: clamp(36px, 5vw, 44px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
}

.trust-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--ink-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.trust-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    transition: color 0.25s ease;
}

.trust-logo:hover {
    color: var(--navy);
}

.trust-diamond {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--navy);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.trust-name {
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 25px);
    letter-spacing: -0.02em;
    line-height: 1;
}

.trust-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 3px;
}

/* ── Showcase — Kapitel 2: grosse gepinnte Modul-Bühne ──
   Desktop: 640vh-Track pinnt eine 100svh-Szene mit breitem,
   gezoomtem Mockup, schwebendem Glas-Panel und Modul-Tabs.
   Mobile/Reduced Motion: gestapelte Karten mit eigenen Mockups. */

.showcase {
    background: var(--paper);
}

.showcase-track {
    position: relative;
    height: 640vh;
}

.showcase-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(14px, 2.6vh, 30px);
    overflow: hidden;
    padding-top: clamp(64px, 9vh, 92px);
}

.showcase-pin > .container {
    width: 100%;
}

.showcase-head {
    text-align: center;
}

.showcase-head .kicker {
    text-align: center;
}

.showcase-head .section-heading {
    margin-bottom: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.showcase-stage {
    position: relative;
    display: flex;
    justify-content: center;
}

.showcase-frame {
    position: relative;
    z-index: 1;
    width: min(880px, 82%);
    margin-right: clamp(0px, 12vw, 190px);
    will-change: transform;
}

.showcase-frame .app-mockup {
    zoom: 1.18;
    transition: transform 0.65s var(--ease-out);
}

/* Floating glass panel with the module copy. */
.module-panel {
    position: absolute;
    right: clamp(0px, 1.5vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: min(330px, 34%);
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border: 1px solid rgba(11, 26, 58, 0.09);
    border-radius: 12px;
    padding: clamp(20px, 2.4vw, 30px);
    box-shadow:
        0 2px 6px rgba(11, 26, 58, 0.05),
        0 32px 70px -24px rgba(11, 26, 58, 0.35);
}

.module-panel .feature-icon {
    margin-bottom: 14px;
}

.module-panel .feature-title {
    font-size: clamp(1.4rem, 1.9vw, 1.75rem);
    margin-bottom: 8px;
}

.module-panel .feature-text {
    font-size: 14px;
    margin-bottom: 14px;
}

.module-panel .feature-bullets li {
    font-size: 13px;
    margin-bottom: 7px;
}

/* Content cascades on every module change. */
.module-panel.swap > * {
    animation: panelItem 0.55s var(--ease-out) both;
}

.module-panel.swap > *:nth-child(2) {
    animation-delay: 60ms;
}

.module-panel.swap > *:nth-child(3) {
    animation-delay: 120ms;
}

.module-panel.swap > *:nth-child(4) {
    animation-delay: 180ms;
}

@keyframes panelItem {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-panel.swap .feature-bullets li::before {
    animation: bulletPop 0.4s var(--ease-out) both;
}

.module-panel.swap .feature-bullets li:nth-child(1)::before {
    animation-delay: 0.28s;
}

.module-panel.swap .feature-bullets li:nth-child(2)::before {
    animation-delay: 0.38s;
}

.module-panel.swap .feature-bullets li:nth-child(3)::before {
    animation-delay: 0.48s;
}

@keyframes bulletPop {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Footer: counter, tab pills, status */
.showcase-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 26px);
    flex-wrap: wrap;
    position: relative;
    padding-top: 16px;
}

/* Hairline progress across the whole chapter, scrubbed by JS. */
.showcase-progress {
    position: absolute;
    top: 0;
    left: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 40px);
    height: 2px;
    background: rgba(11, 26, 58, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.showcase-progress i {
    position: absolute;
    inset: 0;
    background: var(--navy);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.showcase-count {
    font-family: var(--body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--accent-strong);
    font-variant-numeric: tabular-nums;
}

.showcase-footer .module-status {
    margin-top: 0;
}

.showcase-tabs {
    display: flex;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 10px 30px -18px rgba(11, 26, 58, 0.3);
}

.showcase-tabs button {
    border: none;
    background: transparent;
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 9px 15px;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.25s var(--ease-out);
}

.showcase-tabs button:hover {
    color: var(--navy);
    transform: translateY(-1px);
}

/* Aktive Tabs sind im Workspace navy markiert — die Seite folgt dem. */
.showcase-tabs button.active {
    background: var(--navy);
    color: #fff;
}

/* Feature copy building blocks (shared with portal section & stack) */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--navy);
    color: var(--accent);
    border: 1px solid var(--navy);
    font-size: 20px;
}

.feature-title {
    font-family: var(--body);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 420px;
}

.feature-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 9px;
}

.feature-bullets li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 8px;
}

/* Stacked cards (mobile & reduced motion) */
.showcase-stack {
    display: none;
    padding-block: 8px clamp(48px, 8vw, 80px);
}

.stack-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(18px, 3vw, 28px);
    margin-bottom: 18px;
    box-shadow: 0 18px 44px -30px rgba(11, 26, 58, 0.35);
}

.stack-card .app-mockup {
    margin-bottom: 20px;
}

.stack-card .feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
}

/* Short desktop viewports: compact the stage. */
@media (min-width: 961px) and (max-height: 860px) {
    .showcase-pin {
        padding-top: 88px;
        gap: 12px;
    }

    .showcase-head .section-heading {
        font-size: clamp(1.6rem, 2.6vw, 2rem);
    }

    .showcase-frame .app-mockup {
        zoom: 1.02;
    }

    .module-panel {
        width: min(300px, 34%);
    }
}

/* Mobile: no pin — the stacked cards carry the images. */
@media (max-width: 960px) {
    .showcase-track {
        display: none;
    }

    .showcase-stack {
        display: block;
    }
}

/* Reduced motion on desktop uses the stack too (JS adds .static). */
.showcase.static .showcase-track {
    display: none;
}

.showcase.static .showcase-stack {
    display: block;
}

/* ── Products (Workspace & Advice) ─────────────────────── */

.products {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    padding-bottom: clamp(64px, 9vw, 112px);
}

.product-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 32px);
    margin-top: clamp(24px, 4vw, 40px);
}

@media (max-width: 860px) {
    .product-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

.product-card {
    border-radius: 12px;
    padding: clamp(28px, 4vw, 44px);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.4s var(--ease-out),
        box-shadow 0.4s ease;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px -30px rgba(11, 26, 58, 0.35);
}

.product-card--workspace {
    background: var(--navy);
    color: #fff;
}

.product-card--workspace::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 85% -10%, rgba(154, 160, 170, 0.08), transparent 60%);
    pointer-events: none;
}

.product-card--advice {
    background: #fff;
    border: 1px solid var(--line);
}

.product-chip {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 18px;
}

.product-chip.accent {
    border-color: rgba(154, 160, 170, 0.35);
    color: var(--accent-strong);
    background: rgba(154, 160, 170, 0.08);
}

.product-name {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.8rem, 2.7vw, 2.3rem);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.product-name em {
    font-style: italic;
}

.product-name em {
    color: var(--gold-text);
}

.product-card--workspace .product-name em {
    color: var(--gold-soft);
}

.product-text {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.product-card--workspace .product-text {
    color: rgba(255, 255, 255, 0.72);
}

.product-card--advice .product-text {
    color: var(--ink-soft);
}

.product-points {
    margin-bottom: 26px;
}

.product-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 9px;
}

.product-card--workspace .product-points li {
    color: rgba(255, 255, 255, 0.82);
}

.product-card--advice .product-points li {
    color: var(--ink-soft);
}

.product-points li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 8px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    transition: gap 0.25s var(--ease-out);
}

.product-link:hover {
    gap: 13px;
}

.product-card--advice .product-link {
    color: var(--navy);
}

/* connection flow */
.product-flow {
    margin-top: clamp(40px, 6vw, 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.flow-node {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 26px;
    text-align: center;
    box-shadow: 0 10px 30px -18px rgba(11, 26, 58, 0.3);
    flex-shrink: 0;
    opacity: 0.35;
    transform: scale(0.92);
    transition:
        opacity 0.45s ease,
        transform 0.45s var(--ease-out);
}

.flow-node.lit {
    opacity: 1;
    transform: scale(1);
}

.flow-node.navy {
    background: var(--navy);
    border-color: var(--navy);
}

.flow-node-title {
    display: block;
    font-family: var(--body);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 17px;
    line-height: 1.1;
    color: var(--ink);
}

.flow-node.navy .flow-node-title {
    color: #fff;
}

.flow-node-sub {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 3px;
}

.flow-node.navy .flow-node-sub {
    color: rgba(255, 255, 255, 0.65);
}

.flow-line {
    position: relative;
    height: 2px;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, rgba(154, 160, 170, 0.15), rgba(154, 160, 170, 0.6), rgba(154, 160, 170, 0.15));
    flex: 1;
    max-width: 320px;
    margin-inline: -1px;
}

.flow-pulse {
    animation-play-state: paused;
    visibility: hidden;
}

.product-flow.live .flow-pulse {
    animation-play-state: running;
    visibility: visible;
}

.flow-pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(154, 160, 170, 0.45);
    transform: translate(-4px, -50%);
    animation: flowPulse 2.6s ease-in-out infinite;
}

@keyframes flowPulse {
    0% {
        left: 0;
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.flow-pulse-late {
    animation-delay: 1.3s;
}

.flow-caption {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .product-flow {
        flex-direction: column;
        gap: 0;
    }

    .flow-line {
        transform: none;
        width: 2px;
        height: 72px;
        flex: none;
        max-width: none;
        background: linear-gradient(180deg, rgba(154, 160, 170, 0.15), rgba(154, 160, 170, 0.6), rgba(154, 160, 170, 0.15));
        margin-block: -1px;
    }

    .flow-pulse {
        left: 50%;
        top: 0;
        transform: translate(-50%, -4px);
        animation: flowPulseV 2.6s ease-in-out infinite;
    }

    @keyframes flowPulseV {
        0% {
            top: 0;
            opacity: 0;
        }
        12% {
            opacity: 1;
        }
        88% {
            opacity: 1;
        }
        100% {
            top: 100%;
            opacity: 0;
        }
    }

    .flow-caption {
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        white-space: normal;
        width: 132px;
        text-align: left;
        line-height: 1.5;
    }
}

/* ── Reach (Advice detail) ─────────────────────────────── */

.reach {
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding-bottom: clamp(64px, 9vw, 112px);
}

.reach-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 64px);
    align-items: center;
    margin-bottom: clamp(56px, 8vw, 88px);
}

.reach-row:last-child {
    margin-bottom: 0;
}

/* Alternating rows: on wide screens the visual switches sides. */
.reach-row.reversed .reach-visual {
    order: -1;
}

@media (max-width: 860px) {
    .reach-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .reach-row.reversed .reach-copy {
        order: 2;
    }

    .reach-row.reversed .reach-visual {
        order: 1;
    }
}

/* Plugin live demo (Advice-Detailseite) — the stage widget, standalone. */
.plugin-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.plugin-demo .stage-site-pill {
    display: inline-flex;
    align-self: center;
}

.plugin-demo .stage-widget {
    width: min(360px, 100%);
}

/* Integrations (Workspace-Detailseite) */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(16px, 3vw, 32px);
}

@media (max-width: 720px) {
    .integrations-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.integration-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(24px, 3vw, 36px);
    transition:
        transform 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out),
        border-color 0.45s var(--ease-out);
}

.integration-card:hover {
    transform: translateY(-6px);
    border-color: rgba(154, 160, 170, 0.4);
    box-shadow: 0 30px 60px -24px rgba(11, 26, 58, 0.18);
}

.integration-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.integration-name {
    font-weight: 800;
    font-size: clamp(19px, 1.8vw, 23px);
    letter-spacing: -0.024em;
}

.integration-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: rgba(154, 160, 170, 0.1);
    border: 1px solid rgba(154, 160, 170, 0.25);
    padding: 5px 11px;
    border-radius: 999px;
    white-space: nowrap;
}

.integration-text {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.capability-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.capability-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--accent);
    font-size: 19px;
    flex-shrink: 0;
}

.capability-badge {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-strong);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.capability-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 600;
    margin-top: 4px;
}

.capability-status .pulse-dot {
    width: 6px;
    height: 6px;
}

/* browser frame shared by plugin + portal mocks */
.browser-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow:
        0 1px 2px rgba(11, 26, 58, 0.06),
        0 24px 56px -22px rgba(11, 26, 58, 0.35);
}

.browser-bar {
    background: #f3f4f6;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.browser-url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: var(--ink-muted);
}

.lock-ic {
    width: 8px;
    height: 6px;
    border: 1.2px solid currentColor;
    border-radius: 2px;
    position: relative;
    margin-top: 3px;
    flex-shrink: 0;
}

.lock-ic::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 1px;
    width: 4px;
    height: 4px;
    border: 1.2px solid currentColor;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.lock-ic.green {
    color: var(--green);
}

.site-skeleton {
    padding: 24px;
    opacity: 0.5;
}

.sk-line {
    height: 6px;
    border-radius: 4px;
    background: #e6e8eb;
    margin-bottom: 6px;
}

.sk-line.h11 {
    height: 11px;
    background: #d0d3d8;
    margin-bottom: 12px;
}

.sk-line.w52 { width: 52%; }
.sk-line.w60 { width: 60%; }
.sk-line.w64 { width: 64%; }
.sk-line.w74 { width: 74%; }
.sk-line.w82 { width: 82%; }
.sk-line.w88 { width: 88%; }

.sk-space {
    height: 108px;
}

.plugin-mock {
    position: relative;
}

.intake-widget {
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: min(232px, 62%);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px -18px rgba(11, 26, 58, 0.5);
}

.floaty {
    animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.intake-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    background: var(--navy);
}

.intake-avatar {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--navy);
    font-weight: 800;
    font-size: 13px;
    font-family: var(--display);
}

.intake-title {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.intake-title strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    line-height: 1.1;
    white-space: nowrap;
}

.intake-title small {
    font-size: 7.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
    white-space: nowrap;
}

.intake-body {
    padding: 12px 14px;
    background: var(--paper-warm);
}

.intake-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.intake-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.chip {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
}

.chip.active {
    background: rgba(154, 160, 170, 0.16);
    color: var(--ink);
    border: 1px solid rgba(154, 160, 170, 0.35);
}

.chip.more {
    background: rgba(13, 17, 23, 0.06);
    color: var(--ink-soft);
    font-weight: 700;
}

.intake-input {
    height: 26px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding-inline: 8px;
    margin-bottom: 8px;
    font-size: 9.5px;
    color: var(--ink-muted);
}

.intake-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

/* portal mock */
.portal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    background: var(--navy);
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-size: 15px;
    color: #fff;
}

.portal-mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--accent);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 12px;
}

.portal-user {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.portal-body {
    padding: 18px;
    background: var(--paper-warm);
}

.portal-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.portal-case {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    margin-bottom: 8px;
}

.portal-case > span:first-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.portal-case strong {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-case small {
    font-size: 10.5px;
    color: var(--ink-muted);
}

.portal-msg {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
}

.portal-msg-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 7px;
}

.portal-msg .sk-line {
    height: 5px;
    margin-bottom: 5px;
}

.portal-msg .sk-line:last-child {
    margin-bottom: 0;
}

/* ── Manifesto ─────────────────────────────────────────── */

.manifesto {
    background: transparent;
    position: relative;
}

.manifesto-track {
    position: relative;
    height: 280vh;
}

.manifesto-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

@media (max-width: 960px) {
    .manifesto-track {
        height: auto;
    }

    .manifesto-pin {
        position: static;
        height: auto;
        padding-block: clamp(96px, 14vw, 144px);
    }
}

.manifesto-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 500px at 50% 50%, rgba(154, 160, 170, 0.05), transparent 62%);
    pointer-events: none;
}

.manifesto .container {
    position: relative;
}

/* Scrubbed words idle at a whisper and light up in reading order.
   The .words-shown fallback (mobile / reduced motion) wins via :not(). */
.manifesto-text[data-words-scrub]:not(.words-shown) .word-inner {
    opacity: 0.14;
    transform: none;
}

.manifesto-text {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 820px;
    margin-inline: auto;
}

.manifesto-text em {
    color: var(--gold-soft);
}

/* ── Personas / Security ───────────────────────────────── */

.personas {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.security {
    background: var(--paper);
}

.personas-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(32px, 5vw, 48px);
    padding-block: clamp(64px, 9vw, 112px);
}

@media (max-width: 860px) {
    .personas-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.sticky-intro {
    position: sticky;
    top: 96px;
}

@media (max-width: 860px) {
    .sticky-intro {
        position: static;
    }
}

.persona {
    display: flex;
    gap: 24px;
    padding-block: 28px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    transition: transform 0.35s var(--ease-out);
}

.persona:hover {
    transform: translateX(8px);
}

.persona:last-child {
    border-bottom: none;
}

.persona-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 20px;
    flex-shrink: 0;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s var(--ease-out);
}

.persona:hover .persona-icon {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.persona-role {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-strong);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.persona-headline {
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.persona-text {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 14px;
}

.security .persona-text {
    margin-bottom: 0;
}

.persona-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.persona-points li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink-soft);
}

.persona-points li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ── Workflow ──────────────────────────────────────────── */

.workflow {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(64px, 9vw, 112px);
}

.workflow-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 420px at 50% 0%, rgba(154, 160, 170, 0.05), transparent 60%);
    pointer-events: none;
}

.workflow .container {
    position: relative;
}

.process {
    position: relative;
    margin-top: clamp(16px, 4vw, 40px);
}

.process-line,
.process-fill {
    position: absolute;
    top: 23px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
}

.process-line {
    background: rgba(255, 255, 255, 0.12);
}

.process-fill {
    background: var(--accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@media (max-width: 960px) {
    .process-line,
    .process-fill {
        display: none;
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

@media (max-width: 960px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: 20px;
}

@media (max-width: 960px) {
    .process-step {
        align-items: flex-start;
        text-align: left;
    }
}

.process-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.5);
    transition:
        background-color 0.45s ease,
        color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.process-step.lit .process-num {
    background: var(--accent);
    border-color: transparent;
    color: var(--navy-dark);
    box-shadow: 0 0 0 6px rgba(154, 160, 170, 0.12);
    animation: numPop 0.5s var(--ease-out);
}

@keyframes numPop {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.22);
    }
    100% {
        transform: scale(1);
    }
}

.process-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: #fff;
    transition: color 0.45s ease;
}

.process-step.lit .process-title {
    color: var(--accent);
}

.process-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
    max-width: 220px;
}

/* ── Why ───────────────────────────────────────────────
   Drei ruhige Bänder statt der früheren Hälfte-dunkel-Hälfte-hell-
   Teilung: Kopf (Zeile), Kennzahlen zwischen Haarlinien, Vorteile
   als Raster. Der Abschnitt liegt hell, weil direkt darüber der
   dunkle Workflow endet — sonst stossen zwei Dunkeltöne aneinander. */

.why {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    padding-block: clamp(64px, 9vw, 112px);
}

.why-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(20px, 5vw, 64px);
    align-items: end;
    margin-bottom: clamp(32px, 4.5vw, 52px);
}

.why-heading {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.012em;
}

.why-heading em {
    font-style: italic;
    color: var(--gold-text);
}

.why-sub {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 400px;
    padding-bottom: 6px;
}

@media (max-width: 860px) {
    .why-head {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
}

/* Kennzahlen als gesetzte Reihe zwischen zwei Haarlinien. Die Linien
   sind Pseudo-Elemente statt Rahmen, damit sie sich beim Einblenden
   zeichnen können — waagrecht von links, senkrecht von oben. */
.why-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-stats::before,
.why-stats::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.9s var(--ease-out);
}

.why-stats::before {
    top: 0;
}

.why-stats::after {
    bottom: 0;
    transition-delay: 0.1s;
}

.why-stats.revealed::before,
.why-stats.revealed::after {
    transform: scaleX(1);
}

.why-stats > div {
    position: relative;
    padding: clamp(22px, 2.8vw, 30px) clamp(14px, 2vw, 26px);
}

.why-stats > div:first-child {
    padding-left: 0;
}

/* Senkrechte Trenner wachsen nach den waagrechten Linien ein. */
.why-stats > div + div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 1px;
    background: var(--line);
    transform: scaleY(0);
    transform-origin: 50% 0;
    transition: transform 0.7s var(--ease-out);
}

.why-stats.revealed > div + div::before {
    transform: scaleY(1);
}

.why-stats.revealed > div:nth-child(2)::before { transition-delay: 0.26s; }
.why-stats.revealed > div:nth-child(3)::before { transition-delay: 0.34s; }
.why-stats.revealed > div:nth-child(4)::before { transition-delay: 0.42s; }

.why-stat-value {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 40px);
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.why-stat-label {
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.45;
    letter-spacing: 0.01em;
}

@media (max-width: 720px) {
    .why-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-stats > div:nth-child(3) {
        padding-left: 0;
    }

    .why-stats > div:nth-child(3)::before {
        content: none;
    }

    .why-stats > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

/* Vorteile als Raster — gleiche Spaltenbreite wie die Kennzahlen. */
.why-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
    margin-top: clamp(32px, 4.5vw, 52px);
}

/* Vier Spalten brauchen Breite — darunter wird die Zeile zu schmal. */
@media (max-width: 1000px) {
    .why-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(24px, 4vw, 40px);
    }
}

@media (max-width: 520px) {
    .why-benefits {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* Icon ohne Kachel — nur die Linienzeichnung, wie im Produkt.
   Die Grösse kommt aus der gemeinsamen SVG-Regel weiter unten. */
.benefit-icon {
    display: block;
    color: var(--navy);
    margin-bottom: 14px;
}

/* Das Icon setzt kurz nach seinem Textblock auf — zweistufig statt
   alles auf einmal. */
.why-benefits .benefit-icon {
    opacity: 0;
    transform: translateY(7px);
    transition:
        opacity 0.5s ease,
        transform 0.5s var(--ease-out);
}

.why-benefits.revealed .benefit-icon {
    opacity: 1;
    transform: none;
}

.why-benefits.revealed > *:nth-child(1) .benefit-icon { transition-delay: 0.22s; }
.why-benefits.revealed > *:nth-child(2) .benefit-icon { transition-delay: 0.31s; }
.why-benefits.revealed > *:nth-child(3) .benefit-icon { transition-delay: 0.4s; }
.why-benefits.revealed > *:nth-child(4) .benefit-icon { transition-delay: 0.49s; }

.benefit-title {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.benefit-text {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ── FAQ ───────────────────────────────────────────────── */

.faq {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    padding-bottom: clamp(64px, 9vw, 112px);
}

.faq-list {
    border-top: 1px solid var(--line);
    margin-top: clamp(16px, 3vw, 28px);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    font-weight: 600;
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--ink);
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover,
.faq-item[open] summary {
    color: var(--navy);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    position: relative;
    color: var(--accent-strong);
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    background: var(--ink-muted);
    transition:
        transform 0.28s var(--ease-out),
        background-color 0.25s ease;
}

.faq-toggle::before {
    width: 12px;
    height: 1.6px;
}

.faq-toggle::after {
    width: 1.6px;
    height: 12px;
}

.faq-item[open] .faq-toggle {
    border-color: var(--accent);
    background: rgba(154, 160, 170, 0.1);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
    background: var(--accent-strong);
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.75;
    padding-bottom: 24px;
    max-width: 640px;
}

/* ── CTA ───────────────────────────────────────────────── */

.cta {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-block: clamp(80px, 12vw, 112px);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 420px at 50% 0%, rgba(154, 160, 170, 0.06), transparent 62%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    max-width: 640px;
}

.cta-heading {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.3rem, 4.2vw, 3.3rem);
    color: #fff;
    letter-spacing: -0.012em;
    line-height: 1.07;
    margin-bottom: 20px;
}

.cta-heading em {
    font-style: italic;
}

.cta-heading em {
    color: var(--gold-soft);
}

.cta-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.cta-note {
    margin-top: 20px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Footer — full brand footer with link columns ──────── */

.site-footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
    padding-block: clamp(48px, 6vw, 76px) clamp(32px, 4vw, 48px);
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 18px;
}

.footer-tag {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 320px;
    margin-bottom: 18px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-contact a {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-soft);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-col-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    width: fit-content;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
    padding-block: 5px;
    transition:
        color 0.25s ease,
        transform 0.25s var(--ease-out);
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-ch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-ch-cross {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #d52b1e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    display: inline-grid;
    place-items: center;
}

@media (max-width: 860px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Hero product shot — tilted stage that rights itself ── */

.hero-shot-wrap {
    position: relative;
    margin-top: clamp(44px, 7vh, 84px);
    perspective: 1500px;
    width: 100%;
}

.hero-shot {
    max-width: 980px;
    margin-inline: auto;
    transform-origin: 50% 0%;
    will-change: transform;
}

.hero-shot .app-mockup {
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 30px 60px -18px rgba(7, 21, 46, 0.6),
        0 80px 160px -40px rgba(7, 21, 46, 0.55);
}

/* ── Side rail — chapter dots, blending against any ground ── */

.side-rail {
    position: fixed;
    right: clamp(14px, 2vw, 30px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 13px;
    mix-blend-mode: difference;
}

.side-rail a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #fff;
    padding-block: 2px;
}

.side-rail i {
    order: 2;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    flex-shrink: 0;
    transition:
        transform 0.3s var(--ease-out),
        background-color 0.3s ease;
}

.side-rail span {
    order: 1;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease-out);
}

.side-rail a:hover span,
.side-rail a.active span {
    opacity: 0.9;
    transform: none;
}

.side-rail a:hover i,
.side-rail a.active i {
    background: #fff;
}

.side-rail a.active i {
    transform: scale(1.55);
}

@media (max-width: 1280px) {
    .side-rail {
        display: none;
    }
}

/* ── Story — Kapitel 1: Plugin → Workspace (scroll-scrub) ──
   Desktop: a 420vh track pins a 100vh scene; JS scrubs the
   choreography from scroll progress. Mobile & reduced motion:
   the scene stacks statically in its final state. */

.story {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.story-track {
    position: relative;
    height: 720vh;
}

.story-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 3vh, 36px);
    overflow: hidden;
    /* Clears the fixed site header so the chapter kicker stays visible. */
    padding-top: clamp(64px, 9vh, 92px);
}

/* .container children carry auto inline margins, which beat flex
   stretching — force them to full width inside the pinned scene. */
.story-pin > .container {
    width: 100%;
}

.story-head {
    text-align: center;
}

.story-head .kicker {
    text-align: center;
}

.story-head .section-heading {
    margin-bottom: 0;
}

.story-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

.stage-connector {
    height: clamp(40px, 7vh, 76px);
    width: 100%;
}

.stage-plugin {
    position: relative;
    align-self: flex-start;
    margin-left: clamp(0px, 6vw, 96px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stage-site-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 11.5px;
    color: var(--ink-muted);
    box-shadow: 0 4px 14px -8px rgba(11, 26, 58, 0.25);
}

.stage-widget {
    position: static;
    width: min(330px, 100%);
    box-shadow: 0 30px 60px -20px rgba(11, 26, 58, 0.45);
    will-change: transform;
    transform-origin: 50% 100%;
}

.stage-widget .intake-title strong {
    font-size: 16px;
}

.stage-widget .intake-type {
    min-height: 52px;
}

.stage-widget .type-line {
    height: 7px;
}

/* Chip picks itself as the visitor "chooses" their Rechtsgebiet. */
.stage-widget .chip[data-step-chip] {
    background: rgba(13, 17, 23, 0.05);
    color: var(--ink-soft);
    border: 1px solid transparent;
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s var(--ease-out);
}

.stage-widget.picked .chip[data-step-chip] {
    background: rgba(154, 160, 170, 0.16);
    color: var(--ink);
    border-color: rgba(154, 160, 170, 0.35);
    transform: scale(1.08);
}

/* The visitor's message "types" itself line by line (widths via JS). */
.intake-type {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    min-height: 44px;
}

.intake-type .type-line {
    display: block;
    height: 6px;
    border-radius: 4px;
    background: #d9dce1;
    margin-bottom: 6px;
}

.intake-type .type-line:last-child {
    margin-bottom: 0;
}

/* Send button flips to its sent state. */
.stage-widget .send-done {
    display: none;
}

.stage-widget.sent .intake-btn {
    background: var(--green);
    color: #fff;
}

.stage-widget.sent .send-label {
    display: none;
}

.stage-widget.sent .send-done {
    display: inline-flex;
}

.stage-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

#flowPathBg {
    stroke: rgba(11, 26, 58, 0.12);
    stroke-width: 1.5;
    stroke-dasharray: 3 7;
}

#flowPathFill {
    stroke: var(--navy);
    stroke-width: 2.5;
    stroke-linecap: round;
}

/* The case card that carries the request across the stage. */
.stage-card {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 236px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow:
        0 3px 10px rgba(11, 26, 58, 0.1),
        0 30px 60px -18px rgba(11, 26, 58, 0.45);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.stage-card-title {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 7px;
}

.stage-card .chip {
    margin-bottom: 8px;
    display: inline-block;
}

.stage-card-line {
    font-size: 12px;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 7px;
}

.stage-card-meta {
    font-size: 10.5px;
    color: var(--ink-muted);
}

/* The card's content materialises during the flight. */
.stage-card .stage-card-line,
.stage-card .stage-card-meta {
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.45s ease,
        transform 0.45s var(--ease-out);
}

.stage-card.show-line .stage-card-line {
    opacity: 1;
    transform: none;
}

.stage-card.show-meta .stage-card-meta {
    opacity: 1;
    transform: none;
}

/* Toast that pops out of the workspace once the request has landed. */
.ws-toast {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 320px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 11.5px;
    line-height: 1.45;
    box-shadow: 0 18px 40px -14px rgba(11, 26, 58, 0.6);
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.45s ease,
        transform 0.45s var(--ease-out);
    pointer-events: none;
}

.ws-toast strong {
    color: #fff;
}

.ws-toast-ic {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.ws-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.stage-workspace {
    position: relative;
    width: min(860px, 100%);
    align-self: flex-end;
    margin-right: clamp(0px, 2vw, 32px);
    opacity: 0;
    transform: translate3d(0, 44px, 0);
    will-change: transform, opacity;
}

/* Short desktop viewports: compact the scene so nothing clips. */
@media (min-width: 961px) and (max-height: 860px) {
    .story-pin {
        padding-top: 92px;
        gap: 12px;
    }

    .story-head .section-heading.xl {
        font-size: clamp(1.7rem, 3vw, 2.2rem);
    }

    .story-head .kicker {
        margin-bottom: 6px;
    }

    .stage-site-pill {
        display: none;
    }

    .stage-widget {
        width: 250px;
    }

    .stage-widget .intake-type {
        min-height: 34px;
    }

    .stage-connector {
        height: 18px;
    }

    .stage-workspace {
        width: min(600px, 100%);
    }

    .stage-widget {
        width: 250px;
    }

    .ws-toast {
        font-size: 10px;
        max-width: 250px;
    }

    .story .mock-layout {
        height: 218px;
    }

    .story-captions {
        height: 22px;
    }

    .story-captions p {
        font-size: 13px;
    }

    .story-progress {
        margin-top: 8px;
    }
}

/* Freshly landed inbox row */
.mock-row-new {
    position: relative;
    background: rgba(154, 160, 170, 0.12) !important;
    animation: rowLand 1s var(--ease-out);
}

.mock-row-new::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

@keyframes rowLand {
    0% {
        background: rgba(154, 160, 170, 0.45);
        transform: translateY(-4px);
    }
    100% {
        background: rgba(154, 160, 170, 0.12);
        transform: translateY(0);
    }
}

/* Mobile connector between the two mocks */
.stage-arrow {
    display: none;
}

.story-footer {
    text-align: center;
}

.story-captions {
    position: relative;
    height: 30px;
}

@media (max-width: 1280px) {
    .story-captions {
        height: 54px;
    }
}

.story-captions p {
    position: absolute;
    inset: 0;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 500;
    color: var(--ink-soft);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-captions p.active {
    opacity: 1;
}

.story-progress {
    width: 180px;
    height: 2px;
    border-radius: 2px;
    background: var(--line);
    margin: 14px auto 0;
    overflow: hidden;
}

#storyBar {
    display: block;
    height: 100%;
    background: var(--navy);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@media (max-width: 960px) {
    .story-track {
        height: auto;
    }

    .story-pin {
        position: static;
        height: auto;
        overflow: visible;
        padding-block: clamp(56px, 9vw, 88px) 40px;
        gap: 32px;
    }

    .story-stage {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .stage-path,
    .stage-card,
    .stage-connector {
        display: none;
    }

    .stage-plugin {
        width: 100%;
        align-self: center;
        align-items: center;
        margin-left: 0;
        margin-bottom: 4px;
    }

    .stage-site-pill {
        align-self: center;
    }

    .stage-workspace {
        width: 100%;
        align-self: center;
        margin-right: 0;
        opacity: 1;
        transform: none;
    }

    /* The visitor's message types itself once the widget scrolls
       into view (widths set by JS, eased here). */
    .intake-type .type-line {
        transition: width 0.6s var(--ease-out);
    }

    .stage-arrow {
        display: flex;
        justify-content: center;
    }

    .stage-arrow i {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid rgba(154, 160, 170, 0.4);
        background: rgba(154, 160, 170, 0.08);
        color: var(--accent-strong);
        font-style: normal;
        font-size: 16px;
        display: grid;
        place-items: center;
        animation: arrowNudge 1.8s ease-in-out infinite;
    }

    @keyframes arrowNudge {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(6px);
        }
    }

    .story-captions {
        height: auto;
        display: grid;
        gap: 8px;
    }

    .story-captions p {
        position: static;
        opacity: 1;
        text-align: left;
        padding-left: 20px;
        position: relative;
    }

    .story-captions p::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.55em;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent);
    }

    .story-progress {
        display: none;
    }
}

/* Tilt targets interpolate softly back when the pointer leaves. */
[data-tilt-card] {
    will-change: transform;
    transition:
        transform 0.35s var(--ease-out),
        box-shadow 0.4s ease;
}

/* Scroll parallax lives at the end of the reveal block so it wins the
   cascade once an element is revealed — see below. */

/* ── Über-uns-Seite ─────────────────────────────────────
   Baut vollständig auf dem bestehenden System auf; hier stehen
   nur die Seiten-eigenen Bausteine: Narrative, Facts-Band,
   Werte-Karten, Weg-Timeline und Team-Band. */

.about-hero {
    padding-top: clamp(128px, 20vh, 190px);
    padding-bottom: clamp(88px, 12vh, 128px);
}

/* Active nav link (current page) — the CTA keeps its own gold surface. */
.site-nav .nav-active:not(.nav-cta) {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .site-nav .nav-active:not(.nav-cta),
    .site-header.scrolled .site-nav .nav-active:not(.nav-cta) {
        color: var(--accent);
    }
}

/* Narrative — editorial two-column story */
.narrative {
    background: var(--paper);
}

.narrative-body {
    max-width: 640px;
}

.narrative-lead {
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 28px;
}

.narrative-lead::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--navy);
    margin-bottom: 26px;
}

.narrative-body p:not(.narrative-lead) {
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.narrative-body strong {
    color: var(--ink);
}

/* Facts band — navy strip with the stat tiles */
.facts {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 6vw, 64px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hero-stat {
    padding: clamp(20px, 3vw, 26px) 16px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stat:last-child {
    border-right: none;
}

@media (max-width: 640px) {
    .hero-stat:nth-child(2) {
        border-right: none;
    }

    .hero-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

.hero-stat-value {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.01em;
    font-size: clamp(30px, 3.8vw, 38px);
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hero-stat-label {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.04em;
}

/* Werte — numbered cards */
.values {
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    padding-bottom: clamp(64px, 9vw, 112px);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(16px, 3vw, 32px);
}

@media (max-width: 1080px) {
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .values-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(24px, 3vw, 32px);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s var(--ease-out),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -28px rgba(11, 26, 58, 0.35);
    border-color: rgba(154, 160, 170, 0.45);
}

.value-num {
    display: block;
    font-family: var(--body);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 40px;
    line-height: 1;
    color: rgba(154, 160, 170, 0.35);
    margin-bottom: 18px;
    transition: color 0.35s ease;
}

.value-card:hover .value-num {
    color: var(--accent-strong);
}

.value-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.value-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft);
}

/* Weg — vertical scroll-lit timeline on navy */
.journey {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(72px, 10vw, 120px);
}

.journey-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 500px at 50% 20%, rgba(154, 160, 170, 0.05), transparent 62%);
    pointer-events: none;
}

.journey .container {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 720px;
    margin-inline: auto;
    margin-top: clamp(24px, 4vw, 48px);
    padding-left: 44px;
}

.timeline-line,
.timeline-fill {
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
}

.timeline-line {
    background: rgba(255, 255, 255, 0.12);
}

.timeline-fill {
    background: var(--accent);
    transform-origin: 50% 0;
    transform: scaleY(0);
}

.timeline-item {
    position: relative;
    padding-bottom: clamp(40px, 6vw, 64px);
    opacity: 0.45;
    transition: opacity 0.45s ease;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item.lit {
    opacity: 1;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition:
        background-color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.timeline-item.lit .timeline-dot {
    background: var(--accent);
    border-color: transparent;
    box-shadow: 0 0 0 6px rgba(154, 160, 170, 0.16);
    animation: numPop 0.5s var(--ease-out);
}

.timeline-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.timeline-title {
    font-family: var(--body);
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    max-width: 560px;
}

/* Team band */
.team-band {
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
    padding-block: clamp(88px, 12vw, 128px);
}

.team-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 460px at 50% 50%, rgba(154, 160, 170, 0.04), transparent 62%);
    pointer-events: none;
}

.team-band .container {
    position: relative;
}

.team-quote {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #fff;
    max-width: 780px;
    margin-inline: auto;
}

.team-quote em {
    color: var(--gold-soft);
}

.team-note {
    margin-top: 28px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.62);
}

.team-note a {
    color: var(--gold-soft);
    font-weight: 600;
    border-bottom: 1px solid rgba(198, 186, 148, 0.4);
    transition: border-color 0.25s ease;
}

.team-note a:hover {
    border-color: var(--gold-soft);
}

/* ── Team — die vier Mitgründer:innen ──────────────────── */

.team-people {
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding-bottom: clamp(72px, 10vw, 128px);
}

.team-intro {
    max-width: 660px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(20px, 3vw, 40px);
}

@media (max-width: 1080px) {
    .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .people-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.person-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(24px, 2.6vw, 32px);
    transition:
        transform 0.5s var(--ease-out),
        box-shadow 0.5s var(--ease-out),
        border-color 0.5s var(--ease-out);
}

.person-card:hover {
    border-color: rgba(154, 160, 170, 0.4);
    box-shadow: 0 32px 64px -28px rgba(11, 26, 58, 0.2);
}

/* Monogram plaque — stands in until the portraits arrive. */
.person-avatar {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--navy-mid), var(--navy-dark));
    border: 1px solid rgba(154, 160, 170, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    transition: transform 0.45s var(--ease-out);
}

.person-card:hover .person-avatar {
    transform: scale(1.07) rotate(-3deg);
}

.person-name {
    font-weight: 800;
    font-size: 18.5px;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.person-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 14px;
}

.person-text {
    font-size: 14px;
    line-height: 1.62;
    color: var(--ink-soft);
}

.team-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(32px, 5vw, 56px);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

/* Craft (Wie wir bauen) shares the personas layout on white */
.craft {
    background: var(--paper);
}

/* ── Reveal-on-scroll (driven by JS) ───────────────────── */

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 0.8s var(--ease-out),
        transform 0.8s var(--ease-out),
        filter 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal][data-reveal-blur] {
    filter: blur(10px);
}

[data-reveal][data-reveal-left] {
    transform: translate3d(-52px, 14px, 0);
}

[data-reveal][data-reveal-right] {
    transform: translate3d(52px, 14px, 0);
}

[data-reveal][data-reveal-zoom] {
    transform: scale(0.86) translate3d(0, 26px, 0);
}

[data-reveal][data-reveal-flip] {
    transform: perspective(900px) rotateX(16deg) translate3d(0, 34px, 0);
    transform-origin: 50% 100%;
}

/* Children cascade once the ancestor (or the element itself, when it
   carries both attributes) reveal fires. */
[data-reveal] .stagger-kids > *,
[data-reveal].stagger-kids > * {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.55s var(--ease-out),
        transform 0.55s var(--ease-out);
}

[data-reveal].revealed .stagger-kids > *:nth-child(1),
[data-reveal].stagger-kids.revealed > *:nth-child(1) { transition-delay: 0.15s; }
[data-reveal].revealed .stagger-kids > *:nth-child(2),
[data-reveal].stagger-kids.revealed > *:nth-child(2) { transition-delay: 0.24s; }
[data-reveal].revealed .stagger-kids > *:nth-child(3),
[data-reveal].stagger-kids.revealed > *:nth-child(3) { transition-delay: 0.33s; }
[data-reveal].revealed .stagger-kids > *:nth-child(4),
[data-reveal].stagger-kids.revealed > *:nth-child(4) { transition-delay: 0.42s; }
[data-reveal].revealed .stagger-kids > *:nth-child(5),
[data-reveal].stagger-kids.revealed > *:nth-child(5) { transition-delay: 0.51s; }
[data-reveal].revealed .stagger-kids > *:nth-child(6),
[data-reveal].stagger-kids.revealed > *:nth-child(6) { transition-delay: 0.6s; }

[data-reveal].revealed .stagger-kids > *,
[data-reveal].stagger-kids.revealed > * {
    opacity: 1;
    transform: none;
}

/* Ehemals ein clip-path-Wipe. Neuere Chromium-Versionen rechnen clip-path
   in die IntersectionObserver-Geometrie ein — ein voll geclipptes Element
   meldet Ratio 0 und würde nie aufgedeckt. Darum ein ruhiges Rise-in. */
[data-reveal][data-reveal-wipe] {
    transform: translate3d(0, 30px, 0) scale(0.975);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    will-change: auto;
}

/* Scroll parallax — JS feeds --parallax-y/--parallax-x/--lean; revealed
   elements (or ones without a reveal) ride them. Placed after the
   .revealed reset so the vars win the cascade at equal specificity.
   Hover/tilt transforms fold the vars in so the layers never fight. */
[data-parallax].revealed,
[data-parallax]:not([data-reveal]),
[data-parallax-x].revealed,
[data-parallax-x]:not([data-reveal]),
[data-lean].revealed,
[data-lean]:not([data-reveal]) {
    transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) rotate(var(--lean, 0deg));
}

[data-parallax].product-card:hover {
    transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) - 6px), 0) rotate(var(--lean, 0deg));
}

/* ── Reduced motion — the whole page settles instantly ─── */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .preloader {
        display: none;
    }

    body.loading {
        overflow: auto;
    }

    [data-reveal],
    [data-reveal][data-reveal-blur],
    .lp-rise {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .word-inner {
        opacity: 1;
        transform: none;
    }

    .process-fill {
        transform: scaleX(1);
    }

    .showcase-step {
        opacity: 1;
        transform: none;
    }

    /* Pinned scrub tracks collapse — the scenes show their final state
       without the long empty scroll runway. */
    .story-track,
    .manifesto-track {
        height: auto !important;
    }

    .story-pin,
    .manifesto-pin {
        position: static;
        height: auto;
    }

    .manifesto-pin {
        padding-block: clamp(96px, 14vw, 144px);
    }

    .story-pin {
        padding-block: 48px;
    }

    .stage-path,
    .stage-card {
        display: none;
    }

    .story-captions {
        height: auto;
    }

    .story-captions p {
        position: static;
        opacity: 1;
        transform: none;
    }
}

/* ── SVG line icons ────────────────────────────────────── */

.feature-icon svg,
.capability-icon svg {
    width: 22px;
    height: 22px;
}

.persona-icon svg,
.benefit-icon svg {
    width: 22px;
    height: 22px;
}

/* ── Mobile swipe decks — card grids become snap carousels ── */

@media (max-width: 960px) {
    .values-grid,
    .people-grid,
    .integrations-grid,
    .product-cards,
    .showcase-stack {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        margin-inline: calc(-1 * clamp(20px, 4vw, 40px));
        padding-inline: clamp(20px, 4vw, 40px);
        padding-bottom: 14px;
        scroll-padding-inline: clamp(20px, 4vw, 40px);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .values-grid::-webkit-scrollbar,
    .people-grid::-webkit-scrollbar,
    .integrations-grid::-webkit-scrollbar,
    .product-cards::-webkit-scrollbar,
    .showcase-stack::-webkit-scrollbar {
        display: none;
    }

    .value-card,
    .person-card,
    .integration-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }

    .product-card {
        flex: 0 0 86%;
        scroll-snap-align: center;
    }

    .showcase-stack .stack-card {
        flex: 0 0 87%;
        scroll-snap-align: center;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    /* Swipe affordance under each deck. */
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 2px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-muted);
    }

    .swipe-hint::before,
    .swipe-hint::after {
        content: "";
        width: 28px;
        height: 1px;
        background: currentColor;
        opacity: 0.4;
    }
}

@media (min-width: 961px) {
    .swipe-hint {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════
   KONTAKT — Kanäle
   Telefon und E-Mail als gleichwertige Karten, darunter der
   Ablauf. Kein Formular: die Seite ist statisch gehostet und
   soll nichts versprechen, was sie nicht zustellen kann.
   ══════════════════════════════════════════════════════════ */

.contact-hero {
    padding-bottom: clamp(64px, 9vh, 96px);
}

.contact-assurances {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.66);
}

.contact-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.contact-assurances li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex: 0 0 auto;
}

.booking {
    background: var(--paper);
    padding-block: clamp(64px, 9vw, 112px);
}

.booking-sub {
    margin-inline: auto;
}

/* ── Kanal-Karten ────────────────────────────────────────── */

.channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(28px, 3.5vw, 48px);
}

.channel-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(26px, 3vw, 36px);
    overflow: hidden;
    transition:
        transform 0.4s var(--ease-out),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(154, 160, 170, 0.4);
    box-shadow: 0 18px 44px rgba(11, 26, 58, 0.09);
}

.channel-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(154, 160, 170, 0.1);
    color: var(--accent-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.channel-icon svg {
    width: 21px;
    height: 21px;
}

.channel-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.channel-value {
    font-size: clamp(20px, 2.1vw, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.channel-hint {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin-top: 4px;
}

.channel-arrow {
    position: absolute;
    top: clamp(26px, 3vw, 36px);
    right: clamp(26px, 3vw, 36px);
    font-size: 18px;
    color: var(--accent-strong);
    opacity: 0;
    transform: translateX(-6px);
    transition:
        opacity 0.35s ease,
        transform 0.35s var(--ease-out);
}

.channel-card:hover .channel-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Ablauf ──────────────────────────────────────────────── */

.steps-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(26px, 3vw, 36px);
    margin-top: clamp(16px, 2vw, 24px);
}

.aside-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 20px;
}

.aside-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
}

.aside-steps li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.aside-step-num {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aside-step-text {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.aside-step-text strong {
    color: var(--ink);
    font-weight: 700;
}

.aside-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: clamp(22px, 2.6vw, 30px);
    padding-top: clamp(18px, 2vw, 24px);
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-muted);
}

@media (max-width: 760px) {
    .channel-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .aside-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .channel-card:hover {
        transform: none;
    }

    .channel-card:hover .channel-arrow {
        transform: none;
    }
}

/* ══════════════════════════════════════════════════════════
   MOTION II — die dynamische Schicht
   Alles hier ist GPU-only (transform/opacity/filter), wird von
   js/main.js gefüttert und fällt unter `prefers-reduced-motion`
   sowie unter `.motion-failsafe` vollständig in den Ruhezustand.
   Reihenfolge im File ist Absicht: der Reduced-Motion-Block ganz
   am Ende überschreibt alles darüber.
   ══════════════════════════════════════════════════════════ */

/* ── Lesefortschritt — Haarlinie über der gesamten Seite ── */

.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 2400;
    pointer-events: none;
}

.read-progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--navy) 0%, var(--sidebar) 55%, var(--accent) 100%);
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
}

/* Der Kopf des Balkens glüht leicht — nur sichtbar, solange gescrollt wird. */
.read-progress i::after {
    content: "";
    position: absolute;
    top: -3px;
    bottom: -3px;
    right: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(154, 160, 170, 0.55));
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.is-scrolling .read-progress i::after {
    opacity: 1;
}

/* ── Zeiger-Halo — der native Cursor bleibt, ein weicher Ring
      läuft ihm nach und antwortet auf Interaktives ───────── */

.cursor-halo {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 1px solid rgba(11, 26, 58, 0.28);
    z-index: 5900;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(0.6);
    transition:
        opacity 0.35s ease,
        width 0.3s var(--ease-out),
        height 0.3s var(--ease-out),
        margin 0.3s var(--ease-out),
        border-color 0.3s ease,
        background-color 0.3s ease;
    will-change: transform;
}

.cursor-halo.awake {
    opacity: 1;
}

/* Über dunklem Grund kippt der Ring auf helle Kontur. */
.cursor-halo.on-dark {
    border-color: rgba(255, 255, 255, 0.42);
}

/* Über Interaktivem wächst er und füllt sich zart. */
.cursor-halo.on-target {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    background: rgba(11, 26, 58, 0.06);
    border-color: rgba(11, 26, 58, 0.42);
}

.cursor-halo.on-target.on-dark {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Beim Drücken zieht er sich zusammen. */
.cursor-halo.pressed {
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
}

/* ── Magnetische Aktionen — [data-magnetic] zieht zum Zeiger ── */

[data-magnetic] {
    transition: transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1);
}

[data-magnetic].magnet-live {
    transition: transform 0.12s linear;
}

/* ── Scroll-Dynamik — Geschwindigkeit als Design-Material ──
      js/main.js schreibt --scroll-pull (px) auf :root; markierte
      Elemente laufen dem Scroll damit ein Stück nach.

      Bewusst nur eine Verschiebung, keine Scherung: ein gekipptes
      Element liest sich auf einer Kanzlei-Seite als Rendering-Fehler,
      nicht als Gestaltung — und trifft beim Sprung ans Seitenende
      sofort den Anschlag. ───────────────────────────────────────── */

:root {
    --scroll-pull: 0px;
}

[data-velocity] {
    transform: translate3d(0, var(--scroll-pull), 0);
    will-change: transform;
}

/* ── Spotlight — ein Lichtkegel folgt dem Zeiger über Karten ── */

/* Der Kegel liegt auf -1 und damit unter jedem Inhalt der Karte —
   `isolation` auf dem Träger verhindert, dass er dabei hinter die
   Karte selbst rutscht. So bleibt jedes Kind unangetastet: absolut
   positionierte Pfeile und Icons behalten ihre Geometrie. */
.spot {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: radial-gradient(
        280px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(11, 26, 58, 0.06),
        transparent 68%
    );
    z-index: -1;
}

.spot.dark {
    background: radial-gradient(
        320px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(255, 255, 255, 0.09),
        transparent 68%
    );
}

[data-spotlight].has-spot {
    position: relative;
    isolation: isolate;
}

[data-spotlight]:hover > .spot {
    opacity: 1;
}

/* ── Buchstaben-Reveal — Display-Zeilen bauen sich Zeichen
      für Zeichen auf (feiner als der Wort-Reveal) ────────── */

[data-chars] .char {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 0.42em, 0) rotate(3deg);
    filter: blur(5px);
    transition:
        opacity 0.6s var(--ease-out),
        transform 0.7s var(--ease-out),
        filter 0.6s var(--ease-out);
}

[data-chars].chars-shown .char {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ── Ziffern-Walze — Zähler rollen ihre Stellen ein ─────── */

.odo {
    display: inline-flex;
    overflow: hidden;
    line-height: 1;
    vertical-align: baseline;
}

.odo-digit {
    display: inline-block;
    transform: translate3d(0, 0.9em, 0);
    opacity: 0;
    transition:
        transform 0.6s cubic-bezier(0.22, 1.15, 0.36, 1),
        opacity 0.4s ease;
}

.odo.odo-in .odo-digit {
    transform: none;
    opacity: 1;
}

/* ── Buttons — Streiflicht wandert beim Hover durch ─────── */

.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
    transform: translate3d(-130%, 0, 0);
    transition: transform 0.8s var(--ease-out);
    pointer-events: none;
}

/* Der helle Primärbutton braucht ein dunkles Streiflicht. */
.btn-primary::after {
    background: linear-gradient(105deg, transparent 38%, rgba(11, 26, 58, 0.12) 50%, transparent 62%);
}

.btn:hover::after {
    transform: translate3d(130%, 0, 0);
}

/* ── Rollende Links — der Text tauscht sich beim Hover aus ── */

.roll {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.roll-face {
    display: block;
    transition: transform 0.42s var(--ease-out);
}

.roll-ghost {
    position: absolute;
    inset: 0;
    display: block;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.42s var(--ease-out);
}

a:hover > .roll > .roll-face,
a:focus-visible > .roll > .roll-face {
    transform: translate3d(0, -100%, 0);
}

a:hover > .roll > .roll-ghost,
a:focus-visible > .roll > .roll-ghost {
    transform: translate3d(0, 0, 0);
}

/* ── Schwebende Lichthöfe auf dunklen Flächen ───────────── */

/* Die Felder liegen auf -1: über der Sektionsfläche, unter jedem
   Inhalt. Damit sie dabei nicht hinter die Sektion selbst rutschen,
   markiert js/main.js den Träger mit .has-ambient — erst dieses
   `isolation` macht ihn zum Stacking-Kontext. */
.has-ambient {
    isolation: isolate;
}

.orb-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.32;
    will-change: transform;
    animation: orbDrift 26s ease-in-out infinite alternate;
}

.orb-a {
    width: 42vw;
    height: 42vw;
    max-width: 560px;
    max-height: 560px;
    left: -8%;
    top: -12%;
    background: radial-gradient(circle, rgba(154, 160, 170, 0.55), transparent 68%);
}

.orb-b {
    width: 34vw;
    height: 34vw;
    max-width: 460px;
    max-height: 460px;
    right: -6%;
    bottom: -14%;
    background: radial-gradient(circle, rgba(198, 186, 148, 0.32), transparent 68%);
    animation-duration: 34s;
    animation-delay: -9s;
}

.orb-c {
    width: 26vw;
    height: 26vw;
    max-width: 360px;
    max-height: 360px;
    left: 42%;
    top: 30%;
    background: radial-gradient(circle, rgba(18, 37, 72, 0.85), transparent 70%);
    animation-duration: 30s;
    animation-delay: -17s;
}

@keyframes orbDrift {
    from {
        transform: translate3d(-6%, -4%, 0) scale(0.92);
    }
    to {
        transform: translate3d(8%, 6%, 0) scale(1.12);
    }
}

/* ── Staubkörner im Hero — minimale Bewegung, viel Tiefe ── */

.mote-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.mote {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0;
    animation: moteFloat linear infinite;
}

@keyframes moteFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
    12% {
        opacity: 0.75;
    }
    88% {
        opacity: 0.55;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--mote-dx, 20px), -140px, 0);
    }
}

/* ── Scroll-Hinweis — verschwindet, sobald gescrollt wird ──
   `fixed` statt `absolute`: die Hero-Sektion ist höher als der
   Viewport, am Sektionsende läge der Hinweis unter der Falte.
   `.hero` bildet keinen Containing Block für fixed (isolation
   und overflow tun das nicht), der Hinweis bleibt also frei. */

.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
    opacity: 0;
    animation: hintIn 0.8s var(--ease-out) 1.5s forwards;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

body.scrolled-past .scroll-hint {
    opacity: 0 !important;
}

.scroll-hint-label {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.scroll-hint-rail {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.16);
    position: relative;
    overflow: hidden;
}

.scroll-hint-rail::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 16px;
    background: linear-gradient(180deg, transparent, rgba(198, 186, 148, 0.8));
    animation: hintRun 2.1s var(--ease-out) infinite;
}

@keyframes hintIn {
    to {
        opacity: 1;
    }
}

@keyframes hintRun {
    0% {
        transform: translate3d(0, -100%, 0);
    }
    60%,
    100% {
        transform: translate3d(0, 280%, 0);
    }
}

/* ── Seitenwechsel — der Vorhang zieht zu, bevor navigiert wird ── */

.page-veil {
    position: fixed;
    inset: 0;
    z-index: 5400;
    background: var(--navy);
    transform: translate3d(0, 100%, 0);
    pointer-events: none;
    visibility: hidden;
}

.page-veil.closing {
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition: transform 0.52s var(--ease-out);
}

/* ── Lebende Mockups — das Produkt atmet ────────────────── */

/* Caret in der Schnellsuche. */
.mock-search::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 11px;
    margin-left: 5px;
    vertical-align: -1px;
    background: currentColor;
    opacity: 0;
    animation: caretBlink 1.15s steps(1) infinite;
}

@keyframes caretBlink {
    0%,
    45% {
        opacity: 0.75;
    }
    46%,
    100% {
        opacity: 0;
    }
}

/* Ein Lichtstreif wandert einmal pro Runde durch die Zeilenliste. */
.mock-row {
    position: relative;
}

.mock-row.mock-row-scan::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(154, 160, 170, 0.16), transparent);
    animation: rowScan 0.9s var(--ease-out);
}

@keyframes rowScan {
    from {
        transform: translate3d(-100%, 0, 0);
    }
    to {
        transform: translate3d(100%, 0, 0);
    }
}

/* Die Glocke schlägt an, wenn im Mockup etwas eintrifft. */
.mock-bell.ringing {
    animation: bellRing 0.7s var(--ease-out);
    transform-origin: 50% 15%;
}

@keyframes bellRing {
    0%,
    100% {
        transform: rotate(0);
    }
    20% {
        transform: rotate(13deg);
    }
    45% {
        transform: rotate(-9deg);
    }
    70% {
        transform: rotate(5deg);
    }
}

/* Stat-Werte springen kurz, wenn sie sich ändern. */
.mock-stat-value.bumped {
    animation: statBump 0.55s var(--ease-out);
}

@keyframes statBump {
    0% {
        transform: translate3d(0, 0, 0);
    }
    35% {
        transform: translate3d(0, -4px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* ── Ränder, die beim Reveal nachziehen ─────────────────── */

[data-draw-line] {
    position: relative;
}

[data-draw-line]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1s var(--ease-out) 0.15s;
}

[data-draw-line].line-drawn::before {
    transform: scaleX(1);
}

/* Die Linie braucht Luft nach unten, wo sie über offenem Text sitzt … */
.why-head[data-draw-line] {
    padding-top: clamp(24px, 3vw, 34px);
}

/* … und einen Beschnitt, wo sie auf einer gerundeten Karte aufliegt. */
.steps-card[data-draw-line] {
    overflow: hidden;
}

/* ── Sektions-Nummern, die mit dem Scroll driften ───────── */

.section-figure {
    position: absolute;
    right: clamp(-10px, 2vw, 40px);
    top: clamp(20px, 5vw, 60px);
    font-family: var(--display);
    font-size: clamp(6rem, 16vw, 15rem);
    line-height: 0.8;
    color: rgba(11, 26, 58, 0.038);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    will-change: transform;
}

.section-figure.light {
    color: rgba(255, 255, 255, 0.05);
}

/* Ab der Breite, auf der die Kapitel-Leiste rechts einblendet,
   rückt die Ziffer nach innen. */
@media (min-width: 1200px) {
    .section-figure {
        right: clamp(44px, 5.5vw, 96px);
    }
}

/* ── Zurück-nach-oben — erscheint erst tief auf der Seite ── */

.to-top {
    position: fixed;
    right: clamp(16px, 2.4vw, 30px);
    bottom: clamp(16px, 2.4vw, 30px);
    z-index: 2300;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    color: var(--navy);
    box-shadow: 0 14px 34px -16px rgba(7, 21, 46, 0.5);
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.85);
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}

.to-top.shown {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.to-top:hover {
    background: var(--navy);
    color: #fff;
}

.to-top svg {
    width: 17px;
    height: 17px;
    transition: transform 0.3s var(--ease-out);
}

.to-top:hover svg {
    transform: translate3d(0, -2px, 0);
}

/* Ein Fortschrittsring läuft um den Knopf. */
.to-top-ring {
    position: absolute;
    inset: -1px;
    transform: rotate(-90deg);
}

.to-top-ring circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: var(--ring-len, 145);
    stroke-dashoffset: var(--ring-offset, 145);
    transition: stroke-dashoffset 0.15s linear;
}

@media (max-width: 760px) {
    .to-top {
        width: 42px;
        height: 42px;
    }
}

/* ── Sanftes Atmen für ruhende Marken-Elemente ──────────── */

.trust-diamond,
.footer-ch-cross {
    animation: breathe 4.5s ease-in-out infinite;
}

@keyframes breathe {
    0%,
    100% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(45deg) scale(1.22);
    }
}

.footer-ch-cross {
    display: inline-block;
    animation-name: breatheCross;
}

@keyframes breatheCross {
    0%,
    100% {
        transform: rotate(0) scale(1);
    }
    50% {
        transform: rotate(90deg) scale(1.1);
    }
}

/* ══════════════════════════════════════════════════════════
   MOTION III — die untere Seitenhälfte

   Ab dem Manifest trägt die Seite Argumente statt Produktbilder.
   Die Bewegung hier arbeitet deshalb nicht dekorativ, sondern
   führt: Sie hebt hervor, was gerade gelesen wird, zeichnet
   Abläufe nach und lässt Belege der Reihe nach aufsetzen.
   ══════════════════════════════════════════════════════════ */

/* ── Lesefokus — was auf der Leselinie steht, tritt hervor ──
   js/main.js markiert in jeder [data-focus]-Liste genau ein
   [data-focus-item] als .is-active. Die übrigen treten leicht
   zurück, statt zu verschwinden. */

[data-focus-item] {
    transition:
        opacity 0.5s ease,
        transform 0.55s var(--ease-out);
}

/* Gedimmt wird ausschliesslich über .is-muted, das js/main.js setzt —
   und erst, wenn die Zeile ihren Reveal hinter sich hat. Eine Regel
   auf den Listen-Zustand würde noch unaufgedeckte Zeilen auf halbe
   Deckkraft zwingen und ihren Einblendweg abschneiden. */
[data-focus-item].is-muted {
    opacity: 0.55;
}

/* Die Trennlinie der Zeile wird zum Fortschrittsbalken: darunter
   die ruhende Haarlinie, darüber der Akzent, der einzieht. */
.persona {
    position: relative;
    border-bottom: none;
}

.persona:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line);
}

.persona::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--navy), var(--accent) 70%, transparent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.85s var(--ease-out);
}

.persona.is-active::after {
    transform: scaleX(1);
}

/* Hover und Fokus schieben die Zeile an — die Parallax-Variablen
   werden mitgeführt, sonst überschreibt die Verschiebung sie und
   die Zeile bliebe beim Scrollen stehen. */
.persona:hover,
.persona.is-active {
    transform: translate3d(calc(var(--parallax-x, 0px) + 8px), var(--parallax-y, 0px), 0);
}

.persona.is-active .persona-icon {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.persona.is-active .persona-headline {
    color: var(--navy);
}

/* Die drei Rollen sind eine gesetzte Reihe — die Ziffer sagt das. */
.personas-list {
    counter-reset: persona;
}

.personas-list .persona {
    counter-increment: persona;
}

.personas-list .persona-role::before {
    content: counter(persona, decimal-leading-zero) " · ";
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* Die Belegpunkte setzen nacheinander auf. Ausgelöst wird das von
   `.points-in`, das gesetzt und nie wieder entfernt wird, sobald die
   Zeile im Bild steht — an `.is-active` gebunden könnten Punkte
   dauerhaft verborgen bleiben, wenn eine Zeile nie die Leselinie
   erreicht. */
.persona-points li {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition:
        opacity 0.45s ease,
        transform 0.45s var(--ease-out);
}

.persona.points-in .persona-points li {
    opacity: 1;
    transform: none;
}

.persona.points-in .persona-points li:nth-child(1) { transition-delay: 0.08s; }
.persona.points-in .persona-points li:nth-child(2) { transition-delay: 0.16s; }
.persona.points-in .persona-points li:nth-child(3) { transition-delay: 0.24s; }

/* ── Ablauf — der Impuls läuft die Linie entlang ──────────
   Die gefüllte Linie allein zeigt nur, wie weit gelesen wurde.
   Der Impuls an ihrer Spitze zeigt, dass etwas unterwegs ist. */

.process-pulse {
    position: absolute;
    top: 23px;
    left: 12.5%;
    width: 9px;
    height: 9px;
    margin: -4px 0 0 -4.5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(154, 160, 170, 0.16);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    will-change: transform;
}

.process.is-running .process-pulse {
    opacity: 1;
}

@media (max-width: 960px) {
    .process-pulse {
        display: none;
    }
}

/* Die Linie verläuft, statt flach zu liegen. */
.process-fill {
    background: linear-gradient(90deg, rgba(154, 160, 170, 0.35), var(--accent));
}

/* Titel und Text setzen nach der Ziffer auf. Noch nicht erreichte
   Schritte stehen gedämpft da statt leer: eine Spalte, in der nur
   ein Kreis hängt, liest sich als Ladefehler — und wer beim Scrollen
   genau dort anhält, sähe sonst nichts. */
.process-title,
.process-text {
    opacity: 0.32;
    transform: translate3d(0, 8px, 0);
    transition:
        opacity 0.5s ease,
        transform 0.6s var(--ease-out),
        color 0.45s ease;
}

.process-step.lit .process-title {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
}

.process-step.lit .process-text {
    opacity: 1;
    transform: none;
    transition-delay: 0.18s;
}

/* Ein Ring läuft einmal aus der frisch erreichten Ziffer heraus. */
.process-num {
    position: relative;
}

.process-num::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    pointer-events: none;
}

.process-step.lit .process-num::after {
    animation: numRing 1.1s var(--ease-out);
}

@keyframes numRing {
    0% {
        opacity: 0.75;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.85);
    }
}

/* ── Kennzahlen — jede Zahl bekommt ihre eigene Grundlinie ── */

.why-stats > div::after {
    content: "";
    position: absolute;
    left: clamp(14px, 2vw, 26px);
    right: clamp(14px, 2vw, 26px);
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.8s var(--ease-out);
}

.why-stats > div:first-child::after {
    left: 0;
}

.why-stats.revealed > div::after {
    transform: scaleX(1);
}

.why-stats.revealed > div:nth-child(1)::after { transition-delay: 0.34s; }
.why-stats.revealed > div:nth-child(2)::after { transition-delay: 0.44s; }
.why-stats.revealed > div:nth-child(3)::after { transition-delay: 0.54s; }
.why-stats.revealed > div:nth-child(4)::after { transition-delay: 0.64s; }

/* ── Vorteile — als Karten mit Aufsetz-Reaktion ─────────── */

.benefit {
    position: relative;
    padding: clamp(20px, 2.2vw, 26px);
    margin: calc(clamp(20px, 2.2vw, 26px) * -1);
    border-radius: 12px;
    border: 1px solid transparent;
    transition:
        transform 0.4s var(--ease-out),
        border-color 0.4s ease,
        background-color 0.4s ease,
        box-shadow 0.4s var(--ease-out);
}

.benefit:hover {
    transform: translate3d(0, -5px, 0);
    background: #fff;
    border-color: var(--line);
    box-shadow: 0 26px 52px -30px rgba(11, 26, 58, 0.34);
}

.benefit:hover .benefit-icon {
    color: var(--accent-strong);
}

.benefit-icon {
    transition: color 0.35s ease;
}

/* ── Linien-Icons zeichnen sich selbst ──────────────────────
   js/main.js misst jeden Pfad und setzt --icon-len; die Kontur
   läuft dann von hinten nach vorn ein. Ohne das Skript bleibt
   dash-array leer und das Icon steht sofort da. */

[data-draw-icon] svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
    stroke-dasharray: var(--icon-len);
    stroke-dashoffset: var(--icon-len);
    transition: stroke-dashoffset 1.1s var(--ease-out) var(--icon-delay, 0ms);
}

[data-draw-icon].icon-drawn svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
    stroke-dashoffset: 0;
}

/* ── FAQ — nummeriert, mit einziehender Fokuslinie ──────── */

.faq-list {
    counter-reset: faq;
}

.faq-item {
    counter-increment: faq;
    position: relative;
}

/* Die Ziffer sitzt absolut, nicht als drittes Flex-Kind: sonst
   schiebt `justify-content: space-between` die Frage in die Mitte. */
.faq-item summary {
    position: relative;
    padding-left: clamp(30px, 3.4vw, 44px);
}

.faq-item summary::before {
    content: counter(faq, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    transition: color 0.35s ease;
}

.faq-item[open] summary::before,
.faq-item summary:hover::before {
    color: var(--navy);
}

.faq-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--navy), var(--accent) 70%, transparent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.7s var(--ease-out);
    pointer-events: none;
}

.faq-item[open]::after {
    transform: scaleX(1);
}

.faq-item summary {
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    color: var(--navy);
}

/* ── Footer — die Spalten setzen nacheinander auf ───────── */

.footer-top {
    position: relative;
}

.footer-brand,
.footer-col {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 0.6s ease,
        transform 0.7s var(--ease-out);
}

.site-footer.footer-lit .footer-brand,
.site-footer.footer-lit .footer-col {
    opacity: 1;
    transform: none;
}

.site-footer.footer-lit .footer-brand { transition-delay: 0.05s; }
.site-footer.footer-lit .footer-col:nth-of-type(1) { transition-delay: 0.16s; }
.site-footer.footer-lit .footer-col:nth-of-type(2) { transition-delay: 0.24s; }
.site-footer.footer-lit .footer-col:nth-of-type(3) { transition-delay: 0.32s; }

.footer-bottom {
    position: relative;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    left: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 40px);
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.1s var(--ease-out) 0.4s;
}

.site-footer.footer-lit .footer-bottom::before {
    transform: scaleX(1);
}

/* ── Failsafe & Reduced Motion für die untere Hälfte ────── */

.motion-failsafe .footer-brand,
.motion-failsafe .footer-col,
.motion-failsafe .persona-points li,
.motion-failsafe .process-title,
.motion-failsafe .process-text {
    opacity: 1 !important;
    transform: none !important;
}

.motion-failsafe [data-draw-icon] svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    [data-focus-item],
    .persona-points li,
    .process-title,
    .process-text,
    .footer-brand,
    .footer-col {
        opacity: 1 !important;
        transform: none !important;
    }

    .persona:hover,
    .persona.is-active {
        transform: none;
    }

    .persona::after,
    .faq-item::after,
    .why-stats > div::after,
    .footer-bottom::before {
        transform: scaleX(1);
    }

    .process-pulse {
        display: none;
    }

    .process-step.lit .process-num::after {
        animation: none;
    }

    [data-draw-icon] svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
        stroke-dasharray: none !important;
        stroke-dashoffset: 0 !important;
    }
}

/* ── Nur für Screenreader ─────────────────────────────────
   Der Entschlüssel-Effekt tauscht sichtbare Zeichen aus; der
   echte Text bleibt daneben stehen, damit Vorlesesoftware nie
   Buchstabensalat hört. */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ── Entschlüsseln — Kapitel-Zeilen bauen sich aus Rauschen auf ── */

.scramble-glyphs {
    display: inline-block;
}

.scramble-glyphs.noise {
    color: var(--accent);
}

.kicker.light .scramble-glyphs.noise {
    color: rgba(255, 255, 255, 0.45);
}

/* ── Zierlinie über Abschnitten, die beim Reveal einläuft ── */

/* ── Failsafe & Reduced Motion für die neue Schicht ─────── */

.motion-failsafe .char,
.motion-failsafe .odo-digit,
.motion-failsafe .scramble-glyphs,
.motion-failsafe .roll-face {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

.motion-failsafe .cursor-halo,
.motion-failsafe .mote-field,
.motion-failsafe .page-veil,
.motion-failsafe .scroll-hint {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .cursor-halo,
    .mote-field,
    .page-veil,
    .scroll-hint,
    .orb-field {
        display: none !important;
    }

    .read-progress i::after {
        display: none;
    }

    [data-chars] .char,
    .odo-digit {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    [data-velocity] {
        transform: none !important;
    }

    [data-magnetic] {
        transform: none !important;
    }

    .btn::after,
    .mock-search::after,
    .mock-row.mock-row-scan::after {
        display: none;
    }

    .trust-diamond,
    .footer-ch-cross {
        animation: none;
    }

    .trust-diamond {
        transform: rotate(45deg);
    }

    [data-draw-line]::before {
        transform: scaleX(1);
    }
}
