/* ============================================================================
   VODORO AI — marketing site design system (ai.vodoro.net)
   Loaded only by vodoro/base.html. Dark, calm, content-first.

   The foundation (type scale, spacing, radii, header/footer anatomy, section
   rhythm, component names) mirrors website.css on purpose, so ai.vodoro.net
   and vodoro.net read as one company; only the colour tokens differ.
   Keep the two in step.

   Contents
     1. Font & tokens
     2. Base
     3. Layout & typography
     4. Buttons
     5. Header, navigation, language switch, mobile drawer
     6. Footer
     7. Heroes
     8. Components
     8b. Legal documents (Impressum, Privacy)
     8c. AI assistant widget
     9. Chrome: skip link, progress bar, back-to-top
    10. Motion
   ========================================================================== */

/* ── 1. Font & tokens ────────────────────────────────────────────────────── */
/* Self-hosted on purpose: loading Google Fonts from a German site sends the
   visitor's IP to Google, which German courts have ruled a GDPR violation. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-wght.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext-wght.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Brand */
    --color-blue: #39A9DB;
    --color-blue-bright: #63C4EE;
    --color-green: #419D78;
    --color-green-bright: #58C296;
    --color-dark-blue: #364958;
    --color-white: #ffffff;

    /* Surfaces — the site is dark end to end */
    --surface-0: #0A0E13;
    --surface-1: #0F151C;
    --surface-2: #141B23;
    --surface-3: #1B242E;

    /* Lines & text */
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);
    --text-strong: #F2F5F8;
    --text: #C2CCD5;
    --text-muted: #8C99A6;
    --text-faint: #5E6B77;

    /* Accents */
    --gradient-brand: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
    --tint-blue: rgba(57, 169, 219, 0.12);
    --tint-blue-line: rgba(57, 169, 219, 0.28);
    --tint-green: rgba(65, 157, 120, 0.14);

    /* ── Shared foundation (keep identical to website.css) ── */
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-main: var(--font-body);

    --fs-display: clamp(2.25rem, 1.55rem + 3vw, 3.6rem);
    --fs-h1: clamp(2rem, 1.5rem + 2.2vw, 3rem);
    --fs-h2: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem);
    --fs-h3: 1.2rem;
    --fs-lead: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
    --fs-body: 1.0625rem;
    --fs-small: 0.9rem;
    --fs-eyebrow: 0.8rem;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --section-y: clamp(3.75rem, 7vw, 6.5rem);

    --container: 1160px;
    --container-narrow: 760px;
    --gutter: 16px;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.85);
    --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.95);

    --header-h: 68px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
    :root {
        --gutter: 24px;
    }
}

/* ── 2. Base ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    background-color: var(--surface-0);
    scroll-behavior: smooth;
    /* Anchor targets must clear the fixed header. */
    scroll-padding-top: calc(var(--header-h) + 1.5rem);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    /* Reserve the scrollbar track so opening the assistant panel never
       shifts right-anchored fixed elements. */
    scrollbar-gutter: stable;
    scrollbar-color: var(--surface-3) var(--surface-0);
}

@supports (overflow: clip) {

    html,
    body {
        overflow-x: clip;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    background-color: var(--surface-0);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
}

body > main {
    flex: 1 0 auto;
    padding-top: var(--header-h);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--color-blue-bright);
}

/* Scroll lock while the mobile menu (or the full-screen assistant) is open. */
html.vd-nav-open,
html.vd-nav-open body {
    overflow: hidden;
}

::selection {
    background: rgba(57, 169, 219, 0.32);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--color-blue-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── 3. Layout & typography ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.content-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-body);
    color: var(--text-strong);
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 700;
    text-wrap: balance;
}

h3 {
    font-size: var(--fs-h3);
    letter-spacing: -0.01em;
}

p {
    text-wrap: pretty;
}

.section,
.section-dark {
    padding: var(--section-y) 0;
}

.section--alt {
    background: var(--surface-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section--tight-top {
    padding-top: 0;
}

.section-head {
    max-width: 680px;
    margin: 0 auto var(--space-7);
    text-align: center;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.section-head p:not(.eyebrow) {
    margin-top: var(--space-4);
    color: var(--text-muted);
    font-size: var(--fs-lead);
}

.section-title {
    font-size: var(--fs-h2);
}

.eyebrow,
.vd-label {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue-bright);
}

.lead {
    font-size: var(--fs-lead);
    color: var(--text-muted);
}

.muted {
    color: var(--text-muted);
}

.small {
    font-size: var(--fs-small);
}

.stack > * + * {
    margin-top: var(--space-4);
}

/* ── 4. Buttons ──────────────────────────────────────────────────────────── */
/* Primary is near-white on the dark page: the one thing that stands out.
   Brand colour stays in the details (labels, icons, links). */
.btn,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.7rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: var(--text-strong);
    color: var(--surface-0);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn-primary:hover {
    background: #fff;
    color: var(--surface-0);
}

.btn:active {
    transform: translateY(1px);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-secondary,
.btn-outline {
    background: transparent;
    color: var(--text-strong);
    border-color: var(--line-strong);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-lg {
    min-height: 52px;
    padding: 0.85rem 1.6rem;
    font-size: 1.05rem;
}

.btn-sm {
    min-height: 38px;
    padding: 0.5rem 1rem;
    font-size: 0.925rem;
}

.btn-block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--color-blue-bright);
    text-decoration: none;
}

.text-link::after {
    content: '→';
    transition: transform 0.2s var(--ease-out);
}

.text-link:hover::after {
    transform: translateX(3px);
}

.button-row,
.hero-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ── 5. Header ───────────────────────────────────────────────────────────── */
header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed mobile drawer. */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 14, 19, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    pointer-events: none;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    header::before {
        background: var(--surface-0);
    }
}

header.is-scrolled {
    border-bottom-color: var(--line);
}

nav.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    color: var(--text-strong);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.975rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.is-active {
    color: var(--text-strong);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.language-selector {
    position: relative;
}

.language-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.language-dropdown:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.language-dropdown svg {
    width: 16px;
    height: 16px;
}

.language-dropdown .chevron {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 170px;
    padding: 0.35rem;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 51;
}

.language-dropdown-content.show {
    display: block;
    animation: vdDropIn 0.18s var(--ease-out) both;
}

.language-dropdown-content form {
    margin: 0;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-strong);
}

.language-option.active {
    color: var(--color-blue-bright);
    font-weight: 600;
}

.language-option.active::after {
    content: '✓';
}

.mobile-menu-btn {
    display: none;
    position: relative;
    z-index: 52;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-btn span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-strong);
    transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.mobile-menu-btn span:nth-child(1) { top: 15px; }
.mobile-menu-btn span:nth-child(2) { top: 21px; }
.mobile-menu-btn span:nth-child(3) { top: 27px; }

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.55);
}

.mobile-overlay.show {
    display: block;
}

@media (max-width: 960px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 51;
        width: min(340px, 86vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-5);
        padding: calc(var(--header-h) + var(--space-4)) var(--space-5) var(--space-6);
        background: var(--surface-1);
        border-left: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s var(--ease-out), visibility 0.3s;
    }

    .nav-wrapper.show {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 0.25rem;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }

    .nav-links a:hover {
        background: none;
    }

    .nav-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .language-dropdown {
        width: 100%;
        justify-content: space-between;
    }

    .language-dropdown-content {
        position: static;
        margin-top: var(--space-2);
        box-shadow: none;
    }
}

/* ── 6. Footer ───────────────────────────────────────────────────────────── */
footer {
    background: var(--surface-1);
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    padding: var(--space-8) 0 var(--space-6);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (min-width: 960px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

.footer-brand .logo {
    margin-bottom: var(--space-3);
}

.footer-brand p {
    max-width: 320px;
}

.footer-col h2 {
    margin-bottom: var(--space-3);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-strong);
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.footer-col a,
.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
    color: var(--text-strong);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2) var(--space-5);
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
    font-size: var(--fs-small);
}

/* ── 7. Heroes ───────────────────────────────────────────────────────────── */
/* A quiet light source behind the headline; static, no animation. */
.hero,
.page-hero,
.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(760px 420px at 18% -10%, rgba(57, 169, 219, 0.16), transparent 70%),
        radial-gradient(640px 380px at 92% 10%, rgba(65, 157, 120, 0.12), transparent 70%),
        var(--surface-0);
    border-bottom: 1px solid var(--line);
}

.hero {
    padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero__inner {
    max-width: 820px;
}

.hero__title {
    font-size: var(--fs-display);
    line-height: 1.07;
    letter-spacing: -0.035em;
    margin-bottom: var(--space-5);
}

.hero__lead {
    max-width: 620px;
    margin-bottom: var(--space-6);
    font-size: var(--fs-lead);
    color: var(--text-muted);
}

.hero .hero-actions {
    justify-content: flex-start;
}

.page-hero,
.hero-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}

.hero-section--compact {
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-hero__title,
.hero-title {
    max-width: 820px;
    margin: 0 auto var(--space-4);
    font-size: var(--fs-h1);
    letter-spacing: -0.03em;
}

.page-hero__subtitle,
.hero-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: var(--fs-lead);
    color: var(--text-muted);
}

.page-hero .hero-actions {
    margin-top: var(--space-6);
}

/* Legacy hero decoration on the legal pages: no longer drawn. */
.hero-orb,
.hero-scroll-hint {
    display: none;
}

.hero-content {
    position: relative;
}

/* Verifiable facts under the hero, in place of marketing numbers. */
.fact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) var(--space-5);
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
    list-style: none;
    max-width: 900px;
}

@media (min-width: 760px) {
    .fact-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.fact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.fact-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-green-bright);
}

/* ── 8. Components ───────────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-5);
}

.card-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.card h3 {
    margin-bottom: var(--space-2);
}

.card > p {
    color: var(--text-muted);
}

.card .text-link,
.card .card__actions {
    margin-top: auto;
    padding-top: var(--space-5);
}

.card--link {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease-out);
}

.card--link:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-bottom: var(--space-4);
    border-radius: 12px;
    background: var(--tint-blue);
    border: 1px solid var(--tint-blue-line);
    color: var(--color-blue-bright);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon--green {
    background: var(--tint-green);
    border-color: rgba(88, 194, 150, 0.28);
    color: var(--color-green-bright);
}

/* Short list of concrete deliverables */
.check-list {
    display: grid;
    gap: 0.45rem;
    margin-top: var(--space-4);
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text);
    font-size: 0.975rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1rem;
    height: 1rem;
    background: var(--color-green-bright);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Icon + text rows */
.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6) var(--space-7);
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 720px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.feature .feature-icon {
    margin-bottom: 0;
}

.feature h3 {
    margin-bottom: var(--space-1);
}

.feature p {
    color: var(--text-muted);
}

/* Numbered process row */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: var(--space-5);
    list-style: none;
    counter-reset: process;
}

.process li {
    counter-increment: process;
    padding-top: var(--space-5);
    border-top: 1px solid var(--line-strong);
}

.process li::before {
    content: counter(process, decimal-leading-zero);
    display: block;
    margin-bottom: var(--space-3);
    color: var(--color-blue-bright);
    font-size: 0.9rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.process h3 {
    margin-bottom: var(--space-2);
}

.process p {
    color: var(--text-muted);
}

@media (min-width: 900px) {
    .process--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Key facts under the mission statement */
.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: var(--space-5);
    max-width: 860px;
    margin: var(--space-7) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
    text-align: center;
}

.facts dt {
    color: var(--text-muted);
    font-size: var(--fs-small);
}

.facts dd {
    margin: var(--space-1) 0 0;
    color: var(--text-strong);
    font-size: 1.25rem;
    font-weight: 600;
}

.facts a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--tint-blue-line);
}

.facts a:hover {
    border-bottom-color: var(--color-blue-bright);
}

/* Split layout: text beside a visual */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
    align-items: center;
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-8);
    }
}

.split .section-title {
    margin-bottom: var(--space-4);
}

.split .button-row {
    justify-content: flex-start;
    margin-top: var(--space-6);
}

/* Featured product panel */
.product-panel {
    padding: clamp(1.75rem, 5vw, 3.5rem);
    background:
        radial-gradient(520px 320px at 100% 100%, rgba(65, 157, 120, 0.16), transparent 70%),
        var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.product-panel .split {
    align-items: center;
}

.product-panel__visual {
    display: flex;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: var(--space-4);
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(88, 194, 150, 0.35);
    border-radius: var(--radius-pill);
    background: var(--tint-green);
    color: var(--color-green-bright);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Phone frame around real app screenshots */
.phone {
    position: relative;
    width: min(280px, 72vw);
    aspect-ratio: 390 / 844;
    padding: 9px;
    border-radius: 44px;
    background: #05080B;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.phone img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    object-fit: cover;
    object-position: top;
    background: var(--surface-2);
}

/* Closing call to action */
.cta-band {
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(57, 169, 219, 0.16), transparent 70%),
        radial-gradient(500px 300px at 95% 100%, rgba(65, 157, 120, 0.14), transparent 70%),
        var(--surface-1);
    text-align: center;
}

.cta-band h2 {
    margin-bottom: var(--space-3);
    font-size: var(--fs-h2);
}

.cta-band p {
    max-width: 560px;
    margin: 0 auto var(--space-6);
    color: var(--text-muted);
    font-size: var(--fs-lead);
}

/* Mission statement */
.statement {
    max-width: 860px;
    margin: 0 auto;
    color: var(--text-strong);
    font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.015em;
    text-align: center;
    text-wrap: balance;
}

/* Forms */
.form-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.form-card h2 {
    margin-bottom: var(--space-5);
    font-size: 1.35rem;
}

.form-group {
    margin-bottom: var(--space-5);
}

label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-strong);
    font-size: 0.95rem;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-0);
    color: var(--text-strong);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-faint);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(57, 169, 219, 0.2);
    outline: none;
}

.form-error {
    margin-top: 0.4rem;
    color: #FF9F9C;
    font-size: 0.875rem;
}

.form-error ul {
    list-style: none;
}

.form-messages {
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    list-style: none;
}

.form-messages__item {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-strong);
}

.form-messages--success {
    border-color: rgba(88, 194, 150, 0.4);
    background: var(--tint-green);
}

.form-messages--error {
    border-color: rgba(255, 120, 115, 0.4);
    background: rgba(255, 120, 115, 0.08);
}

/* Honeypot: off-screen, not display:none, so naive bots still fill it. */
.vd-hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.captcha-row img {
    display: block;
    height: 56px;
    width: auto;
    image-rendering: pixelated;
    margin-bottom: var(--space-2);
    border-radius: var(--radius-sm);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
}

@media (min-width: 860px) {
    .contact-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: var(--space-7);
    }
}

.contact-info {
    display: grid;
    gap: var(--space-5);
}

.contact-info h2 {
    font-size: 1.35rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.info-row__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--tint-blue-line);
    border-radius: var(--radius-sm);
    background: var(--tint-blue);
    color: var(--color-blue-bright);
}

.info-row__icon svg {
    width: 20px;
    height: 20px;
}

.info-row__label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.info-row__value {
    color: var(--text-strong);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.info-row__value a {
    color: var(--color-blue-bright);
    text-decoration: none;
}

.info-row__value a:hover {
    text-decoration: underline;
}

/* Dark scrollbar — a light scrollbar on a dark page is the most visible glitch. */
html {
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: var(--surface-0);
}

::-webkit-scrollbar-thumb {
    background: #2b3844;
    border: 3px solid var(--surface-0);
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: #3b4c5b;
}

/* ── 8b. Legal documents (Impressum, Privacy) ────────────────────────────── */

/* Legal pages get a shorter hero — the document is the point, not the header. */
.hero-section--compact {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    padding: 1.5rem 1.35rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.legal-toc h2 {
    margin: 0 0 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: legal-toc;
}

.legal-toc li {
    counter-increment: legal-toc;
    margin-bottom: 0.55rem;
}

.legal-toc li:last-child {
    margin-bottom: 0;
}

.legal-toc a {
    display: flex;
    gap: 0.6rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.legal-toc a::before {
    content: counter(legal-toc, decimal-leading-zero);
    flex: none;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--text-faint);
}

.legal-toc a:hover {
    color: var(--color-blue-bright);
}

.legal-toc a:hover::before {
    color: var(--color-blue-bright);
}

/* The document body itself. */
.legal-doc {
    max-width: 46rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}

.legal-doc>section {
    padding-top: 2.6rem;
    margin-top: 2.6rem;
    border-top: 1px solid var(--line);
}

.legal-doc>section:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.legal-doc h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.legal-doc h3 {
    margin: 2rem 0 0.6rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-strong);
}

.legal-doc p {
    margin: 0 0 1.1rem;
}

.legal-doc p:last-child,
.legal-doc ul:last-child {
    margin-bottom: 0;
}

.legal-doc ul {
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

.legal-doc ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
}

.legal-doc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-blue);
}

.legal-doc a {
    color: var(--color-blue-bright);
    text-decoration: none;
    border-bottom: 1px solid var(--tint-blue-line);
    transition: border-color 0.2s var(--ease-out);
}

.legal-doc a:hover {
    border-bottom-color: var(--color-blue-bright);
}

.legal-doc strong {
    color: var(--text-strong);
    font-weight: 600;
}

/* Address / key-value block inside a legal section. */
.legal-address {
    padding: 1.35rem 1.5rem;
    margin: 0 0 1.1rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--color-blue);
    border-radius: var(--radius-sm);
    line-height: 1.7;
}

.legal-address dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
    gap: 0.5rem 1.25rem;
}

.legal-address dt {
    color: var(--text-muted);
}

.legal-address dd {
    margin: 0;
    color: var(--text-strong);
}

/* "Last updated" line under the page title. */
.legal-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        order: -1;
    }
}

@media (max-width: 600px) {
    .legal-address {
        padding: 1.1rem 1.15rem;
    }

    .legal-address dl {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .legal-address dd {
        margin-bottom: 0.55rem;
    }
}

/* ── 8c. AI assistant widget ─────────────────────────────────────────────── */

/* Scoped to the panel, not :root -- these are this component's dimensions,
   not site tokens. */
.vd-assist-panel {
    --vd-assist-w: 380px;
    --vd-assist-h: min(560px, 70vh);
}

.vd-assist-launcher {
    position: fixed;
    right: 2.25rem;
    bottom: 1.5rem;
    z-index: 60;
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.vd-assist-launcher:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.vd-assist-launcher:focus-visible {
    outline: 2px solid var(--color-blue-bright);
    outline-offset: 3px;
}

.vd-assist-launcher__icon {
    width: 24px;
    height: 24px;
}

.vd-assist-launcher__icon--close { display: none; }
.vd-assist-launcher.is-open .vd-assist-launcher__icon--chat { display: none; }
.vd-assist-launcher.is-open .vd-assist-launcher__icon--close { display: block; }

/* The back-to-top button lives in the same corner. Lift it above the
   launcher whenever the assistant is on the page, or the two overlap. */
.vd-assist-launcher ~ .back-to-top,
body:has(.vd-assist-launcher) .back-to-top {
    bottom: calc(1.5rem + 56px + 0.75rem);
}

.vd-assist-panel {
    position: fixed;
    right: 2.25rem;
    bottom: calc(1.5rem + 56px + 0.75rem);
    z-index: 61;
    width: var(--vd-assist-w);
    max-width: calc(100vw - 3rem);
    height: var(--vd-assist-h);
    display: flex;
    flex-direction: column;
    background: var(--surface-1);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* The JS toggles the hidden attribute on the panel and on its body/forms
   (chat vs. callback form). Those elements set display: flex above, which
   beats the browser's [hidden] { display: none }, so restate it here or the
   panel can never be closed. */
.vd-assist-panel[hidden],
.vd-assist-panel [hidden] {
    display: none;
}

.vd-assist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.vd-assist-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--text-strong);
}

.vd-assist-header__actions {
    display: flex;
    gap: 0.25rem;
}

.vd-assist-iconbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.vd-assist-iconbtn:hover {
    background: var(--surface-3);
    color: var(--text);
}

.vd-assist-iconbtn:focus-visible {
    outline: 2px solid var(--color-blue-bright);
    outline-offset: 1px;
}

.vd-assist-iconbtn svg {
    width: 16px;
    height: 16px;
}

.vd-assist-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.vd-assist-log {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.vd-assist-bubble {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.55;
}

.vd-assist-bubble p {
    margin: 0 0 0.6rem;
}

.vd-assist-bubble p:last-child {
    margin-bottom: 0;
}

.vd-assist-bubble a {
    color: var(--color-blue-bright);
}

.vd-assist-bubble--assistant {
    align-self: flex-start;
    background: var(--surface-3);
    border: 1px solid var(--line);
    color: var(--text);
    border-bottom-left-radius: var(--radius-sm);
}

.vd-assist-bubble--user {
    align-self: flex-end;
    background: var(--gradient-brand);
    color: #fff;
    border-bottom-right-radius: var(--radius-sm);
}

.vd-assist-status {
    margin: 0;
    padding: 0 1rem 0.5rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    min-height: 1.1em;
}

/* Animated dots follow the status text only while a reply is in flight. */
.vd-assist-panel.is-busy .vd-assist-status::after {
    content: '';
    display: inline-block;
    width: 1.2em;
    text-align: left;
    animation: vd-assist-dots 1.2s steps(4, end) infinite;
}

@keyframes vd-assist-dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
}

.vd-assist-notice {
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-muted);
    border-top: 1px solid var(--line);
}

.vd-assist-notice a {
    color: var(--color-blue-bright);
}

.vd-assist-form {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    padding: 0.7rem 0.8rem 0.8rem;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}

.vd-assist-form textarea {
    flex: 1;
    min-height: 40px;
    max-height: 120px;
    margin: 0;
    padding: 0.6rem 0.7rem;
    resize: none;
    font-size: 0.88rem;
    line-height: 1.4;
}

.vd-assist-send,
.vd-assist-callback {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.vd-assist-callback {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-muted);
}

.vd-assist-callback:hover {
    color: var(--text);
    border-color: var(--line-strong);
}

.vd-assist-send {
    background: var(--gradient-brand);
    color: #fff;
}

.vd-assist-send svg,
.vd-assist-callback svg {
    width: 17px;
    height: 17px;
}

.vd-assist-form textarea:disabled {
    opacity: 0.6;
}

/* Callback form: replaces the log while open. */
.vd-assist-lead {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem;
}

.vd-assist-lead__title {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--text-strong);
}

.vd-assist-lead label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.vd-assist-lead input,
.vd-assist-lead textarea {
    width: 100%;
    margin-bottom: 0.8rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
}

.vd-assist-lead__error {
    margin: 0 0 0.7rem;
    font-size: 0.8rem;
    color: #ffb4b4;
}

.vd-assist-lead__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vd-assist-lead__cancel {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.83rem;
    cursor: pointer;
}

.vd-assist-lead__cancel:hover {
    color: var(--text);
}

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

/* ── 8d. Call booking (/book/) ───────────────────────────────────────────── */
/* The form is a Nextcloud page on cloud.vodoro.net in an iframe. It cannot
   report its height across origins, so the frame is tall enough for the
   calendar plus the form, and the page inside scrolls if it needs more.
   The frame is a .form-card; the page inside gets the same surface through
   the Appointments setting "Stil überschreiben" (vodoro-business README >
   Call booking), so form and site read as one card. */

.booking-frame {
    overflow: hidden;
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.booking-frame iframe {
    display: block;
    width: 100%;
    height: 880px;
    border: 0;
}

@media (min-width: 760px) {
    .booking-frame iframe {
        height: 760px;
    }
}

.booking-note {
    margin-top: var(--space-4);
    font-size: 0.95rem;
}

.contact-info .booking-cta {
    margin-top: var(--space-6);
}

/* ── 9. Chrome ───────────────────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -120px;
    z-index: 100;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--text-strong);
    color: var(--surface-0);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 70;
    background: var(--gradient-brand);
    transform: scaleX(var(--vd-progress, 0));
    transform-origin: 0 50%;
    pointer-events: none;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 55;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-strong);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

html.vd-nav-open .back-to-top {
    opacity: 0;
    visibility: hidden;
}

@media (min-width: 768px) {
    .back-to-top {
        right: 2.25rem;
        bottom: 1.5rem;
    }
}

/* ── 10. Motion ──────────────────────────────────────────────────────────── */
/* Hidden only when JS is running, so a failed script can never leave the
   page blank. vodoro.js feeds --reveal-delay to stagger grids. */
.vd-js .reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 0.6s var(--ease-out) var(--reveal-delay, 0ms),
        transform 0.6s var(--ease-out) var(--reveal-delay, 0ms);
}

.vd-js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes vdDropIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
    .hero-actions .btn,
    .cta-band .button-row .btn {
        flex: 1 1 100%;
    }
}

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

    .vd-js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

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

/* ── 8c responsive: assistant on small screens ───────────────────────────── */
@media (max-width: 640px) {
    .vd-assist-panel {
        right: 0;
        bottom: 0;
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
        height: 100dvh;
        border: none;
        border-radius: 0;
    }

    .vd-assist-launcher {
        right: 1rem;
        bottom: 1rem;
    }

    .vd-assist-bubble {
        max-width: 90%;
    }
}
