/* ============================================================================
   vielrad — mobiler Fahrradservice · bespoke stylesheet
   Style: Organic Biophilic + warm editorial. Light mode. Forest green + cream
   + clay. Fraunces (display) + Figtree (body). Self-hosted fonts, no CDN.
   ========================================================================== */

@layer base, components, utilities;

/* ---------------------------------------------------------------- tokens -- */
:root {
    /* CMS-driven brand green (primaryColor → --primary-hsl from layout_head) */
    --forest-700: hsl(var(--primary-hsl, 147 27% 25%));
    --forest-900: #1E3527;
    --forest-800: #25402F;
    --forest-500: #46684E;
    --fern:       #6E8B6A;
    --sage-300:   #B9CBB1;
    --sage-200:   #D2DECB;
    --sage-100:   #E5EBDD;
    --clay:       #C26B3C;
    --clay-600:   #AE5C30;
    --clay-soft:  #E2A672;
    --cream:      #F6F3EC;
    --cream-deep: #EFEADF;
    --surface:    #FFFFFF;
    --surface-warm:#FCFAF4;
    --ink:        #23281F;
    --ink-soft:   #36402F;
    --muted:      #515A4B;
    --line:       #E2DDD0;
    --line-strong:#D5CFBE;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Figtree', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --container: 1200px;
    --container-wide: 1340px;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    --shadow-sm: 0 2px 8px -3px rgba(30,53,39,.18);
    --shadow: 0 18px 40px -24px rgba(30,53,39,.38);
    --shadow-lg: 0 40px 80px -40px rgba(30,53,39,.42);

    --ease: cubic-bezier(.22,.61,.36,1);
    --ease-out: cubic-bezier(.16,1,.3,1);

    --z-header: 100;
    --z-fab: 80;
    --z-consent: 9000;
    --z-cursor: 9999;
}

/* ---------------------------------------------------------------- base ---- */
@layer base {
    *, *::before, *::after { box-sizing: border-box; }
    * { margin: 0; }

    html {
        -webkit-text-size-adjust: 100%;
        scroll-behavior: smooth;
        scroll-padding-top: 88px;
    }
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
    }

    body {
        font-family: var(--font-body);
        font-size: clamp(1.02rem, 0.55vw + 0.9rem, 1.125rem);
        line-height: 1.65;
        color: var(--ink);
        background: var(--cream);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        overflow-x: hidden;
    }

    /* film-grain / paper texture overlay */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        opacity: .035;
        mix-blend-mode: multiply;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
    }

    img, picture, svg, video { display: block; max-width: 100%; height: auto; }
    /* subtle load placeholder for photos only — never behind transparent logos */
    .hero__img, .split__img, .split__media-2, .cargo-gallery img { background: var(--cream-deep); }

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

    h1, h2, h3, h4 {
        font-family: var(--font-display);
        font-weight: 600;
        line-height: 1.04;
        letter-spacing: -0.02em;
        color: var(--ink);
        text-wrap: balance;
    }

    button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
    input, textarea, select { font: inherit; color: inherit; }

    :focus-visible {
        outline: 3px solid var(--clay);
        outline-offset: 3px;
        border-radius: 4px;
    }

    ::selection { background: var(--forest-700); color: var(--cream); }
}

/* ------------------------------------------------------------ layout ----- */
@layer components {
    .container {
        width: 100%;
        max-width: var(--container);
        margin-inline: auto;
        padding-inline: clamp(1.15rem, 4vw, 2.5rem);
    }
    .container--wide { max-width: var(--container-wide); }

    .section {
        position: relative;
        z-index: 2;
        padding-block: clamp(4.5rem, 9vw, 8.5rem);
    }
    .section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

    .section--sage { background: var(--sage-100); }
    .section--warm { background: var(--surface-warm); }
    .section--forest {
        background: var(--forest-900);
        color: var(--cream);
    }
    .section--forest h1, .section--forest h2, .section--forest h3 { color: var(--cream); }

    .section__head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
    .section__head--center { margin-inline: auto; text-align: center; }

    /* eyebrow */
    .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--clay);
        margin-bottom: 1.1rem;
    }
    .eyebrow::before {
        content: "";
        width: 26px; height: 2px;
        background: currentColor;
        border-radius: 2px;
    }
    .section__head--center .eyebrow { justify-content: center; }
    .section--forest .eyebrow { color: var(--clay-soft); }

    /* headings */
    .h-xl { font-size: clamp(2.55rem, 6vw, 4.9rem); }
    .h-lg { font-size: clamp(2rem, 4.2vw, 3.3rem); }
    .h-md { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }

    .lead {
        font-size: clamp(1.12rem, 1vw + 0.9rem, 1.32rem);
        line-height: 1.6;
        color: var(--muted);
        max-width: 62ch;
    }
    .section--forest .lead { color: rgba(246,243,236,.82); }

    /* hand-drawn clay accent on emphasized words */
    .hl-accent {
        font-style: italic;
        font-weight: 600;
        color: var(--forest-700);
        position: relative;
        white-space: nowrap;
        padding-bottom: .06em;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 3 55 3 80 7 S 112 9 117 5' fill='none' stroke='%23C26B3C' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: 100% .42em;
    }
    .section--forest .hl-accent { color: var(--clay-soft); }
    .section--forest .hl-accent {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 3 55 3 80 7 S 112 9 117 5' fill='none' stroke='%23E2A672' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
    }

    /* ----------------------------------------------------------- buttons -- */
    .btn {
        --btn-bg: var(--forest-700);
        --btn-fg: var(--cream);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .55rem;
        padding: .92rem 1.6rem;
        border-radius: 999px;
        font-weight: 600;
        font-size: .98rem;
        letter-spacing: .005em;
        line-height: 1;
        background: var(--btn-bg);
        color: var(--btn-fg);
        border: 1.5px solid transparent;
        cursor: pointer;
        transition: transform .25s var(--ease-out), box-shadow .25s var(--ease), background-color .2s ease, color .2s ease;
        will-change: transform;
    }
    .btn svg { width: 19px; height: 19px; }
    .btn:hover { background: var(--forest-800); box-shadow: var(--shadow); transform: translateY(-2px); }
    .btn:active { transform: translateY(0); }

    .btn--secondary {
        --btn-bg: transparent;
        --btn-fg: var(--ink);
        border-color: var(--line-strong);
    }
    .btn--secondary:hover { background: var(--surface); border-color: var(--forest-700); color: var(--forest-700); }

    .btn--clay { --btn-bg: var(--clay); --btn-fg: #fff; }
    .btn--clay:hover { background: var(--clay-600); }

    .btn--light { --btn-bg: var(--cream); --btn-fg: var(--forest-900); }
    .btn--light:hover { background: #fff; }

    .btn--ghost-light {
        --btn-bg: transparent;
        --btn-fg: var(--cream);
        border-color: rgba(246,243,236,.32);
    }
    .btn--ghost-light:hover { background: rgba(246,243,236,.1); border-color: rgba(246,243,236,.6); }

    .btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
    .btn--block { width: 100%; }

    .btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

    .textlink {
        display: inline-flex; align-items: center; gap: .4rem;
        font-weight: 600; color: var(--forest-700);
        border-bottom: 2px solid transparent;
        transition: gap .2s var(--ease), border-color .2s ease;
    }
    .textlink svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
    .textlink:hover { border-color: var(--clay); }
    .textlink:hover svg { transform: translateX(4px); }
    .section--forest .textlink { color: var(--clay-soft); }

    /* chips */
    .chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
    .chip {
        display: inline-flex; align-items: center; gap: .45rem;
        padding: .5rem .9rem;
        border-radius: 999px;
        font-size: .85rem; font-weight: 500;
        background: var(--surface);
        border: 1px solid var(--line);
        color: var(--ink-soft);
        box-shadow: var(--shadow-sm);
    }
    .chip svg { width: 16px; height: 16px; color: var(--forest-700); }
    .section--forest .chip {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.14);
        color: var(--cream);
    }
    .section--forest .chip svg { color: var(--clay-soft); }

    /* ------------------------------------------------------------ header -- */
    .header {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: var(--z-header);
        transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
    }
    .header__inner {
        display: flex; align-items: center; justify-content: space-between;
        gap: 1.5rem;
        height: 76px;
    }
    .header.is-scrolled {
        background: rgba(246,243,236,.82);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        backdrop-filter: blur(16px) saturate(150%);
        box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(30,53,39,.4);
    }
    .header__logo { display: inline-flex; align-items: center; }
    .header__logo img { height: 42px; width: auto; }
    .header__nav { display: none; gap: 2rem; align-items: center; }
    .header__nav a {
        font-size: .96rem; font-weight: 500; color: var(--ink-soft);
        position: relative; padding: .25rem 0;
    }
    .header__nav a::after {
        content: ""; position: absolute; left: 0; bottom: -2px;
        width: 100%; height: 2px; background: var(--clay);
        transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
    }
    .header__nav a:hover { color: var(--ink); }
    .header__nav a:hover::after { transform: scaleX(1); }
    .header__actions { display: none; align-items: center; gap: 1rem; }
    .header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--forest-700); }
    .header__phone svg { width: 18px; height: 18px; }

    .header__burger {
        display: inline-flex; align-items: center; justify-content: center;
        width: 46px; height: 46px; border-radius: 12px;
        background: var(--surface); border: 1px solid var(--line);
        box-shadow: var(--shadow-sm);
    }
    .header__burger svg { width: 22px; height: 22px; }
    .header__burger .icon-close { display: none; }
    .header__burger[aria-expanded="true"] .icon-open { display: none; }
    .header__burger[aria-expanded="true"] .icon-close { display: block; }

    /* mobile menu */
    .mobile-menu {
        position: fixed;
        top: 76px; left: 0; right: 0; bottom: 0;
        z-index: 95;
        background: var(--cream);
        padding: 1.5rem clamp(1.15rem, 4vw, 2.5rem) 2.5rem;
        display: flex; flex-direction: column; gap: .25rem;
        overflow-y: auto;
        animation: menuIn .3s var(--ease-out);
    }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu a {
        font-family: var(--font-display);
        font-size: 1.7rem; font-weight: 500;
        padding: .85rem 0;
        border-bottom: 1px solid var(--line);
        display: flex; align-items: center; justify-content: space-between;
    }
    .mobile-menu .btn { margin-top: 1.5rem; }
    @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

    @media (min-width: 1000px) {
        .header__nav, .header__actions { display: flex; }
        .header__burger { display: none; }
    }

    /* -------------------------------------------------------------- hero -- */
    .hero {
        position: relative;
        padding-top: clamp(7rem, 13vw, 10rem);
        padding-bottom: clamp(4rem, 8vw, 7rem);
        overflow: hidden;
    }
    .hero__bg-blob {
        position: absolute; pointer-events: none; z-index: 0;
        top: -16%; right: -12%;
        width: min(58vw, 720px); aspect-ratio: 1;
        background: radial-gradient(circle at 50% 50%, var(--sage-200), transparent 68%);
        opacity: .7; filter: blur(8px);
    }
    .hero__grid {
        position: relative; z-index: 2;
        display: grid; gap: clamp(2.2rem, 5vw, 4rem);
        align-items: center;
    }
    @media (min-width: 940px) {
        .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
    }
    .hero__title {
        font-size: clamp(2.7rem, 6.4vw, 5.1rem);
        margin: .4rem 0 1.3rem;
    }
    .hero__sub { max-width: 50ch; margin-bottom: 1.9rem; }
    .hero__chips { margin-top: 2.2rem; }

    .hero__media { position: relative; }
    .hero__img {
        width: 100%;
        border-radius: var(--radius-xl);
        aspect-ratio: 4 / 5;
        object-fit: cover;
        box-shadow: var(--shadow-lg);
    }
    .hero__media-frame { position: relative; }
    .hero__media-frame::before {
        content: ""; position: absolute; inset: -14px -14px 24px 24px;
        border: 1.5px solid var(--sage-300); border-radius: var(--radius-xl);
        z-index: -1;
    }
    .hero__badge {
        position: absolute;
        left: -8px; bottom: 22px;
        background: var(--surface);
        border-radius: var(--radius);
        padding: 1rem 1.15rem;
        box-shadow: var(--shadow);
        max-width: 240px;
        display: flex; gap: .8rem; align-items: flex-start;
    }
    .hero__badge-ic {
        flex: none; width: 40px; height: 40px; border-radius: 12px;
        background: var(--sage-100); color: var(--forest-700);
        display: grid; place-items: center;
    }
    .hero__badge-ic svg { width: 22px; height: 22px; }
    .hero__badge strong { display: block; font-size: .92rem; color: var(--ink); }
    .hero__badge span { font-size: .8rem; color: var(--muted); line-height: 1.4; }

    .scroll-cue {
        display: inline-flex; align-items: center; gap: .5rem;
        margin-top: 2.4rem; font-size: .82rem; color: var(--muted);
        letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
    }
    .scroll-cue svg { width: 18px; height: 18px; animation: bob 1.8s var(--ease) infinite; }
    @keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(5px);} }

    /* --------------------------------------------------------- promise --- */
    .promise__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
    @media (min-width: 920px) { .promise__grid { grid-template-columns: 1fr 1fr; } }
    .promise__questions { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
    .promise__questions li {
        font-family: var(--font-display);
        font-size: clamp(1.3rem, 2.4vw, 1.85rem);
        font-weight: 500; line-height: 1.2;
        color: var(--ink-soft);
        padding-left: 1.7rem; position: relative;
    }
    .promise__questions li::before {
        content: ""; position: absolute; left: 0; top: .55em;
        width: 9px; height: 9px; border-radius: 999px; background: var(--clay);
    }
    .promise__answer {
        font-family: var(--font-display);
        font-size: clamp(2.1rem, 4.5vw, 3.4rem);
        line-height: 1.05; margin: 1.6rem 0 1.2rem;
    }
    .promise__highlights { display: grid; gap: 1rem; margin-top: 1.4rem; }
    .hl-card {
        display: flex; gap: 1rem; align-items: flex-start;
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); padding: 1.15rem 1.25rem;
        box-shadow: var(--shadow-sm);
    }
    .hl-card__ic {
        flex: none; width: 46px; height: 46px; border-radius: 14px;
        background: var(--sage-100); color: var(--forest-700);
        display: grid; place-items: center;
    }
    .hl-card__ic svg { width: 24px; height: 24px; }
    .hl-card strong { display: block; font-size: 1.02rem; margin-bottom: .15rem; }
    .hl-card p { font-size: .94rem; color: var(--muted); line-height: 1.5; }

    /* --------------------------------------------------------- services -- */
    .services__grid {
        display: grid; gap: 1.15rem;
        grid-template-columns: 1fr;
    }
    @media (min-width: 620px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 980px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
    .service-card {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        padding: 1.7rem 1.6rem 1.8rem;
        box-shadow: var(--shadow-sm);
        transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), border-color .3s ease;
        position: relative; overflow: hidden;
    }
    .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage-300); }
    .service-card__ic {
        width: 54px; height: 54px; border-radius: 16px;
        background: var(--sage-100); color: var(--forest-700);
        display: grid; place-items: center; margin-bottom: 1.15rem;
        transition: background-color .3s ease, color .3s ease;
    }
    .service-card__ic svg { width: 27px; height: 27px; }
    .service-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
    .service-card p { color: var(--muted); font-size: .98rem; }
    .service-card--featured { background: var(--forest-700); color: var(--cream); border-color: transparent; }
    .service-card--featured h3 { color: var(--cream); }
    .service-card--featured p { color: rgba(246,243,236,.82); }
    .service-card--featured .service-card__ic { background: rgba(255,255,255,.12); color: var(--clay-soft); }

    /* ---------------------------------------------------------- splitrow - */
    .split {
        display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
    }
    @media (min-width: 920px) {
        .split { grid-template-columns: 1fr 1fr; }
        .split--reverse .split__media { order: 2; }
    }
    .split__media { position: relative; }
    .split__img {
        width: 100%; border-radius: var(--radius-xl);
        aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg);
    }
    .split__img--tall { aspect-ratio: 4 / 5; }
    .split__media-2 {
        position: absolute; right: -10px; bottom: -28px;
        width: 44%; border-radius: var(--radius-lg);
        aspect-ratio: 1; object-fit: cover;
        border: 6px solid var(--cream);
        box-shadow: var(--shadow);
    }
    .punch {
        font-family: var(--font-display);
        font-size: clamp(1.4rem, 2.6vw, 2rem);
        color: var(--forest-700); font-weight: 600;
        margin: 1.4rem 0;
        padding-left: 1.1rem; border-left: 3px solid var(--clay);
    }
    .prose p + p { margin-top: 1rem; }
    .prose p { color: var(--muted); }

    /* feature list (cargo / business) */
    .feature-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
    .feature-row { display: flex; gap: 1rem; align-items: flex-start; }
    .feature-row__ic {
        flex: none; width: 46px; height: 46px; border-radius: 14px;
        background: var(--surface); border: 1px solid var(--line);
        color: var(--forest-700); display: grid; place-items: center;
    }
    .section--forest .feature-row__ic { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--clay-soft); }
    .feature-row__ic svg { width: 23px; height: 23px; }
    .feature-row strong { display: block; font-size: 1.05rem; margin-bottom: .15rem; }
    .feature-row p { font-size: .95rem; color: var(--muted); }
    .section--forest .feature-row p { color: rgba(246,243,236,.78); }

    /* ticks */
    .ticks { list-style: none; padding: 0; display: grid; gap: .7rem; }
    .ticks li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
    .ticks svg { flex: none; width: 22px; height: 22px; color: var(--forest-700); margin-top: .1em; }
    .section--forest .ticks svg { color: var(--clay-soft); }

    /* ---------------------------------------------------------- brands --- */
    .brands {
        display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem;
    }
    .brand-pill {
        padding: .6rem 1.15rem; border-radius: 999px;
        background: var(--surface); border: 1px solid var(--line);
        font-weight: 600; font-size: .96rem; color: var(--ink-soft);
        box-shadow: var(--shadow-sm);
        transition: transform .25s var(--ease-out), border-color .25s;
    }
    .brand-pill:hover { transform: translateY(-2px); border-color: var(--sage-300); }
    .brand-pill--lead { background: var(--forest-700); color: var(--cream); border-color: transparent; }

    .cargo-gallery {
        display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem);
        grid-template-columns: 1fr;
    }
    @media (min-width: 720px) { .cargo-gallery { grid-template-columns: repeat(3, 1fr); } }
    .cargo-gallery img {
        width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
        border-radius: var(--radius-lg); box-shadow: var(--shadow);
    }
    .cargo-gallery figure:nth-child(1) { grid-column: span 1; }
    @media (min-width: 720px) {
        .cargo-gallery figure:nth-child(1) img { aspect-ratio: 4 / 5; }
        .cargo-gallery figure:nth-child(1) { grid-row: span 2; }
        .cargo-gallery { grid-template-columns: 1.3fr 1fr; grid-auto-rows: 1fr; }
        .cargo-gallery figure:nth-child(2) img,
        .cargo-gallery figure:nth-child(3) img { aspect-ratio: 16 / 11; }
    }

    /* ------------------------------------------------------- two-models -- */
    .model-grid { display: grid; gap: 1.15rem; margin-top: 2rem; }
    @media (min-width: 760px) { .model-grid { grid-template-columns: 1fr 1fr; } }
    .model-card {
        background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
        border-radius: var(--radius-lg); padding: 1.7rem 1.6rem;
    }
    .model-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
    .model-card p { color: rgba(246,243,236,.82); font-size: .98rem; }
    .partner-row { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; align-items: center; margin-top: 1.6rem; }
    .partner-row .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(246,243,236,.6); }
    .partner-name { font-weight: 600; font-size: 1.05rem; color: var(--cream); }

    /* ----------------------------------------------------------- ebike --- */
    .ebike__card {
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius-xl); padding: clamp(1.8rem, 4vw, 3rem);
        box-shadow: var(--shadow); display: grid; gap: 2rem; align-items: center;
    }
    @media (min-width: 860px) { .ebike__card { grid-template-columns: 1fr 1fr; } }
    .ebike__items { display: grid; gap: .8rem; }

    /* ---------------------------------------------------------- prices --- */
    .price-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
    @media (min-width: 600px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
    .price-card {
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius-lg); padding: 1.7rem 1.5rem;
        box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
        transition: transform .3s var(--ease-out), box-shadow .3s var(--ease);
    }
    .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .price-card h3 { font-size: 1.18rem; margin-bottom: .9rem; }
    .price-card__amount {
        font-family: var(--font-display); font-weight: 600;
        font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--forest-700);
        line-height: 1; margin-bottom: .9rem;
    }
    .price-card p { font-size: .92rem; color: var(--muted); margin-top: auto; }
    .price-card--featured { background: var(--forest-700); color: var(--cream); border-color: transparent; box-shadow: var(--shadow); }
    .price-card--featured h3 { color: var(--cream); }
    .price-card--featured .price-card__amount { color: var(--clay-soft); }
    .price-card--featured p { color: rgba(246,243,236,.82); }
    .price-card__tag {
        align-self: flex-start; font-size: .72rem; font-weight: 600;
        text-transform: uppercase; letter-spacing: .1em;
        background: var(--clay); color: #fff; padding: .25rem .6rem;
        border-radius: 999px; margin-bottom: .9rem;
    }
    .price-notes { display: grid; gap: .9rem; margin-top: 1.6rem; }
    @media (min-width: 760px) { .price-notes { grid-template-columns: repeat(3, 1fr); } }
    .price-note {
        background: var(--sage-100); border-radius: var(--radius);
        padding: 1.1rem 1.25rem;
    }
    .price-note strong { display: block; color: var(--ink); margin-bottom: .25rem; font-size: .98rem; }
    .price-note span { font-size: .9rem; color: var(--muted); }

    /* --------------------------------------------------------- process --- */
    .steps { display: grid; gap: 1.1rem; counter-reset: step; }
    @media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
    .step {
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius-lg); padding: 1.6rem 1.5rem;
        box-shadow: var(--shadow-sm); position: relative;
    }
    .step__num {
        font-family: var(--font-display); font-weight: 600;
        font-size: 2rem; color: var(--sage-300); line-height: 1; margin-bottom: .9rem;
    }
    .step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
    .step p { color: var(--muted); font-size: .95rem; }

    /* ------------------------------------------------------------- faq ---- */
    .faq-list { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
    .faq-item {
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); overflow: hidden;
        transition: border-color .25s ease, box-shadow .25s ease;
    }
    .faq-item[open] { border-color: var(--sage-300); box-shadow: var(--shadow-sm); }
    .faq-item summary {
        list-style: none; cursor: pointer;
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: 1.25rem 1.4rem;
        font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; color: var(--ink);
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary .pm { flex: none; width: 26px; height: 26px; position: relative; }
    .faq-item summary .pm::before, .faq-item summary .pm::after {
        content: ""; position: absolute; background: var(--forest-700); border-radius: 2px;
        transition: transform .28s var(--ease), opacity .2s;
    }
    .faq-item summary .pm::before { top: 12px; left: 4px; width: 18px; height: 2.5px; }
    .faq-item summary .pm::after { left: 12px; top: 4px; width: 2.5px; height: 18px; }
    .faq-item[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
    .faq-item__body { padding: 0 1.4rem 1.35rem; color: var(--muted); line-height: 1.6; }

    /* ---------------------------------------------------------- contact -- */
    .contact__grid { display: grid; gap: clamp(2rem, 4vw, 3.2rem); align-items: start; }
    @media (min-width: 920px) { .contact__grid { grid-template-columns: 1.15fr 0.85fr; } }
    .contact-form {
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.4rem);
        box-shadow: var(--shadow);
    }
    .field { margin-bottom: 1.05rem; }
    .field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
    .field .req { color: var(--clay); }
    .field input, .field textarea {
        width: 100%; padding: .82rem .95rem;
        background: var(--surface-warm); border: 1.5px solid var(--line);
        border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease;
    }
    .field input:focus, .field textarea:focus {
        outline: none; border-color: var(--forest-700);
        box-shadow: 0 0 0 4px rgba(46,79,60,.12);
    }
    .field textarea { resize: vertical; min-height: 120px; }
    .field-row { display: grid; gap: 1.05rem; }
    @media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
    .field-error { color: var(--clay-600); font-size: .82rem; margin-top: .3rem; }

    .checkgroup { display: flex; flex-wrap: wrap; gap: .5rem; }
    .checkpill { position: relative; }
    .checkpill input { position: absolute; opacity: 0; pointer-events: none; }
    .checkpill label {
        display: inline-flex; align-items: center; gap: .4rem;
        padding: .5rem .85rem; border-radius: 999px; cursor: pointer;
        background: var(--surface-warm); border: 1.5px solid var(--line);
        font-size: .88rem; font-weight: 500; margin: 0;
        transition: all .2s ease;
    }
    .checkpill input:checked + label { background: var(--forest-700); color: var(--cream); border-color: var(--forest-700); }
    .checkpill input:focus-visible + label { outline: 3px solid var(--clay); outline-offset: 2px; }

    .consent-field { display: flex; gap: .6rem; align-items: flex-start; margin: .4rem 0 1.1rem; }
    .consent-field input { margin-top: .25rem; width: 18px; height: 18px; flex: none; accent-color: var(--forest-700); }
    .consent-field label { font-size: .85rem; color: var(--muted); font-weight: 400; line-height: 1.5; }
    .consent-field a { color: var(--forest-700); text-decoration: underline; text-underline-offset: 2px; }

    .form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; font-weight: 500; display: none; }
    .form-status.is-loading { display: block; background: var(--sage-100); color: var(--ink-soft); }
    .form-status.is-success { display: block; background: #E6F0E4; color: #2E4F3C; border: 1px solid #BcD6B8; }
    .form-status.is-error { display: block; background: #F7E7DD; color: var(--clay-600); border: 1px solid #E8C3A6; }
    .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

    /* contact aside */
    .contact-aside { display: grid; gap: 1rem; }
    .contact-card {
        background: var(--forest-700); color: var(--cream);
        border-radius: var(--radius-lg); padding: 1.7rem 1.6rem;
        box-shadow: var(--shadow);
    }
    .contact-card h3 { color: var(--cream); font-size: 1.3rem; margin-bottom: .4rem; }
    .contact-card p { color: rgba(246,243,236,.82); font-size: .95rem; margin-bottom: 1.2rem; }
    .contact-line {
        display: flex; align-items: center; gap: .8rem; padding: .7rem 0;
        border-top: 1px solid rgba(246,243,236,.16); font-weight: 500;
    }
    .contact-line:first-of-type { border-top: none; }
    .contact-line svg { width: 20px; height: 20px; flex: none; color: var(--clay-soft); }
    .contact-line span small { display: block; font-weight: 400; font-size: .8rem; color: rgba(246,243,236,.6); }
    .contact-promise {
        background: var(--sage-100); border-radius: var(--radius);
        padding: 1.1rem 1.25rem; display: flex; gap: .7rem; align-items: flex-start;
        font-size: .92rem; color: var(--ink-soft);
    }
    .contact-promise svg { width: 22px; height: 22px; color: var(--forest-700); flex: none; }

    /* ----------------------------------------------------------- footer -- */
    .footer { background: var(--forest-900); color: rgba(246,243,236,.75); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; position: relative; z-index: 2; }
    .footer__grid { display: grid; gap: 2.2rem; }
    @media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
    .footer__logo img { height: 48px; margin-bottom: 1.1rem; }
    .footer__tag { max-width: 42ch; line-height: 1.6; font-size: .95rem; }
    .footer h4 { color: var(--cream); font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-weight: 600; }
    .footer__links { list-style: none; padding: 0; display: grid; gap: .55rem; }
    .footer__links a { font-size: .96rem; transition: color .2s; }
    .footer__links a:hover { color: var(--clay-soft); }
    .footer__bottom {
        margin-top: 2.8rem; padding-top: 1.5rem;
        border-top: 1px solid rgba(246,243,236,.14);
        display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between;
        font-size: .85rem; color: rgba(246,243,236,.55);
    }
    .footer__bottom a:hover { color: var(--clay-soft); }
    .footer__legal { display: flex; gap: 1.2rem; }

    /* handlebar divider */
    .divider { display: flex; justify-content: center; padding: clamp(1.5rem,3vw,2.5rem) 0 0; position: relative; z-index: 2; }
    .divider svg { width: 120px; height: auto; color: var(--sage-300); }

    /* ----------------------------------------------------- WhatsApp FAB -- */
    .fab {
        position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: var(--z-fab);
        width: 58px; height: 58px; border-radius: 999px;
        background: #25D366; color: #fff;
        display: grid; place-items: center;
        box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
        transition: transform .25s var(--ease-out);
    }
    .fab:hover { transform: scale(1.06) translateY(-2px); }
    .fab svg { width: 30px; height: 30px; }
    @media (min-width: 640px) { .fab { width: 62px; height: 62px; } }

    /* --------------------------------------------- consent (glass card) -- */
    .consent-banner {
        position: fixed !important;
        left: 1.25rem; bottom: 1.25rem; right: auto; top: auto;
        max-width: 340px; z-index: var(--z-consent);
        display: flex; flex-direction: column; gap: .8rem;
        padding: 1.1rem 1.15rem 1.15rem;
        background: rgba(24,40,30,.84);
        -webkit-backdrop-filter: blur(26px) saturate(180%);
        backdrop-filter: blur(26px) saturate(180%);
        border: 1px solid rgba(246,243,236,.14);
        border-radius: 18px;
        box-shadow: 0 18px 50px rgba(0,0,0,.42), 0 2px 6px rgba(0,0,0,.18);
        transform: translateY(16px); opacity: 0;
        transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
    }
    .consent-banner.is-visible { transform: translateY(0); opacity: 1; }
    .consent-banner__text { font-size: .85rem; color: rgba(246,243,236,.82); line-height: 1.55; margin: 0; }
    .consent-banner__link { color: rgba(246,243,236,.95); text-decoration: underline; text-underline-offset: 2px; }
    .consent-banner__link:hover { color: var(--clay-soft); }
    .consent-banner__actions { display: flex; gap: .55rem; }
    .consent-banner__btn { flex: 1 1 0; padding: .58rem .9rem !important; font-size: .82rem !important; border-radius: 999px !important; }
    .consent-banner .btn--primary { background: var(--clay) !important; color: #fff !important; border: none !important; }
    .consent-banner .btn--primary:hover { background: var(--clay-600) !important; }
    .consent-banner .btn--ghost {
        background: transparent !important; color: rgba(246,243,236,.88) !important;
        border: 1px solid rgba(246,243,236,.24) !important;
    }
    .consent-banner .btn--ghost:hover { background: rgba(246,243,236,.08) !important; }
    @media (max-width: 480px) {
        .consent-banner { left: .85rem; right: .85rem; max-width: none; }
    }
}

/* ---------------------------------------------------------- reveal anim - */
@layer utilities {
    /* Bulletproof reveal: VISIBLE by default. JS adds .is-armed to hide right
       before animating; .is-in (also JS) plays the slide-up. If JS never runs
       or misfires, nothing is armed → content is simply visible. */
    .reveal { opacity: 1; }
    html.js .reveal.is-armed { opacity: 0; transform: translateY(26px); }
    .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
    .reveal-d1.is-in { transition-delay: .08s; }
    .reveal-d2.is-in { transition-delay: .16s; }
    .reveal-d3.is-in { transition-delay: .24s; }
    .reveal-d4.is-in { transition-delay: .32s; }

    .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

    @media (prefers-reduced-motion: reduce) {
        .reveal, .reveal.is-armed { opacity: 1 !important; transform: none !important; }
        .scroll-cue svg { animation: none; }
        *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    }
}

/* -------------------------------------------------------------- legal ---- */
@layer components {
    .legal { padding-top: clamp(7rem, 11vw, 9rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); position: relative; z-index: 2; }
    .legal__inner { max-width: 820px; }
    .legal h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 1.6rem; }
    .legal__section { margin-bottom: 2rem; }
    .legal__section h2 { font-size: 1.35rem; margin-bottom: .6rem; }
    .legal__section p, .legal__section li { color: var(--ink-soft); line-height: 1.65; }
    .legal__section p + p { margin-top: .8rem; }
    .legal__section ul { margin: .6rem 0 0 1.2rem; display: grid; gap: .35rem; }
    .legal__section a { color: var(--forest-700); text-decoration: underline; text-underline-offset: 2px; }
    .legal__stand { color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }
    .legal__back { display: inline-flex; font-weight: 600; color: var(--forest-700); margin-top: 1rem; }
    .legal__notice {
        background: #FBF1E6; border: 1px solid #E8C3A6; color: var(--clay-600);
        border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 2.2rem;
        font-size: .95rem; line-height: 1.6;
    }
    .legal__notice strong { color: var(--clay-600); }
    .legal__todo {
        display: inline-block; background: var(--sage-100); color: var(--ink-soft);
        border-radius: 6px; padding: 0 .35em; font-size: .92em; font-style: italic;
    }

    /* 404 */
    .notfound { display: grid; place-items: center; min-height: 70vh; text-align: center; padding-top: 6rem; position: relative; z-index: 2; }
    .notfound__code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 9rem); color: var(--sage-300); line-height: 1; }
    .notfound__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .4rem 0 .8rem; }
    .notfound__text { color: var(--muted); margin-bottom: 1.8rem; }
}
