/* ============================================================
   BASE: tokens, reset, typografie
   TrueTec huisstijl: merkblauw #1055A1 + antraciet uit het logo
   ============================================================ */

:root {
    /* Antraciet (uit logo #1D1E1C, koeler gemaakt voor schermen) */
    --ink-950: #07090c;
    --ink-900: #0b0f14;
    --ink-850: #10151c;
    --ink-800: #161d26;
    --ink-700: #222b36;

    /* Merkblauw */
    --blue: #1055a1;
    --blue-600: #1663b8;
    --blue-bright: #2f7fe0;
    --blue-glow: #6aa9ff;
    --blue-tint: rgba(47, 127, 224, 0.12);

    /* Staal (lichte secties) */
    --steel-50: #f5f7f9;
    --steel-100: #eceff3;
    --steel-200: #dde2e8;
    --steel-300: #c5ccd5;

    /* Tekst */
    --text: #e8edf2;
    --text-muted: #9aa6b3;
    --text-faint: #6b7784;
    --text-dark: #0b0f14;
    --text-dark-muted: #56616e;

    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --line-dark: rgba(11, 15, 20, 0.1);

    /* Typografie */
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.375rem;
    --fs-2xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
    --fs-3xl: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
    --fs-4xl: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
    --fs-hero: clamp(3rem, 1.2rem + 6.6vw, 7.25rem);

    /* Ruimte */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);

    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 14px;

    --container: 1320px;
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
    --header-h: 76px;

    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --t-fast: 160ms var(--ease);
    --t-med: 320ms var(--ease);
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--ink-950);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -0.015em; line-height: 1.2; }
p { text-wrap: pretty; }

.nowrap { white-space: nowrap; }
.text-blue { color: var(--blue-bright); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

/* Label boven koppen: mono, zonder streepje ervoor */
.label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-glow);
}
.label__num { color: var(--text-faint); }
.is-light .label { color: var(--blue); }
.is-light .label__num { color: var(--text-dark-muted); }

/* Lichte secties */
.is-light {
    background: var(--steel-100);
    color: var(--text-dark);
}
.is-light p { color: var(--text-dark-muted); }

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

/* Scroll-animatie */
[data-animate] { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-animate]:not(.is-visible) { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js [data-animate]:not(.is-visible) { opacity: 1; transform: none; }
}
