/* ==========================================================================
   Numori basisstijl
   Kleuren: mist (achtergrond), inkt (tekst), signaal (actie), amber (afwijking)
   ========================================================================== */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations");
    font-weight: 200 800;
    font-stretch: 75% 100%;
    font-display: swap;
}
@font-face {
    font-family: "Public Sans";
    src: url("../fonts/public-sans.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Public Sans";
    src: url("../fonts/public-sans-italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --mist: #EEF1F4;
    --surface: #FFFFFF;
    --ink: #14213D;
    --ink-soft: #2A3858;
    --muted: #55637A;
    --line: #CAD3DE;
    --signal: #0E7C6B;
    --signal-strong: #0A6355;
    --signal-light: #3FC7A8;
    --amber: #F2B53A;
    --amber-ink: #8A5A00;
    --amber-wash: #FDF3DC;

    --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Typografische schaal (ratio ~1.25) */
    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: 1.5625rem;
    --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem);

    --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
    --section: clamp(4rem, 3rem + 5vw, 7.5rem);
    --radius: 14px;
    --radius-small: 8px;
}

/* --- Basis ---------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--mist);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    font-feature-settings: "kern", "liga";
    text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

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

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

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

.skip-link {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--mist);
    border-radius: var(--radius-small);
}
.skip-link:focus { top: 1rem; }

/* --- Knoppen -------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.4rem;
    border: 2px solid var(--signal);
    border-radius: 999px;
    background: var(--signal);
    color: #FFFFFF;
    font: 600 var(--step-0)/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}
.button:hover { background: var(--signal-strong); border-color: var(--signal-strong); }

.button--ghost {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}
.button--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--mist); }

.button--small {
    min-height: 2.5rem;
    padding: 0.5rem 1.1rem;
    font-size: var(--step--1);
}

/* --- Header --------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(238 241 244 / 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink);
    text-decoration: none;
}
.wordmark__mark { width: 2rem; height: 2rem; }
.wordmark__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    line-height: 1;
}
.wordmark--light { color: var(--mist); }

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    list-style: none;
}
.site-nav__list a:not(.button) {
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-soft);
}
.site-nav__list a:not(.button):hover { color: var(--signal); }

.nav-toggle { display: none; }

@media (max-width: 52rem) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem; height: 2.75rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
        cursor: pointer;
    }
    .nav-toggle__bar,
    .nav-toggle__bar::before,
    .nav-toggle__bar::after {
        display: block;
        width: 1.1rem; height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform 150ms ease, opacity 150ms ease;
    }
    .nav-toggle__bar { position: relative; }
    .nav-toggle__bar::before,
    .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle__bar::before { top: -6px; }
    .nav-toggle__bar::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

    .site-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        display: none;
        padding: 1rem var(--gutter) 1.5rem;
        background: var(--mist);
        border-bottom: 1px solid var(--line);
    }
    .site-nav.is-open { display: block; }
    .site-nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .site-nav__list a:not(.button) { font-size: var(--step-1); }

    .js .site-nav { display: none; }
    .js .site-nav.is-open { display: block; }
}

/* Zonder JavaScript blijft het menu gewoon zichtbaar */
@media (max-width: 52rem) {
    html:not(.js) .site-nav { position: static; display: block; padding: 0 0 1rem; border: 0; }
    html:not(.js) .site-header__inner { flex-wrap: wrap; }
    html:not(.js) .nav-toggle { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */

.hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) var(--section); }

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    align-items: center;
}

.hero__title {
    font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem);
    font-stretch: 82%;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.025em;
    max-width: 15ch;
}

.hero__sub {
    margin-top: 1.5rem;
    max-width: 32rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 600;
    line-height: 1.3;
    text-wrap: balance;
}

.hero__lead {
    margin-top: 1rem;
    max-width: 34rem;
    font-size: var(--step-1);
    line-height: 1.55;
    color: var(--ink-soft);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Vraagconsole */
.console {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgb(20 33 61 / 0.35);
    overflow: hidden;
}

.console__bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--step--1);
}
.console__title { font-weight: 600; }
.console__note { color: var(--muted); }

.console__question {
    padding: 1.25rem 1.25rem 1rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 600;
    line-height: 1.25;
    min-height: 5.6rem;
}
.console__prompt.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px; height: 1.05em;
    margin-left: 2px;
    vertical-align: -0.12em;
    background: var(--signal);
    animation: caret 900ms steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.console__answer {
    padding: 1.1rem 1.25rem 1.25rem;
    border-top: 1px dashed var(--line);
    background: #F7F9FB;
    transition: opacity 400ms ease;
}
.console.is-waiting .console__answer { opacity: 0; }

.console__summary { font-size: var(--step-0); }
.console__summary strong { font-weight: 700; }

.bars {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
    font-size: var(--step--1);
}
.bars__row {
    display: grid;
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 3.5rem;
    align-items: center;
    gap: 0.75rem;
}
.bars__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); }
.bars__track { height: 0.55rem; background: #E3E8EE; border-radius: 999px; overflow: hidden; }
.bars__fill {
    display: block;
    height: 100%;
    width: var(--w);
    background: var(--ink);
    border-radius: inherit;
}
.bars__value { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.console__signal {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1.1rem;
    padding: 0.75rem 0.9rem;
    background: var(--amber-wash);
    border-radius: var(--radius-small);
    color: #4A3500;
    font-size: var(--step--1);
    line-height: 1.5;
}

.signal-dot {
    flex: none;
    width: 0.6rem; height: 0.6rem;
    margin-top: 0.4em;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 4px rgb(242 181 58 / 0.25);
}

@media (max-width: 60rem) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__title { max-width: 14ch; }
}
@media (max-width: 30rem) {
    .bars__row { grid-template-columns: minmax(0, 1fr) 3.25rem; }
    .bars__track { grid-column: 1 / -1; grid-row: 2; }
}

/* --- Secties -------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--mist); }

.section__intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section__title {
    font-size: var(--step-3);
    font-stretch: 88%;
    max-width: 22ch;
}

.section__lead {
    margin-top: 1rem;
    font-size: var(--step-1);
    line-height: 1.55;
    color: var(--muted);
    max-width: 40rem;
}
.section--ink .section__lead { color: #C4CCDA; }

/* --- Overzichtskaart (hero) ----------------------------------------------- */

.dash {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgb(20 33 61 / 0.35);
    overflow: hidden;
}
.dash__bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--step--1);
}
.dash__title { font-weight: 600; }
.dash__note { color: var(--muted); }

.dash__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}
.dash__kpi { padding: 1rem 1.25rem; }
.dash__kpi + .dash__kpi { border-left: 1px solid var(--line); }
.dash__kpi-name { font-size: var(--step--1); color: var(--muted); }
.dash__kpi-value {
    margin-top: 0.2rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.dash__kpi-delta { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--signal-strong); }
.dash__kpi--warn .dash__kpi-delta { color: var(--amber-ink); }

.dash__chart {
    display: block;
    width: calc(100% - 2.5rem);
    height: 6rem;
    margin: 1.25rem 1.25rem 0.5rem;
    overflow: visible;
}
.dash__chart polyline { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.dash__prev { stroke: var(--line); stroke-width: 2; }
.dash__now { stroke: var(--signal); stroke-width: 2.5; }

.dash__ask {
    display: grid;
    gap: 0.2rem;
    margin: 0.75rem 1.25rem 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--mist);
}
.dash__ask-label { font-size: 0.8125rem; color: var(--muted); }
.dash__ask-question { font-weight: 600; }

.dash__sources {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.8rem 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
}
.dash__sources-label { color: var(--muted); }
.dash__sources-list { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; }
.dash__sources-list li {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #E3E8EE;
    font-weight: 500;
}

@media (max-width: 30rem) {
    .dash__kpis { grid-template-columns: 1fr; }
    .dash__kpi + .dash__kpi { border-left: 0; border-top: 1px solid var(--line); }
}

/* --- Bronnen naar één overzicht ---------------------------------------------- */

.flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: clamp(1.25rem, 1rem + 1vw, 2rem);
    background: var(--mist);
    border-radius: var(--radius);
}
.flow__head {
    margin-bottom: 0.75rem;
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--muted);
}
.flow__list { display: grid; gap: 0.5rem; padding: 0; list-style: none; }
.flow__item {
    padding: 0.7rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    font-weight: 600;
    font-size: var(--step--1);
}
.flow__item--out {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--mist);
}
.flow__hub {
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-rows: 1fr auto 1fr;
    height: 100%;
}
.flow__line { width: 2px; height: 100%; min-height: 1.5rem; background: var(--signal); opacity: 0.5; }
.flow__node {
    display: grid;
    place-items: center;
    width: 3.5rem; height: 3.5rem;
    color: var(--ink);
}
.flow__node svg { width: 100%; height: 100%; }

@media (min-width: 30.01rem) {
    .flow__hub { grid-template-rows: none; grid-template-columns: 1fr auto 1fr; width: 6rem; height: auto; }
    .flow__line { width: 100%; height: 2px; min-height: 0; }
}
@media (max-width: 30rem) {
    .flow { grid-template-columns: 1fr; }
    .flow__hub { height: auto; grid-template-rows: 1.5rem auto 1.5rem; }
}

/* --- Tekstelementen in secties --------------------------------------------- */

.section__text {
    margin-top: 1.25rem;
    max-width: 38rem;
    color: var(--ink-soft);
}
.section--ink .section__text { color: #C4CCDA; }

.section__closing {
    margin-top: 1.75rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 700;
    line-height: 1.25;
    max-width: 30rem;
    text-wrap: balance;
}

.proactive__question {
    margin-top: 2rem;
    padding-left: 1.1rem;
    border-left: 3px solid var(--amber);
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    line-height: 1.35;
    max-width: 32rem;
}

.context__quote {
    margin-top: 1.75rem;
    padding-left: 1.1rem;
    border-left: 3px solid var(--signal);
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    line-height: 1.4;
    max-width: 32rem;
}

.console__basis {
    margin-top: 1.1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--line);
    font-size: 0.8125rem;
    color: var(--muted);
}

/* --- Bedrijfsdefinitie ----------------------------------------------------- */

.definition {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgb(20 33 61 / 0.3);
    overflow: hidden;
}
.definition__bar {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--step--1);
}
.definition__kind {
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: #DDF3EC;
    color: #064A3F;
    font-weight: 600;
}
.definition__note { color: var(--muted); }
.definition__name {
    padding: 1.1rem 1.25rem 0;
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 700;
    line-height: 1.1;
}
.definition__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 1.1rem 1.25rem 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    overflow: hidden;
}
.definition__row { padding: 0.8rem 0.9rem; background: var(--surface); }
.definition__row--wide { grid-column: 1 / -1; }
.definition__row dt { font-size: 0.8125rem; color: var(--muted); }
.definition__row dd { margin-top: 0.2rem; font-size: var(--step--1); line-height: 1.5; font-weight: 500; }
.definition__row--rule { background: var(--amber-wash); }
.definition__row--rule dt { color: var(--amber-ink); }
.definition__used {
    margin: 1rem 1.25rem 1.25rem;
    font-size: var(--step--1);
    color: var(--muted);
}

/* --- Signaalkaart -------------------------------------------------- */

.signal,
.dash,
.console,
.definition { color: var(--ink); }

.signal {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgb(20 33 61 / 0.35);
    overflow: hidden;
}
.signal__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--step--1);
}
.signal__kind { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--amber-ink); }
.signal__kind .signal-dot { margin-top: 0; }
.signal__note { color: var(--muted); }

.signal__body { padding: 1.25rem; }
.signal__when { font-size: var(--step--1); font-weight: 600; color: var(--amber-ink); }
.signal__title {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

.signal__chart {
    width: 100%;
    height: 7rem;
    margin-top: 1.25rem;
    overflow: visible;
}
.signal__chart polyline,
.signal__chart line { fill: none; vector-effect: non-scaling-stroke; }
.signal__target { stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 2 4; }
.signal__actual { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.signal__forecast { stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.signal__cross { fill: var(--amber); stroke: var(--surface); stroke-width: 2; vector-effect: non-scaling-stroke; }
.signal__now { fill: var(--ink); }

.signal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin-top: 0.75rem;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: var(--muted);
}
.signal__legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.signal__legend-item::before {
    content: "";
    width: 1.1rem;
    border-top: 2.5px solid var(--ink);
}
.signal__legend-item--forecast::before { border-top: 2.5px dashed var(--amber); }
.signal__legend-item--target::before { border-top: 1.5px dotted var(--signal); }

.signal__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px dashed var(--line);
    font-size: var(--step--1);
    line-height: 1.5;
}
.signal__details dt { font-weight: 700; }
.signal__details dd { margin-top: 0.2rem; color: var(--ink-soft); }

.signal__owner {
    padding: 0.8rem 1.25rem;
    background: var(--amber-wash);
    color: #4A3500;
    font-size: var(--step--1);
    font-weight: 600;
}

/* Eén moment: de voorspelling verschijnt na het laden */
.js .signal__forecast,
.js .signal__cross { opacity: 0; transition: opacity 600ms ease 500ms; }
.js .signal.is-ready .signal__forecast,
.js .signal.is-ready .signal__cross { opacity: 1; }

@media (max-width: 30rem) {
    .signal__details { grid-template-columns: 1fr; }
}

/* --- Tekst naast visual ---------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 1rem + 5vw, 5rem);
    align-items: center;
}
.split--reverse .split__copy { order: 2; }

.points {
    display: grid;
    gap: 1.4rem;
    margin-top: 2.25rem;
}
.point {
    padding-left: 1.1rem;
    border-left: 2px solid var(--signal);
}
.point dt {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-1);
    line-height: 1.25;
}
.point dd { margin-top: 0.3rem; color: var(--ink-soft); max-width: 32rem; }

@media (max-width: 60rem) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__copy { order: 0; }
}

/* --- Contact -------------------------------------------------------------- */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 1rem + 4vw, 5rem);
    align-items: start;
}

.form {
    padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field__optional { font-weight: 400; color: var(--muted); }

.field input,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #B7C2D0;
    border-radius: var(--radius-small);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: var(--step-0);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible,
.field textarea:focus-visible {
    outline: 3px solid var(--signal-light);
    outline-offset: 0;
    border-color: var(--signal);
}

.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}
.form__privacy { font-size: var(--step--1); color: var(--muted); }

.form__message {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-small);
    font-weight: 500;
}
.form__message--ok { background: #DDF3EC; color: #064A3F; }
.form__message--error { background: var(--amber-wash); color: #4A3500; }

@media (max-width: 52rem) {
    .contact { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
    .form__grid { grid-template-columns: 1fr; }
}

/* --- 404 ------------------------------------------------------------------ */

.notfound { min-height: 50vh; }
.notfound .button { margin-top: 2rem; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
    padding-block: 3rem;
    background: var(--ink);
    color: var(--mist);
    border-top: 1px solid #2E3D60;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 2.5rem;
}
.site-footer__tagline { color: #C4CCDA; font-size: var(--step--1); }
.site-footer__meta { color: #9FB0C8; font-size: var(--step--1); }

@media (max-width: 44rem) {
    .site-footer__inner { grid-template-columns: 1fr; }
}

/* --- Minder beweging ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Taalwissel ----------------------------------------------------------- */

.site-nav__lang a {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
}
@media (max-width: 52rem) {
    .site-nav__lang a { padding-left: 0; border-left: 0; }
}

/* --- Staging -------------------------------------------------------------- */

.staging-bar {
    padding: 0.5rem var(--gutter);
    background: var(--amber);
    color: #2B1F00;
    font-size: var(--step--1);
    font-weight: 600;
    text-align: center;
}
