/* Agro Brains - hoofdstijl
   Zelfde vormgeving als de oorspronkelijke site, zonder CMS-restanten. */

@font-face {
	font-family: "Dosis";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/dosis-400.woff2") format("woff2");
}
@font-face {
	font-family: "Dosis";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/dosis-500.woff2") format("woff2");
}
@font-face {
	font-family: "Dosis";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/dosis-700.woff2") format("woff2");
}

:root {
	--green: #707314;
	--green-overlay: rgba(112, 115, 20, .95);
	--sand: #e9e3d9;
	--beige: #e8e3d9;
	--cream: #fefaf5;
	--white: #fff;
	--text: #333;
	--text-dark: #0d0d0d;
	--accent: #eabc30;
	--header-h: 91px;
	--font: "Dosis", sans-serif;
	--radius: 14px;
	--radius-sm: 8px;
}

@media (min-width: 768px) {
	:root { --header-h: 172px; }
}

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

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.625;
	color: var(--text);
	background-color: var(--white);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg { vertical-align: middle; }

img { max-width: 100%; height: auto; border: 0; }

p,
ul,
ol { margin-top: 0; margin-bottom: 1rem; }

strong { font-weight: 700; }

a { color: var(--text); text-decoration: underline; }
a:hover { color: var(--text-dark); text-decoration: none; }

h1, h2, h3,
.h1, .h2, .h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-family: var(--font);
	font-weight: 700;
	line-height: 1.25;
	color: inherit;
}
h1:first-child, h2:first-child, h3:first-child,
.h1:first-child, .h2:first-child, .h3:first-child { margin-top: 0; }

h1, .h1 { font-size: calc(1.075rem + .9vw); }
h2, .h2 { font-size: calc(1.05rem + .6vw); }
h3, .h3 { font-size: calc(1.025rem + .3vw); }

@media (min-width: 1200px) {
	h1, .h1 { font-size: 1.75rem; }
	h2, .h2 { font-size: 1.5rem; }
	h3, .h3 { font-size: 1.25rem; }
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.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;
}

.skip-link {
	position: absolute;
	z-index: 200;
	left: 15px;
	top: -100px;
	padding: 8px 16px;
	background: var(--white);
	color: var(--text);
}
.skip-link:focus { top: 15px; }

.last-child-mb-0 > :last-child { margin-bottom: 0 !important; }

.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* Knop */
.btn {
	display: inline-block;
	padding: 10px 26px;
	border: 2px solid var(--green);
	border-radius: var(--radius-sm);
	background-color: var(--green);
	color: var(--white);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .03em;
	transition: background-color .5s ease-in-out, color .5s ease-in-out;
}
.btn:hover,
.btn:focus-visible {
	background-color: var(--white);
	color: var(--green);
	text-decoration: none;
}

/* Kleine tussenkop, zelfde uiterlijk als vetgedrukte tekst in het origineel */
.h-small,
h2.h-small,
h3.h-small {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.625;
}

/* ---------- Lay-out ---------- */

.container {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.narrow { max-width: 992px; margin-right: auto; margin-left: auto; }

.page {
	padding-top: var(--header-h);
	overflow-x: clip;
}

.section {
	position: relative;
	padding-top: 50px;
	padding-bottom: 50px;
}
.section.space-sm { padding-top: 35px; padding-bottom: 35px; }

.bg-white { background-color: var(--white); color: var(--text); }
.bg-cream { background-color: var(--cream); color: var(--text); }
.bg-beige { background-color: var(--beige); color: var(--text); }

/* Hele pagina in beige (Historie, Duurzaam, FAQ) */
.main-beige { background-color: var(--beige); }
.main-beige .bg-white,
.main-beige .split { background-color: transparent; }
.bg-green { background-color: var(--green); color: var(--white); }

.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}
.col {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}
@media (min-width: 768px) {
	.col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.col-md { flex: 1 0 0%; }
}

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

.header {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--sand);
	transition: box-shadow .35s ease-out;
}
.is-scrolled .header { box-shadow: 0 0 5px rgba(0, 0, 0, .25); }

.header-top { display: none; }

.header-top ul {
	display: flex;
	gap: 25px;
	margin: 4px 0;
	padding: 0;
	list-style: none;
}
.header-top .container {
	display: flex;
	justify-content: space-between;
}
.header-top a { color: inherit; text-decoration: none; }
.header-top a:hover { text-decoration: underline; }

.header-logo {
	width: 102px;
	padding-top: 15px;
	padding-bottom: 15px;
	transition: all .35s ease-out;
}
.header-logo a { display: block; transition: transform .1s ease-in-out; }
.header-logo a:active { transform: scale(.97); }
.header-logo img { display: block; width: 100%; height: auto; }

/* Vaste hoogte, gelijk aan --header-h, zodat er geen kier tussen header en pagina valt */
.header > .container {
	display: flex;
	align-items: center;
	min-height: var(--header-h);
	transition: min-height .35s ease-out;
}
.is-scrolled .header > .container { min-height: 0; }

.header-nav { display: none; }

.nav-primary {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-primary > li { position: relative; }
.nav-primary > li + li { margin-left: 15px; }
.nav-primary a {
	display: block;
	position: relative;
	padding: 8px 15px;
	color: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.625;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .3s ease;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] { color: var(--green); }
.nav-primary a[aria-current="page"]::before {
	content: "\2022";
	position: absolute;
	top: 60%;
	left: 50%;
	color: var(--white);
	font-size: 1.2em;
	text-shadow: 10px 0 var(--white), -10px 0 var(--white);
	transform: translateX(-50%);
	pointer-events: none;
}

/* Hamburger (mobiel) */
.nav-toggle {
	position: absolute;
	z-index: 99;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	padding: 8px 10px;
	border: 0;
	background: none;
	font: inherit;
	font-size: 16px;
	color: var(--green);
	cursor: pointer;
}
.nav-toggle-label {
	margin-right: 10px;
	text-transform: uppercase;
}
.icon-nav,
.icon-nav::before,
.icon-nav::after {
	height: 2px;
	background-color: var(--green);
	border-radius: 1px;
	transition: .1s ease-in-out;
}
.icon-nav {
	display: inline-block;
	position: relative;
	width: 24px;
	margin: 4px 0;
}
.icon-nav::before,
.icon-nav::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
}
.icon-nav::before { top: -7px; }
.icon-nav::after { top: 7px; }

.nav-open .nav-toggle { color: var(--white); }
.nav-open .icon-nav { background-color: transparent; }
.nav-open .icon-nav::before { top: 0; transform: rotate(45deg); background-color: var(--white); }
.nav-open .icon-nav::after { top: 0; transform: rotate(-45deg); background-color: var(--white); }

.header-mobile {
	position: fixed;
	z-index: 98;
	inset: 0;
	display: flex;
	flex-direction: column;
	background: var(--green-overlay);
	color: var(--white);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .2s ease-out, opacity .3s, visibility 0s .3s;
}
.nav-open .header-mobile {
	opacity: 1;
	visibility: visible;
	transform: scaleY(1);
	transition: transform .2s ease-out, opacity .3s, visibility 0s;
}
.nav-mobile {
	margin: auto;
	padding: 0;
	list-style: none;
}
.nav-mobile a {
	display: block;
	padding: 10px 0;
	color: inherit;
	font-size: 20px;
	text-decoration: none;
	text-transform: uppercase;
}
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] { color: var(--accent); }

.nav-open { overflow: hidden; }

@media (min-width: 768px) {
	.header-top {
		display: block;
		font-size: 15px;
		overflow: hidden;
		height: 34px;
		max-height: 34px;
		transition: max-height .2s ease-out, opacity .2s ease-out;
	}
	.header-top .container { height: 100%; align-items: center; }
	.header-top ul { margin: 0; }
	.header > .container { min-height: calc(var(--header-h) - 34px); }
	.is-scrolled .header-top { max-height: 0; opacity: 0; }

	.header-logo {
		width: 162px;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.is-scrolled .header-logo {
		width: 130px;
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.header-nav {
		display: block;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	.nav-toggle,
	.header-mobile { display: none; }
}

/* ---------- Hero (leader) ---------- */

.leader {
	position: relative;
	display: flex;
	align-items: center;
	height: 180px;
	overflow: hidden;
	background-color: #2b2f26;
}
.leader-media {
	position: absolute;
	inset: 0;
}
.leader-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	will-change: transform;
}
.leader-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, .4);
}
.leader-content {
	position: relative;
	z-index: 1;
	width: 100%;
}
.leader-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.25;
	color: var(--white);
}

@media (min-width: 576px) { .leader { height: auto; min-height: 240px; } }
@media (min-width: 768px) { .leader { min-height: 360px; } }
@media (min-width: 992px) { .leader { min-height: 470px; } }

/* ---------- Kruimelpad ---------- */

.breadcrumb {
	padding-top: 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #6b6b6b;
}
.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.breadcrumb li + li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 12px 1px 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}
.breadcrumb a {
	color: inherit;
	text-decoration: none;
	transition: color .3s ease;
}
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* Kruimelpad krijgt de kleur van het blok eronder */
.breadcrumb:has(+ .bg-beige) { background-color: var(--beige); }

/* Ruimte onder het kruimelpad iets kleiner dan een normale sectie */
.breadcrumb + .section,
.breadcrumb + .split { padding-top: 30px; }

/* ---------- Tekst + beeld ----------
   Binnen de container, foto met afgeronde hoeken. */

.split {
	display: flex;
	flex-direction: column;
	gap: 25px;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding: 35px 15px;
	background-color: var(--white);
}
@media (min-width: 576px)  { .split { max-width: 540px; } }
@media (min-width: 768px)  { .split { max-width: 720px; } }
@media (min-width: 992px)  { .split { max-width: 960px; } }
@media (min-width: 1200px) { .split { max-width: 1140px; } }

.split-text { display: flex; }
.split-text-inner { margin: auto 0; }
.split-image {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	/* clip-path houdt de afronding ook vast tijdens de parallax-animatie (Safari) */
	clip-path: inset(0 round var(--radius));
}
.split-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Beeldverhoudingen per foto (geen inline styles i.v.m. CSP) */
.ar-zeewier { aspect-ratio: 1600 / 1055; }
.ar-plant-groen { aspect-ratio: 1600 / 1065; }

@media (min-width: 768px) {
	.split {
		flex-direction: row;
		align-items: stretch;
		gap: 40px;
		padding-top: 45px;
		padding-bottom: 45px;
	}
	.split > * { flex: 1 1 0; min-width: 0; }
	.split.is-reversed .split-text { order: 2; }
	.split.is-reversed .split-image { order: 1; }
	.split-image img {
		position: absolute;
		inset: 0;
		height: 100%;
		object-fit: cover;
		will-change: transform;
	}
}
@media (min-width: 992px) {
	.split { gap: 70px; padding-top: 55px; padding-bottom: 55px; }
}

/* Op mobiel staat de tekst boven de foto */
@media (max-width: 767.98px) {
	.split-image { aspect-ratio: auto; }
}

/* ---------- Kaarten ---------- */

.cards { row-gap: 20px; }
.card {
	height: 100%;
	border-radius: var(--radius);
	padding: 20px;
	background-color: var(--white);
}
@media (min-width: 768px) {
	.cards { row-gap: 0; }
	.card { padding: 30px; }
}

/* ---------- Europees project ---------- */

.eu-project .row { align-items: center; justify-content: center; }
.eu-project-text { padding: 20px 15px; }
.eu-project-logo { text-align: center; }
.eu-project-logo img { width: 300px; }
.eu-project .kvw { display: block; width: 250px; }

@media (min-width: 768px) {
	.eu-project-text { order: 2; padding: 30px; }
	.eu-project-logo { order: 1; }
}
@media (min-width: 992px) { .eu-project-text { padding: 48px; } }

/* ---------- Duurzaam ---------- */

.sdg-card {
	max-width: 960px;
	margin: 2rem auto 0;
	padding: 48px 20px 24px;
	background-color: var(--white);
	border-radius: var(--radius);
}
@media (min-width: 768px) { .sdg-card { padding: 64px 30px 30px; } }

.sdg-image {
	display: block;
	margin: 0 auto;
	max-width: 900px;
	width: 100%;
}

/* ---------- FAQ ---------- */

.bg-sand { background-color: var(--sand); color: var(--text); }

.faq-item {
	margin-bottom: 20px;
	border-radius: var(--radius-sm);
	border: 1px solid #e3e3e3;
	background-color: var(--white);
	transition: border-color .3s ease;
}
.faq-item[open],
.faq-item:hover { border-color: #cfc8bb; }

.faq-item summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid var(--text);
	border-bottom: 2px solid var(--text);
	transform: rotate(-45deg);
	transition: transform .3s ease;
}
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item summary:hover .faq-question,
.faq-item[open] .faq-question { color: var(--green); }

.faq-question {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.4;
	transition: color .3s ease;
}

.faq-answer {
	padding: 0 20px 20px 43px;
}
.faq-item[open] .faq-answer { animation: faq-open .4s ease-out; }
@keyframes faq-open {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

.faq-quote {
	margin: 0 0 1rem;
	padding-left: 16px;
	border-left: 3px solid var(--sand);
	font-style: italic;
}
.faq-quote p:last-child { margin-bottom: 0; }

.faq-more { margin-top: 30px; margin-bottom: 0; }

.list-check {
	padding-left: 0;
	list-style: none;
}
.list-check li {
	position: relative;
	padding-left: 28px;
	margin-bottom: .75rem;
}
.list-check li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .35em;
	width: 7px;
	height: 12px;
	border-right: 2px solid var(--green);
	border-bottom: 2px solid var(--green);
	transform: rotate(45deg);
}

.quote {
	max-width: 992px;
	margin: 0 auto;
	text-align: center;
}
.quote p {
	margin-bottom: .5rem;
	font-size: calc(1.05rem + .6vw);
	font-weight: 500;
	line-height: 1.35;
}
.quote cite {
	font-style: italic;
	color: #555;
}
@media (min-width: 1200px) { .quote p { font-size: 1.5rem; } }

/* ---------- Napurin ---------- */

@media (min-width: 768px) {
	.col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

.photo-cards { row-gap: 30px; }

.photo-card {
	overflow: hidden;
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--white);
}
.photo-card-img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.photo-card-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease-in-out;
}
.photo-card:hover .photo-card-img img { transform: scale(1.04); }
.photo-card-body { padding: 20px; }
.photo-card-body h3 { margin-bottom: .75rem; }
@media (min-width: 992px) { .photo-card-body { padding: 30px; } }

.ar-bamboo { aspect-ratio: 1200 / 630; }
.ar-producten { aspect-ratio: 1200 / 1000; }
.ar-vierkant { aspect-ratio: 1 / 1; }

/* Productfoto's met witte achtergrond: niet bijsnijden, kolom vullen */
.split-image.is-contain {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: auto;
	background-color: var(--white);
}
.split-image.is-contain img {
	position: static;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.quote-small p {
	font-size: calc(1.025rem + .3vw);
}
@media (min-width: 1200px) { .quote-small p { font-size: 1.25rem; } }
.bg-green .quote cite { color: inherit; opacity: .85; }

.parallax-quote {
	position: relative;
	padding-top: 120px;
	padding-bottom: 120px;
	overflow: hidden;
	background-color: #1d2015;
}
.parallax-quote-media {
	position: absolute;
	inset: -15% 0;
}
.parallax-quote-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.parallax-quote-box {
	position: relative;
	border-radius: var(--radius);
	max-width: 560px;
	margin: 0 auto;
	padding: 30px;
	background-color: var(--white);
}
@media (min-width: 768px) {
	.parallax-quote { padding-top: 160px; padding-bottom: 160px; }
	.parallax-quote-box { padding: 48px; }
}

.partner-logo { width: 250px; }

/* Zes menu-items passen op tabletbreedte alleen iets compacter */
@media (min-width: 768px) and (max-width: 1199.98px) {
	.nav-primary > li + li { margin-left: 0; }
	.nav-primary a { padding: 8px 9px; font-size: 17px; }
}

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

.contact-intro { padding-bottom: 30px; }
.contact-intro p { font-size: 1.125rem; }
.contact-options { padding-top: 10px; }

.contact-tiles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
@media (min-width: 768px) {
	.contact-tiles { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

.contact-tile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 28px 24px;
	background-color: var(--white);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: transform .5s ease-in-out, box-shadow .5s ease-in-out;
}
.contact-tile:hover,
.contact-tile:focus-visible {
	color: var(--text);
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
@media (min-width: 992px) { .contact-tile { padding: 34px 30px; } }

.contact-tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 12px;
	border-radius: 50%;
	background-color: var(--green);
	color: var(--white);
	transition: transform .5s ease-in-out;
}
.contact-tile-icon .icon { width: 24px; height: 24px; }
.contact-tile:hover .contact-tile-icon { transform: scale(1.08); }

.contact-tile-label {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b6b6b;
}
.contact-tile-value {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.contact-tile-hint,
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 10px;
	font-weight: 500;
	color: var(--green);
}
.contact-tile-hint .icon,
.link-arrow .icon {
	width: 16px;
	height: 16px;
	transition: transform .4s ease;
}
.contact-tile:hover .contact-tile-hint .icon,
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow { padding-top: 0; text-decoration: none; }
.link-arrow:hover { color: var(--green); text-decoration: underline; }

.contact-kvk {
	margin: 20px 0 0;
	font-size: 14px;
	color: #6b6b6b;
	text-align: center;
}
.contact-more { margin-top: 30px; row-gap: 20px; }

.btn-icon {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.btn-icon .icon { width: 18px; height: 18px; flex: 0 0 auto; }
@media (min-width: 768px) { .contact-more { row-gap: 0; } }

.card-icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 50%;
	background-color: var(--beige);
	color: var(--green);
}
.card-icon-badge .icon { width: 22px; height: 22px; }
.card-icon h2 { margin-top: 0; }

/* ---------- Sitemap-pagina ---------- */

.sitemap-list { padding-left: 1.25rem; }
.sitemap-list li { margin-bottom: .25rem; }

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

.footer a { color: inherit; text-decoration: none; }

.footer-main {
	position: relative;
	overflow: hidden;
	padding-top: 60px;
	padding-bottom: 50px;
}
.footer-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 576px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
	.footer-grid {
		grid-template-columns: 1.5fr 1fr 1.3fr auto;
		gap: 50px;
	}
}

.footer h2 {
	position: relative;
	margin: 0 0 1.25rem;
	padding-bottom: .75rem;
	font-size: 1.125rem;
	letter-spacing: .02em;
}
.footer h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background-color: currentColor;
	opacity: .5;
}

.footer-main ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Merk */
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo img {
	display: block;
	width: 170px;
	height: auto;
	filter: brightness(0) invert(1);
}
.footer-brand p {
	max-width: 340px;
	margin-bottom: 1.25rem;
	opacity: .9;
}

/* Iconen */
.footer-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .12);
	transition: background-color .5s ease-in-out, color .5s ease-in-out;
}
.icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.icon-fill { width: 16px; height: 16px; fill: currentColor; }

.footer-social {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.footer-social:hover .footer-icon,
.footer-social:focus-visible .footer-icon {
	background-color: var(--white);
	color: var(--green);
}

/* Menu */
.footer-nav li + li { margin-top: .35rem; }
.footer-nav a {
	position: relative;
	display: inline-block;
	padding-left: 0;
	transition: padding-left .4s ease, opacity .4s ease;
}
.footer-nav a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	opacity: 0;
	transform: translateY(-50%) rotate(45deg);
	transition: opacity .4s ease;
}
.footer-nav a:hover,
.footer-nav a:focus-visible { padding-left: 16px; }
.footer-nav a:hover::before,
.footer-nav a:focus-visible::before { opacity: 1; }

/* Contact */
.footer-contact li {
	display: flex;
	align-items: center;
	gap: 14px;
}
.footer-contact li + li { margin-top: .9rem; }
.footer-contact a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .4s ease;
}
.footer-contact a:hover,
.footer-contact a:focus-visible { background-size: 100% 1px; }
.footer-contact li:hover .footer-icon {
	background-color: var(--white);
	color: var(--green);
}

/* EU */
.footer-eu {
	display: inline-block;
	padding: 12px 16px;
	background-color: var(--white);
	border-radius: var(--radius-sm);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
	transition: transform .5s ease-in-out;
}
.footer-eu:hover { transform: translateY(-3px); }
.footer-eu img { display: block; width: 140px; height: auto; }

/* Onderbalk */
.footer-bottom {
	padding-top: 22px;
	padding-bottom: 22px;
	font-size: 80%;
	text-align: center;
}
.footer-bottom .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-bottom a:hover { text-decoration: underline; }

.to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-top: 6px;
	border-radius: 50%;
	background-color: var(--green);
	color: var(--white);
	transition: transform .5s ease-in-out, background-color .5s ease-in-out;
}
.to-top .icon { width: 18px; height: 18px; }
.footer .to-top { color: var(--white); }
.footer .to-top:hover,
.footer .to-top:focus-visible {
	transform: translateY(-3px);
	background-color: #5b5e10;
	text-decoration: none;
}

@media (min-width: 768px) {
	.footer-bottom .container {
		flex-direction: row;
		justify-content: space-between;
		gap: 22px;
	}
	.footer-bottom ul:nth-child(2) { margin-left: auto; }
	.to-top { margin-top: 0; }
}

/* ---------- Beweging ----------
   Lenis smooth scroll (alleen actief als JS het aanzet) */

html.lenis,
html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
