@charset "UTF-8";

/* =========================================================
   Vrij Leerdam — one-pager
   Huisstijl: zie HUISSTIJL.md
   ========================================================= */

/* ---------- Lettertypes (Lato, zelf gehost) ---------- */
@font-face {
	font-family: 'Lato';
	font-weight: 300;
	font-display: swap;
	src: url('../assets/fonts/lato-light.woff2') format('woff2');
}
@font-face {
	font-family: 'Lato';
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/lato-regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Lato';
	font-weight: 700;
	font-display: swap;
	src: url('../assets/fonts/lato-bold.woff2') format('woff2');
}
@font-face {
	font-family: 'Lato';
	font-weight: 900;
	font-display: swap;
	src: url('../assets/fonts/lato-black.woff2') format('woff2');
}

/* ---------- Huisstijl-variabelen ---------- */
:root {
	--vl-navy: #1f1450;
	--vl-navy-diep: #150d38;
	--vl-rood: #c20012;
	--vl-rood-donker: #911111;
	--vl-blauw: #add5f7;
	--vl-zand: #eeeae2;
	--vl-wit: #ffffff;
	--vl-grijs-1: #f5f7fa;
	--vl-grijs-2: #edf2f7;
	--vl-lijn: #cbd2d9;
	--vl-tekst: #1f2933;
	--vl-tekst-zacht: #3e4c59;
	--vl-tekst-licht: #7b8794;

	/* Facebook-blauw (huidige merkkleur). #0866ff haalt met witte tekst 4,82:1 en
	   voldoet daarmee aan WCAG AA; het oudere #1877f2 bleef op 4,23:1 steken. */
	--fb-blauw: #0866ff;
	--fb-blauw-donker: #0a4fc0;

	--vl-max: 1170px;
	--vl-gutter: 24px;
	--vl-radius: 4px;
	--vl-schaduw: 0 12px 32px rgba(31, 20, 80, .12);
	--vl-header-h: 76px;
}

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

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

body {
	margin: 0;
	font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.8;
	color: var(--vl-tekst-zacht);
	background: var(--vl-wit);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3 {
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--vl-navy);
	margin: 0 0 .5em;
	letter-spacing: .01em;
}

h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 19px; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--vl-rood); }
a:hover { color: var(--vl-rood-donker); }

:focus-visible {
	outline: 3px solid var(--vl-rood);
	outline-offset: 3px;
}

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

.skiplink {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--vl-rood);
	color: #fff;
	padding: 12px 20px;
	font-weight: 700;
	text-decoration: none;
}
.skiplink:focus {
	left: 0;
	color: #fff;
}

.eyebrow {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: 13px;
	line-height: 1.4;
	color: var(--vl-rood);
	margin-bottom: .8em;
}
.eyebrow--light { color: var(--vl-blauw); }

/* ---------- Knoppen ---------- */
.btn {
	display: inline-block;
	padding: 15px 32px;
	border: 2px solid transparent;
	border-radius: var(--vl-radius);
	font-family: inherit;
	font-size: 15px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .06em;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn--primary {
	background: var(--vl-rood);
	border-color: var(--vl-rood);
	color: #fff;
}
.btn--primary:hover {
	background: var(--vl-rood-donker);
	border-color: var(--vl-rood-donker);
	color: #fff;
	transform: translateY(-2px);
}

/* Facebook-actie: merkblauw, zodat de knop meteen leesbaar is als "naar Facebook"
   en niet concurreert met het rood van "Mail ons". */
.btn--facebook {
	background: var(--fb-blauw);
	border-color: var(--fb-blauw);
	color: #fff;
}
.btn--facebook:hover {
	background: var(--fb-blauw-donker);
	border-color: var(--fb-blauw-donker);
	color: #fff;
	transform: translateY(-2px);
}

.btn--ghost {
	background: transparent;
	border-color: var(--vl-navy);
	color: var(--vl-navy);
}
.btn--ghost:hover {
	background: var(--vl-navy);
	color: #fff;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0);
	transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
	background: var(--vl-wit);
	box-shadow: 0 2px 14px rgba(31, 20, 80, .12);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--vl-header-h);
}

.site-header__logo {
	display: block;
	line-height: 0;
	padding: 6px 12px;
	background: rgba(255, 255, 255, .92);
	border-radius: var(--vl-radius);
	transition: background-color .25s ease, padding .25s ease;
}
.site-header.is-scrolled .site-header__logo {
	background: transparent;
	padding-inline: 0;
}
.site-header__logo img {
	width: 168px;
	height: auto;
}

.site-nav {
	display: flex;
	gap: 8px;
}
.site-nav a {
	padding: 8px 14px;
	border-radius: var(--vl-radius);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .08em;
	text-decoration: none;
	color: var(--vl-wit);
	background: rgba(31, 20, 80, .55);
	transition: background-color .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--vl-rood); color: #fff; }

.site-header.is-scrolled .site-nav a {
	color: var(--vl-navy);
	background: transparent;
}
.site-header.is-scrolled .site-nav a:hover {
	color: var(--vl-rood);
	background: var(--vl-grijs-1);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 620px;
	padding: calc(var(--vl-header-h) + 40px) 0 60px;
	background: var(--vl-navy);
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0;
}
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 60%;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(31, 20, 80, .55) 0%, rgba(31, 20, 80, .25) 35%, rgba(21, 13, 56, .92) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
}

.hero__card {
	max-width: 760px;
	border-top: 5px solid var(--vl-rood);
	padding-top: 28px;
}

.hero__eyebrow {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .22em;
	font-size: 13px;
	color: var(--vl-blauw);
	margin-bottom: .6em;
}

.hero__title {
	color: var(--vl-wit);
	font-size: clamp(38px, 8vw, 68px);
	margin-bottom: .4em;
}
.hero__title span {
	display: block;
	font-weight: 300;
	text-transform: none;
	font-size: .58em;
	letter-spacing: .02em;
	color: var(--vl-blauw);
}

.hero__lead {
	color: rgba(255, 255, 255, .94);
	font-size: clamp(17px, 2.2vw, 20px);
	max-width: 62ch;
	text-shadow: 0 1px 12px rgba(21, 13, 56, .5);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}
.hero__actions .btn--ghost {
	border-color: rgba(255, 255, 255, .75);
	color: #fff;
}
.hero__actions .btn--ghost:hover {
	background: #fff;
	color: var(--vl-navy);
	border-color: #fff;
}

/* ---------- Secties ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--vl-grijs-1); }
.section--navy {
	background: var(--vl-navy);
	color: rgba(255, 255, 255, .88);
}
.section--navy h2,
.section--navy h3 { color: var(--vl-wit); }

.section__head {
	max-width: 60ch;
	margin-bottom: 40px;
}

/* Kernboodschap: tekst + foto */
.split {
	display: grid;
	gap: 36px;
	align-items: center;
}
.split__text { max-width: 62ch; }
.split__media {
	margin: 0;
	border-top: 5px solid var(--vl-rood);
	box-shadow: var(--vl-schaduw);
}
.split__media img { width: 100%; }

/* Kernwoorden */
.pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 24px;
}

.pillar {
	background: var(--vl-wit);
	border: 1px solid var(--vl-grijs-2);
	border-top: 5px solid var(--vl-navy);
	border-radius: var(--vl-radius);
	padding: 30px 26px;
	transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease;
}
.pillar:hover {
	transform: translateY(-4px);
	box-shadow: var(--vl-schaduw);
	border-top-color: var(--vl-rood);
}
.pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--vl-zand);
	color: var(--vl-rood);
}
.pillar__icon svg { width: 28px; height: 28px; }
.pillar p {
	font-size: 16px;
	line-height: 1.7;
}

.callout {
	margin: 48px auto 0;
	max-width: 46ch;
	text-align: center;
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 300;
	line-height: 1.5;
	color: var(--vl-navy);
}

/* ---------- Contact ---------- */
.contact {
	display: grid;
	gap: 36px;
	align-items: start;
}

.contact__main { max-width: 60ch; }

.contact__mail {
	display: inline-block;
	margin-top: 8px;
	font-size: clamp(22px, 3.4vw, 32px);
	font-weight: 900;
	color: var(--vl-wit);
	text-decoration: none;
	border-bottom: 4px solid var(--vl-rood);
	padding-bottom: 4px;
	word-break: break-word;
}
.contact__mail:hover {
	color: var(--vl-blauw);
	border-bottom-color: var(--vl-blauw);
}

.contact__note {
	margin-top: 26px;
	font-size: 16px;
	color: rgba(255, 255, 255, .78);
}

/* Facebookgroep */
.fb-card {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(173, 213, 247, .25);
	border-radius: var(--vl-radius);
	padding: 30px 26px;
}
.fb-card__icon {
	display: inline-flex;
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	color: var(--vl-blauw);
}
.fb-card__icon svg { width: 100%; height: 100%; }
.fb-card p {
	font-size: 16px;
	color: rgba(255, 255, 255, .8);
}

/* Preview van de groep — nagebouwd, laadt niets van facebook.com */
.fb-preview {
	display: block;
	margin: 20px 0 22px;
	background: var(--vl-wit);
	border-radius: var(--vl-radius);
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
	transition: transform .2s ease, box-shadow .2s ease;
}
.fb-preview:hover,
.fb-preview:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

.fb-preview__cover {
	display: block;
	background: var(--vl-wit);
	border-bottom: 1px solid var(--vl-grijs-2);
	padding: 22px 26px;
}
.fb-preview__cover img {
	width: 100%;
	max-width: 260px;
	margin-inline: auto;
}

.fb-preview__body {
	display: block;
	padding: 16px 20px 18px;
}

.fb-preview__meta {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--fb-blauw);
}
.fb-preview__meta svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.fb-preview__name {
	display: block;
	margin: 6px 0 4px;
	font-size: 20px;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--vl-navy);
}

.fb-preview__desc {
	display: block;
	font-size: 15px;
	line-height: 1.6;
	color: var(--vl-tekst-zacht);
}

.fb-preview__url {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	letter-spacing: .02em;
	color: var(--vl-tekst-licht);
	/* Nooit midden in het groepsnummer afbreken: liever afkappen met … */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fb-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.btn__ext {
	width: 15px;
	height: 15px;
	flex: none;
}

/* Alleen voor schermlezers */
.visueel-verborgen {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--vl-navy-diep);
	color: rgba(255, 255, 255, .7);
	padding: 52px 0 40px;
	text-align: center;
}
.site-footer__logo {
	width: 190px;
	margin: 0 auto 18px;
}
.site-footer__tagline {
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: 13px;
	font-weight: 700;
	color: var(--vl-blauw);
	margin-bottom: 1em;
}
.site-footer__contact a {
	color: var(--vl-wit);
	text-decoration: none;
	border-bottom: 1px solid var(--vl-rood);
}
.site-footer__contact a:hover { color: var(--vl-blauw); }
.site-footer__meta {
	margin-top: 1.4em;
	font-size: 14px;
	color: rgba(255, 255, 255, .5);
}

/* ---------- Reveal-animatie (alleen als JS draait) ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Breakpoints ---------- */
@media (max-width: 640px) {
	/* Op smalle schermen ligt de tekst dichter op de foto: extra donkere overlay */
	.hero::after {
		background: linear-gradient(180deg, rgba(21, 13, 56, .58) 0%, rgba(21, 13, 56, .74) 45%, rgba(21, 13, 56, .94) 100%);
	}
	.hero {
		min-height: 560px;
		padding-top: calc(var(--vl-header-h) + 28px);
	}
	.hero__lead { text-shadow: none; }
	.hero__card { padding-top: 22px; }
}

@media (max-width: 479px) {
	.site-header__logo img { width: 140px; }
	.site-nav a { padding: 8px 10px; font-size: 12px; }
	.btn {
		width: 100%;
		padding-inline: 18px;
	}
}

@media (min-width: 768px) {
	body { font-size: 18px; }
	.section { padding: 96px 0; }
	.pillars { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr 1fr; gap: 56px; }
	.contact { grid-template-columns: 1.35fr 1fr; gap: 56px; }
}

@media (min-width: 1024px) {
	.pillars { grid-template-columns: repeat(4, 1fr); }
	.hero { min-height: 700px; }
}

/* ---------- Toegankelijkheid: minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Printen ---------- */
@media print {
	.site-header, .hero__actions, .fb-card .btn { display: none; }
	.hero::after { background: none; }
	body { color: #000; font-size: 12pt; }
}
