/* ==========================================================================
   Merks Toiletwagens 2026 — designsystem
   Waarden 1-op-1 overgenomen uit het oorspronkelijke Salient-ontwerp
   (typografie uit salient_redux + dynamische CSS, kleuren gesampled).
   ========================================================================== */

:root {
	--accent: #0c8ace;
	--accent-licht: #0eadf7;
	--groen: #a6ce39;
	--oranje: #e29e28;
	--tekst: #676767;
	--kop: #000000;
	--nav-tekst: #515151;
	--grijs-bg: #f2f2f2;
	--font-body: "Noto Sans", sans-serif;
	--font-kop: "Nunito", sans-serif;
	--font-sub: "Roboto", sans-serif;
	--font-nav: "Nunito Sans", sans-serif;
	--container: 1425px; /* origineel: .container max-width 1425px, padding 0 90px (desktop) */
}

/* --- Iconsmind (overgenomen uit het oude theme) --- */
@font-face {
	font-family: "iconsmind";
	src: url("../fonts/iconsmind.woff") format("woff"),
	     url("../fonts/iconsmind.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
.im { font-family: "iconsmind"; font-style: normal; font-weight: normal; line-height: 1; }
.im-broom::before { content: "\edb3"; }
.im-manwoman::before { content: "\ebc2"; }
.im-like::before { content: "\eaae"; }

/* --- Reset / basis --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Afbeeldingen schuiven bij animatie van buiten beeld in — geen horizontale scrollbalk */
body { overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 30px;
	color: var(--tekst);
	background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-licht); }

/* Typografie — exact volgens origineel (desktop) */
h1, h2, h3, h4 { font-family: var(--font-kop); color: var(--kop); font-weight: 300; margin: 0 0 20px; }
h1 { font-size: 66px; line-height: 70.8px; }
h2 { font-size: 48px; line-height: 62px; }
h3 { font-size: 30px; line-height: 40px; }
h4 { font-size: 20px; line-height: 34px; }
h5 { font-family: var(--font-sub); color: var(--kop); font-size: 16px; line-height: 25px; font-weight: 700; margin: 0 0 14px; }
h6 { font-family: "Dosis", sans-serif; font-size: 18px; line-height: 26px; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 12px; }
p { margin: 0 0 20px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 90px; }

/* --- Header: logo links, menu er direct naast (zoals origineel) --- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}
.header-inner {
	max-width: var(--container); margin: 0 auto; padding: 0 90px;
	display: flex; align-items: center; justify-content: flex-start;
	min-height: 90px; gap: 8px;
}
.site-logo img { height: 62px; width: auto; }
.site-nav .primary-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav .primary-menu > li { position: relative; }
.site-nav .primary-menu > li > a {
	display: block; padding: 31px 20px;
	font-family: var(--font-nav); font-size: 20px; line-height: 28px;
	color: var(--nav-tekst); white-space: nowrap;
}
.site-nav .primary-menu > li > a:hover { color: var(--accent); }
/* dropdowns */
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px 0;
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: #1f1f1f;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s ease;
}
.site-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 10px 20px; font-size: 14px; color: #bbb; }
.site-nav .sub-menu a:hover { color: #fff; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; }
.menu-toggle-bars i { display: block; width: 24px; height: 2px; background: var(--kop); margin: 5px 0; transition: .2s; }

/* --- Knoppen (nectar-button large: 14px, padding 15/22, radius 4) --- */
.knop {
	display: inline-block;
	background: var(--accent);
	color: #fff !important;
	font-family: var(--font-sub); font-size: 14px; font-weight: 500;
	line-height: 20px;
	padding: 15px 22px; border-radius: 4px;
	transition: opacity .45s cubic-bezier(.25, 1, .33, 1);
}
.knop:hover { opacity: .82; }

/* see-through-2: transparant, 2px donkere rand; hover vult donker */
.knop--outline {
	background: transparent;
	color: #000 !important;
	border: 2px solid rgba(0, 0, 0, .75);
	border-radius: 2px;
	box-shadow: none;
	padding: 13px 22px;
	transition: all .45s cubic-bezier(.25, 1, .33, 1);
}
.knop--outline:hover { background: #000; color: #fff !important; opacity: 1; }

/* --- Secties --- */
.sectie { padding: 90px 0; }
/* Subpagina's origineel: rijen met 3% boven / 5% onder (home heeft eigen ritme) */
body:not(.home) .sectie { padding: 3% 0 5%; }
body:not(.home) .sectie--zonder-bodem { padding-bottom: 0; }
.sectie--grijs { background: var(--grijs-bg); }
.sectie--gecentreerd { text-align: center; }
.sectie--smal .container { max-width: 820px; }

.label {
	display: block;
	font-family: var(--font-sub); font-size: 14px; font-weight: 700;
	color: var(--accent); margin-bottom: 10px;
}
.label--groen { color: var(--groen); }

/* Subtitel direct onder de kop, zonder extra marge (zoals origineel) */
h2 + .subkop, h3 + .subkop { margin-top: -16px; }
.subkop { font-family: var(--font-sub); color: #999; font-weight: 400; font-size: 16px; }

/* --- Hero (origineel: rij met 15% / 14% verticale padding) --- */
.hero {
	position: relative;
	padding: 15% 0 14%;
	background-size: cover; background-position: center;
	color: #fff;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	background: #0a0a0a; opacity: .3;
}
.hero .container { position: relative; }
.hero h1, .hero h2 { color: #fff; font-weight: 300; font-size: 40.8px; line-height: 52.7px; margin: 0; }
.hero .knop { margin-top: 25px; }

/* Paginakop-variant van de hero (contact: 10% padding, overlay 0.5, titel met witte lijn) */
.hero--paginakop { padding: 10% 0; }
.hero--paginakop::before { opacity: .5; }
.hero--paginakop h1 { font-size: 34px; line-height: 1.3; }
.hero-lijn { border-bottom: 1px solid rgba(255, 255, 255, .6); max-width: 440px; margin-top: 28px; }

/* --- Paginakop (groene band met titel, zoals origineel) --- */
.pagina-kop { padding: 65px 0 55px; color: #fff; }
.pagina-kop h1 { color: #fff; font-weight: 300; font-size: 51px; line-height: 1.1; margin: 0 0 10px; }
.pagina-subtitel { font-family: var(--font-sub); font-weight: 700; font-size: 14px; margin: 0; }

.tekst-centreren { text-align: center; }
.kolommen .kolom > img { margin: 0 auto; }

/* --- Iconenrij (3 usp's) --- */
.kolommen { display: grid; gap: 40px; }
.kolommen--3 { grid-template-columns: repeat(3, 1fr); }
.kolommen--2 { grid-template-columns: repeat(2, 1fr); }
.icoon-item { text-align: center; padding: 0 10px; }
.icoon-item .im { font-size: 48px; color: var(--accent); display: block; margin: 0 auto 22px; }
.icoon-item h5 { font-size: 16px; }
.icoon-item p { font-size: 14px; }

/* --- Split-secties (tekst naast randloze afbeelding) --- */
.sectie--split { padding: 0; overflow: hidden; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 500px; }
.split-tekst { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px 10%; }
.split-tekst h2 { font-size: 33.6px; line-height: 43.4px; }
.split-tekst .knop, .split-tekst .knop--outline { margin-top: 10px; }
.split-afbeelding { background-size: cover; background-position: center; min-height: 340px; }

/* --- Tweede afbeelding + plattegrond (tekst_met_afbeelding) ---
   Origineel: 40px divider tussen afbeeldingen, cursief "Bekijk plattegrond",
   20px boven de thumbnail. */
.kolom > a[data-lightbox] { display: block; }
.kolom-extra-afbeelding { display: block; margin-top: 40px; }
.plattegrond { margin-top: 40px; }
.plattegrond-label { display: block; font-style: italic; margin-bottom: 20px; }
.plattegrond-thumb { display: inline-block; }
.plattegrond-thumb img { max-width: 120px; height: auto; }

/* Afbeeldingsanimatie (origineel: fade-in-from-left/right, 650ms easeOutSine, x ±75px).
   Verbergen alleen als JS draait (html.js) — zonder JS is alles gewoon zichtbaar. */
.js .anim-links, .js .anim-rechts {
	opacity: 0;
	transition: opacity .65s cubic-bezier(.39, .575, .565, 1), transform .65s cubic-bezier(.39, .575, .565, 1);
}
.js .anim-links { transform: translateX(-75px); }
.js .anim-rechts { transform: translateX(75px); }
.js .anim-links.zichtbaar, .js .anim-rechts.zichtbaar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .anim-links, .js .anim-rechts { opacity: 1; transform: none; transition: none; }
}

/* Lightbox */
.lightbox-overlay {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(0, 0, 0, .85);
	display: flex; align-items: center; justify-content: center;
	padding: 40px; cursor: zoom-out;
}
.lightbox-overlay img { max-width: 100%; max-height: 100%; background: #fff; padding: 8px; }

/* --- Hotspot-afbeelding --- */
.hotspot-afbeelding { position: relative; max-width: 800px; margin: 40px auto 0; }
.hotspot {
	position: absolute; width: 30px; height: 30px;
	background: var(--accent); color: #fff;
	border: 0; border-radius: 50%; cursor: pointer;
	font-size: 19px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	transform: translate(-50%, -50%);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
	transition: transform .2s ease;
}
.hotspot:hover { transform: translate(-50%, -50%) scale(1.15); }
.hotspot-tooltip {
	position: absolute; z-index: 10;
	width: 260px; padding: 18px 20px;
	background: #fff; border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	text-align: left; font-size: 13px;
	left: 50%; transform: translateX(-50%); margin-top: 12px;
	display: none;
}
.hotspot-punt.actief .hotspot-tooltip { display: block; }
.hotspot-tooltip h5 { margin-bottom: 6px; }
.hotspot-punt { position: absolute; }

/* --- Fade-in bij scrollen (alleen verbergen als JS draait) --- */
.js .fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .fade-in.zichtbaar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* --- Footer --- */
.site-footer { background: #000; color: #fff; font-size: 14px; }
.footer-inner {
	max-width: var(--container); margin: 0 auto; padding: 70px 90px 50px;
	display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 50px;
}
.site-footer h4 { color: #fff; font-family: var(--font-sub); font-size: 16px; font-weight: 500; line-height: 1.4; margin-bottom: 20px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { padding: 3px 0; }
.footer-bottom { border-top: 1px solid #1c1c1c; padding: 22px 90px; }
.footer-bottom p { max-width: var(--container); margin: 0 auto; font-size: 12px; color: #777; }

/* Gravity Forms in footer (origineel: transparante velden, alleen witte onderrand).
   GF-legacy-CSS laadt ná dit bestand en zet eigen breedtes/randen — vandaar !important. */
.footer-form .gform_wrapper input[type="text"],
.footer-form .gform_wrapper input[type="tel"],
.footer-form .gform_wrapper input[type="email"] {
	width: 100% !important;
	background: transparent; border: 0 !important; border-bottom: 1px solid #fff !important; border-radius: 0;
	color: #fff; padding: 8px 0; font-family: var(--font-body); font-size: 14px;
}
.footer-form .gform_wrapper input:focus { outline: none; border-bottom-color: var(--accent) !important; }
.footer-form .gform_fields { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; list-style: none; margin: 0; padding: 0; }
.footer-form .gfield--width-full, .footer-form .gfield:has(input[type="tel"]) { grid-column: 1 / -1; }
.footer-form .gform_wrapper .gfield_label {
	color: var(--accent); font-size: 16px; font-weight: 400 !important; display: block; margin-bottom: 18px;
}
.footer-form .gform_wrapper .gfield_required { color: var(--accent) !important; }
/* Sublabels (Voornaam/Achternaam) boven de lijn, zoals origineel */
.footer-form .gform_wrapper .ginput_complex { display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-form .gform_wrapper .ginput_complex .gform-grid-col {
	display: flex !important; flex-direction: column-reverse; width: auto !important; margin: 0 !important; padding: 0 !important;
}
.footer-form .gform_wrapper .gform-field-label--type-sub {
	color: #999; font-family: var(--font-sub); font-size: 15px; font-weight: 600; margin-bottom: 4px;
}
.footer-form .gform_footer input[type="submit"], .footer-form .gform_button {
	background: var(--accent); color: #fff; border: 0; border-radius: 3px;
	padding: 11px 28px; font-size: 13px; cursor: pointer; margin-top: 6px;
}
.footer-form .gform_button:hover { opacity: .85; }
.footer-form .gfield_required { color: var(--accent); }

/* Gravity Forms op pagina's (contact) — origineel: minimal-stijl, alleen onderrand */
.gform_wrapper input[type="text"], .gform_wrapper input[type="tel"],
.gform_wrapper input[type="email"], .gform_wrapper textarea {
	width: 100% !important; background: transparent;
	border: 0 !important; border-bottom: 1px solid rgba(0, 0, 0, .2) !important; border-radius: 0;
	padding: 8px 0; font-family: var(--font-body); font-size: 14px;
}
.gform_wrapper input:focus, .gform_wrapper textarea:focus { outline: none; border-bottom-color: var(--accent) !important; }
.gform_wrapper .gform_fields { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
.gform_wrapper .gfield_label { color: #444; font-weight: 600; font-size: 13px; display: block; margin-bottom: 10px; }
.gform_wrapper .gfield_required { color: var(--accent) !important; }
.gform_wrapper .ginput_complex { display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px; }
.gform_wrapper .ginput_complex .gform-grid-col {
	display: flex !important; flex-direction: column-reverse; width: auto !important; margin: 0 !important; padding: 0 !important;
}
.gform_wrapper .gform-field-label--type-sub { color: #999; font-size: 12px; margin-bottom: 4px; }
.gform_wrapper textarea { min-height: 140px; resize: vertical; }
.gform_wrapper .gform_button {
	background: var(--accent); color: #fff; border: 0; border-radius: 3px;
	padding: 13px 30px; font-size: 14px; cursor: pointer;
}

/* Contact: formulier links, kaart rechts (origineel: 2 kolommen van 50%) */
.contact-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: stretch; }
.contact-split-kaart iframe { width: 100%; height: 100%; min-height: 620px; display: block; }
@media (max-width: 1000px) {
	.contact-split-inner { grid-template-columns: 1fr; }
	.contact-split-kaart iframe { min-height: 380px; }
}

/* --- Galerij (origineel: 3 kolommen met ±2% tussenruimte, lightbox) --- */
.galerij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2%; margin-top: 40px; }
.galerij a { display: block; }
.galerij img { width: 100%; height: 100%; object-fit: cover; }

/* --- Responsief (schaal zoals origineel: koppen ±63% op tablet) --- */
@media (max-width: 1300px) {
	.site-nav .primary-menu > li > a { font-size: 17px; padding: 31px 14px; }
	h2 { font-size: 45px; line-height: 51px; }
}
@media (max-width: 1000px) {
	.container, .header-inner { padding-left: 28px; padding-right: 28px; }
	.footer-inner { padding: 50px 28px 40px; }
	.footer-bottom { padding: 22px 28px; }
	h1 { font-size: 42px; line-height: 1.15; }
	h2 { font-size: 33.6px; line-height: 43.4px; }
	.hero h1, .hero h2 { font-size: 33.6px; line-height: 43.4px; }
	.kolommen--3 { grid-template-columns: 1fr; }
	.split-inner { grid-template-columns: 1fr; }
	.split-tekst { padding: 60px 24px; }
	.footer-inner { grid-template-columns: 1fr; gap: 40px; }
	.sectie { padding: 60px 0; }
	.galerij { grid-template-columns: repeat(2, 1fr); }
	.hero { padding: 120px 0 110px; }
}
@media (max-width: 800px) {
	.menu-toggle { display: block; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
		display: none;
	}
	.site-nav.open { display: block; }
	.site-nav .primary-menu { flex-direction: column; padding: 10px 0; }
	.site-nav .primary-menu > li > a { padding: 12px 28px; font-size: 16px; }
	.site-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		background: #f7f7f7; padding-left: 16px;
	}
	.site-nav .sub-menu a { color: #666; }
	.kolommen--2 { grid-template-columns: 1fr; }
	h2 { font-size: 28px; line-height: 1.3; }
}
