/* ==========================================================================
   Web-id.nl — stylesheet
   Geen externe fonts of frameworks: alles staat in dit ene bestand.
   ========================================================================== */

:root {
    --ink: #14161a;          /* houtskool, basis van header/hero/footer */
    --ink-2: #1c1f25;
    --ink-3: #272b33;
    --red: #e10600;          /* knoppen en links (voldoende contrast met wit) */
    --red-bright: #ff0000;   /* exact het rood uit het logo, voor accenten */
    --red-dark: #b80500;
    --paper: #f6f5f2;
    --white: #ffffff;
    --line: #e2e0da;
    --text: #23262c;
    --muted: #5c616b;
    --on-dark: #eceef1;
    --on-dark-muted: #a4a9b3;
    --line-dark: rgba(255, 255, 255, .1);

    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 8px 24px -12px rgba(20, 22, 26, .18);
    --container: 1160px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(64px, 9vw, 120px);
    --header-h: 72px;
    --slant: 4vw;            /* schuine rand, afgeleid van het logo */
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
address { font-style: normal; }

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -.022em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section__head p { color: var(--on-dark-muted); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }

/* Label boven koppen, met het schuine streepje uit het logo */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--red); margin: 0 0 18px;
}
.eyebrow::before {
    content: ""; width: 22px; height: 10px; background: var(--red-bright);
    transform: skewX(-18deg); flex: none;
}
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--white); }

/* ---- Knoppen ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 8px; border: 1.5px solid transparent;
    font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--small { padding: 10px 18px; font-size: .9375rem; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .18s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(20, 22, 26, .94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { height: 38px; width: auto; }
.brand__word { height: 24px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a:not(.btn) {
    position: relative; display: block; padding: 8px 0;
    color: var(--on-dark); text-decoration: none; font-size: .9688rem; font-weight: 550;
}
.site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--white); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 8px;
    background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px;
    transition: transform .2s, background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--ink); border-bottom: 1px solid var(--line-dark);
        padding: 8px var(--gutter) 24px; display: none;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav a:not(.btn) { padding: 15px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line-dark); }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav a:not(.btn)[aria-current="page"] { color: var(--red-bright); }
    .site-nav .btn { margin-top: 20px; width: 100%; padding: 14px 24px; font-size: 1rem; }
}

/* ---- Hero (home) ---- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--ink); color: var(--on-dark);
    padding: clamp(56px, 8vw, 110px) 0 calc(clamp(64px, 9vw, 120px) + var(--slant));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
    margin-bottom: calc(var(--slant) * -1);
}
.hero::before {
    /* fijn raster, vervaagt naar de randen */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; right: -12%; top: -30%;
    width: 60%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, .26), transparent 62%);
    opacity: .78;
}

/* Lichtsporen over het raster. Ze staan stil (onzichtbaar) tot de animatie hieronder ze laat lopen. */
.hero__tracers {
    position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
    opacity: .67; /* helderheid van de sporen: 1 = vol, lager = rustiger */
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.tracer { position: absolute; display: block; opacity: 0; will-change: transform, opacity; }
.tracer::after { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffd0d0; box-shadow: 0 0 8px 2px rgba(255, 40, 40, .85); }
/* --line = de hoeveelste rasterlijn (het raster is 56px) */
.tracer--h { left: 0; top: calc(var(--line) * 56px); width: 180px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 70, 70, .8)); }
.tracer--h::after { right: -1px; top: -1px; }
.tracer--v { top: 0; left: calc(var(--line) * 56px); width: 1px; height: 180px; background: linear-gradient(180deg, transparent, rgba(255, 70, 70, .8)); }
.tracer--v::after { bottom: -1px; left: -1px; }
.tracer:nth-child(1)  { --line: 2;  --time: 23s; --wait: 1s; }
.tracer:nth-child(2)  { --line: 5;  --time: 29s; --wait: 9s; }
.tracer:nth-child(3)  { --line: 8;  --time: 26s; --wait: 16s; }
.tracer:nth-child(4)  { --line: 11; --time: 31s; --wait: 5s; }
.tracer:nth-child(5)  { --line: 4;  --time: 19s; --wait: 7s; }
.tracer:nth-child(6)  { --line: 10; --time: 24s; --wait: 13s; }
.tracer:nth-child(7)  { --line: 15; --time: 21s; --wait: 3s; }
.tracer:nth-child(8)  { --line: 20; --time: 27s; --wait: 11s; }
.tracer:nth-child(9)  { --line: 25; --time: 18s; --wait: 0s; }
.tracer:nth-child(10) { --line: 30; --time: 22s; --wait: 6s; }

@keyframes trace-x {
    0%        { transform: translateX(-200px); opacity: 0; }
    3%, 47%   { opacity: 1; }
    50%, 100% { transform: translateX(100vw); opacity: 0; }
}
@keyframes trace-y {
    0%        { transform: translateY(-200px); opacity: 0; }
    4%, 46%   { opacity: 1; }
    50%, 100% { transform: translateY(1100px); opacity: 0; }
}
@keyframes flare-pulse {
    from { transform: scale(1); opacity: .62; }
    to   { transform: scale(1.16) translate(-3%, 4%); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
    .hero::after { animation: flare-pulse 7s ease-in-out infinite alternate; }
    .tracer--h { animation: trace-x var(--time) linear var(--wait) infinite; }
    .tracer--v { animation: trace-y var(--time) linear var(--wait) infinite; }
}
/* Mobiel en tablet: de tekst staat over de volle breedte, dus daar lopen alleen nog twee trage,
   gedimde sporen in de stroken zonder tekst: boven de slogan en onder het beheerscherm. */
@media (max-width: 960px) {
    .hero::before { background-position: 0 28px; }
    .hero__tracers {
        opacity: .65;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    }
    .tracer { display: none; }
    .tracer--h { width: 120px; }
    .tracer:nth-child(1) { display: block; top: 28px; --time: 30s; --wait: 2s; }
    .tracer:nth-child(2) { display: block; top: auto; bottom: calc(var(--slant) + 28px); --time: 38s; --wait: 16s; }
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--red-bright); }
.hero .lead { color: var(--on-dark-muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-dark); font-size: .9375rem; color: var(--on-dark-muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { width: 18px; height: 18px; color: var(--red-bright); }
.hero__facts strong { color: var(--white); font-weight: 650; }

/* Illustratie: schets van een beheersysteem */
.mock {
    position: relative; border-radius: var(--radius-lg); background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
    font-size: 12.5px; line-height: 1.4; color: var(--on-dark-muted);
    transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.mock__bar span { margin-left: 12px; font-family: var(--font-mono); font-size: 11px; background: var(--ink); padding: 4px 12px; border-radius: 20px; }
.mock__body { display: grid; grid-template-columns: 124px 1fr; min-height: 330px; }
.mock__side { border-right: 1px solid var(--line-dark); padding: 14px 10px; display: grid; gap: 2px; align-content: start; }
.mock__side span { padding: 7px 10px; border-radius: 6px; }
.mock__side .is-active { background: rgba(255, 0, 0, .14); color: var(--white); box-shadow: inset 2px 0 0 var(--red-bright); }
.mock__main { padding: 16px 18px 18px; min-width: 0; container-type: inline-size; }
@container (max-width: 340px) {
    .mock__row { grid-template-columns: 50px 1fr 78px; }
    .mock__row span:nth-child(3) { display: none; }
    .mock__stats div { padding: 9px 10px; }
}
.mock__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.mock__head strong { color: var(--white); font-size: 15px; font-family: var(--font-display); }
.mock__head span { background: var(--red); color: var(--white); padding: 6px 11px; border-radius: 6px; font-weight: 600; font-size: 11.5px; white-space: nowrap; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.mock__stats div { background: var(--ink); border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; }
.mock__stats b { display: block; color: var(--white); font-size: 20px; font-family: var(--font-display); line-height: 1.1; }
.mock__rows { display: grid; }
.mock__row { display: grid; grid-template-columns: 62px 1fr 62px 84px; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line-dark); }
.mock__row--head { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; border-top: 0; padding-top: 0; }
.mock__row span:nth-child(2) { color: var(--on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__row--head span:nth-child(2) { color: inherit; }
.mock__row span:first-child { font-family: var(--font-mono); font-size: 11.5px; }
.chip { justify-self: start; padding: 3px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.chip--ok { background: rgba(60, 200, 130, .14); color: #6fdcaa; }
.chip--wait { background: rgba(255, 190, 70, .14); color: #f5c56b; }
.chip--new { background: rgba(255, 255, 255, .09); color: var(--on-dark); }
.mock__float {
    position: absolute; left: -26px; bottom: -22px; background: var(--white); color: var(--ink);
    border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); font-size: 13px; font-weight: 600;
}
.mock__float .icon { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--red); color: var(--white); }
.mock__float small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }

@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
    .mock { transform: none; max-width: 620px; }
    .mock__float { left: 14px; }
}
@media (max-width: 560px) {
    .mock__body { grid-template-columns: 1fr; min-height: 0; }
    .mock__side { display: none; }
    .mock__row { grid-template-columns: 54px 1fr 80px; }
    .mock__row span:nth-child(3) { display: none; }
    .hero__actions .btn { width: 100%; }
}

/* ---- Paginakop (vervolgpagina's) ---- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--ink); color: var(--on-dark);
    padding: clamp(48px, 7vw, 88px) 0 calc(clamp(48px, 7vw, 88px) + var(--slant));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.page-hero::after {
    content: ""; position: absolute; z-index: -1; right: -8%; top: -60%;
    width: 46%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, .24), transparent 62%);
    opacity: .78;
}
@media (prefers-reduced-motion: no-preference) {
    .page-hero::after { animation: flare-pulse 7s ease-in-out infinite alternate; }
}
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18em; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 44em; }
.page-hero + .section { padding-top: clamp(40px, 6vw, 80px); }

.breadcrumb { list-style: none; display: flex; gap: 8px; margin: 0 0 22px; padding: 0; font-size: .875rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---- Klanten ---- */
.clients { padding-top: calc(var(--slant) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.clients__label { font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.clients__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.clients__list li { padding: 4px 20px; border-left: 1px solid var(--line); }
.clients__list li:first-child { padding-left: 0; border-left: 0; }
.clients__name { display: block; font-family: var(--font-display); font-weight: 750; font-size: 1.125rem; letter-spacing: -.015em; color: var(--ink); line-height: 1.25; }
.clients__place { display: block; font-size: .9063rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 960px) {
    .clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
    .clients__list li { padding-left: 16px; border-left: 2px solid var(--red-bright); }
    .clients__list li:first-child { padding-left: 16px; border-left: 2px solid var(--red-bright); }
}
@media (max-width: 420px) { .clients__list { grid-template-columns: 1fr; } }

/* Klantkaarten (over-ons) */
.client-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.client-cards li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.client-cards .tag { margin-bottom: 14px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--red); background: rgba(225, 6, 0, .07); padding: 4px 10px; border-radius: 20px; }
.section--dark .tag { color: var(--white); background: rgba(255, 0, 0, .22); }

/* ---- Kaarten ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column;
}
.card__icon {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px;
    background: var(--ink); color: var(--white); margin-bottom: 22px;
}
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 16px; }
.card__example { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font-size: .9375rem; }
.card__example b { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.card__example span { color: var(--ink); font-weight: 600; }

.card--dark { background: var(--ink-2); border-color: var(--line-dark); }
.card--dark p { color: var(--on-dark-muted); }
.card--dark .card__icon { background: var(--red); }
.card--dark .tag { align-self: flex-start; margin-bottom: 14px; }

/* ---- Tweekoloms tekstblok ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checklist .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(225, 6, 0, .09); color: var(--red); }
.section--dark .checklist .icon { background: rgba(255, 0, 0, .2); color: var(--white); }
.checklist--boxed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }

/* ---- Stappen ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before {
    content: counter(step, decimal-leading-zero); display: block;
    font-family: var(--font-mono); font-size: .875rem; font-weight: 600; color: var(--red); margin-bottom: 14px;
}
.steps li::after { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 2px; background: var(--red-bright); }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- Technieken ---- */
/* Bewust een gewone lijst en geen "chips": het zijn labels, geen knoppen. */
.tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; margin: 0; padding: 0; }
.tech li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .9688rem; color: var(--ink); }
.tech li::before { content: ""; width: 14px; height: 8px; background: var(--red-bright); transform: skewX(-18deg); flex: none; }
@media (max-width: 420px) { .tech { grid-template-columns: 1fr; } }

/* ---- Inhoudsblokken op vervolgpagina's ---- */
.block { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); padding-block: clamp(32px, 4.5vw, 56px); border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; padding-top: 0; }
.block h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 0; }
.block__num { font-family: var(--font-mono); font-size: .875rem; color: var(--red); font-weight: 600; display: block; margin-bottom: 10px; }
.block__body > * + * { margin-top: 1.1em; }
.block__body ul:not(.checklist):not(.tech) { padding-left: 1.2em; margin: 0; }
.block__body ul:not(.checklist):not(.tech) li + li { margin-top: .4em; }
.block__body ul:not(.checklist):not(.tech) li::marker { color: var(--red); }
@media (max-width: 800px) { .block { grid-template-columns: 1fr; } }

.note { border-left: 3px solid var(--red-bright); background: var(--paper); padding: 16px 20px; border-radius: 0 8px 8px 0; font-size: 1rem; }
.note strong { color: var(--ink); }


/* ---- Praktijkvoorbeelden met schermafbeeldingen ---- */
.card__example--link { display: block; text-decoration: none; color: inherit; }
.card__example--link span { display: block; }
.card__example em, .case em { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-style: normal; font-weight: 650; font-size: .9375rem; color: var(--red); }
.card__example em .icon, .case em .icon { width: 18px; height: 18px; }
.card__example--link:hover em, .case:hover em { color: var(--red-dark); text-decoration: underline; text-underline-offset: .18em; }

.case { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px; align-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; max-width: 560px; transition: border-color .18s, box-shadow .18s; }
.case:hover { border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.case__thumb { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.case__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.case__body { display: block; min-width: 0; }
.case__body b { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.case__body strong { display: block; color: var(--ink); line-height: 1.35; margin-top: 2px; }
@media (max-width: 480px) { .case { grid-template-columns: 1fr; } }

.lightbox { width: min(1200px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(10, 11, 13, .82); backdrop-filter: blur(4px); }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox__bar { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line-dark); }
.lightbox__title { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--white); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox__count { font-family: var(--font-mono); font-size: .875rem; color: var(--on-dark-muted); white-space: nowrap; }
.lightbox__btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; transition: background-color .15s; }
.lightbox__btn:hover { background: var(--red); }
.lightbox__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: #0c0d10; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 4px; background: var(--white); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(20, 22, 26, .78); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox--single .lightbox__nav { display: none; }
@media (min-width: 720px) { .lightbox:not(.lightbox--single) .lightbox__stage { padding-inline: 72px; } }
.lightbox__caption { margin: 0; padding: 14px 22px; min-height: 52px; font-size: .9688rem; color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.lightbox__caption:empty { display: none; }

/* ---- Tijdlijn ---- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 clamp(36px, 5vw, 56px) 44px; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: var(--white); border: 3px solid var(--red-bright); transform: skewX(-12deg); }
.timeline li.is-now::before { background: var(--red-bright); }
.timeline__year { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.timeline h3 { margin-bottom: .5em; }
.timeline p { color: var(--muted); }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; } }

/* ---- Lopende tekst (privacy) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--red); }

/* ---- Contact ---- */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; font-size: .9375rem; color: var(--ink); margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--white);
    border: 1.5px solid #cfccc4; border-radius: 8px; padding: 12px 14px;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #9d9a92; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 22, 26, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { color: var(--red-dark); font-size: .875rem; margin-top: 6px; font-weight: 550; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); padding: 0; }
.field--check label { font-weight: 400; margin: 0; font-size: .9375rem; color: var(--text); }
.field--check .field__error { grid-column: 2; margin-top: 0; }
.field--hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.form__footer small { color: var(--muted); font-size: .875rem; }

.alert { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 22px; font-size: 1rem; border: 1px solid; }
.alert h2 { font-size: 1.15rem; margin-bottom: .3em; }
.alert--success { background: #eefaf3; border-color: #b9e6cb; color: #14532d; }
.alert--success h2 { color: #14532d; }
.alert--error { background: #fff1f0; border-color: #f6c2be; color: #7a0c07; }
.alert--error h2 { color: #7a0c07; }
.alert a { color: inherit; font-weight: 600; }

.contact-card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--white); }
.contact-list b { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.contact-list a { color: var(--white); text-decoration-color: rgba(255, 255, 255, .35); }
.contact-list a:hover { text-decoration-color: var(--red-bright); }
.contact-card__meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .9375rem; color: var(--on-dark-muted); }

/* ---- Afsluitende oproep ---- */
.cta { background: var(--red); color: var(--white); padding: calc(clamp(48px, 7vw, 88px) + var(--slant)) 0 clamp(48px, 7vw, 88px); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); position: relative; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px clamp(32px, 6vw, 80px); align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, .92); max-width: 36em; font-size: 1.125rem; }
.cta__actions { display: grid; gap: 16px; justify-items: start; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 650; text-decoration: none; font-size: 1.125rem; }
.cta__phone:hover { color: var(--white); text-decoration: underline; }
.cta__phone .icon { width: 20px; height: 20px; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }
main > .section:last-child { padding-bottom: calc(var(--section) + var(--slant)); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .9688rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px 32px; padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.site-footer__brand img { width: 150px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 26em; }
.site-footer__title { font-family: var(--font); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); font-weight: 700; margin-bottom: 16px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red-bright); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---- 404 ---- */
.notfound { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--red-bright); letter-spacing: -.05em; transform: skewX(-10deg); display: inline-block; }

/* ---- Verschijnen bij scrollen (alleen met JS en zonder 'minder beweging') ---- */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .site-header, .cta, .nav-toggle, .hero__actions, .mock { display: none !important; }
    .hero, .page-hero { clip-path: none; background: none; color: #000; padding: 0 0 24px; }
    .hero h1, .page-hero h1 { color: #000; }
}
