/* ==========================================================================
   Blij Mee Online Marketing
   Tokens → fonts → base → utilities → components → layout → sections →
   templates → forms → motion → responsive
   Design frame: 1600px, container 1440px (gutter 80px).
   ========================================================================== */

/* ---------- Tokens (Figma variables) ---------- */
:root {
	--marine: #1b1a37;   /* Donker Marine Blauw */
	--oranje: #e84e1b;   /* Blij Mee Oranje */
	--geel: #f1e9a0;     /* Lichtgeel */
	--perzik: #f8d8b9;   /* Zacht Perzik */
	--white: #fff;
	--oranje-dark: #c83d10;
	--line: rgba(27, 26, 55, 0.07);
	--muted: rgba(27, 26, 55, 0.3);

	--font-sans: "Nohemi", "Helvetica Neue", Arial, sans-serif;
	--font-serif: "IvyPresto Display", "Playfair Display", Georgia, serif;

	--frame: 1600;
	--container: 1440px;
	--gutter: clamp(20px, 5vw, 80px);
	--edge: clamp(10px, 1.25vw, 20px);     /* full-bleed panels: 20px from the edge */
	--space: clamp(72px, 8.125vw, 130px);  /* vertical rhythm between sections */
	--radius: 10px;
	--radius-button: 6px;

	--fs-h1: clamp(46px, 6vw, 96px);
	--fs-h2: clamp(34px, 4vw, 64px);
	--fs-h3: clamp(30px, 2.8125vw, 45px);
	--fs-h4: clamp(24px, 2.1875vw, 35px);
	--fs-h5: clamp(22px, 1.875vw, 30px);
	--fs-body: clamp(16px, 1.125vw, 18px);
	--fs-small: 16px;
	--fs-button: 13.06px;

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
	--ease-osmo: cubic-bezier(0.625, 0.05, 0, 1);      /* Webflow "osmo" */
	--ease-parallax: cubic-bezier(0.7, 0.05, 0.13, 1); /* Webflow page transition */
	--ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-elastic: linear(0, 0.2178 2.1%, 1.1144 8.49%, 1.2959 10.7%, 1.3463 11.81%, 1.3705 12.94%, 1.3726, 1.3643 14.48%, 1.3151 16.2%, 1.0317 21.81%, 0.941 24.01%, 0.8912 25.91%, 0.8694 27.84%, 0.8698 29.21%, 0.8824 30.71%, 1.0122 38.33%, 1.0357, 1.046 42.71%, 1.0416 45.7%, 0.9961 53.26%, 0.9839 57.54%, 0.9853 60.71%, 1.0022 68.14%, 1.0081 72.71%, 0.9997 86.66%, 1);
	--header-top: 37px;
}

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Nohemi"; src: url("../fonts/nohemi-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nohemi"; src: url("../fonts/nohemi-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Nohemi"; src: url("../fonts/nohemi-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nohemi"; src: url("../fonts/nohemi-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
/* IvyPresto Display (Figma) is a paid font; Playfair Display SemiBold Italic is the stand-in.
   Drop IvyPresto woff2 files in assets/fonts and add an @font-face "IvyPresto Display" to switch. */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-600i-latin.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-600i-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--white); scroll-padding-top: 120px; }
body {
	margin: 0;
	position: relative;
	overflow-x: clip;
	background: var(--white);
	color: var(--marine);
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
:where(ul[class], ol[class]) { padding: 0; list-style: none; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--oranje); outline-offset: 3px; }
::selection { background: var(--oranje); color: var(--white); }

.page { position: relative; background: var(--white); }
.main { position: relative; z-index: 1; }
.main > :last-child:not(.banner):not(.notfound) { padding-bottom: 0; }
.hero, .intro, .textblock, .story { overflow-x: clip; }

/* ---------- Utilities ---------- */
.u-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.u-serif { font-family: var(--font-serif); font-style: italic; font-weight: 600; line-height: 0.8; }
.u-muted { color: var(--muted); }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 2000; padding: 12px 18px; background: var(--marine); color: var(--white); border-radius: var(--radius-button); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.h1, .h2, .h3 { font-weight: 600; }
.h1 { font-size: var(--fs-h1); line-height: 1.094; }
.h2 { font-size: var(--fs-h2); line-height: 1.15; }
.h3 { font-size: var(--fs-h3); line-height: 1.11; }

/* Grid lines in the background (6 columns of 288px on the 1440 container). */
.gridlines {
	position: absolute;
	inset: 0 0 0 50%;
	width: min(var(--container), calc(100% - 2 * var(--gutter)));
	transform: translateX(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 0;
}
.gridlines span { width: 1px; height: 100%; background: var(--line); }

/* ---------- Buttons ---------- */
.button {
	--btn-bg: var(--oranje);
	--btn-fg: var(--white);
	--btn-hover: var(--marine);
	--btn-hover-fg: var(--white);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 49px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius-button);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-sans);
	font-size: var(--fs-button);
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.4s var(--ease-osmo);
}
.button:hover, .button:focus-visible { transform: scale(0.95); transition: transform 0.4s var(--ease-elastic); }
.button:hover .button__label, .button:focus-visible .button__label { transform: scale(1.05); transition: transform 0.4s var(--ease-elastic); }
.button__label { position: relative; top: 0.06em; display: inline-block; transition: transform 0.4s var(--ease-osmo); }
.button__icon { width: 8px; height: 8px; flex: none; transition: transform 0.4s var(--ease-bounce); }
.button--geel { --btn-bg: var(--geel); --btn-fg: var(--marine); --btn-hover: var(--oranje); }
.button--perzik { --btn-bg: var(--perzik); --btn-fg: var(--marine); --btn-hover: var(--marine); }
.button--marine { --btn-bg: var(--marine); --btn-hover: var(--oranje); }

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 49px;
	height: 49px;
	border-radius: var(--radius-button);
	background: var(--oranje);
	color: var(--white);
	transition: background 0.3s, transform 0.35s var(--ease-bounce);
}
.icon-button .icon { width: 18px; height: 18px; }
.icon-button:hover { background: var(--marine); transform: rotate(-6deg) scale(1.06); }

/* Character roll: each letter slides up to a copy of itself, one after the other. */
.chars { display: inline-flex; overflow: hidden; vertical-align: top; }
.chars__c { display: inline-block; text-shadow: 0 1.3em currentColor; transition: transform 0.6s var(--ease-osmo); }
a:hover .chars__c, a:focus-visible .chars__c, button:hover .chars__c { transform: translateY(-1.3em); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 2px; font-size: 10px; line-height: 1; background: var(--perzik); color: var(--marine); }
.tag--oranje { background: var(--oranje); color: var(--white); }
.tag--geel { background: var(--geel); }

/* ---------- Bullets & checks ---------- */
.bullets { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.bullets li { position: relative; padding-left: 16px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 6px; height: 5px; background: var(--oranje); }
.bullets--large { flex-direction: column; gap: 10px; }
.bullets--large li { padding-left: 25px; font-size: clamp(17px, 1.25vw, 20px); }
.bullets--large li::before { top: 0.36em; width: 12px; height: 10px; }

.checks { display: grid; gap: 5px; }
.checks__item { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; }
.checks__box { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 5px; background: var(--oranje); color: var(--white); }
.checks__box .icon { width: 11px; height: 8px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
	position: fixed;
	z-index: 100;
	top: var(--header-top);
	left: 50%;
	width: min(1002px, calc(100% - 2 * var(--edge)));
	transform: translateX(-50%);
	transition: transform 0.5s var(--ease-out);
}
.admin-bar .header { top: calc(var(--header-top) + 32px); }
.js .header { animation: nav-drop 0.6s var(--ease-osmo) 0.5s both; }
.is-loading .header { animation-play-state: paused; }
@keyframes nav-drop { from { transform: translate(-50%, -300%); } }
.header__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 61px;
	padding: 6px 6px 6px 25px;
	border-radius: 12px;
	background: var(--marine);
	box-shadow: 0 10px 30px -18px rgba(27, 26, 55, 0.6);
}
.header__logo { display: block; color: var(--geel); }
.header__mark { width: 35px; height: 20px; transition: transform 0.5s var(--ease-bounce); }
.header__logo:hover .header__mark { transform: rotate(-8deg) scale(1.12); }
.header__nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav__list { display: flex; gap: 35px; }
.nav__link { position: relative; display: block; padding: 8px 0; color: var(--geel); font-size: var(--fs-button); text-decoration: none; }
.nav__item--current .nav__link { color: var(--oranje); }
.header__cta { width: 112px; }
.header__toggle { display: none; place-items: center; width: 49px; height: 49px; border: 0; border-radius: var(--radius-button); background: var(--oranje); color: var(--white); cursor: pointer; }
.header__toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; transition: transform 0.4s var(--ease-bounce), opacity 0.2s; }
.header__toggle-close { opacity: 0; transform: rotate(-90deg); }
.menu-open .header__toggle-open { opacity: 0; transform: rotate(90deg); }
.menu-open .header__toggle-close { opacity: 1; transform: none; }

/* Overlay menu (tablet & mobile). */
.menu {
	position: fixed;
	z-index: 90;
	inset: 0;
	display: flex;
	background: var(--marine);
	color: var(--white);
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	transition: clip-path 0.6s var(--ease-osmo), visibility 0s 0.6s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-osmo), visibility 0s; }
.menu__inner { display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3dvh, 32px); width: 100%; min-height: 100dvh; padding: calc(var(--header-top) + 90px) var(--gutter) max(24px, 4dvh); overflow-y: auto; }
.menu__list { display: grid; gap: clamp(2px, 1dvh, 10px); }
.menu__link { display: inline-block; font-size: clamp(34px, min(10vw, 7dvh), 64px); font-weight: 600; line-height: 1.1; color: var(--white); text-decoration: none; transition: color 0.3s; }
.menu__link:hover, .menu__item--current .menu__link { color: var(--oranje); }
.menu__item { overflow: hidden; }
.menu__link, .menu__cta, .menu__socials { transform: translateY(110%); opacity: 0; transition: transform 0.4s var(--ease-osmo), opacity 0.3s; }
.menu.is-open .menu__link, .menu.is-open .menu__cta, .menu.is-open .menu__socials { transform: none; opacity: 1; transition: transform 0.85s var(--ease-osmo), opacity 0.6s; }
.menu.is-open .menu__item:nth-child(1) .menu__link { transition-delay: 0.2s; }
.menu.is-open .menu__item:nth-child(2) .menu__link { transition-delay: 0.28s; }
.menu.is-open .menu__item:nth-child(3) .menu__link { transition-delay: 0.36s; }
.menu.is-open .menu__item:nth-child(4) .menu__link { transition-delay: 0.44s; }
.menu.is-open .menu__item:nth-child(5) .menu__link { transition-delay: 0.52s; }
.menu.is-open .menu__item:nth-child(6) .menu__link { transition-delay: 0.6s; }
.menu.is-open .menu__cta { transition-delay: 0.6s; }
.menu.is-open .menu__socials { transition-delay: 0.68s; }
.menu__cta { align-self: flex-start; }
.menu__socials { display: flex; gap: 12px; }
.menu__socials .socials__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-button); background: rgba(255, 255, 255, 0.08); color: var(--geel); }
.menu__socials .icon { width: 18px; height: 18px; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; z-index: 1; padding: 20px var(--edge) 0; }
.footer__panel {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	min-height: clamp(320px, 25vw, 400px);
	padding: 60px clamp(24px, 3.85vw, 60px);
	border-radius: var(--radius);
	background: var(--marine);
	color: var(--white);
}
.footer__shape { position: absolute; left: 51%; top: 22%; width: 49%; height: auto; color: var(--white); opacity: 0.05; pointer-events: none; }
.footer__logo { position: relative; display: block; width: clamp(200px, 19.6vw, 313px); color: var(--geel); }
.footer__logo-svg { width: 100%; height: auto; }
.footer__nav { position: relative; }
.fnav__list { display: grid; justify-items: end; }
.fnav__link {
	position: relative;
	display: block;
	font-size: var(--fs-h4);
	font-weight: 600;
	line-height: 1.143;
	text-align: right;
	color: var(--white);
	text-decoration: none;
}
.fnav__item--current .fnav__link { color: var(--oranje); }

.footer__bar {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	min-height: 83px;
	padding: 30px clamp(10px, 1.9vw, 30px) 0;
	overflow: hidden;
}
.legal__list, .footer__socials { display: flex; flex-wrap: wrap; gap: 8px clamp(20px, 2.5vw, 40px); }
.legal__link, .footer__socials .socials__link { font-size: var(--fs-body); text-decoration: none; }

/* ==========================================================================
   Sections: home
   ========================================================================== */

/* Hero */
.hero { position: relative; min-height: calc(1000 / var(--frame) * 100vw); padding-top: calc(242 / var(--frame) * 100vw); }
.hero__shape { position: absolute; z-index: -1; left: calc(801 / var(--frame) * 100vw); top: calc(653 / var(--frame) * 100vw); width: calc(1007 / var(--frame) * 100vw); height: auto; color: var(--marine); opacity: 0.05; pointer-events: none; }
.hero__photos { position: absolute; inset: 0; pointer-events: none; }
.hero__photo {
	position: absolute;
	width: calc(250 / var(--frame) * 100vw);
	aspect-ratio: 250 / 251;
	border-radius: var(--radius);
	overflow: hidden;
	background: #d9d9d9;
}
.hero--path .hero__photo { left: 0 !important; top: 0 !important; will-change: transform, opacity; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__track { display: contents; }
.hero__photo--clone { display: none; }
@keyframes hero-row { to { transform: translateX(calc(-50% - 7px)); } }
.hero__photo--1 { left: calc(109 / var(--frame) * 100vw); top: calc(56 / var(--frame) * 100vw); }
.hero__photo--2 { left: calc(234 / var(--frame) * 100vw); top: calc(340 / var(--frame) * 100vw); }
.hero__photo--3 { left: calc(109 / var(--frame) * 100vw); top: calc(627 / var(--frame) * 100vw); }
.hero__photo--4 { left: calc(-166 / var(--frame) * 100vw); top: calc(828 / var(--frame) * 100vw); }
.hero__photo--5 { left: calc(-166 / var(--frame) * 100vw); top: calc(-156 / var(--frame) * 100vw); }
.hero__content { position: relative; margin-left: calc(604 / var(--frame) * 100vw); width: min(calc(760 / var(--frame) * 100vw), calc(100% - var(--gutter))); }
.hero__title { font-size: var(--fs-h1); font-weight: 600; line-height: 1.094; white-space: nowrap; }
.hero__title .u-serif { font-size: 1em; }
.hero__text { max-width: 640px; margin-top: calc(12 / var(--frame) * 100vw); font-size: var(--fs-body); }

/* Story */
.story { position: relative; padding-bottom: var(--space); }
.story__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.story__title { max-width: 978px; }
.story__text { max-width: 1100px; margin-top: 30px; }
.story__actions { margin-top: 30px; }

/* Service cards (fan) */
.cards-fan { padding-bottom: calc(var(--space) + 34px); }
.cards-fan__title { text-align: center; margin-bottom: clamp(30px, 2.5vw, 40px); }
.cards-fan__list { display: flex; justify-content: center; gap: 27px; }
.cards-fan__item {
	--rot: 0deg;
	--lift: 0px;
	position: relative;
	width: 266px;
	flex: none;
	transform: translateY(var(--lift)) rotate(var(--rot));
}
.cards-fan__item:nth-child(4n + 1) { --rot: -3deg; --lift: 18px; }
.cards-fan__item:nth-child(4n + 2) { --rot: -1.9deg; --lift: 0px; }
.cards-fan__item:nth-child(4n + 3) { --rot: 1.6deg; --lift: 1px; }
.cards-fan__item:nth-child(4n + 4) { --rot: 3.14deg; --lift: 18px; }
.cards-fan__item:hover, .cards-fan__item:focus-within { z-index: 2; }
.service-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
	height: 328px;
	padding: 52px 25px 36px 32px;
	border-radius: var(--radius);
	background: var(--marine);
	color: var(--white);
	transition: transform 0.4s var(--ease-osmo);
}
.cards-fan__item:hover .service-card, .cards-fan__item:focus-within .service-card { transform: translateY(-10px); transition: transform 0.7s var(--ease-osmo); }
.service-card__mark { width: 30px; height: 17px; color: var(--geel); }
.service-card__title { font-size: 27.16px; font-weight: 600; line-height: 1.2; }
.service-card__link { color: inherit; text-decoration: none; }
.service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__text { font-size: 13.58px; line-height: 1.2; }
.service-card--oranje { background: var(--oranje); }
.service-card--perzik { background: var(--perzik); color: var(--marine); }
.service-card--perzik .service-card__mark, .service-card--geel .service-card__mark { color: var(--oranje); }
.service-card--geel { background: var(--geel); color: var(--marine); }
.cards-fan__more {
	position: absolute;
	left: 2px;
	right: 2px;
	top: calc(100% - 49px);
	z-index: 0;
	border-radius: 5px;
	transform: translateY(-10px);
	opacity: 0;
	transition: transform 0.3s var(--ease-osmo), opacity 0.2s var(--ease-out);
	pointer-events: none;
}
.cards-fan__item:hover .cards-fan__more, .cards-fan__item:focus-within .cards-fan__more { pointer-events: auto; }
.cards-fan__item:hover::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 100%; height: 70px; }
.cards-fan__more .button__label { transform: translateY(60%); opacity: 0; transition: transform 0.3s var(--ease-osmo), opacity 0.2s var(--ease-out); }
.cards-fan__item:hover .cards-fan__more, .cards-fan__item:focus-within .cards-fan__more { transform: translateY(58px); opacity: 1; transition: transform 0.3s var(--ease-osmo), opacity 0.15s var(--ease-out); }
.cards-fan__item:hover .cards-fan__more .button__label, .cards-fan__item:focus-within .cards-fan__more .button__label { transform: none; opacity: 1; transition: transform 0.3s var(--ease-osmo), opacity 0.2s var(--ease-out); }

/* Case slider */
.cases { padding-bottom: var(--space); }
.cases--related { padding-top: var(--space); }
.cases__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-inline: calc(var(--gutter) + clamp(0px, 5vw, 80px)); margin-bottom: clamp(20px, 1.5vw, 24px); max-width: none; }
.cases__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: none;
	scroll-padding-inline: calc(var(--gutter) + clamp(0px, 5vw, 80px));
	scrollbar-width: none;
	cursor: grab;
	outline-offset: -3px;
}
.cases__viewport::-webkit-scrollbar { display: none; }
@media (pointer: coarse) { .cases__viewport { scroll-snap-type: x mandatory; } }
.cases__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cases__viewport.is-dragging a { pointer-events: none; }
.cases__track { display: flex; gap: 20px; width: max-content; padding-inline: calc(var(--gutter) + clamp(0px, 5vw, 80px)); }
.cases__slide { flex: none; width: clamp(280px, 25vw, 400px); scroll-snap-align: start; }
.cases__nav { display: flex; justify-content: flex-end; gap: 5px; margin-top: 40px; padding-inline: calc(var(--gutter) + clamp(0px, 5vw, 80px)); max-width: none; }
.cases__arrow { display: grid; place-items: center; width: 49px; height: 49px; border: 0; border-radius: var(--radius-button); background: var(--oranje); color: var(--white); cursor: pointer; transition: background 0.3s, transform 0.35s var(--ease-bounce); }
.cases__arrow .icon { width: 14px; height: 8px; }
.cases__arrow:hover { background: var(--marine); }
.cases__arrow:hover:first-child { transform: translateX(-3px); }
.cases__arrow:hover:last-child { transform: translateX(3px); }
.cases__arrow:disabled { opacity: 0.35; cursor: default; transform: none; }

.case-card { position: relative; overflow: hidden; aspect-ratio: 400 / 350; border-radius: var(--radius); background: var(--marine); color: var(--white); isolation: isolate; }
.case-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); pointer-events: none; }
.case-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(27, 26, 55, 0) 20%, rgba(27, 26, 55, 0.55)); transition: opacity 0.5s; }
.case-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(27, 26, 55, 0), var(--marine)); opacity: 0; transition: opacity 0.5s; }
.case-card:hover .case-card__img { transform: scale(1.06); }
.case-card:hover::after, .case-card:focus-within::after { opacity: 1; }
.case-card__body { position: absolute; left: 40px; right: 40px; bottom: 40px; }
.case-card__title { margin-top: 15px; font-size: var(--fs-h5); font-weight: 600; line-height: 1; }
.case-card__link { color: inherit; text-decoration: none; }
.case-card__link::after { content: ""; position: absolute; inset: -400px; }
.case-card__text { display: grid; max-height: 0; margin-top: 0; font-size: var(--fs-small); line-height: 1.25; opacity: 0; transition: max-height 0.5s var(--ease-out), opacity 0.4s, margin 0.5s var(--ease-out); }
.case-card:hover .case-card__text, .case-card:focus-within .case-card__text { max-height: 100px; margin-top: 10px; opacity: 1; }
.case-end { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; aspect-ratio: 400 / 350; padding: 40px; border-radius: var(--radius); background: var(--perzik); }
.case-end__title { font-size: var(--fs-h4); font-weight: 600; line-height: 1; }
.case-end .button { align-self: flex-start; }

/* Banners (CTA + team) */
.banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	min-height: clamp(420px, 31.25vw, 500px);
	margin-inline: var(--edge);
	padding: 60px clamp(24px, 3.85vw, 60px);
	border-radius: var(--radius);
	overflow: hidden;
	isolation: isolate;
}
.main + .banner { margin-top: var(--space); }
.banner__media { position: absolute; inset: 0; z-index: -1; }
.banner__img { width: 100%; height: 100%; object-fit: cover; }
.banner__panel {
	width: min(679px, 100%);
	padding: 50px;
	border-radius: 5px;
	background: rgba(241, 233, 160, 0.8);
	-webkit-backdrop-filter: blur(2.5px);
	backdrop-filter: blur(2.5px);
}
.banner__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.11; }
.banner__text { margin-top: 15px; }
.banner__button { align-self: flex-end; }
.banner--oranje .banner__panel { width: min(725px, 100%); background: rgba(232, 78, 27, 0.8); color: var(--white); }
.banner--page { margin-top: var(--space); }

/* ==========================================================================
   Sections: pages
   ========================================================================== */

/* Intro */
.intro { position: relative; padding-top: clamp(150px, 10.94vw, 175px); padding-bottom: clamp(56px, 6.25vw, 100px); }
.intro--center .intro__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro--center .intro__title { max-width: 1200px; }
.intro--center .intro__text { max-width: 1100px; margin-top: clamp(24px, 2.875vw, 46px); }
.intro--left { padding-top: clamp(150px, 14.25vw, 228px); padding-bottom: clamp(40px, 3.4vw, 54px); }
.intro--left .intro__title { max-width: 980px; margin-top: 15px; }
.intro--left .intro__text { max-width: 1152px; margin-top: 20px; }
.intro__text p + p { margin-top: 1.3em; }
.intro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* Split */
.split__inner { display: grid; grid-template-columns: minmax(0, 500fr) minmax(0, 850fr); align-items: center; gap: clamp(32px, 5.6vw, 90px); }
.split__heading { margin-bottom: 20px; font-size: var(--fs-body); font-weight: 700; line-height: 1.3; }
.split__text p + p { margin-top: 1.3em; }
.split__actions { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 30px; }
.split__actions .icon-button + .icon-button { margin-left: -10px; }
.split__media { position: relative; aspect-ratio: 850 / 400; border-radius: var(--radius); overflow: hidden; background: var(--perzik); }
.split__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.split__badge {
	position: absolute;
	right: 40px;
	bottom: 40px;
	display: grid;
	place-items: center;
	width: 80px;
	height: 80px;
	border-radius: var(--radius-button);
	background: var(--oranje);
	color: var(--white);
	transition: transform 0.4s var(--ease-bounce), background 0.3s;
}
.split__badge .icon { width: 30px; height: 30px; }
.split__badge:hover { transform: rotate(-8deg) scale(1.08); background: var(--marine); }

/* Text block (Mijn visie, De aanpak) */
.textblock { position: relative; padding-top: var(--space); }
.textblock__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.textblock__text { max-width: 1100px; margin-top: 20px; }
.textblock__text p + p { margin-top: 1.3em; }
.textblock__actions { margin-top: 30px; }
.textblock__shape { position: absolute; z-index: -1; left: 50.7%; top: -10%; width: 63%; height: auto; opacity: 0.05; pointer-events: none; }

/* Services (Diensten) */
.services { padding-bottom: 0; overflow-x: clip; }
.services__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); max-width: calc(1200px + 2 * var(--gutter)); }
.service {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: 40px;
	padding: 10px;
	border-radius: var(--radius);
	background: var(--marine);
	color: var(--white);
	scroll-margin-top: 130px;
}
/* 3D stack: blocks stick below the header; the ones behind tip back, shrink and darken (--depth set by JS). */
.services.is-stacking .services__list { perspective: 1600px; }
.services.is-stacking .service {
	position: sticky;
	top: 150px;
	transform-origin: 50% 0%;
	transform: translateY(calc(var(--depth, 0) * -18px)) scale(calc(1 - var(--depth, 0) * 0.05)) rotateX(calc(var(--depth, 0) * 8deg));
	filter: brightness(calc(1 - var(--depth, 0) * 0.12));
	will-change: transform;
}
.service__content { align-self: center; padding: clamp(24px, 4.4vw, 70px) 0 clamp(24px, 4.4vw, 70px) clamp(20px, 5.625vw, 90px); }
.service__mark { width: 63px; height: 36px; color: var(--geel); }
.service__title { margin-top: 20px; font-size: var(--fs-h2); font-weight: 600; line-height: 1.15; }
.service__lead { margin-top: 10px; font-size: var(--fs-small); }
.service__text { margin-top: 16px; font-size: var(--fs-small); line-height: 1.2; }
.service__text p + p { margin-top: 1em; }
.service__list-title { margin-top: 16px; font-size: var(--fs-small); font-weight: 700; color: var(--geel); }
.service__bullets { margin-top: 16px; max-width: 520px; }
.service__media { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; clip-path: inset(0 round var(--radius)); transform: translateZ(0); backface-visibility: hidden; }
.service__img { position: absolute; inset: -1px; width: calc(100% + 2px); max-width: none; height: calc(100% + 2px); object-fit: cover; }
.service--reverse { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
.service--reverse .service__media { order: -1; }
.service--reverse .service__content { padding-left: 0; padding-right: clamp(20px, 5.625vw, 90px); }
.service--oranje { background: var(--oranje); }
.service--oranje .service__bullets li::before { background: var(--geel); }
.service--perzik { background: var(--perzik); color: var(--marine); }
.service--geel { background: var(--geel); color: var(--marine); }
.service--perzik .service__mark, .service--geel .service__mark { color: var(--oranje); }
.service--perzik .service__list-title, .service--geel .service__list-title { color: var(--oranje); }

/* Pricing */
.pricing { scroll-margin-top: 100px; }
.pricing + .pricing { padding-top: var(--space); }
.pricing__title { text-align: center; margin-bottom: 30px; }
.pricing__list { display: grid; grid-template-columns: repeat(3, minmax(0, 450px)); justify-content: center; align-items: start; gap: 20px; }
.package { display: flex; flex-direction: column; align-items: flex-start; padding: 50px; border-radius: var(--radius); background: var(--perzik); }
.package__title { font-size: var(--fs-h5); font-weight: 600; line-height: 1; }
.package__text { margin-top: 20px; font-size: var(--fs-small); line-height: 1.3; }
.package__text p + p { margin-top: 1.3em; }
.package__list-title { margin: 1.3em 0 10px; font-size: var(--fs-small); font-weight: 700; }
.package__button { margin-top: 30px; }
.package--oranje { background: var(--oranje); color: var(--white); }
.package--oranje .checks__box { background: var(--perzik); color: var(--marine); }
.package--marine { background: var(--marine); color: var(--white); }

/* Quote */
.quote { padding-top: var(--space); }
.quote__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.quote__icon { width: 32px; height: 30px; color: var(--oranje); }
.quote__text { max-width: 978px; margin-top: 20px; }
.quote__author { margin-top: 20px; font-size: clamp(17px, 1.25vw, 20px); font-weight: 600; }
.quote .word { transition: color 0.2s linear; }

/* Factors */
.factors { padding-top: var(--space); }
.factors__title { text-align: center; margin-bottom: 40px; }
.factors__list { display: grid; grid-template-columns: repeat(3, minmax(0, 400px)); justify-content: center; gap: 20px; }
.factor { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 400 / 350; padding: 40px; border-radius: var(--radius); background: var(--perzik); isolation: isolate; transition: background-color 0.5s var(--ease-osmo), color 0.5s var(--ease-osmo); }
.factor__shape { position: absolute; z-index: -1; right: 8%; top: -30%; width: 88%; height: auto; transform: rotate(-90deg); color: var(--marine); opacity: 0.08; transition: color 0.6s var(--ease-out), opacity 0.6s var(--ease-out); }
.factor__title { max-width: 320px; font-size: var(--fs-h4); font-weight: 600; line-height: 1; }
.factor__text { max-width: 320px; margin-top: 15px; font-size: var(--fs-small); line-height: 1.25; }
.js .factor[data-reveal] { transition: opacity 0.85s var(--ease-osmo), transform 0.85s var(--ease-osmo), background-color 0.6s var(--ease-out), color 0.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 0.12s), calc(var(--d, 0) * 0.12s), 0s, 0s; }
.factor:hover, .factor:focus-within { background: var(--oranje); color: var(--white); }
.factor:hover .factor__shape, .factor:focus-within .factor__shape { color: var(--white); opacity: 0.12; }

/* Expect / result */
.expect { padding-top: var(--space); }
.expect__inner { display: grid; grid-template-columns: minmax(0, 650fr) minmax(0, 700fr); align-items: center; gap: clamp(32px, 5.6vw, 90px); }
.expect__media { aspect-ratio: 650 / 400; border-radius: var(--radius); overflow: hidden; background: #e5e5e5; }
.expect__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.expect__title { max-width: 700px; }
.expect__text { margin-top: 20px; }
.expect__text p + p { margin-top: 1.3em; }
.expect .bullets { margin-top: 20px; }

/* Results (succesverhaal) */
.results { padding-top: var(--space); }
.results__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.results__intro { max-width: 720px; margin-top: 30px; }
.results__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }
.stat { display: flex; flex-direction: column; gap: 10px; min-width: 230px; padding: 40px; border-radius: var(--radius); background: var(--perzik); text-align: left; }
.stat__value { font-size: var(--fs-h4); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-small); line-height: 1.25; }
.results__note { max-width: 1100px; margin-top: 35px; font-size: var(--fs-small); font-weight: 600; }

/* Contact form */
.contact-form { padding-top: var(--space); scroll-margin-top: 80px; }
.contact-form__inner { display: grid; grid-template-columns: minmax(0, 500fr) minmax(0, 850fr); gap: clamp(32px, 5.6vw, 90px); }
.contact-form__text { margin-top: 20px; }
.contact-form__form { padding: clamp(24px, 3.125vw, 50px); border-radius: var(--radius); background: var(--perzik); }

/* Case archive */
.case-grid__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filters__link { padding: 10px 16px; border-radius: var(--radius-button); background: var(--perzik); font-size: 14px; text-decoration: none; transition: background 0.3s, color 0.3s; }
.filters__link:hover { background: var(--geel); }
.filters__link.is-active { background: var(--marine); color: var(--white); }

/* Prose (legal pages) */
.prose-section { padding-bottom: 0; }
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: var(--fs-h5); font-weight: 600; line-height: 1.15; }
.prose h3 { margin-top: 1.5em; font-size: 22px; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--oranje); }
.post-list { display: grid; gap: 30px; max-width: 760px; margin: 40px auto 0; }
.post-list__link { font-size: var(--fs-h5); font-weight: 600; text-decoration: none; }
.post-list__link:hover { color: var(--oranje); }
.post-list__excerpt { margin-top: 6px; }
.post-list__empty { max-width: 760px; margin: 30px auto 0; text-align: center; }
.searchform { display: flex; gap: 10px; width: 100%; max-width: 560px; margin-inline: auto; }
.searchform__input { flex: 1; min-width: 0; height: 49px; padding: 0 16px; border: 1.5px solid var(--marine); border-radius: var(--radius-button); font: inherit; font-size: 16px; background: var(--white); color: var(--marine); }
.nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }

/* 404 */
.notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Forms (Contact Form 7 with own markup)
   ========================================================================== */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.form__input {
	width: 100%;
	min-height: 49px;
	padding: 13px 16px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-button);
	background: var(--white);
	color: var(--marine);
	font: inherit;
	font-size: 16px;
	line-height: 1.3;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input::placeholder { color: rgba(27, 26, 55, 0.45); }
.form__input:focus { outline: none; border-color: var(--oranje); box-shadow: 0 0 0 4px rgba(232, 78, 27, 0.15); }
textarea.form__input { min-height: 150px; resize: vertical; }
.form__consent { margin-top: 20px; font-size: 14px; }
.form__consent a { color: inherit; }
.form__consent .wpcf7-list-item { margin: 0; }
.form__consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form__consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--oranje); }
.form__actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.wpcf7 form .hidden-fields-container { display: none; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: #b3260a; }
.wpcf7-not-valid { border-color: #b3260a !important; }
.wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--radius-button); background: var(--white); font-size: 15px; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--geel); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output { border-left: 4px solid #b3260a; }
.wpcf7-spinner { display: none; width: 20px; height: 20px; border: 2px solid var(--marine); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.wpcf7 form.submitting .wpcf7-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Motion (after the Webflow test version: osmo easing, line masks, page transition)
   ========================================================================== */

/* Page transition (v1): orange curtain with the beeldmerk; slides away on load and back in before navigating. */
.curtain { display: none; }
.js .curtain {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--oranje);
	color: var(--geel);
	pointer-events: none;
	animation: curtain-out 0.9s var(--ease-inout) 0.15s both;
}
.curtain__mark { width: 90px; height: auto; animation: mark-pop 0.6s var(--ease-bounce) both; }
.js .curtain.is-entering { animation: curtain-in 0.55s var(--ease-inout) both; }
.is-loading .curtain, .no-curtain .curtain:not(.is-entering) { display: none; }
@keyframes curtain-out { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 18% 18%; visibility: hidden; } }
@keyframes curtain-in { from { transform: translateY(100%); border-radius: 50% 50% 0 0 / 18% 18% 0 0; } to { transform: none; border-radius: 0; } }
@keyframes mark-pop { from { transform: scale(0.4) rotate(-20deg); opacity: 0; } }

/* Preloader (after Osmo "Dropping Cards"): the hero photos drop onto a stack, then the loader slides up. */
.loader { display: none; }
.is-loading .loader, .loader.is-leaving {
	position: fixed;
	z-index: 1001;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--marine);
}
.loader.is-leaving { animation: loader-out 0.95s var(--ease-inout) both; }
.loader__stack { position: relative; width: clamp(150px, 14vw, 220px); aspect-ratio: 3 / 4; }
.loader__card {
	--r: calc((var(--i) - 2) * 3.5deg);
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--perzik);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
	transform: translateY(-120vh) rotate(calc(var(--r) * -3));
	animation: card-drop 0.9s var(--ease-osmo) both;
	animation-delay: calc(0.1s + var(--i) * 0.28s);
}
.loader__card:nth-child(even) { --r: calc((2 - var(--i)) * 2.5deg + 2deg); }
.loader__card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes card-drop { to { transform: translateY(0) rotate(var(--r)); } }
@keyframes loader-out { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 18% 18%; } }
.is-loading { overflow: hidden; }

/* "Sleep" cursor on the case slider (v1). */
.cursor { position: fixed; z-index: 500; left: 0; top: 0; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--oranje); color: var(--white); font-size: 14px; pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform 0.35s var(--ease-bounce); }
.cursor.is-active { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
.cursor.is-active.is-down { transform: translate3d(var(--cx), var(--cy), 0) scale(0.8); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.cases__viewport[data-cursor="drag"] { cursor: none; }
@media (hover: none), (pointer: coarse) { .cases__viewport[data-cursor="drag"] { cursor: auto; } }

/* Highlight text on scroll (after Osmo): words go from light to dark (opacity set by JS). */
.is-highlight .u-muted { color: inherit; }
.hl { transition: opacity 0.15s linear; }

/* Number odometer (after Osmo): each digit is a strip of numbers that rolls to its value. */
.odo__digit { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; line-height: 1; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(0); }
.odo__strip span { display: block; height: 1em; line-height: 1; }
.is-counting .odo__strip { transform: translateY(calc(var(--to) * -1em)); transition: transform 2.2s var(--ease-osmo); transition-delay: var(--delay, 0s); }
.odo__sep { display: inline-block; line-height: 1; }


/* Reveal on scroll. */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.85s var(--ease-osmo), transform 0.85s var(--ease-osmo); transition-delay: calc(var(--d, 0) * 0.12s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.2s var(--ease-parallax); }
.js [data-reveal="clip"] img { transform: scale(1.1); transition: transform 1.4s var(--ease-parallax); }
.js [data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="clip"].is-visible img { transform: none; }

/* Text lines slide up out of a mask (Webflow SplitText: 110% → 0, stagger 0.12s, 0.85s). */
.lw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.12em 0.3em; margin: 0 -0.12em -0.3em; }
/* Once revealed, drop the mask so serif descenders (the "j" in *blij*) are never cut off. */
.lw.is-done { overflow: visible; }
.lw__in { display: inline-block; }
.js [data-lines] .lw__in { opacity: 0; transform: translateY(110%); transition: transform 0.85s var(--ease-osmo), opacity 0.85s var(--ease-osmo); transition-delay: calc(var(--li, 0) * 0.12s + var(--ld, 0s)); }
.js [data-lines].is-visible .lw__in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	.header__nav, .header__cta { display: none; }
	.header__toggle { display: grid; }
	.header { width: calc(100% - 2 * var(--edge)); max-width: 720px; }

	.hero { min-height: 0; padding-top: 150px; padding-bottom: 60px; }
	.hero__content { margin-left: var(--gutter); width: auto; margin-right: var(--gutter); }
	.hero__title { white-space: normal; font-size: clamp(46px, 8vw, 96px); }
	.hero__text { margin-top: 24px; }
	.hero__photos { position: relative; inset: auto; display: flex; gap: 14px; margin: 50px 0 0; padding-inline: var(--gutter); overflow: hidden; }
	.hero__track { display: flex; gap: 14px; width: max-content; animation: hero-row 45s linear infinite; }
	.hero__photos:has(.hero__track) { padding-inline: 0; }
	.hero__photo { position: relative; left: auto !important; top: auto !important; width: clamp(140px, 22vw, 220px); flex: none; }
	.hero__photo:nth-child(odd) { margin-top: 30px; }
	.hero__shape { left: 40%; top: 45%; width: 80%; }
	.hero { display: flex; flex-direction: column; }
	.hero__content { order: 1; }
	.hero__photos { order: 2; }
	.hero__photo--clone { display: block; }

	.cards-fan__list { flex-wrap: wrap; gap: 40px 24px; max-width: 620px; margin-inline: auto; }
	.cards-fan__item:nth-child(4n + 1) { --lift: 0px; }
	.cards-fan__item:nth-child(4n + 4) { --lift: 0px; }

	.service { grid-template-columns: 1fr; min-height: 0; }
	.service--reverse { grid-template-columns: 1fr; }
	.service--reverse .service__media { order: 0; }
	.service__content, .service--reverse .service__content { padding: clamp(24px, 5vw, 50px); }
	.service__media { aspect-ratio: 16 / 10; min-height: 0; }

	.pricing__list { grid-template-columns: minmax(0, 560px); }
	.factors__list { grid-template-columns: repeat(auto-fit, minmax(260px, 400px)); }
	.case-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
	.split__inner, .expect__inner, .contact-form__inner { grid-template-columns: 1fr; }
	.split__media { order: -1; }
	.split--text-first .split__media { order: 0; }
	.expect__media { max-width: 650px; }
	.banner { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 520px; padding: 24px; }
	.banner__panel { padding: 30px; }
	.banner__button { align-self: flex-start; }
	.footer__panel { flex-direction: column-reverse; align-items: flex-start; }
	.fnav__list { justify-items: start; }
	.fnav__link { text-align: left; }
	.footer__shape { left: 30%; top: 5%; width: 90%; }
}

@media (max-width: 767px) {
	:root { --header-top: 12px; }
	.header__bar { height: 57px; padding-left: 18px; }
	.header__toggle { width: 45px; height: 45px; }
	.admin-bar .header { top: calc(var(--header-top) + 46px); }
	.intro, .intro--left { padding-top: 120px; }
	.hero { padding-top: 120px; }
	.cards-fan__list { flex-wrap: nowrap; justify-content: flex-start; gap: 16px; max-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 24px var(--gutter) 80px; margin-bottom: -50px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.cards-fan__list::-webkit-scrollbar { display: none; }
	.cards-fan__item { width: min(250px, 72vw); scroll-snap-align: start; }
	.service-card { height: auto; min-height: 260px; padding: 40px 18px 24px; }
	.service-card__title { font-size: 22px; }
	.cases__head { flex-direction: column; align-items: flex-start; }
	.case-card__body { left: 24px; right: 24px; bottom: 24px; }
	.case-card__text { max-height: none; margin-top: 10px; opacity: 1; }
	.case-card::after { opacity: 0.7; }
	.case-end { padding: 24px; }
	.package { padding: 30px 24px; }
	.factor { aspect-ratio: auto; min-height: 280px; padding: 30px; }
	.stat { min-width: 0; flex: 1 1 calc(50% - 10px); padding: 24px; }
	.case-grid__list { grid-template-columns: 1fr; }
	.form__grid { grid-template-columns: 1fr; }
	.split__badge { right: 16px; bottom: 16px; width: 56px; height: 56px; }
	.split__badge .icon { width: 22px; height: 22px; }
	.footer__bar { flex-direction: column; gap: 16px; padding-bottom: 80px; }
	.textblock__shape { display: none; }
	.service__title { font-size: clamp(28px, 9vw, 40px); }
}

@media (max-width: 480px) {
	.button { padding: 0 16px; }
	.hero__photo { width: 130px; }
	.banner__panel { padding: 24px; }
}

/* Reduced motion: no animations, everything visible. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-lines] .lw__in { opacity: 1 !important; transform: none !important; }
	.js [data-reveal="clip"] { clip-path: none; }
	.js .header { animation: none; }
	.js .curtain, .loader { display: none !important; }
	.hero__track { animation: none; }
}

/* ==========================================================================
   Merkmaten tab (inc/credit.php): peeks in at the bottom centre at the end of the page
   ========================================================================== */
.mm-tab { position: fixed; z-index: 999; left: 50%; bottom: 0; display: block; pointer-events: none; transform: translateX(-50%) translateY(100%); transition: transform 0.2s ease-out; }
.mm-tab.active { pointer-events: auto; transform: translateX(-50%) translateY(20px); }
.mm-tab:hover, .mm-tab:focus-visible { transform: translateX(-50%) translateY(0); }
.mm-tab svg { display: block; width: 100px; height: 66px; }

/* Phone refinements: long single words (e.g. "Succesverhalen") fit, bigger tap areas, readable tags. */
@media (max-width: 480px) {
	.h1, .hero__title, .intro--center .intro__title { font-size: clamp(34px, 11.5vw, 46px); }
	.tag { font-size: 11px; }
	.fnav__link { padding-block: 4px; }
}
@media (max-width: 1199px) {
	.header__logo { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin-left: -12px; }
}

/* Touch screens: no hover, so the "Meer informatie!" button sits visibly under each service card. */
@media (hover: none) {
	.cards-fan__more { position: relative; left: auto; right: auto; top: auto; display: flex; width: 100%; margin-top: 12px; opacity: 1; transform: none; pointer-events: auto; }
	.cards-fan__more .button__label { opacity: 1; transform: none; }
	.cards-fan__item:hover .cards-fan__more, .cards-fan__item:focus-within .cards-fan__more { transform: none; }
	.cards-fan__item:hover::after { content: none; }
}
@media (max-width: 767px) {
	/* Phones: stack without the 3D tilt (it widens the block behind beyond the screen). */
	.services.is-stacking .service { transform: translateY(calc(var(--depth, 0) * -10px)) scale(calc(1 - var(--depth, 0) * 0.06)); }
}

/* Menu panel receives focus when opened by touch/mouse: no focus ring on the panel itself. */
.menu:focus { outline: none; }

/* Phones: Diensten as fixed, compact blocks (photo on top, first paragraph, list) instead of the stack. */
@media (max-width: 767px) {
	.services__list { gap: 16px; }
	.service, .service--reverse { gap: 0; padding: 8px; }
	.service__media, .service--reverse .service__media { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
	.service__img { object-position: 50% 22%; }
	.service__content, .service--reverse .service__content { padding: 22px 16px 20px; }
	.service__mark { width: 44px; height: 25px; }
	.service__title { margin-top: 12px; }
	.service__lead { margin-top: 6px; font-weight: 600; }
	.service__text { margin-top: 10px; font-size: 15px; }
	.service__text p + p { display: none; }
	.service__list-title { margin-top: 14px; }
	.service__bullets { margin-top: 10px; gap: 8px 16px; }
	.service__bullets li { font-size: 13px; }
}

/* ==========================================================================
   Contact form (v1.5): marine panel with the beeldmerk shape, underline fields,
   service choices as pills, custom consent checkbox.
   ========================================================================== */
.contact-form { padding-top: var(--space); scroll-margin-top: 90px; }
.contact-form__panel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin-inline: var(--edge);
	padding: clamp(40px, 6.25vw, 100px) clamp(20px, 5vw, 80px);
	border-radius: var(--radius);
	background: var(--marine);
	color: var(--white);
}
.contact-form__shape { position: absolute; z-index: -1; right: -6%; bottom: -14%; width: min(58%, 760px); height: auto; color: var(--white); opacity: 0.05; pointer-events: none; }
.contact-form__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7.5vw, 120px); max-width: var(--container); margin-inline: auto; }
.contact-form__label { margin-bottom: 18px; }
.contact-form__title { color: var(--white); }
.contact-form__text { margin-top: 16px; max-width: 460px; color: rgba(255, 255, 255, 0.8); }
.contact-form__points { margin-top: 28px; }
.contact-form__points li { font-size: clamp(16px, 1.125vw, 18px); }
.contact-form__form { padding: 0; background: none; border-radius: 0; }

.contact-form .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
.field { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field--package[hidden] { display: none; }
.field__label {
	position: absolute;
	left: 0;
	top: 24px;
	z-index: 1;
	font-size: clamp(16px, 1.125vw, 18px);
	color: rgba(255, 255, 255, 0.6);
	pointer-events: none;
	transform-origin: 0 0;
	transition: transform 0.4s var(--ease-osmo), color 0.3s;
}
.field__input {
	display: block;
	width: 100%;
	padding: 24px 0 10px;
	border: 0;
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
	border-radius: 0;
	background: transparent;
	color: var(--white);
	font: inherit;
	font-size: clamp(16px, 1.125vw, 18px);
	transition: border-color 0.3s;
}
.field__input:hover { border-bottom-color: rgba(255, 255, 255, 0.5); }
.field__input:focus { outline: none; border-bottom-color: var(--oranje); }
.field:focus-within .field__label,
.field:has(.field__input:not(:placeholder-shown)) .field__label { transform: translateY(-22px) scale(0.75); color: var(--geel); }
textarea.field__input { min-height: 130px; resize: vertical; line-height: 1.4; }
.field__input:-webkit-autofill { -webkit-text-fill-color: var(--white); box-shadow: 0 0 0 100px var(--marine) inset; }

.field__legend { margin-bottom: 14px; padding: 0; font-size: 14px; font-weight: 600; color: var(--geel); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices .wpcf7-list-item { margin: 0; }
.choices label { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-button); font-size: 14px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease-elastic); }
.choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choices label:hover { border-color: var(--white); }
.choices label:has(input:checked) { background: var(--oranje); border-color: var(--oranje); }
.choices label:has(input:checked):active { transform: scale(0.95); }
.choices label:has(input:focus-visible) { outline: 2px solid var(--geel); outline-offset: 3px; }

.contact-form .form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 36px; }
.contact-form .form__consent { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.contact-form .form__consent a { color: var(--white); }
.contact-form .form__consent input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 5px;
	background: transparent no-repeat center / 11px 8px;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s;
}
.contact-form .form__consent input[type="checkbox"]:checked { border-color: var(--oranje); background-color: var(--oranje); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3E%3Cpath d='M10.76.24c.32.3.32.83 0 1.13L4.48 7.76a.75.75 0 0 1-1.1 0L.24 4.56a.78.78 0 0 1 0-1.12.75.75 0 0 1 1.1 0l2.6 2.62L9.66.24a.75.75 0 0 1 1.1 0Z' fill='%23fff'/%3E%3C/svg%3E"); }
.contact-form .form__consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--geel); outline-offset: 3px; }
.contact-form .form__actions { margin: 0; }
.contact-form .wpcf7-not-valid-tip { color: var(--geel); }
.contact-form .wpcf7-not-valid { border-color: var(--oranje) !important; }
.contact-form .wpcf7-response-output { margin-top: 24px; border: 0; border-left: 4px solid var(--oranje); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-left-color: var(--geel); background: rgba(241, 233, 160, 0.12); }
.contact-form .wpcf7-spinner { border-color: var(--white); border-top-color: transparent; }

@media (max-width: 991px) {
	.contact-form__inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.contact-form .form__grid { grid-template-columns: 1fr; gap: 26px; }
	.contact-form .form__footer { flex-direction: column; align-items: stretch; }
	.contact-form .form__actions .button { width: 100%; }
	.contact-form__shape { width: 110%; right: -40%; bottom: -6%; }

	/* Pre-footer call-to-action: more compact on phones. */
	.banner { min-height: 0; padding: 150px 12px 12px; gap: 12px; }
	.banner__panel { padding: 20px 20px 22px; }
	.banner__title { font-size: 24px; line-height: 1.15; }
	.banner__text { margin-top: 8px; font-size: 15px; }
	.banner__button { align-self: stretch; }
}

/* Case slider: arrows group; the "Meer informatie!" button moves next to the arrows on phones. */
.cases__arrows { display: flex; gap: 5px; }
.cases__more--nav { display: none; }

/* Hover effects only for real pointers (on touch they stick and stutter while swiping). */
@media (hover: none) {
	.case-card:hover .case-card__img { transform: none; }
}

/* Contact form: message field sized to a few lines, grows with the text where supported. */
.contact-form textarea.field__input { height: auto; min-height: 7.5em; max-height: 16em; field-sizing: content; }
@supports not (field-sizing: content) { .contact-form textarea.field__input { height: 7.5em; } }

@media (max-width: 767px) {
	.cases__head { margin-bottom: 24px; }
	.cases__more--head { display: none; }
	.cases__nav { justify-content: space-between; align-items: center; margin-top: 24px; }
	.cases__more--nav { display: block; }
	/* Smooth native swiping: one card per swipe, no page wobble. */
	.cases__viewport { scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; cursor: auto; }
	.cases__slide { scroll-snap-stop: always; }
	.cases__slide .case-card, .cases__slide .case-end { transform: translateZ(0); }
}

/* Live filter on the succesverhalen archive. */
.case-grid__list { transition: opacity 0.25s var(--ease-out); }
.case-grid__list.is-loading { opacity: 0; }

/* "Iets anders" → extra field slides open above the message. */
.field--other { display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0; visibility: hidden; transition: grid-template-rows 0.6s var(--ease-osmo), margin-top 0.6s var(--ease-osmo), opacity 0.4s var(--ease-out), visibility 0s 0.6s; }
.field--other__inner { position: relative; min-height: 0; overflow: hidden; }
.field--other.is-open { grid-template-rows: 1fr; margin-top: 30px; opacity: 1; visibility: visible; transition: grid-template-rows 0.6s var(--ease-osmo), margin-top 0.6s var(--ease-osmo), opacity 0.5s var(--ease-out) 0.1s, visibility 0s; }
@media (max-width: 767px) { .field--other.is-open { margin-top: 26px; } }

/* ==========================================================================
   404: hero-style title, faint mark shape, two ways back
   ========================================================================== */
.notfound { position: relative; display: flex; align-items: center; min-height: min(100svh, 900px); overflow-x: clip; padding: clamp(150px, 12vw, 190px) 0 clamp(80px, 8vw, 140px); }
.notfound__shape { position: absolute; z-index: -1; right: -8%; top: 50%; width: min(58%, 900px); height: auto; color: var(--marine); opacity: 0.05; transform: translateY(-45%); pointer-events: none; }
.notfound__inner { width: 100%; }
.notfound__content { max-width: 820px; }
.notfound__label { margin-bottom: 16px; }
.notfound__title { margin-top: 0; }
.notfound__text { max-width: 520px; margin-top: 24px; }
.notfound__actions { margin-top: 32px; }

@media (max-width: 767px) {
	.notfound { min-height: 0; padding: 140px 0 80px; }
	.notfound__shape { right: -40%; width: 120%; }
}

/* ==========================================================================
   Progressive blur at the top of the viewport (Figma "Rectangle 269", Webflow/Osmo progressive-blur).
   Five stacked backdrop blurs, each masked to a band; flipped so the strongest blur sits at the top.
   ========================================================================== */
.progressive-blur { position: fixed; z-index: 80; inset: 0 0 auto; height: clamp(240px, 28vw, 400px); overflow: hidden; pointer-events: none; isolation: isolate; contain: paint; transform: rotate(180deg); }
.progressive-blur__layer { position: absolute; inset: 0; }
.progressive-blur__layer.is--1 { -webkit-backdrop-filter: blur(0.8px); backdrop-filter: blur(0.8px); -webkit-mask: linear-gradient(transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); mask: linear-gradient(transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); }
.progressive-blur__layer.is--2 { -webkit-backdrop-filter: blur(1.6px); backdrop-filter: blur(1.6px); -webkit-mask: linear-gradient(transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); mask: linear-gradient(transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); }
.progressive-blur__layer.is--3 { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask: linear-gradient(transparent 75%, #000 87.5%, #000 100%); mask: linear-gradient(transparent 75%, #000 87.5%, #000 100%); }
.progressive-blur__layer.is--4 { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask: linear-gradient(transparent 82%, #000 92%, #000 100%); mask: linear-gradient(transparent 82%, #000 92%, #000 100%); }
.progressive-blur__layer.is--5 { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask: linear-gradient(transparent 88%, #000 100%); mask: linear-gradient(transparent 88%, #000 100%); }
@media (max-width: 767px) { .progressive-blur { height: 180px; } }
@media print { .progressive-blur { display: none; } }

/* Tags on case cards, the case grid and case pages: a bit larger than in Figma (client request) */
.tags .tag { padding: 10px 14px; font-size: 13px; }
@media (max-width: 767px) { .tags .tag { padding: 9px 12px; font-size: 12px; } }

/* ==========================================================================
   Coming soon-scherm (inc/coming-soon.php + template-parts/coming-soon.php)
   ========================================================================== */
body.coming { min-height: 100svh; display: grid; place-items: center; padding: 60px 0; background: var(--marine); color: var(--white); }
.coming__inner { position: relative; width: min(100% - 2 * var(--gutter), 760px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.coming__shape { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(140%, 1100px); height: auto; color: var(--white); opacity: 0.06; transform: translate(-50%, -50%); pointer-events: none; }
.coming__inner > *:not(.coming__shape) { position: relative; z-index: 1; }
.coming__logo { display: block; width: min(70%, 300px); color: var(--geel); }
.coming__logo-svg { width: 100%; height: auto; }
.coming__title { margin-top: clamp(32px, 5vw, 56px); color: var(--white); }
.coming__title .u-serif { color: var(--geel); }
.coming__text { max-width: 520px; margin-top: 20px; color: rgba(255, 255, 255, 0.8); }
.coming__count { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.5vw, 20px); margin-top: clamp(32px, 4vw, 52px); }
.coming__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: clamp(74px, 8vw, 104px); padding: clamp(14px, 1.6vw, 22px) 10px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); }
.coming__num { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--geel); }
.coming__label { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.coming__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: clamp(32px, 4vw, 52px); }
.coming__contact a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color 0.3s var(--ease-out); }
.coming__contact a:hover { color: var(--geel); }
@media (max-width: 767px) {
	body.coming { padding: 48px 0; }
	.coming__logo { width: min(80%, 260px); }
	.coming__unit { min-width: 68px; padding: 12px 8px; }
}
