/* IMD — Gedreven door water */

@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--groen: #27966f;
	--groen-licht: #3dcd9a;
	--groen-donker: #175942;
	--zwartgrijs: #333333;
	--lichtgrijs: #f8f8f8;
	--wit: #ffffff;
	--tekst-zacht: #5c6b65;
	--lijn: #e2e9e6;

	--font: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1400px;
	--rand: clamp(16px, 4vw, 40px);
	--sectie: clamp(64px, 9vw, 120px);
	--radius: 10px;
	--schaduw: 0 1px 2px rgb(23 89 66 / 6%), 0 8px 24px rgb(23 89 66 / 8%);
	--kophoogte: 76px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--kophoogte) + 16px);
	-webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--zwartgrijs);
	background: var(--wit);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
	margin: 0 0 .5em;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--groen-donker);
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--groen); text-underline-offset: .15em; }
a:hover { color: var(--groen-donker); }
:focus-visible { outline: 3px solid var(--groen-licht); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--rand); }
.wrap--smal { max-width: 800px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skiplink {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	padding: 10px 16px; background: var(--groen-donker); color: var(--wit); border-radius: 6px;
}
.skiplink:focus { top: 12px; }

/* Knoppen */
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.knop {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 12px 26px;
	font: 600 1.0625rem/1.2 var(--font);
	color: var(--wit); background: var(--groen);
	border: 2px solid var(--groen); border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.knop:hover { color: var(--wit); background: var(--groen-donker); border-color: var(--groen-donker); }
.knop:active { transform: translateY(1px); }
.knop--licht { background: transparent; border-color: currentColor; color: var(--wit); }
.knop--licht:hover { background: var(--wit); border-color: var(--wit); color: var(--groen-donker); }
.knop--rand { background: transparent; color: var(--groen-donker); border-color: var(--groen-donker); }
.knop--rand:hover { background: var(--groen-donker); color: var(--wit); }
.knop--klein { min-height: 42px; padding: 8px 20px; font-size: 1rem; }

.bovenkop {
	margin: 0 0 12px;
	font-size: .9375rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--groen);
}
.bovenkop--licht { color: var(--groen-licht); }

/* Kop */
.kop {
	position: sticky; top: 0; z-index: 50;
	background: rgb(255 255 255 / 96%);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.kop.is-gescrold { border-bottom-color: var(--lijn); box-shadow: 0 4px 20px rgb(23 89 66 / 6%); }
.kop__binnen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--kophoogte); }
.kop__logo img { width: 124px; }
.kop__nav ul { display: flex; align-items: center; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.kop__nav a:not(.knop) {
	color: var(--zwartgrijs); font-weight: 600; text-decoration: none;
	padding: 6px 0; border-bottom: 2px solid transparent;
}
.kop__nav a:not(.knop):hover { color: var(--groen); border-bottom-color: var(--groen-licht); }
.kop__tel a { color: var(--groen) !important; }
.kop__menuknop { display: none; }

@media (max-width: 860px) {
	:root { --kophoogte: 64px; }
	.kop__logo img { width: 100px; }
	.kop__menuknop {
		display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
		background: none; border: 0; cursor: pointer; color: var(--groen-donker);
	}
	.kop__menuknop-streep, .kop__menuknop-streep::before, .kop__menuknop-streep::after {
		display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
		transition: transform .25s, background .25s;
	}
	.kop__menuknop-streep { position: relative; }
	.kop__menuknop-streep::before, .kop__menuknop-streep::after { content: ""; position: absolute; left: 0; }
	.kop__menuknop-streep::before { top: -7px; }
	.kop__menuknop-streep::after { top: 7px; }
	.kop__menuknop[aria-expanded="true"] .kop__menuknop-streep { background: transparent; }
	.kop__menuknop[aria-expanded="true"] .kop__menuknop-streep::before { transform: translateY(7px) rotate(45deg); }
	.kop__menuknop[aria-expanded="true"] .kop__menuknop-streep::after { transform: translateY(-7px) rotate(-45deg); }

	.kop__nav {
		position: absolute; inset: 100% 0 auto; background: var(--wit);
		border-bottom: 1px solid var(--lijn); box-shadow: 0 16px 24px rgb(23 89 66 / 10%);
		display: none;
	}
	.kop__nav.is-open { display: block; }
	.kop__nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 24px; }
	.kop__nav li a:not(.knop) { display: block; padding: 14px 0; border-bottom: 1px solid var(--lijn); }
	.kop__nav li:last-child { margin-top: 16px; }
	.kop__nav .knop { width: 100%; }
}

/* Hero */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(82vh, 760px);
	display: flex; align-items: center;
	padding-block: clamp(80px, 12vw, 140px) clamp(100px, 13vw, 160px);
	color: var(--wit);
	background: var(--groen-donker);
}
.hero__foto {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgb(23 89 66 / 94%) 0%, rgb(23 89 66 / 82%) 42%, rgb(23 89 66 / 35%) 100%);
}
.hero__binnen > * { max-width: 720px; }
.hero h1 { color: var(--wit); margin-bottom: 24px; }
.hero__tekst { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: rgb(255 255 255 / 92%); }
.hero__golf { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(32px, 5vw, 80px); fill: var(--wit); }

/* Secties */
.sectie { padding-block: var(--sectie); }
.sectie--grijs { background: var(--lichtgrijs); }
.sectie__kop { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--tekst-zacht); }

/* Diensten */
.kaarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kaart {
	padding: 32px; background: var(--wit);
	border: 1px solid var(--lijn); border-radius: var(--radius);
	transition: box-shadow .2s, transform .2s;
}
.kaart:hover { box-shadow: var(--schaduw); transform: translateY(-2px); }
.kaart__icoon {
	width: 52px; height: 52px; margin-bottom: 20px; padding: 12px;
	background: rgb(61 205 154 / 14%); border-radius: 12px;
	fill: none; stroke: var(--groen); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.kaart p { font-size: 1.0625rem; color: var(--tekst-zacht); }

.citaat {
	margin: clamp(48px, 7vw, 88px) auto; max-width: 860px; text-align: center;
}
.citaat blockquote { margin: 0; }
.citaat p {
	font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.3; font-weight: 600; font-style: italic;
	color: var(--groen-donker); text-wrap: balance;
}
.citaat p::before { content: "\201C"; color: var(--groen-licht); }
.citaat p::after { content: "\201D"; color: var(--groen-licht); }
.citaat figcaption { margin-top: 16px; font-weight: 600; color: var(--groen); }

.band {
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
	color: var(--wit);
	background: linear-gradient(120deg, var(--groen) 0%, var(--groen-donker) 100%);
	border-radius: var(--radius);
}
.band h3 { color: var(--wit); margin-bottom: 6px; }
.band p { max-width: 640px; color: rgb(255 255 255 / 88%); }

/* Sensight */
.sectie--sensight { padding-top: 0; }
.sensight {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.sensight__punten {
	display: grid; gap: 12px; margin: 0; padding: clamp(24px, 3vw, 36px); list-style: none;
	background: var(--lichtgrijs); border-radius: var(--radius);
}
.sensight__punten li {
	position: relative; padding-left: 34px; font-weight: 600; color: var(--groen-donker); line-height: 1.45;
}
.sensight__punten li::before {
	content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Doelgroepen */
.doelgroepen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doelgroep {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw);
}
.doelgroep__foto { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.doelgroep__tekst { padding: 28px 28px 32px; }
.doelgroep__tekst h3 { position: relative; padding-left: 16px; }
.doelgroep__tekst h3::before {
	content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px;
	background: var(--groen-licht); border-radius: 2px;
}
.doelgroep p { font-size: 1.0625rem; color: var(--tekst-zacht); }

/* Over IMD */
.over {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start;
}
.over__foto { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.kernwaarden {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none;
}
.kernwaarden li {
	display: flex; align-items: center; gap: 12px;
	padding: 14px 16px; font-weight: 600; color: var(--groen-donker);
	background: var(--lichtgrijs); border-radius: 8px;
}
.kernwaarden li::before {
	content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
	background: var(--groen-licht); box-shadow: 0 0 0 4px rgb(61 205 154 / 22%);
}
.over__blokken {
	grid-column: 1 / -1;
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.blok { padding: 32px; border: 1px solid var(--lijn); border-radius: var(--radius); }
.blok p { font-size: 1.0625rem; color: var(--tekst-zacht); }

/* Contact */
.sectie--groen {
	color: rgb(255 255 255 / 90%);
	background: var(--groen-donker);
	background-image: radial-gradient(ellipse at 0% 0%, rgb(61 205 154 / 22%), transparent 55%);
}
.sectie--groen h2 { color: var(--wit); }
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contactlijst { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.contactlijst li { display: flex; align-items: center; gap: 14px; }
.contactlijst svg {
	flex: none; width: 44px; height: 44px; padding: 10px;
	background: rgb(255 255 255 / 10%); border-radius: 50%;
	fill: none; stroke: var(--groen-licht); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.contactlijst a { color: var(--wit); font-weight: 600; font-size: 1.1875rem; text-decoration: none; }
.contactlijst a:hover { color: var(--groen-licht); text-decoration: underline; }

.contact__formulier {
	padding: clamp(24px, 4vw, 44px);
	color: var(--zwartgrijs); background: var(--wit);
	border-radius: var(--radius); box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
}
.contact__formulier h3 { margin-bottom: 20px; }

/* Gravity Forms: verder in de huisstijl via gform_default_styles. */
.contact__formulier .gform_wrapper.gform-theme {
	--gf-ctrl-btn-radius: 999px;
	--gf-ctrl-label-font-weight-primary: 600;
	--gf-font-family-primary: var(--font);
	--gf-font-family-secondary: var(--font);
	--gf-font-family-tertiary: var(--font);
	--gf-ctrl-placeholder-color: #8a9893;
	--gf-ctrl-btn-font-weight: 600;
	--gf-ctrl-btn-font-size: 1.0625rem;
}
.contact__formulier .gform_footer { margin-top: 8px !important; }
.contact__formulier .gform_confirmation_message { font-size: 1.125rem; color: var(--groen-donker); }
.contact__formulier .gfield_consent_description { font-size: .875rem; max-height: none; overflow: visible; border: 0; padding: 0; margin-top: 4px; }

/* Voet */
.voet { color: rgb(255 255 255 / 80%); background: #10402f; font-size: 1rem; }
.voet a { color: var(--wit); text-decoration: none; }
.voet a:hover { color: var(--groen-licht); text-decoration: underline; }
.voet__binnen {
	display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
	padding-block: 64px 48px;
}
.voet__merk img { width: 150px; margin-bottom: 16px; }
.voet__slogan { max-width: 280px; font-style: italic; }
.voet__kop {
	margin-bottom: 10px; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--groen-licht);
}
.voet__onder {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
	padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: .9375rem; color: rgb(255 255 255 / 60%);
}
.voet__onder ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }

/* Cookiemelding */
.cookiemelding {
	position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
	max-width: 520px; margin-left: auto;
	display: grid; gap: 16px; padding: 20px 24px;
	font-size: 1rem; background: var(--wit);
	border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: 0 16px 48px rgb(0 0 0 / 18%);
}
.cookiemelding[hidden] { display: none; }
.cookiemelding__knoppen { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* Losse pagina's */
.pagina h1 { margin-bottom: 32px; }
.opmaak h2 { font-size: 1.5rem; margin-top: 1.6em; }
.opmaak ul, .opmaak ol { padding-left: 1.2em; }

/* Responsief */
@media (max-width: 1000px) {
	.kaarten, .doelgroepen { grid-template-columns: 1fr 1fr; }
	.kaarten > :last-child, .doelgroepen > :last-child { grid-column: 1 / -1; }
	.voet__binnen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.over, .contact, .sensight { grid-template-columns: 1fr; }
	.over__beeld { order: -1; }
	.over__foto { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
	body { font-size: 1.0625rem; }
	.kaarten, .doelgroepen, .over__blokken, .kernwaarden { grid-template-columns: 1fr; }
	.kaart, .blok { padding: 24px; }
	.hero { min-height: 0; }
	.knoppen .knop { flex: 1 1 100%; }
	.voet__binnen { grid-template-columns: 1fr; padding-block: 48px 32px; }
	.cookiemelding__knoppen .knop { flex: 1; }
}
