/* ============================================================================
   AIRVOICE — site.css
   Volledige makeover (TF-2026-0239 #805) — donker, high-tech, commercieel.
   Design system + alle secties van index.php.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    /* Basis (donker) */
    --ink:        #060a11;
    --ink-1:      #090f18;
    --ink-2:      #0d1520;
    --ink-3:      #111b29;
    --surface:    rgba(255, 255, 255, 0.026);
    --surface-2:  rgba(255, 255, 255, 0.045);
    --line:       rgba(255, 255, 255, 0.085);
    --line-soft:  rgba(255, 255, 255, 0.05);
    --line-hard:  rgba(255, 255, 255, 0.16);

    /* Tekst */
    --text:       #e9eff7;
    --text-soft:  #b6c4d4;
    --muted:      #8496a9;
    --dim:        #64768a;

    /* Merk */
    --teal:       #35d0c0;
    --cyan:       #45c8e6;
    --blue:       #4d8dff;
    --gold:       #f5a93f;
    --grad:       linear-gradient(120deg, #3ad6c4 0%, #45c8e6 45%, #5a8dff 100%);
    --grad-soft:  linear-gradient(120deg, rgba(58,214,196,.16), rgba(90,141,255,.16));

    /* Compat met chatbot.css / contact.css (bestaande componenten) */
    --primary-green: #35d0c0;
    --primary-blue:  #4d8dff;
    --dark-gray:     #0d1520;
    --white:         #ffffff;

    /* Vorm */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 22px;
    --r-xl: 28px;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, .75);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .85);

    --nav-h: 74px;
    --pad-y: clamp(4.5rem, 8vw, 7.5rem);
    --container: 1220px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--ink);
    color: var(--text);
    line-height: 1.65;
    font-size: 16.5px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

::selection { background: rgba(69, 200, 230, .3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #1d2b3d; border-radius: 8px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #2a3d55; }

/* ---------- 3. Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.15rem, 4vw, 2.25rem);
}

.section { padding: var(--pad-y) 0; position: relative; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

/* Zachte scheidingslijn tussen secties */
.rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    border: 0;
}

/* ---------- 4. Typografie ---------- */
h1, h2, h3, h4 {
    line-height: 1.1;
    letter-spacing: -0.028em;
    font-weight: 700;
    color: #fff;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.35rem); font-weight: 800; letter-spacing: -0.038em; }
h2 { font-size: clamp(2rem, 3.9vw, 3.15rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; }
h4 { font-size: 1.03rem; letter-spacing: -0.012em; }

p { color: var(--text-soft); }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .705rem;
    font-weight: 500;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--teal);
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal));
}
.eyebrow.center::after {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, var(--teal), transparent);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 1.1rem 0 1.1rem; }
.section-head .lead { font-size: clamp(1rem, 1.25vw, 1.115rem); color: var(--muted); max-width: 62ch; }
.section-head.center .lead { margin-inline: auto; }

.lead { font-size: 1.08rem; color: var(--muted); }
strong { color: #fff; font-weight: 600; }

/* ---------- 5. Knoppen ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .92rem 1.6rem;
    border-radius: 999px;
    font-size: .935rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform .25s cubic-bezier(.3,.8,.4,1), box-shadow .25s, background .25s, border-color .25s, color .25s;
    white-space: nowrap;
}
.btn svg { flex: 0 0 auto; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: var(--grad);
    color: #04141a;
    font-weight: 700;
    box-shadow: 0 12px 34px -12px rgba(69, 200, 230, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(69, 200, 230, .8); }

.btn-ghost {
    border: 1px solid var(--line-hard);
    color: var(--text);
    background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: rgba(69,200,230,.55); background: rgba(69,200,230,.07); transform: translateY(-2px); }

.btn-sm { padding: .62rem 1.15rem; font-size: .85rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--cyan);
}
.link-arrow svg { transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Navigatie ---------- */
#nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
#nav.scrolled {
    background: rgba(6, 10, 17, .82);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--line-soft);
}

.nav-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.15rem, 4vw, 2.25rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo img { height: 30px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-left: auto;
}
.nav-links a {
    display: block;
    padding: .5rem .82rem;
    font-size: .885rem;
    font-weight: 500;
    color: var(--text-soft);
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-links .nav-cta {
    margin-left: .6rem;
    padding: .6rem 1.25rem;
    border-radius: 999px;
    background: var(--grad);
    color: #04141a;
    font-weight: 700;
}
.nav-links .nav-cta:hover { background: var(--grad); color: #04141a; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 11px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 17px;
    height: 1.6px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + clamp(3.2rem, 7vw, 6rem)) 0 clamp(3.5rem, 6vw, 5.5rem);
    overflow: hidden;
    isolation: isolate;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: .85;
}
.hero-glow {
    position: absolute;
    z-index: -3;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.hero-glow-1 { width: 620px; height: 620px; top: -260px; left: -160px; background: radial-gradient(circle, rgba(53,208,192,.20), transparent 68%); }
.hero-glow-2 { width: 680px; height: 680px; top: -180px; right: -220px; background: radial-gradient(circle, rgba(77,141,255,.20), transparent 68%); }
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(ellipse 90% 65% at 50% 8%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 8%, #000 20%, transparent 78%);
    pointer-events: none;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: center;
}

.hero h1 { margin: 1.35rem 0 0; }
.hero h1 .l { display: block; }

.hero-sub {
    margin-top: 1.5rem;
    font-size: clamp(1.02rem, 1.35vw, 1.175rem);
    color: var(--text-soft);
    max-width: 55ch;
    line-height: 1.66;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero-airy-note { margin-top: 1.1rem; font-size: .85rem; color: var(--text-soft); }

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.5rem;
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line-soft);
}
.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .815rem;
    color: var(--muted);
    letter-spacing: -0.005em;
}
.hero-proof span::before {
    content: '';
    width: 15px; height: 9px;
    flex: 0 0 auto;
    background: var(--teal);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M1 6l5.5 6L23 1' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%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 14'%3E%3Cpath d='M1 6l5.5 6L23 1' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-visual-frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
}
.hero-visual-frame img { width: 100%; height: auto; }
.hero-visual-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6,10,17,.55));
    pointer-events: none;
}
.hero-visual-caption {
    position: absolute;
    left: 1.15rem;
    bottom: 1.05rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(6,10,17,.72);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 0 rgba(53,208,192,.6);
    animation: pulse 2.6s infinite;
    flex: 0 0 auto;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(53,208,192,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(53,208,192,0); }
    100% { box-shadow: 0 0 0 0 rgba(53,208,192,0); }
}

/* Badge boven h1 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .95rem .4rem .55rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    font-size: .775rem;
    color: var(--text-soft);
    letter-spacing: -0.005em;
}
.hero-badge b { color: #fff; font-weight: 600; }

/* ---------- 8. Bewijs-strip (live in productie) ---------- */
.proof-strip {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(255,255,255,.014), transparent);
    padding: 1.5rem 0;
}
.proof-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.proof-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: .655rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--dim);
    flex: 0 0 auto;
}
.proof-items { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .45rem; }
.proof-items a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.proof-items a:hover { color: #fff; border-color: rgba(69,200,230,.4); background: rgba(69,200,230,.06); transform: translateY(-1px); }
.proof-items a i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); opacity: .8; }

/* ---------- 9. Kaarten (generiek) ---------- */
.card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    padding: clamp(1.5rem, 2.4vw, 2rem);
    transition: border-color .3s, background .3s, transform .3s;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(69,200,230,.075), transparent 62%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.card:hover { border-color: rgba(255,255,255,.16); background: var(--surface-2); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.card-icon {
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--grad-soft);
    border: 1px solid rgba(69,200,230,.22);
    color: var(--cyan);
    margin-bottom: 1.15rem;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: .6rem; }
.card p { font-size: .935rem; line-height: 1.65; }

/* ---------- 10. Pijlers (wat we doen) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.pillar { display: flex; flex-direction: column; }
.pillar-idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    letter-spacing: .16em;
    color: var(--dim);
    margin-bottom: 1.1rem;
}
.pillar h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.pillar ul { margin-top: 1.15rem; display: grid; gap: .5rem; }
.pillar ul li {
    position: relative;
    padding-left: 1.35rem;
    font-size: .875rem;
    color: var(--muted);
}
.pillar ul li::before {
    content: '';
    position: absolute;
    left: 0; top: .52em;
    width: 11px; height: 7px;
    background: var(--teal);
    opacity: .75;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M1 6l5.5 6L23 1' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%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 14'%3E%3Cpath d='M1 6l5.5 6L23 1' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 11. Werkwijze ---------- */
.process-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative; }
.step {
    position: relative;
    padding: 1.7rem 1.4rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    transition: border-color .3s, background .3s, transform .3s;
}
.step:hover { border-color: rgba(69,200,230,.32); background: var(--surface-2); transform: translateY(-3px); }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(69,200,230,.28);
    background: rgba(69,200,230,.07);
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 1.05rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.step p { font-size: .885rem; line-height: 1.62; }
.step::after {
    content: '';
    position: absolute;
    top: 2.4rem;
    right: -1.1rem;
    width: 1.1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(69,200,230,.4), transparent);
}
.step:last-child::after { display: none; }

.honesty {
    margin-top: 1.6rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem 1.5rem;
    border: 1px dashed rgba(245,169,63,.32);
    border-radius: var(--r);
    background: rgba(245,169,63,.045);
}
.honesty-icon {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: rgba(245,169,63,.13);
    color: var(--gold);
}
.honesty p { font-size: .92rem; margin: 0; }
.honesty strong { color: #fff; }

/* ---------- 12. Diensten ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.1rem;
}
.svc { grid-column: span 2; display: flex; flex-direction: column; }
.svc.wide { grid-column: span 3; }
.svc-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .655rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: .75rem;
}
.svc h3 { margin-bottom: .55rem; }
.svc p { font-size: .91rem; flex: 1; }
.svc-list { margin-top: 1.05rem; display: flex; flex-wrap: wrap; gap: .38rem; }
.svc-list span {
    font-size: .755rem;
    padding: .28rem .6rem;
    border-radius: 6px;
    background: rgba(255,255,255,.045);
    border: 1px solid var(--line-soft);
    color: var(--muted);
}
.svc-cta {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .855rem;
    font-weight: 600;
    color: var(--cyan);
}
.svc-cta svg { transition: transform .25s; }
.svc:hover .svc-cta svg { transform: translateX(4px); }
a.svc { cursor: pointer; }

/* Featured dienst-kaart met accentrand */
.svc.feature { border-color: rgba(69,200,230,.26); background: linear-gradient(160deg, rgba(69,200,230,.055), rgba(255,255,255,.02)); }

/* ---------- 13. Showcase-secties met beeld ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: center;
}
.split.reverse .split-media { order: -1; }

.split-media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink-2);
    box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: auto; }
.split-media .zoom-hint {
    position: absolute;
    right: .9rem; bottom: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .75rem;
    border-radius: 999px;
    background: rgba(6,10,17,.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    font-size: .7rem;
    color: var(--text-soft);
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
}
.split-media:hover .zoom-hint { opacity: 1; }
.zoomable { cursor: zoom-in; }

.mini-facts { display: grid; gap: .9rem; margin-top: 1.9rem; }
.mini-fact {
    display: flex;
    gap: .95rem;
    align-items: flex-start;
}
.mini-fact-icon {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: var(--grad-soft);
    border: 1px solid rgba(69,200,230,.2);
    color: var(--cyan);
}
.mini-fact-icon svg { width: 17px; height: 17px; }
.mini-fact h4 { margin-bottom: .18rem; }
.mini-fact p { font-size: .875rem; margin: 0; }

/* Volle-breedte beeldsectie (filosofie) */
.fullshot {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    background: var(--ink-2);
}
.fullshot img { width: 100%; height: auto; }

/* ---------- 14. Statistieken ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.stat { background: var(--ink-1); padding: 1.75rem 1.4rem; text-align: center; }
.stat-num {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.stat-num sup { font-size: .5em; vertical-align: super; }
.stat-label { margin-top: .45rem; font-size: .795rem; color: var(--muted); line-height: 1.45; }

/* ---------- 15. Privacy / vertrouwen ---------- */
.trust-card {
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background:
        radial-gradient(700px circle at 12% 0%, rgba(53,208,192,.075), transparent 60%),
        radial-gradient(700px circle at 88% 100%, rgba(77,141,255,.075), transparent 60%),
        var(--ink-1);
    padding: clamp(1.9rem, 3.5vw, 3.2rem);
}
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.trust-pillars { display: grid; gap: 1rem; }
.trust-pillar {
    display: flex;
    gap: 1.05rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    background: rgba(255,255,255,.022);
    transition: border-color .3s, background .3s;
}
.trust-pillar:hover { border-color: rgba(69,200,230,.3); background: rgba(69,200,230,.045); }
.trust-pillar-icon {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(69,200,230,.09);
    color: var(--cyan);
}
.trust-pillar h4 { margin-bottom: .22rem; }
.trust-pillar p { font-size: .865rem; margin: 0; }

/* Tooltip (US Cloud Act) */
.tip {
    position: relative;
    border-bottom: 1px dotted var(--cyan);
    color: var(--cyan);
    cursor: help;
    outline: none;
}
.tip-pop {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%) translateY(6px);
    width: min(320px, 78vw);
    padding: .95rem 1.05rem;
    border-radius: 12px;
    background: #0b131e;
    border: 1px solid var(--line-hard);
    box-shadow: var(--shadow);
    font-size: .81rem;
    line-height: 1.55;
    color: var(--text-soft);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s, transform .22s, visibility .22s;
    z-index: 40;
    text-align: left;
    font-weight: 400;
}
.tip:hover .tip-pop, .tip:focus .tip-pop, .tip:focus-within .tip-pop {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* ---------- 16. API-platform strip ---------- */
.api-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, #0a1520, #0b1a2b 55%, #0a1420);
    padding: clamp(1.8rem, 3.2vw, 2.9rem);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(1.6rem, 3.5vw, 3rem);
    align-items: center;
}
.api-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(69,200,230,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69,200,230,.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse 70% 90% at 88% 50%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 88% 50%, #000, transparent 72%);
    pointer-events: none;
}
.api-card > * { position: relative; z-index: 1; }
.api-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #fff;
    margin: .9rem 0 .85rem;
}
.api-title span { color: var(--teal); }
.api-pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.api-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    font-size: .775rem;
    color: var(--text-soft);
}
.api-pill i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.api-pill em { font-style: normal; color: var(--dim); font-size: .95em; }
.api-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* ---------- 17. Eigen apps ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.app-tile {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    transition: border-color .3s, background .3s, transform .3s;
}
.app-tile:hover { border-color: rgba(255,255,255,.18); background: var(--surface-2); transform: translateY(-3px); }
.app-logo {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.055);
    border: 1px solid var(--line-soft);
    overflow: hidden;
}
.app-logo img { width: 30px; height: 30px; object-fit: contain; }
.app-body { min-width: 0; }
.app-body h3 { font-size: 1rem; margin-bottom: .12rem; display: flex; align-items: center; gap: .4rem; }
.app-body h3 svg { opacity: .45; transition: opacity .25s, transform .25s; }
.app-tile:hover h3 svg { opacity: 1; transform: translate(2px, -2px); }
.app-kind {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .5rem;
}
.app-body p { font-size: .845rem; line-height: 1.55; }

/* ---------- 18. Labs / creatief ---------- */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.duo-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    display: flex;
    flex-direction: column;
    transition: border-color .3s, background .3s;
}
.duo-card:hover { border-color: rgba(255,255,255,.16); background: var(--surface-2); }
.duo-card p { flex: 1; font-size: .93rem; }
.duo-card .btn { align-self: flex-start; margin-top: 1.4rem; }
.video-frame {
    margin-top: 1.4rem;
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.2rem, 2.5vw, 2rem);
    max-width: 1080px;
    margin: 0 auto;
}
.video-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1rem, 2vw, 1.4rem);
    transition: border-color .3s, background .3s;
}
.video-card:hover { border-color: rgba(255,255,255,.16); background: var(--surface-2); }
.video-card .video-frame { margin-top: 0; }
.video-card h4 {
    margin: 1.1rem 0 .35rem;
    font-size: 1.05rem;
    color: var(--text);
}
.video-card p {
    margin: 0;
    font-size: .93rem;
    color: var(--muted);
}
@media (max-width: 760px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ---------- 19. FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 880px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    overflow: hidden;
    transition: border-color .3s, background .3s;
}
.faq-item[open] { border-color: rgba(69,200,230,.3); background: rgba(69,200,230,.035); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: .985rem;
    color: #fff;
    letter-spacing: -0.012em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    margin-left: auto;
    flex: 0 0 auto;
    width: 12px; height: 12px;
    border-right: 1.8px solid var(--cyan);
    border-bottom: 1.8px solid var(--cyan);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .28s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-body { padding: 0 1.4rem 1.35rem; }
.faq-body p { font-size: .92rem; line-height: 1.68; }
.faq-body p + p { margin-top: .7rem; }

/* ---------- 20. Slot-CTA ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(69,200,230,.22);
    border-radius: var(--r-xl);
    background:
        radial-gradient(900px circle at 20% 0%, rgba(53,208,192,.14), transparent 62%),
        radial-gradient(900px circle at 80% 100%, rgba(77,141,255,.14), transparent 62%),
        var(--ink-1);
    padding: clamp(2.2rem, 4.5vw, 3.8rem);
    text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lead { max-width: 60ch; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-note { margin-top: 1.5rem; font-size: .81rem; color: var(--dim); }

/* ---------- 21. Citaat ---------- */
.quote-band { text-align: center; }
.quote-mark {
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: .5rem;
}
.quote-text {
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.02em;
    max-width: 60ch;
    margin: 0 auto;
    transition: opacity .3s;
}
.quote-reload {
    margin-top: 1.7rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: .82rem;
    color: var(--muted);
    transition: color .2s, border-color .2s, background .2s;
}
.quote-reload:hover { color: #fff; border-color: rgba(69,200,230,.4); background: rgba(69,200,230,.06); }

/* ---------- 22. Footer ---------- */
footer {
    border-top: 1px solid var(--line-soft);
    background: var(--ink-1);
    padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.8rem, 3.5vw, 3rem);
}
.footer-logo { height: 30px; width: auto; margin-bottom: 1.05rem; }
.footer-brand p { font-size: .88rem; max-width: 34ch; }
.footer-legal { margin-top: 1.35rem; font-size: .785rem; color: var(--dim); line-height: 1.7; }
.footer-col h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: .655rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--dim);
    font-weight: 500;
    margin-bottom: 1.05rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { font-size: .875rem; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
    margin-top: clamp(2.2rem, 4vw, 3.2rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    justify-content: space-between;
    font-size: .795rem;
    color: var(--dim);
}

/* ---------- 23. Lightbox ---------- */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(3, 6, 11, .93);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
#lightbox .lb-close {
    position: absolute;
    top: 1.2rem; right: 1.4rem;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-hard);
    background: rgba(255,255,255,.05);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
}

/* ---------- 24. Scroll-reveal ---------- */
/* Alleen verbergen als JavaScript draait: zonder JS (of bij een fout) blijft
   alle inhoud gewoon zichtbaar voor bezoekers en zoekmachines. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,.8,.3,1), transform .7s cubic-bezier(.22,.8,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 25. Responsief ---------- */
@media (max-width: 1080px) {
    .hero-grid-layout { grid-template-columns: 1fr; }
    .hero-visual { max-width: 620px; }
    .pillars { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2)::after { display: none; }
    .svc-grid { grid-template-columns: repeat(4, 1fr); }
    .svc, .svc.wide { grid-column: span 2; }
    .split, .trust-grid, .api-card { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .duo { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        padding: 1rem clamp(1.15rem, 4vw, 2.25rem) 1.6rem;
        background: rgba(6, 10, 17, .97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, transform .25s, visibility .25s;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: .8rem .6rem; font-size: .98rem; border-radius: 10px; }
    .nav-links .nav-cta { margin: .7rem 0 0; text-align: center; padding: .85rem 1rem; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .steps { grid-template-columns: 1fr; }
    .step::after { display: none; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc, .svc.wide { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
    .proof-inner { gap: .9rem; }
    .app-tile { padding: 1.05rem; }
}

/* ---------- 26. Overrides: bestaande chatbot + contactmodaal op donker ---------- */
#chatbot-widget { z-index: 900; }
#chatbot-window,
.chatbot-window {
    background: #0b131e !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-lg) !important;
}
.chatbot-messages { background: #080e17 !important; }
/* De globale regel `p { color: var(--text-soft) }` wint van de kleur op de
   ballon zelf, want die staat rechtstreeks op het p-element. De <p> in de
   ballonnen moet dus apart worden gezet, anders staat de bezoekerstekst in
   lichtgrijs op het lichte verloop (TF-2026-0239 #805). */
.chatbot-messages .message-content,
.chatbot-messages .message-content p,
.chatbot-messages .bot-message .message-content,
.chatbot-messages .bot-message .message-content p {
    background-color: transparent;
    color: var(--text) !important;
}
.chatbot-messages .bot-message .message-content {
    background: rgba(255,255,255,.055) !important;
}
.chatbot-messages .user-message .message-content,
.chatbot-messages .user-message .message-content p {
    color: #04141a !important;
}
.chatbot-messages .user-message .message-content {
    background: var(--grad) !important;
}
/* Invoerbalk: chatbot.css noemt dit .chatbot-input-area (niet -container),
   die stond daardoor nog wit terwijl de getypte tekst licht is. */
.chatbot-input-area,
.chatbot-input-container,
.chatbot-input {
    background: #0b131e !important;
    border-top-color: var(--line) !important;
    border-color: var(--line) !important;
}
#chatbot-input {
    background: rgba(255,255,255,.05) !important;
    color: var(--text) !important;
    border-color: var(--line) !important;
}
#chatbot-input::placeholder { color: var(--dim) !important; }
#chatbot-input:focus {
    border-color: var(--teal) !important;
    box-shadow: 0 0 0 3px rgba(53,208,192,.16) !important;
}

/* Tekstballon "Heb je een vraag?" naast de chatknop */
.chatbot-notification {
    background: #0b131e !important;
    border-color: var(--line-hard) !important;
}
.chatbot-notification::after { border-top-color: #0b131e !important; }
.chatbot-notification span { color: var(--text-soft) !important; }

/* Knoppen onder de contactvraag: "Nee, dank je" stond in bijna-zwart op donker */
.contact-no-btn {
    color: var(--text-soft) !important;
    border-color: var(--line-hard) !important;
}
.contact-no-btn:hover { background: rgba(255,255,255,.06) !important; color: #fff !important; }

.chatbot-messages::-webkit-scrollbar-track { background: rgba(255,255,255,.04) !important; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14) !important; }
.chatbot-messages::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.24) !important; }

.contact-modal-container {
    background: #0b131e !important;
    border: 1px solid var(--line) !important;
    color: var(--text) !important;
}
.contact-modal-header { border-bottom-color: var(--line) !important; }
.contact-modal-header h2 { color: #fff !important; }
.contact-modal-header p { color: var(--muted) !important; }
.contact-modal-close { color: var(--muted) !important; }
.contact-modal-close:hover { color: #fff !important; }
.contact-form-group label { color: var(--text-soft) !important; }
.contact-form-input, .contact-form-textarea {
    background: rgba(255,255,255,.045) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
.contact-form-input::placeholder, .contact-form-textarea::placeholder { color: var(--dim) !important; }
.contact-form-input:focus, .contact-form-textarea:focus {
    border-color: var(--cyan) !important;
    background: rgba(255,255,255,.06) !important;
}
.contact-privacy-group, .contact-privacy-group label { color: var(--muted) !important; }
.contact-submit-button { background: var(--grad) !important; color: #04141a !important; }
.contact-success-message h3 { color: #fff !important; }
.contact-success-message p { color: var(--muted) !important; }

/* ---------- 27. Records-tegels ---------- */
.yt-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .9rem; }
.yt-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: rgba(255,255,255,.025);
    transition: border-color .25s, transform .25s;
}
.yt-card:hover { border-color: rgba(69,200,230,.4); transform: translateY(-2px); }
.yt-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.yt-card span {
    display: block;
    padding: .5rem .6rem .6rem;
    font-size: .72rem;
    line-height: 1.35;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 28. Correcties op combinaties ---------- */
.trust-grid .stats { grid-template-columns: repeat(2, 1fr); }
.trust-grid .stat { padding: 1.35rem 1rem; }

@media (max-width: 620px) {
    .trust-grid .stats { grid-template-columns: repeat(2, 1fr); }
    .yt-thumbs { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
    .yt-card span { font-size: .66rem; }
}

/* ---------- 29. Fijnafstelling na visuele controle (TF-2026-0239 #805) ---------- */
/* Hero-titel: nooit een woord dat alleen valt of buiten beeld loopt */
.hero h1 { font-size: clamp(2.15rem, 4.2vw, 3.55rem); }
@media (min-width: 700px) {
    .hero h1 .l { white-space: nowrap; }
}

/* Workshopthema's in de Labs-kaart, zodat beide kaarten in balans zijn */
.topic-list { margin-top: 1.3rem; display: grid; gap: .6rem; }
.topic {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .7rem .9rem;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: rgba(255,255,255,.022);
    font-size: .855rem;
    color: var(--text-soft);
    transition: border-color .25s, background .25s;
}
.topic:hover { border-color: rgba(69,200,230,.28); background: rgba(69,200,230,.04); }
.topic b { color: #fff; font-weight: 600; }
.topic-num {
    flex: 0 0 auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    color: var(--teal);
    padding-top: .18rem;
}

/* Videotegels zonder losse titel: het thumbnail spreekt voor zich */
.yt-card span { display: none; }

/* Uitleg-popup als onderin verankerde melding op smalle schermen: voorkomt
   dat de (verborgen) tekstballon het document breder maakt dan het scherm. */
@media (max-width: 760px) {
    .tip-pop {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        top: auto;
        width: auto;
        max-width: none;
        transform: translateY(8px);
    }
    .tip:hover .tip-pop, .tip:focus .tip-pop, .tip:focus-within .tip-pop { transform: translateY(0); }
}

/* Contactmodaal: koptekst staat op de gradient-balk, dus licht houden */
.contact-modal-header p { color: rgba(255, 255, 255, .88) !important; }
.contact-modal-close { color: rgba(255, 255, 255, .92) !important; }
.contact-privacy-group, .contact-privacy-group label,
.contact-privacy-text { color: var(--text-soft) !important; }

/* Balk mee verduisteren zodra het mobiele menu openstaat */
#nav:has(.nav-links.active) {
    background: rgba(6, 10, 17, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: transparent;
}
