/* ==========================================================================
   Websolut — huisstijl & componenten
   1. Tokens  2. Basis  3. Layout  4. Knoppen & labels  5. Header  6. Hero's
   7. Secties & componenten  8. Formulieren  9. Footer  10. Motion  11. Brand-pagina
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    /* merk */
    --violet-700: #4318C4;
    --violet-600: #5A27E6;   /* primair */
    --violet-500: #7B4DFF;
    --lilac-300: #C9B5FF;
    --lilac-200: #DFD3FF;
    --lilac-100: #EFE8FF;
    --sun: #FFD23F;
    --sun-soft: #FFF1BF;
    --pink: #FF7AB6;
    --pink-soft: #FFE0EE;
    --ink: #170B2B;
    --ink-2: #251540;
    --ink-3: #3A2A57;

    /* neutraal */
    --paper: #F7F5FB;
    --sand: #EBE7F3;
    --line: #DCD6E8;
    --white: #FFFFFF;
    --muted: #5C5470;
    --on-dark: #F7F5FB;
    --on-dark-muted: #BDB3D1;
    --danger: #B3261E;
    --success: #1F7A4D;

    /* semantisch */
    --bg: var(--paper);
    --surface: var(--white);
    --text: var(--ink);
    --text-muted: var(--muted);
    --primary: var(--violet-600);
    --on-primary: var(--white);
    --border: var(--line);
    --ring: var(--violet-500);

    /* typografie */
    --font-sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Bricolage Grotesque", "Onest", ui-sans-serif, system-ui, sans-serif;
    --fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 5.5rem);
    --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
    --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
    --fs-h3: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
    --fs-h4: 1.25rem;
    --fs-lead: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
    --fs-body: 1.0625rem;
    --fs-sm: .9375rem;
    --fs-xs: .8125rem;

    /* ruimte (4px-raster) */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
    --section: clamp(72px, 9vw, 136px);
    --gutter: clamp(20px, 4vw, 48px);
    --container: 1240px;

    /* vorm */
    --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
    --shadow-sm: 0 1px 2px rgb(23 11 43 / .06), 0 4px 12px rgb(23 11 43 / .05);
    --shadow-lg: 0 2px 4px rgb(23 11 43 / .06), 0 24px 56px -12px rgb(23 11 43 / .28);

    /* motion */
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --ease-in: cubic-bezier(.5, 0, .9, .4);
    --dur-fast: 140ms; --dur: 220ms; --dur-slow: 600ms;

    /* lagen */
    --z-header: 50; --z-menu: 60; --z-skip: 100;
    --header-h: 80px;
}

/* 2. Basis ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 var(--fs-body)/1.6 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
/* alle titels in het displayfont; lopende tekst blijft Onest */
h1, h2, h3, h4, .display, .stat b { font-family: var(--font-display); font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1; }
h2 { font-size: var(--fs-h2); letter-spacing: -.025em; }
/* .h3/.h4: een kop die in de structuur hoger staat maar kleiner oogt (kaarttitels, zijpanelen) */
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.15; }
h4, .h4 { font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.25; }
p { text-wrap: pretty; }
/* geen accentfont in titels: <em> in een kop blijft gewoon het titelfont */
h1 em, h2 em, h3 em, h4 em, .display em { font-style: normal; }
mark { background: var(--lilac-200); color: inherit; padding: .05em .2em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
::selection { background: var(--violet-600); color: #fff; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero--home :focus-visible { outline-color: var(--sun); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
    position: fixed; left: 16px; top: -80px; z-index: var(--z-skip);
    background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }
.icon { flex: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 1000px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-top { padding-top: 0; }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--center { align-items: center; }
.sticky { position: sticky; top: 120px; }
.stack > * + * { margin-top: var(--gap, var(--s-5)); }
.stack--lg { --gap: var(--s-7); }
.measure { max-width: 62ch; }
.measure--narrow { max-width: 30em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
/* vaste afstanden tussen een kop en wat erop volgt: overal dezelfde, dus niet per pagina inline */
:is(h1, h2) + .lead { margin-top: var(--s-5); }
h2 + :is(.checklist, .contact-list) { margin-top: var(--s-6); }
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.center .measure, .center.measure { margin-inline: auto; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > div { max-width: 720px; }

@media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split, .split--even { grid-template-columns: 1fr; }
    .sticky { position: static; }
}
@media (max-width: 640px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* 4. Knoppen & labels ------------------------------------------------------ */
.btn {
    --btn-bg: var(--ink); --btn-fg: #fff; --btn-arrow-bg: var(--violet-600); --btn-arrow-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 8px 8px 8px 24px;
    background: var(--btn-bg); color: var(--btn-fg);
    border: 0; border-radius: var(--r-pill);
    font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
    cursor: pointer; touch-action: manipulation;
    transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:not(:has(.btn__arrow)) { padding-inline: 24px; }
.btn__arrow {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--btn-arrow-bg); color: var(--btn-arrow-fg);
    transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px) rotate(-45deg); }
.btn:active { transform: scale(.97); }
.btn--violet { --btn-bg: var(--violet-600); --btn-arrow-bg: #fff; --btn-arrow-fg: var(--violet-600); }
.btn--violet:hover { --btn-bg: var(--violet-700); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-arrow-bg: var(--ink); --btn-arrow-fg: var(--sun); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-arrow-bg: var(--ink); --btn-arrow-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; padding-inline: 24px; }
.btn--ghost:hover { --btn-bg: rgb(127 127 127 / .12); }
.btn--sm { min-height: 44px; padding: 6px 6px 6px 18px; font-size: var(--fs-sm); }
.btn--sm .btn__arrow { width: 32px; height: 32px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding-block: 10px; border-bottom: 1.5px solid currentColor; line-height: 1.1; }
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }


.chip {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 14px;
    border-radius: var(--r-pill); background: var(--sand); color: var(--ink);
    font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; text-decoration: none;
}
.chip--lilac { background: var(--lilac-200); } .chip--sun { background: var(--sun); } .chip--pink { background: var(--pink); }
.chip--ink { background: var(--ink); color: #fff; } .chip--white { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* kleurtonen voor tegels */
.tone-lilac { --tone: var(--lilac-200); --tone-fg: var(--ink); }
.tone-sun   { --tone: var(--sun);       --tone-fg: var(--ink); }
.tone-pink  { --tone: var(--pink);      --tone-fg: var(--ink); }
.tone-ink   { --tone: var(--ink);       --tone-fg: #fff; }
.tone-violet{ --tone: var(--violet-600);--tone-fg: #fff; }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: var(--z-header);
    background: rgb(255 255 255 / .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 1px 0 rgb(23 11 43 / .08);
}
.nav-bar {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
    height: var(--header-h); width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
}
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 32px; width: auto; }
.nav-links ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a:not(.btn) {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
    font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
    transition: background-color var(--dur) var(--ease-out);
}
.nav-links a:not(.btn):hover { background: var(--lilac-100); }
.nav-links a[aria-current="page"] { background: var(--lilac-100); color: var(--violet-700); font-weight: 600; }
.nav-links__cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 14px; background: var(--ink); color: #fff; cursor: pointer; }
.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: grid; }
    .nav-cta { display: none; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: var(--z-menu);
        padding: 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    }
    .nav-links[data-open] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav-links ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-links a:not(.btn) { min-height: 52px; font-size: 1.125rem; border-radius: var(--r-sm); }
    .nav-links__cta { display: block; margin-top: 8px; }
    .nav-links__cta .btn { width: 100%; }
}

/* 6. Hero's ---------------------------------------------------------------- */
main { margin-top: calc(-1 * var(--header-h)); }
main:focus { outline: none; }

.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 clamp(48px, 6vw, 88px); }
.hero__arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* home: gecentreerd, geanimeerd */
.hero--home {
    color: #fff; text-align: center; isolation: isolate;
    padding-bottom: clamp(72px, 9vw, 128px);
    background: var(--violet-600);
}
.hero__blob { position: absolute; z-index: -2; border-radius: 50%; filter: blur(64px); will-change: transform; }
/* roze vlek: volgt de muis (script) en vervormt traag (alleen transform, dus zonder hertekenen) */
.hero__blob-follow { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__blob--a { width: 44vw; height: 40vw; right: -6vw; bottom: -18vw; z-index: auto; border-radius: 58% 42% 50% 50% / 46% 58% 42% 54%; background: rgb(255 122 182 / .72); animation: morph 14s ease-in-out infinite; }
.hero__blob--b { width: 40vw; height: 40vw; left: -12vw; top: -18vw; background: rgb(123 77 255 / .95); animation: drift-b 20s ease-in-out infinite alternate; }
.hero__blob--c { width: 22vw; height: 22vw; left: 38vw; bottom: -14vw; background: rgb(255 210 63 / .28); animation: drift-a 24s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(-9vw, -7vw) scale(1.15); } }
@keyframes drift-b { to { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes morph {
    0%, 100% { transform: rotate(0deg) scale(1, 1) skew(0deg); }
    25% { transform: rotate(50deg) scale(1.18, .86) skew(8deg); }
    50% { transform: rotate(110deg) scale(.9, 1.14) skew(-6deg); }
    75% { transform: rotate(60deg) scale(1.1, .94) skew(5deg); }
}

/* het logo tekent zichzelf, groter dan de hero */
.hero__logo { position: absolute; inset: 0; z-index: -1; pointer-events: none; will-change: transform; animation: sway 14s ease-in-out 3.6s infinite; }
.hero__logo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__logo-ink { opacity: .15; }
.logo-draw { fill: none; stroke: url(#hero-g); stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.3; stroke-dashoffset: 1.15; animation: draw 3.4s cubic-bezier(.45, 0, .15, 1) .25s forwards; }
.logo-dot { fill: var(--sun); transform-box: fill-box; transform-origin: center; animation: pop .7s cubic-bezier(.3, 1.6, .5, 1) 3.3s both; }
.runner { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .08 3; stroke-dashoffset: .12; opacity: .4; animation: run 8s cubic-bezier(.45, 0, .2, 1) 4.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes run { 0% { stroke-dashoffset: .12; } 55%, 100% { stroke-dashoffset: -1.05; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes sway { 50% { transform: translate3d(0, -12px, 0) rotate(-.6deg); } }

.hero__center { position: relative; display: grid; justify-items: center; max-width: 880px; }
.display { font-size: var(--fs-display); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.hero--home .lead { color: rgb(255 255 255 / .88); max-width: 36rem; margin-top: var(--s-5); }
.hero--home .btn-row { margin-top: var(--s-6); justify-content: center; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: var(--s-7); font-size: var(--fs-sm); color: rgb(255 255 255 / .88); }

/* binnenkomst */
.rise { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + .15s); }
.display .w { display: inline-block; animation: rise-word .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + .35s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes rise-word { from { opacity: 0; transform: translateY(.5em) rotate(4deg); } }

/* wisselend woord */
.rotator { display: inline-grid; justify-items: center; vertical-align: bottom; color: var(--sun); }
.rotator__word { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em) rotate(3deg); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); padding-inline: .06em; }
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-.45em) rotate(-3deg); transition-duration: .3s, .35s; transition-timing-function: var(--ease-in); }

.hero__pause { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .16); color: #fff; cursor: pointer; transition: background-color var(--dur) var(--ease-out); }
.hero__pause:hover { background: rgb(255 255 255 / .3); }
.hero__pause .icon-play, .hero[data-paused] .hero__pause .icon-pause { display: none; }
.hero[data-paused] .hero__pause .icon-play { display: block; }
.hero[data-paused] :is(.hero__blob, .runner, .hero__logo) { animation-play-state: paused; }
html:not(.js) .hero__pause { display: none; }

@media (max-width: 640px) {
    .hero { padding-top: calc(var(--header-h) + 32px); }
    .hero__blob { filter: blur(48px); }
    .hero__blob--a { width: 90vw; height: 84vw; right: -40vw; bottom: -40vw; }
    .hero__blob--b { width: 80vw; height: 80vw; left: -40vw; top: -40vw; }
}

/* binnenpagina's */
.hero--page { isolation: isolate; }
.hero--page .hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hero--page .lead { color: var(--ink-3); }
.hero--page .hero__aside > * + * { margin-top: var(--s-5); }
.hero--center .hero__inner { grid-template-columns: 1fr; text-align: center; }
.hero--center h1 { max-width: 16ch; margin-inline: auto; }
.hero--center .lead { max-width: 56ch; margin: var(--s-5) auto 0; }
/* kruimelpad blijft links, zoals op de andere pagina's */
.hero--center nav { text-align: left; }
.hero--page nav { margin-bottom: var(--s-5); }
@media (max-width: 960px) { .hero--page .hero__inner { grid-template-columns: 1fr; align-items: start; } }

/* kruimelpad: rustige tekst met chevrons, huidige pagina in violet */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-sm); color: var(--ink-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs a { padding-block: 4px; text-decoration: none; transition: color var(--dur) var(--ease-out); }
.breadcrumbs a:hover { color: var(--violet-700); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current] { color: var(--violet-700); font-weight: 600; }
.breadcrumbs li + li::before {
    content: ""; flex: none; width: 6px; height: 6px; margin-right: 2px;
    border: solid var(--lilac-300); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}

.hero-media { margin: -40px 0 0; position: relative; }
.hero-media .container { position: relative; }
.media { overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 21 / 9; } .media--land { aspect-ratio: 4 / 3; } .media--photo { aspect-ratio: 3 / 2; } .media--shot { aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .media--wide { aspect-ratio: 4 / 3; } .hero-media { margin-top: -24px; } }

/* 7. Secties & componenten ------------------------------------------------- */

/* logo-marquee */
.marquee { overflow: hidden; padding-block: var(--s-7); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__label { text-align: center; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-5); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; margin: 0; list-style: none; }
.marquee__track li { display: inline-flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 600; letter-spacing: -.03em; color: #8B839C; white-space: nowrap; }
.marquee__track li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: currentColor; opacity: .55; }
.marquee__track li:nth-child(3n)::before { border-radius: 50%; }
.marquee__track li:nth-child(3n+1)::before { transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* statement + cijfers */
.statement { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; text-wrap: balance; }
.statement span { color: #9A91AB; }
/* homepage: een bureau dat je opruimt (stapel ergernissen -> één scherm) naast de cijfers */
.lighten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.lighten > .desk { grid-column: span 8; }
.lighten > .stats { grid-column: span 4; margin-top: 0; grid-template-columns: 1fr; }
.lighten .stat { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
.lighten .stat b { flex: none; min-width: 1.9em; }
.desk { position: relative; padding: var(--s-5); border-radius: var(--r-lg); background: var(--lilac-100); overflow: hidden; }
.desk__switch { position: absolute; right: var(--s-4); top: var(--s-4); z-index: 5; display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm); }
.desk__switch button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; touch-action: manipulation; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.desk__switch button:hover { background: var(--lilac-100); }
.desk__switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
html:not(.js) .desk__switch { display: none; }
.desk__cap { min-height: 48px; display: flex; align-items: center; padding-right: 250px; font-weight: 500; color: var(--ink-3); }
.desk__pile { position: relative; min-height: 340px; margin: var(--s-3) 0 0; padding: 0; list-style: none; }

/* de vensters */
.win { padding: 14px 16px 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-lg); }
.win__title { display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; letter-spacing: -.01em; }
.win__title::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--violet-600)); }
.win__body { display: grid; gap: 8px; margin-top: 12px; font-size: var(--fs-xs); color: var(--muted); }
.win__field { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); }
.win__hint { color: var(--violet-700); text-decoration: underline; }
.win__file { font-weight: 600; color: var(--ink-3); overflow-wrap: anywhere; }
.win__cells { position: relative; height: 84px; border: 1px solid rgb(23 11 43 / .16); border-radius: 8px; background:
    linear-gradient(rgb(23 11 43 / .16) 1px, transparent 1px) 0 -1px / 100% 21px,
    linear-gradient(90deg, rgb(23 11 43 / .16) 1px, transparent 1px) -1px 0 / 25% 100%, #fff; }
.win__cells i { position: absolute; left: 25%; top: 42px; width: 25%; height: 21px; display: grid; place-items: center; background: #FDECEA; color: var(--danger); font-style: normal; font-weight: 600; font-size: 12px; }
.win__bubble { justify-self: start; max-width: 90%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--ink); font-weight: 500; }
.win__bubble--r { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; }
.win--login { --dot: var(--violet-600); }
.win--sheet { --dot: var(--ink); background: var(--sun-soft); }
.win--blame { --dot: var(--ink); background: var(--pink-soft); }

.desk__pile .win { position: absolute; left: var(--x); top: var(--y); width: var(--w); rotate: var(--r); transition: transform .5s var(--ease-out) calc(var(--i) * 70ms), opacity .4s var(--ease-out) calc(var(--i) * 70ms); }
.win--login { --x: 1%; --y: 2%; --w: 40%; --r: -5deg; --out: -70%, -30%; }
.win--blame { --x: 55%; --y: 0%; --w: 44%; --r: 5deg; --out: 70%, -40%; }
.win--sheet { --x: 27%; --y: 37%; --w: 44%; --r: 2deg; --out: 0%, 90%; }

/* het antwoord */
.desk__clean { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: var(--s-3); }
.win--one { --dot: var(--sun); padding: var(--s-5); }
.win--one .win__title { font-size: 1.0625rem; }
.win__checks { margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.win__checks li { display: flex; gap: 12px; align-items: center; padding-block: 14px; border-top: 1px solid var(--border); font-weight: 500; }
.win__checks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--violet-600); color: #fff; }
.desk__answer { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.desk__answer mark { background: var(--sun); }

/* met script liggen beide lagen op elkaar en wisselt data-state; zonder script staan ze onder elkaar */
.js .desk__stage { display: grid; }
.js .desk__layer { grid-area: 1 / 1; display: flex; flex-direction: column; transition: opacity .35s var(--ease-out), visibility 0s linear 0s; }
.js .desk__clean { flex: 1; }
.js .desk__layer--na .win--one, .js .desk__answer { transition: transform .55s var(--ease-out) .18s, opacity .45s var(--ease-out) .18s; }
.js .desk__answer { transition-delay: .3s; }
.js .win__checks .icon { transition: transform .4s cubic-bezier(.3, 1.5, .5, 1) calc(.45s + var(--i) * .12s); }
.js [data-state="voor"] .desk__layer--na { visibility: hidden; opacity: 0; transition: opacity .2s var(--ease-in), visibility 0s linear .2s; }
.js [data-state="voor"] .desk__layer--na :is(.win--one, .desk__answer) { opacity: 0; transform: translateY(20px) scale(.97); transition-delay: 0s; transition-duration: .2s; }
.js [data-state="voor"] .win__checks .icon { transform: scale(0); transition-delay: 0s; }
.js [data-state="na"] .desk__layer--voor { visibility: hidden; transition: visibility 0s linear .5s; }
.js [data-state="na"] .desk__layer--voor .desk__cap { opacity: 0; }
.js [data-state="na"] .desk__pile .win { opacity: 0; transform: translate(var(--out)) rotate(calc(var(--r) * 3)); transition-timing-function: var(--ease-in); transition-duration: .4s, .35s; }
.js .desk__cap { transition: opacity .25s var(--ease-out); }
html:not(.js) .desk__layer--na { margin-top: var(--s-5); }

@media (max-width: 960px) {
    .lighten > .desk, .lighten > .stats { grid-column: 1 / -1; }
    .lighten > .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lighten .stat { flex-direction: column; align-items: stretch; justify-content: space-between; min-height: 180px; }
}
@media (max-width: 720px) {
    .lighten > .stats { grid-template-columns: 1fr; }
    .lighten .stat { min-height: 0; }
    .desk { padding: var(--s-4); }
    .desk__switch { position: static; width: max-content; margin-bottom: var(--s-2); }
    .desk__cap { padding-right: 0; min-height: 0; padding-block: 6px; }
    .desk__pile { min-height: 470px; }
    .win--login { --x: 0%; --y: 0%; --w: 76%; }
    .win--blame { --x: 22%; --y: 31%; --w: 78%; }
    .win--sheet { --x: 3%; --y: 61%; --w: 80%; }
    .desk__clean { grid-template-columns: 1fr; align-content: center; }
}
@media (prefers-reduced-motion: reduce) { .desk *, .desk { transition-delay: 0s !important; } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.stat { padding: var(--s-5); border-radius: var(--r-md); background: var(--tone, var(--surface)); color: var(--tone-fg, var(--ink)); min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-5); }
.stat b { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); font-weight: 600; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--fs-sm); font-weight: 500; max-width: 22ch; }
.stats--flush { margin-top: 0; }
.stats--compact { margin-top: var(--s-4); }
.stats--compact .stat { min-height: 0; padding: var(--s-4); gap: var(--s-3); }
.stats--compact .stat b { font-size: 2rem; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stat { min-height: 0; } }

/* bento diensten */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.bento > :nth-child(1), .bento > :nth-child(4) { grid-column: span 7; }
.bento > :nth-child(2), .bento > :nth-child(3) { grid-column: span 5; }
.svc-card { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.svc-card:hover .svc-card__go { background: var(--violet-600); color: #fff; transform: rotate(-45deg); }
.svc-card h3 { margin-top: var(--s-6); font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.svc-card p { margin-top: var(--s-3); color: var(--muted); max-width: 40ch; }
.svc-card__img { margin-top: auto; padding-top: var(--s-5); }
.svc-card__img div { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card--compact { min-height: 260px; }
.svc-card--compact h3 { font-size: var(--fs-h3); }
@media (max-width: 960px) { .bento > * { grid-column: span 12 !important; } .svc-card { min-height: 0; } }

/* donker blok + vergelijking */
.on-dark { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }
.on-dark .hero__arcs { color: rgb(201 181 255 / .22); }
.on-dark .feature { background: rgb(255 255 255 / .07); }
.on-dark .feature p { color: var(--on-dark-muted); }
.dark-block { padding: clamp(40px, 6vw, 88px) 0; }
.dark-block .split, .dark-block__inner { position: relative; }
.dark-block .split { align-items: center; }
.compare { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); border-radius: var(--r-md); }
.compare__col { padding: var(--s-5) var(--s-4); }
.compare__col h3 { font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding-bottom: var(--s-4); }
.compare__col li { display: flex; gap: 10px; align-items: flex-start; padding-block: 14px; border-top: 1px dashed rgb(255 255 255 / .22); font-size: var(--fs-sm); line-height: 1.4; min-height: 68px; }
.compare__col--old { color: var(--on-dark-muted); border: 1px solid transparent; border-top-width: 6px; }
.compare__col--new { background: rgb(201 181 255 / .16); border: 1px solid var(--lilac-300); border-top: 6px solid var(--lilac-300); border-radius: var(--r-md); color: #fff; padding-inline: var(--s-5); }
.compare__col--new .icon { color: var(--sun); margin-top: 1px; }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; gap: var(--s-4); } .compare__col li { min-height: 0; } }

/* aanpak: sticky kop + gestapelde kaarten */
.steps { display: grid; gap: var(--s-4); }
.step { position: sticky; top: calc(112px + var(--i, 0) * 14px); display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgb(23 11 43 / .18); }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lilac-200); font-weight: 600; font-variant-numeric: tabular-nums; }
.step:nth-child(2) .step__n { background: var(--sun); } .step:nth-child(3) .step__n { background: var(--pink); } .step:nth-child(4) .step__n { background: var(--ink); color: #fff; }
.step p { margin-top: var(--s-3); color: var(--muted); max-width: 52ch; }
@media (max-width: 960px) { .step { position: static; } }

/* cases */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) var(--s-5); }
.case-grid--feature > :first-child { grid-column: 1 / -1; }
.case-grid--feature > :first-child .case-card__img { aspect-ratio: 21 / 9; }
.case-card { display: block; text-decoration: none; }
.case-card[hidden] { display: none; }
.case-card__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.case-card:hover .case-card__img img { transform: scale(1.04); }
.case-card__tags { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.case-card__stat { position: absolute; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 18px; background: var(--tone); color: var(--tone-fg); max-width: 190px; }
.case-card__stat b { display: block; font-size: 1.875rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.case-card__stat span { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; line-height: 1.3; }
.case-card__body { display: flex; justify-content: space-between; gap: var(--s-5); align-items: flex-start; padding: var(--s-5) 4px 0; }
.case-card__body p { margin-top: 6px; color: var(--muted); max-width: 52ch; }
.case-card__body .svc-card__go { background: #fff; flex: none; }
.case-card:hover .svc-card__go { background: var(--violet-600); color: #fff; transform: rotate(-45deg); }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } .case-grid--feature > :first-child .case-card__img { aspect-ratio: 16 / 10; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-7); }
.filter { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: transparent; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* testimonials */
.quote { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.4; }
.person { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); line-height: 1.35; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-weight: 600; } .person span { color: var(--muted); }
.on-dark .person span { color: var(--on-dark-muted); }

.quote-big { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-5); align-items: stretch; }
.quote-big__text { padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7); }
.quote-big blockquote { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; text-wrap: balance; }
.quote-big__img { border-radius: var(--r-lg); overflow: hidden; background: var(--sand); min-height: 280px; }
.quote-big__img img { width: 100%; height: 100%; object-fit: cover; }
.quote-big--solo { grid-template-columns: 1fr; }
@media (max-width: 760px) { .quote-big { grid-template-columns: 1fr; } .quote-big__img { order: -1; aspect-ratio: 16 / 10; min-height: 0; } }

/* kaarten algemeen */
.card { padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.card--tone { background: var(--tone); color: var(--tone-fg); }
.card__figure { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.card--tone.tone-ink .muted { color: var(--on-dark-muted); }
.feature { padding: var(--s-5); border-radius: var(--r-md); background: var(--surface); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lilac-100); color: var(--violet-700); }
.feature h3 { margin-top: var(--s-7); font-size: var(--fs-h4); }
.feature p { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }

/* getekend icoon op een gekleurde vorm: in elke kaart met een icoon */
.feature--mark { padding: var(--s-5) var(--s-5) var(--s-6); }
.feature--mark h3 { margin-top: var(--s-5); }
.feature__mark { flex: none; display: grid; place-items: center; width: 64px; height: 64px; background: var(--mark, var(--sun)); color: var(--ink); }
.feature__mark .icon { stroke-width: 1.6; overflow: visible; }
.feature__mark--1 { --mark: var(--sun); border-radius: 50%; }
.feature__mark--2 { --mark: var(--pink); border-radius: 32px 32px 12px 12px; }
.feature__mark--3 { --mark: var(--lilac-300); border-radius: 20px; rotate: -6deg; }
.feature__mark--3 .icon { rotate: 6deg; }
.feature__mark--4 { --mark: var(--pink); border-radius: 50% 50% 50% 12px; }
.feature__mark--5 { --mark: var(--lilac-300); border-radius: 50%; }
.feature__mark--6 { --mark: var(--sun); border-radius: 12px 32px 32px 32px; }

/* tekenen bij het in beeld komen, opnieuw bij hover.
   Selecteer op .icon--draw, niet op [pathLength]: Chrome herberekent de stijl niet
   wanneer .is-in erbij komt als de selector op dat camelCase-attribuut eindigt. */
.feature__mark .icon--draw > * { stroke-dasharray: 1; transition: stroke-dashoffset 900ms var(--ease-out) calc(var(--d, 0) * 120ms + 250ms); }
.js .reveal:not(.is-in) .feature__mark .icon--draw > * { stroke-dashoffset: 1; }
:is(.feature, .svc-card, .svc-row):hover .feature__mark .icon--draw > * { animation: mark-redraw 700ms var(--ease-out); }
@keyframes mark-redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* elk icoon zijn eigen gebaar bij hover */
:is(.feature, .svc-card, .svc-row):hover :is([data-icon="bell"], [data-icon="tag"], [data-icon="plug"]) .icon { transform-origin: 50% 10%; animation: mark-swing 800ms ease-in-out; }
:is(.feature, .svc-card, .svc-row):hover :is([data-icon="clock"], [data-icon="refresh"], [data-icon="target"]) .icon { animation: mark-spin 800ms var(--ease-out); }
:is(.feature, .svc-card, .svc-row):hover [data-icon="truck"] .icon { animation: mark-drive 700ms var(--ease-out); }
/* link: de twee schakels trekken uit elkaar en klikken weer in elkaar (vervangt het hertekenen) */
:is(.feature, .svc-card, .svc-row):hover [data-icon="link"] .icon--draw > * { --lx: 1; animation: mark-link 900ms both; }
:is(.feature, .svc-card, .svc-row):hover [data-icon="link"] .icon--draw > :nth-child(2) { --lx: -1; }
:is(.feature, .svc-card, .svc-row):hover [data-icon="link"] .icon { animation: mark-link-click 900ms ease-out; }
:is(.feature, .svc-card, .svc-row):hover :is([data-icon="pen"], [data-icon="edit"], [data-icon="search"], [data-icon="phone"]) .icon { animation: mark-wiggle 700ms ease-in-out; }
:is(.feature, .svc-card, .svc-row):hover :is([data-icon="zap"], [data-icon="check"], [data-icon="shield"], [data-icon="chart"], [data-icon="users"], [data-icon="layers"], [data-icon="box"], [data-icon="card"], [data-icon="receipt"], [data-icon="layout"], [data-icon="bag"], [data-icon="code"]) .icon { animation: mark-pop 600ms var(--ease-out); }
@keyframes mark-swing { 20% { transform: rotate(16deg); } 45% { transform: rotate(-13deg); } 70% { transform: rotate(8deg); } 88% { transform: rotate(-3deg); } }
@keyframes mark-spin { to { transform: rotate(360deg); } }
@keyframes mark-drive { 45% { transform: translateX(40px); opacity: 0; } 46% { transform: translateX(-40px); opacity: 0; } }
@keyframes mark-link {
    0% { transform: translate(0, 0); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
    38% { transform: translate(calc(var(--lx) * 2.8px), calc(var(--lx) * -2.8px)); animation-timing-function: cubic-bezier(.7, 0, .9, .4); }
    62% { transform: translate(calc(var(--lx) * -.8px), calc(var(--lx) * .8px)); animation-timing-function: ease-out; }
    80% { transform: translate(calc(var(--lx) * .3px), calc(var(--lx) * -.3px)); animation-timing-function: ease-in-out; }
    100% { transform: translate(0, 0); }
}
@keyframes mark-link-click { 0%, 58% { transform: scale(1); } 68% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes mark-wiggle { 25% { transform: rotate(-12deg) translate(-2px, 1px); } 60% { transform: rotate(10deg) translate(2px, -1px); } }
@keyframes mark-pop { 40% { transform: scale(1.22); } }

.checklist li { display: flex; gap: 14px; align-items: flex-start; padding-block: 18px; border-top: 1px solid var(--border); font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.checklist li:last-child { border-bottom: 1px solid var(--border); }
.checklist .icon { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--violet-600); color: #fff; }

.facts { display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: 14px; border-top: 1px solid rgb(127 127 127 / .28); font-size: var(--fs-sm); }
.facts dt { opacity: .72; } .facts dd { font-weight: 600; text-align: right; }

/* dienstenlijst */
.svc-row { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--s-5); align-items: center; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.svc-row + .svc-row { margin-top: var(--s-4); }
.svc-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* icoon iets kleiner dan in de kaarten */
.svc-row > .feature__mark { width: 56px; height: 56px; }
.svc-row h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
.svc-row p { color: var(--muted); }
.svc-row .media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.svc-row:hover .link-arrow .icon { transform: translateX(4px); }
@media (max-width: 960px) { .svc-row { grid-template-columns: 1fr; } .svc-row .media { aspect-ratio: 16 / 9; order: -1; } }

/* faq */
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: 22px; min-height: 44px; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--surface); transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--violet-600); color: #fff; }
.faq details p { padding: 0 56px 24px 0; color: var(--muted); max-width: 64ch; }

/* blog */
.post-card { display: flex; flex-direction: column; padding: var(--s-4); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .media { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.post-card__body { padding: var(--s-5) var(--s-2) var(--s-2); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); }
.post-card p { color: var(--muted); font-size: var(--fs-sm); }
.post-card__more { align-self: flex-start; margin-top: auto; }
.post-card--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-items: center; grid-column: 1 / -1; }
.post-card--wide h2 { font-size: var(--fs-h2); }
.post-card--wide .post-card__body { padding: var(--s-5); gap: var(--s-4); }
@media (max-width: 760px) { .post-card--wide { grid-template-columns: 1fr; } }

.prose { max-width: 68ch; margin-inline: auto; font-size: 1.1875rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-top: 2em; }
.prose ul { padding-left: 1.2em; } .prose li + li { margin-top: .5em; } .prose li::marker { color: var(--violet-600); }
.prose blockquote { padding: var(--s-6); border-radius: var(--r-lg); background: var(--lilac-100); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }

/* CTA-blok */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 112px) 0; color: #fff;
    background: radial-gradient(55% 90% at 100% 100%, rgb(255 122 182 / .6), transparent 70%), var(--violet-600); }
.cta .hero__arcs { color: rgb(255 255 255 / .2); }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.cta h2 { font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1; }
.cta p { color: rgb(255 255 255 / .88); font-size: var(--fs-lead); line-height: 1.5; }
.cta .btn-row { margin-top: var(--s-6); }
.cta :focus-visible { outline-color: var(--sun); }
.cta__contact { display: grid; gap: 4px; margin-top: var(--s-6); font-size: var(--fs-sm); }
.cta__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.cta__contact a:hover { text-decoration: underline; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; align-items: start; } }

/* 8. Formulieren ----------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; padding: 0; }
.field .req { color: var(--violet-700); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.form__note { text-align: center; font-size: var(--fs-xs); color: var(--muted); }
.input {
    width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
    background: var(--paper); font-size: 1rem; line-height: 1.4;
    transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
textarea.input { min-height: 140px; resize: vertical; }
.input:hover { border-color: #B7AEC6; }
.input:focus { outline: none; border-color: var(--violet-600); background: #fff; box-shadow: 0 0 0 4px rgb(90 39 230 / .18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend + .options { margin-top: var(--s-2); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); font-size: var(--fs-sm); font-weight: 600; transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.option input:hover + span { border-color: var(--ink); }
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.45; min-height: 44px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet-600); cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.notice { padding: var(--s-5); border-radius: var(--r-md); display: flex; gap: 14px; align-items: flex-start; }
.notice--error { background: #FDECEA; color: #7A1A14; }
.notice--error a { font-weight: 600; }
.notice ul { margin: 6px 0 0; padding-left: 1.1em; }
.form-success { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-lg); background: var(--surface); }
.form-success .feature__icon { background: var(--success); color: #fff; width: 56px; height: 56px; border-radius: 50%; }
.form-success h2 { margin-top: var(--s-5); font-size: var(--fs-h3); }
.form-success p { margin-top: var(--s-3); color: var(--muted); }

.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); align-items: center; padding-block: var(--s-4); border-top: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-list .feature__icon { background: #fff; }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-list a, .contact-list span { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { margin-top: var(--section); padding: clamp(48px, 6vw, 88px) 0 var(--s-5); background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.cta + .site-footer, main:has(> .cta:last-child) + .site-footer { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: var(--s-7) var(--s-6); }
.footer-brand p { margin: var(--s-5) 0; max-width: 34ch; font-size: 1.0625rem; color: var(--on-dark); }
.footer-col h2 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-3); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { padding-block: 2px; line-height: 1.5; }
.footer-col a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; transition: color var(--dur) var(--ease-out); }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / .14); font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* 10. Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .logo-draw { stroke-dashoffset: 0; }
    .runner, .hero__pause { display: none; }
    .rotator__word:not(:first-child) { display: none; }
    .rotator__word { opacity: 1; transform: none; }
    .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee__track ul { flex-wrap: wrap; justify-content: center; padding: 0; gap: 16px 40px; }
    .marquee__track ul[aria-hidden] { display: none; }
}

/* 11. Brand-pagina --------------------------------------------------------- */
.brand-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-tile { display: grid; place-items: center; min-height: 220px; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.logo-tile img { max-height: 72px; width: auto; max-width: 80%; }
.logo-tile--ink { background: var(--ink); border-color: var(--ink); } .logo-tile--violet { background: var(--violet-600); border-color: var(--violet-600); }
.logo-tile--mark img { max-height: 128px; }
.brand-caption { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--muted); }
.brand-caption a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--violet-700); text-decoration: none; }
.brand-caption a:hover { text-decoration: underline; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s-4); }
.swatch { border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.swatch i { display: block; height: 112px; background: var(--c); }
.swatch div { padding: 14px 16px; font-size: var(--fs-sm); line-height: 1.4; }
.swatch b { display: block; } .swatch code { color: var(--muted); font-size: var(--fs-xs); }
.swatch--lg { grid-column: span 2; } .swatch--lg i { height: 180px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
.type-row { display: grid; grid-template-columns: 160px 1fr; gap: var(--s-5); align-items: baseline; padding-block: var(--s-5); border-top: 1px solid var(--border); }
.type-row small { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) { .type-row { grid-template-columns: 1fr; gap: var(--s-2); } .swatch--lg { grid-column: auto; } }
.dodont { padding: var(--s-5); border-radius: var(--r-md); background: var(--surface); }
.dodont h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h4); margin-bottom: var(--s-4); }
.dodont h3 .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; color: #fff; }
.dodont--do h3 .icon { background: var(--success); } .dodont--dont h3 .icon { background: var(--danger); }
.dodont li { padding-block: 10px; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.demo { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.demo--dark { background: var(--ink); color: #fff; } .demo--violet { background: var(--violet-600); color: #fff; }
