/*
 * WebHostPartner design tokens, versie 4 (30 september 2026): de stijl van de goedgekeurde homepage, op alle
 * pagina's. Donker en diep bovenaan (logo-navy met cyaan en blauw licht), daarna lichte secties met witte kaarten,
 * ronde hoeken en zachte schaduwen. Onderbouwing: docs/brand/brandbook-v4.md en docs/design/richting-referenties.md.
 * Kleuren uit het logo: navy #002e47 en cyaan #36c6f4.
 */

/* Plus Jakarta Sans (SIL OFL 1.1), zelf gehost, variabel. Gebruikt in 400, 600 en 700. Licentie: ../fonts/OFL-PlusJakartaSans.txt */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/PlusJakartaSans-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	/* ---------- Merk ---------- */
	--whp-navy: #002e47;        /* koppen, voet, de ene navy band. Wit erop 14,17:1 */
	--whp-navy-700: #0a3d5c;    /* hover van navy knoppen */
	--whp-navy-900: #001f31;    /* oude naam, nog gebruikt door de tools (plugin): hover */
	--whp-navy-950: #001a2b;
	--whp-cyaan: #36c6f4;       /* alleen: hoofdknop (navy tekst erop 7,11:1) en accent op navy. Nooit tekst op wit */
	--whp-cyaan-licht: #8fdcf8; /* hover van de hoofdknop, links op navy (9,3:1) */
	--whp-cyaan-100: #e3f5fd;

	/* ---------- Tekst ---------- */
	--whp-kop: #002e47;         /* koppen. Op wit 14,17:1 */
	--whp-tekst: #1f2f3a;       /* lopende tekst. Op wit 13,8:1 */
	--whp-tekst-zacht: #4f616d; /* toelichting, onderschriften. Op wit 6,4:1, op vlak 5,9:1 */
	--whp-link: #0a6d91;        /* links op licht, onderstreept. Op wit 5,8:1, op vlak 5,4:1 */
	--whp-link-hover: #00597a;
	--whp-op-donker: #d5e2ec;   /* lopende tekst op navy. 10,7:1 */
	--whp-op-donker-zacht: #a9bfcf; /* toelichting op navy. 7,5:1 */

	/* ---------- Vlakken en randen ---------- */
	--whp-wit: #ffffff;
	--whp-vlak: #f3f6f8;        /* koel lichtgrijs, geen crème */
	--whp-tint: var(--whp-vlak); /* oude naam, nog gebruikt door de chat */
	--whp-rand: #d9e3ea;
	--whp-rand-zacht: #e7edf1;
	--whp-rand-veld: #71838f;   /* rand van invoervelden: 3,9:1 op wit (WCAG 1.4.11) */
	--whp-rand-donker: rgba(255, 255, 255, 0.18);

	/* ---------- Status (alleen voor status) ---------- */
	--whp-succes: #13703f;      /* op wit 6,1:1 */
	--whp-succes-vlak: #e7f5ec;
	--whp-fout: #b42318;        /* op wit 6,5:1 */
	--whp-fout-vlak: #fdecea;
	--whp-let-op: #8a5300;      /* op wit 6,2:1 */
	--whp-let-op-vlak: #fdf3e1;

	/* ---------- Donker (paginakop, banden, contactblok) ---------- */
	--whp-diep: #001d2e;        /* contactblok onderaan */
	--whp-blauw: #0d4f86;
	--whp-licht-cyaan: rgba(54, 198, 244, 0.40);
	--whp-licht-blauw: rgba(30, 96, 214, 0.70);
	--whp-boog: rgba(143, 220, 248, 0.15);
	/* Ook gebruikt door de chat (plugin): de kop van het chatvenster. */
	--whp-verloop-donker: linear-gradient(160deg, #00304c 0%, #013f68 55%, #0a4f93 100%);
	--whp-verloop-hero: var(--whp-verloop-donker);

	/* ---------- Letter ---------- */
	--whp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--whp-mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace; /* alleen echte codeblokken */
	--whp-t-basis: 1.0625rem;   /* 17 px */
	--whp-t-klein: 1rem;        /* 16 px: kleinste tekst op de site */
	--whp-t-lead: 1.25rem;      /* 20 px: de ene zin onder de h1 */
	--whp-t-h1-home: clamp(2.25rem, 2.4vw + 1.35rem, 3.5rem); /* 36 tot 56 px, alleen de home */
	--whp-t-h1: clamp(2.125rem, 2vw + 1.3rem, 3.125rem);     /* 34 tot 50 px */
	--whp-t-h2: clamp(1.75rem, 1.4vw + 1.25rem, 2.5rem);      /* 28 tot 40 px, gewicht 800 */
	--whp-t-h3: 1.1875rem;      /* 19 px */
	--whp-regel: 1.6;
	--whp-spatie-h1: -0.025em;
	--whp-spatie-kop: -0.02em;

	/* ---------- Ruimte en maten ---------- */
	--whp-breed: 70rem;         /* 1120 px inhoud */
	--whp-lees: 42rem;          /* ongeveer 68 tekens */
	--whp-rand-pagina: 1rem;    /* 16 px zijmarge op mobiel */
	--whp-sectie: clamp(3.5rem, 7vw, 6rem); /* 56 tot 96 px tussen secties */
	--whp-klikdoel: 2.75rem;    /* 44 px */

	--whp-r-s: 12px;            /* knoppen, velden */
	--whp-r-m: 14px;            /* kleine kaders, iconen */
	--whp-r-l: 18px;            /* kaarten, tabellen */
	--whp-r-xl: 22px;           /* prijskaarten, kaart in de kop, formulier */
	--whp-r-band: 26px;         /* donkere band */
	--whp-r-pil: 999px;         /* zoekbalk, tabbladen, chatknop */

	--whp-schaduw-s: 0 1px 2px rgba(0, 26, 43, 0.08);
	--whp-schaduw-kaart: 0 1px 2px rgba(0, 46, 71, 0.06), 0 10px 30px -10px rgba(0, 46, 71, 0.16);
	--whp-schaduw-kaart-hover: 0 2px 4px rgba(0, 46, 71, 0.06), 0 22px 40px -16px rgba(0, 46, 71, 0.28);
	--whp-schaduw-hoog: 0 2px 6px rgba(0, 20, 34, 0.12), 0 30px 60px -20px rgba(0, 20, 34, 0.45);
	--whp-schaduw-knop: none;

	/* ---------- Focus ---------- */
	--whp-focus: var(--whp-link);
	--whp-focus-donker: var(--whp-cyaan-licht);
	--whp-focus-halo: rgba(54, 198, 244, 0.35);

	--whp-snel: 140ms;
	--whp-soepel: ease-out;
}

@media (min-width: 40rem) {
	:root { --whp-rand-pagina: 1.5rem; }
}
@media (min-width: 64rem) {
	:root { --whp-rand-pagina: 2rem; }
}
