/* ==========================================================
   Gebouwenadvies.nl — redesign concept
   ========================================================== */

:root {
	--bg: #0d1214;
	--bg-2: #131a1d;
	--bg-3: #1a2327;
	--paper: #f1eee8;
	--paper-2: #e6e2da;
	--text: #e9ecec;
	--text-dim: #c4cdd0;
	--muted: #98a6aa;
	--line: rgba(233, 236, 236, .12);
	--line-strong: rgba(233, 236, 236, .24);
	--accent: #7fc4d9;
	--accent-2: #a9dcea;
	--brand: #2e6f86;
	--brand-ink: #0b2a35;

	--logo-ring: var(--accent);
	--logo-bar: var(--text);

	--font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Instrument Serif", Georgia, serif;

	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--section: clamp(88px, 12vw, 180px);
	--radius: 4px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 84px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

::selection { background: var(--accent); color: var(--bg); }

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

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 200;
	padding: 10px 16px; background: var(--accent); color: var(--bg);
	transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap-wide { max-width: calc(1600px + var(--gutter) * 2); }

.section { padding: var(--section) 0; position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--text-dim);
}

.section-label {
	display: inline-flex; align-items: center; gap: 14px;
	font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--text-dim);
	margin-bottom: 28px;
}
.section-label span {
	display: inline-grid; place-items: center;
	min-width: 38px; height: 26px; padding: 0 8px;
	border: 1px solid var(--line-strong); border-radius: 99px;
	font-size: 12px; letter-spacing: .04em; color: var(--accent);
}

.display {
	font-size: clamp(44px, 7.2vw, 112px);
	line-height: .98;
	font-weight: 500;
	letter-spacing: -.035em;
}
.display em { color: var(--accent); font-size: 1.06em; letter-spacing: -.01em; }
.display-md { font-size: clamp(38px, 5vw, 76px); line-height: 1.02; }

.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .display { margin-bottom: 28px; }
.section-head-row {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 40px; flex-wrap: wrap;
}
.section-head-row .display { margin-bottom: 0; }
.section-intro { max-width: 520px; color: var(--text-dim); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	height: 56px; padding: 0 28px;
	border-radius: 99px;
	font-size: 15px; font-weight: 500; letter-spacing: .01em;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
	white-space: nowrap;
}
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--brand-ink); }
.btn-accent:hover { background: var(--accent-2); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.round-btn {
	width: 56px; height: 56px; border-radius: 50%;
	border: 1px solid var(--line-strong);
	font-size: 18px;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.round-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.link-underline {
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .4s var(--ease);
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-word {
	font-size: 19px; font-weight: 400; letter-spacing: -.02em; line-height: 1;
}
.logo-word b { font-weight: 700; }
.logo-word i { font-style: normal; color: var(--accent); font-weight: 500; }
.logo-lg .logo-mark { width: 56px; height: 56px; }
.logo-lg .logo-word { font-size: 28px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: var(--header-h);
	display: flex; align-items: center;
	transition: transform .5s var(--ease), background-color .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	--header-h: 68px;
	background: rgba(13, 18, 20, .78);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.header-inner { display: flex; align-items: center; gap: 32px; }
.header-inner .logo { margin-right: auto; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
	position: relative; font-size: 15px; color: var(--text-dim);
	transition: color .3s var(--ease);
}
.main-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
	background: var(--accent); transform: scaleX(0); transform-origin: right;
	transition: transform .4s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.menu-toggle-icon { position: relative; width: 26px; height: 12px; }
.menu-toggle-icon span {
	position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
	transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle-icon span:first-child { top: 0; }
.menu-toggle-icon span:last-child { top: 10px; }
.menu-open .menu-toggle-icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-icon span:last-child { top: 5px; transform: rotate(-45deg); }

.overlay-menu {
	position: fixed; inset: 0; z-index: 90;
	background: var(--bg-2);
	display: flex; flex-direction: column; justify-content: center;
	padding-top: var(--header-h);
	opacity: 0; visibility: hidden;
	transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open .overlay-menu { opacity: 1; visibility: visible; }
.overlay-nav { display: flex; flex-direction: column; gap: 6px; }
.overlay-nav a {
	display: flex; align-items: baseline; gap: 18px;
	font-size: clamp(40px, 11vw, 72px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15;
	opacity: 0; transform: translateY(16px);
	transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.overlay-nav a span { font-size: 13px; color: var(--accent); letter-spacing: .06em; }
.overlay-nav a:hover { color: var(--accent); }
.menu-open .overlay-nav a { opacity: 1; transform: none; }
.menu-open .overlay-nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .overlay-nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .overlay-nav a:nth-child(4) { transition-delay: .15s; }
.overlay-foot {
	margin-top: 56px; display: flex; flex-direction: column; gap: 4px;
	color: var(--text-dim); font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 60px) 0 clamp(56px, 8vh, 96px);
	overflow: hidden;
	isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(13,18,20,.6) 0%, rgba(13,18,20,.3) 32%, rgba(13,18,20,.78) 70%, var(--bg) 100%),
		linear-gradient(90deg, rgba(13,18,20,.72) 0%, rgba(13,18,20,.2) 55%, rgba(13,18,20,0) 75%);
}
.hero-img {
	width: 100%; height: 115%; object-fit: cover; object-position: center 60%;
	will-change: transform;
}

.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 28px; color: #e2e8e9; }
.hero .eyebrow, .hero-lead { text-shadow: 0 1px 14px rgba(13, 18, 20, .55); }
.hero-title {
	font-size: clamp(48px, 9.4vw, 152px);
	line-height: .94;
	font-weight: 500;
	letter-spacing: -.045em;
	margin-bottom: clamp(36px, 5vw, 64px);
}
.hero-title .line { display: block; }
.hero-title em { color: var(--accent); font-size: 1.05em; letter-spacing: -.015em; }

.hero-bottom {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 32px 64px; flex-wrap: wrap;
	padding-top: 32px;
	border-top: 1px solid var(--line-strong);
}
.hero-lead { max-width: 520px; font-size: 18px; color: #dde3e4; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-ghost {
	position: absolute; left: 50%; bottom: -0.2em; z-index: 0;
	transform: translateX(-50%);
	font-size: 12vw; font-weight: 600; letter-spacing: -.05em; line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(233, 236, 236, .07);
	white-space: nowrap; pointer-events: none; user-select: none;
}

.scroll-down {
	position: absolute; right: var(--gutter); top: calc(var(--header-h) + 40px); z-index: 2;
	width: 112px; height: 112px;
	display: grid; place-items: center;
}
.scroll-down-ring {
	position: absolute; inset: 0; width: 100%; height: 100%;
	fill: var(--text-dim); font-size: 9.6px; letter-spacing: 2.4px; text-transform: uppercase;
	animation: spin 28s linear infinite;
}
.scroll-down-arrow {
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--line-strong);
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
.scroll-down:hover .scroll-down-arrow { background: var(--accent); color: var(--bg); border-color: var(--accent); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Intro / Over ons ---------- */
.intro-grid {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 3fr;
	gap: 40px;
	align-items: start;
}
.intro-grid .section-label { margin-top: 1.2em; }
.statement {
	font-size: clamp(34px, 4.6vw, 68px);
	line-height: 1.06; font-weight: 500; letter-spacing: -.03em;
	margin-bottom: clamp(36px, 5vw, 64px);
	max-width: 15em;
}
.statement em { color: var(--accent); }
.intro-cols {
	display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px;
	color: var(--text-dim);
}

.meta-row {
	margin-top: clamp(64px, 9vw, 128px);
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line);
}
.meta { padding: 28px 24px 0 0; }
.meta + .meta { padding-left: 24px; border-left: 1px solid var(--line); }
.meta dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.meta dd { font-size: 18px; font-weight: 500; line-height: 1.35; }

/* ---------- Wide image ---------- */
.wide-image { margin: 0; }
.wide-image-inner {
	position: relative; overflow: hidden;
	height: clamp(340px, 78vh, 860px);
}
.wide-image-inner img {
	position: absolute; left: 0; top: -8%;
	width: 100%; height: 116%; object-fit: cover;
	will-change: transform;
}
.wide-image-inner::after {
	content: ""; position: absolute; inset: 45% 0 0 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(13,18,20,0) 0%, rgba(13,18,20,.55) 55%, rgba(13,18,20,.9) 100%);
}
.wide-image figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	margin: 0 auto;
	display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap;
	padding-bottom: clamp(28px, 4vw, 56px);
}
.wide-image .cap-title {
	font-family: var(--serif); font-style: italic;
	font-size: clamp(32px, 4.2vw, 64px); line-height: 1; letter-spacing: -.01em;
	color: var(--text);
}
.wide-image .cap-meta {
	display: inline-flex; align-items: center; gap: 14px;
	font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--text);
}
.wide-image .cap-meta::before { content: ""; width: 40px; height: 1px; background: var(--accent); }

/* ---------- Services accordion ---------- */
.services .section-head { text-align: center; }
.services .section-intro { margin: 0 auto; }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
	width: 100%;
	display: grid; grid-template-columns: 80px 1fr auto 64px; align-items: center; gap: 24px;
	padding: clamp(28px, 3.4vw, 48px) 0;
	text-align: left;
}
.acc-num { font-size: 14px; color: var(--accent); letter-spacing: .06em; align-self: start; padding-top: .9em; }
.acc-title {
	font-size: clamp(30px, 4.8vw, 72px);
	font-weight: 500; letter-spacing: -.035em; line-height: 1;
	transition: transform .5s var(--ease), color .4s var(--ease);
}
.acc-title em { color: var(--text-dim); transition: color .4s var(--ease); }
.acc-tags { display: flex; gap: 8px; }
.acc-tags span {
	font-size: 12px; padding: 6px 12px; border-radius: 99px;
	border: 1px solid var(--line-strong); color: var(--text-dim); white-space: nowrap;
}
.acc-caret {
	justify-self: end; position: relative;
	width: 56px; height: 56px; border-radius: 50%;
	border: 1px solid var(--line-strong);
	transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease);
}
.acc-caret::before, .acc-caret::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 16px; height: 1.5px; background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform .4s var(--ease);
}
.acc-caret::after { transform: translate(-50%, -50%) rotate(90deg); }

.acc-trigger:hover .acc-title { transform: translateX(10px); }
.acc-trigger:hover .acc-title em,
.acc-trigger[aria-expanded="true"] .acc-title em { color: var(--accent); }
.acc-trigger:hover .acc-caret { border-color: var(--text); }
.acc-trigger[aria-expanded="true"] .acc-caret { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: rotate(180deg); }
.acc-trigger[aria-expanded="true"] .acc-caret::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-panel {
	display: grid; grid-template-rows: 0fr;
	transition: grid-template-rows .6s var(--ease-out);
}
.acc-panel > .acc-panel-inner { overflow: hidden; min-height: 0; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

.acc-panel-inner {
	display: grid; grid-template-columns: 80px 1.35fr 1fr; gap: 0 24px;
}
.acc-body { grid-column: 2; padding-bottom: 48px; padding-right: clamp(0px, 3vw, 48px); }
.acc-media { grid-column: 3; padding-bottom: 48px; }
.acc-media img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
	transform: scale(1.04); opacity: .4;
	transition: transform 1.1s var(--ease-out), opacity .8s var(--ease);
}
.acc-item.is-open .acc-media img { transform: none; opacity: 1; }

.acc-lead { font-size: 20px; line-height: 1.55; margin-bottom: 32px; }
.acc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-bottom: 28px; color: var(--text-dim); font-size: 16px; }
.acc-split h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); font-weight: 500; margin-bottom: 10px; }
.acc-note {
	padding: 20px 22px; border-radius: var(--radius);
	background: var(--bg-3); color: var(--text-dim); font-size: 16px;
	border-left: 2px solid var(--accent);
}
.acc-note strong { color: var(--text); font-weight: 600; }

.check-list, .dash-list { display: grid; gap: 10px; }
.check-list { margin-bottom: 28px; color: var(--text-dim); }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: .5em;
	width: 16px; height: 9px;
	border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
	transform: rotate(-45deg) translateY(-3px);
}
.dash-list li { position: relative; padding-left: 20px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--accent); }

/* ---------- Marquee ---------- */
.marquee-block {
	padding: clamp(40px, 6vw, 80px) 0;
	overflow: hidden;
}
.marquee {
	display: flex; overflow: hidden; white-space: nowrap;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	padding: clamp(14px, 2vw, 26px) 0;
}
.marquee-a { transform: rotate(-2deg) scale(1.04); background: var(--bg); position: relative; z-index: 1; }
.marquee-b { transform: rotate(1.5deg) scale(1.04); margin-top: -8px; background: var(--accent); color: var(--brand-ink); border-color: transparent; }
.marquee-track {
	display: flex; align-items: center; flex: none;
	gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px);
	animation: marquee 48s linear infinite;
}
.marquee-b .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee span {
	font-size: clamp(36px, 6vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1;
}
.marquee-a span:nth-of-type(even) {
	font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
	color: transparent; -webkit-text-stroke: 1px var(--text);
}
.marquee-b span { font-size: clamp(22px, 3vw, 40px); }
.marquee i { font-style: normal; font-size: clamp(18px, 2.4vw, 32px); color: var(--accent); }
.marquee-b i { color: var(--brand-ink); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Vastgoedbeheer ---------- */
.management { background: var(--bg-2); }
.management-grid {
	display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 8vw, 140px);
}
.management-aside .sticky { position: sticky; top: 120px; }
.management-aside .display { margin-bottom: 28px; }
.management-aside p:not(.section-label) { color: var(--text-dim); max-width: 520px; }
.management-img { margin-top: 40px; overflow: hidden; border-radius: var(--radius); }
.management-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

.mgmt-list { border-top: 1px solid var(--line); counter-reset: none; }
.mgmt-item {
	position: relative;
	display: grid; grid-template-columns: 64px 1fr; gap: 16px;
	padding: 40px 0; border-bottom: 1px solid var(--line);
}
/* Accent line that fills the bottom border on hover */
.mgmt-item::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
	background: var(--accent);
	transform: scaleX(0); transform-origin: left center;
	transition: transform .8s var(--ease-out);
}
.mgmt-item:hover::after { transform: scaleX(1); }
.mgmt-num, .mgmt-item > div { transition: transform .7s var(--ease-out); will-change: transform; }
.mgmt-item:hover .mgmt-num { transform: translateX(6px); }
.mgmt-item:hover > div { transform: translateX(12px); }
.mgmt-num { font-size: 14px; color: var(--accent); padding-top: .55em; }
.mgmt-item h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.mgmt-item p { color: var(--text-dim); transition: color .5s var(--ease); }
.mgmt-item:hover p { color: var(--text); }

/* ---------- Werkwijze ---------- */
.steps {
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line);
	margin-bottom: clamp(64px, 9vw, 128px);
}
.step { padding: 32px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num {
	display: block; margin-bottom: 40px;
	font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--accent);
}
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 16px; }

.gallery {
	display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr;
	gap: clamp(12px, 1.6vw, 24px);
	height: clamp(520px, 90vh, 980px);
}
.g-item { overflow: hidden; border-radius: var(--radius); }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.g-item:hover img { transform: scale(1.03); }

/* ---------- Carousel ---------- */
.audience { padding-top: calc(var(--section) * .5); padding-bottom: calc(var(--section) * .8); }
.audience .section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.carousel-nav { display: flex; gap: 10px; }

.carousel {
	display: flex; gap: clamp(14px, 2vw, 28px);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	padding: 0 var(--gutter) 8px;
	padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	scrollbar-width: none;
	cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging .card { pointer-events: none; }
.carousel::after { content: ""; flex: 0 0 1px; }

.card {
	flex: 0 0 clamp(270px, 30vw, 420px);
	scroll-snap-align: start;
	user-select: none;
}
.card-img { overflow: hidden; border-radius: var(--radius); margin-bottom: 22px; }
.card-img img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	transition: transform 1s var(--ease-out), filter .6s var(--ease);
	filter: saturate(.85);
	-webkit-user-drag: none;
}
.card:hover .card-img img { transform: scale(1.04); filter: saturate(1); }
.card-body { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; }
.card-num { grid-row: span 2; font-size: 13px; color: var(--accent); padding-top: .45em; }
.card h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ---------- Waarom (light theme) ---------- */
.theme-light {
	--text: #0d1214;
	--text-dim: #4b575b;
	--muted: #6c787c;
	--line: rgba(13, 18, 20, .12);
	--line-strong: rgba(13, 18, 20, .24);
	--accent: var(--brand);
	background: var(--paper);
	color: var(--text);
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.why .display { margin-bottom: 28px; }
.why p { color: var(--text-dim); }
.usp-list { border-top: 1px solid var(--line); }
.usp {
	display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
	padding: 32px 0; border-bottom: 1px solid var(--line);
}
.usp-icon {
	width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--paper-2);
	transition: background-color .35s var(--ease);
}
.usp:hover .usp-icon { background: var(--brand); }
.usp-icon svg {
	width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.6;
	stroke-linecap: round; stroke-linejoin: round;
	transition: stroke .35s var(--ease);
}
.usp:hover .usp-icon svg { stroke: var(--paper); }
.usp h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 6px; }

/* ---------- CTA ---------- */
.cta {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(120px, 18vw, 260px) 0;
	text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .16; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(13,18,20,.2), var(--bg) 75%); }
.cta .eyebrow { margin-bottom: 32px; }
.cta-link {
	display: inline-flex; flex-direction: column; align-items: center;
	font-size: clamp(42px, 8vw, 128px); font-weight: 500; letter-spacing: -.045em; line-height: 1;
}
.cta-link em { color: var(--accent); transition: color .4s var(--ease); }
.cta-line { display: inline-flex; align-items: center; gap: .18em; }
.cta-arrow {
	flex: none;
	display: grid; place-items: center;
	width: .62em; height: .62em;
	margin-top: .08em;
	border-radius: 50%; border: 1px solid var(--line-strong);
	color: var(--text);
	transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease), border-color .4s var(--ease);
}
.cta-arrow svg {
	width: 42%; height: 42%;
	fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.cta-link:hover .cta-arrow { background: var(--accent); color: var(--bg); border-color: var(--accent); transform: rotate(-45deg); }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact .display { margin-bottom: 48px; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div {
	display: grid; grid-template-columns: 140px 1fr; gap: 16px;
	padding: 22px 0; border-bottom: 1px solid var(--line);
}
.contact-list dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.contact-list dd { font-size: 19px; }

.callback {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: clamp(28px, 4vw, 52px);
}
.callback h3 { font-size: 30px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 6px; }
.callback-sub { color: var(--text-dim); margin-bottom: 32px; }

.field { position: relative; margin-bottom: 18px; }
.field input, .field select {
	width: 100%; height: 60px;
	padding: 22px 18px 6px;
	background: var(--bg); color: var(--text);
	border: 1px solid var(--line-strong); border-radius: var(--radius);
	font: inherit; font-size: 16px;
	transition: border-color .3s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.field select { padding: 0 44px 0 18px; color: var(--text-dim); cursor: pointer; }
.field-select::after {
	content: ""; position: absolute; right: 20px; top: 50%;
	width: 8px; height: 8px; border-right: 1.5px solid var(--text-dim); border-bottom: 1.5px solid var(--text-dim);
	transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field label {
	position: absolute; left: 19px; top: 19px;
	color: var(--muted); font-size: 16px; pointer-events: none;
	transform-origin: left top;
	transition: transform .3s var(--ease), color .3s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.75); color: var(--accent); }
.field.is-invalid input { border-color: #e0806a; }

.callback .btn { margin-top: 10px; }
.form-status { margin-top: 16px; font-size: 15px; color: var(--accent); min-height: 1.5em; }
.form-status.is-error { color: #e0806a; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--bg-2);
	padding-top: clamp(72px, 9vw, 120px);
	overflow: hidden;
}
.footer-top {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
	padding-bottom: clamp(48px, 6vw, 80px);
}
.footer-brand p { margin-top: 20px; color: var(--text-dim); max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-dim); }
.footer-col h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.footer-col a { transition: color .3s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--accent); }

.footer-ghost {
	font-size: 10vw; font-weight: 600; letter-spacing: -.055em; line-height: .8;
	text-align: center; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1px rgba(233, 236, 236, .14);
	user-select: none; margin-bottom: -.06em;
}
.footer-ghost span { -webkit-text-stroke-color: rgba(127, 196, 217, .35); }

.footer-bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-top: 24px; padding-bottom: 28px;
	border-top: 1px solid var(--line);
	font-size: 14px; color: var(--muted);
}
.to-top:hover { color: var(--text); }

/* ==========================================================
   Motion — light & calm
   ========================================================== */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .9s var(--ease), transform .9s var(--ease-out);
	transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-media { clip-path: inset(8% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
.js .reveal-media img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.js .reveal-media.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-media.is-in img { transform: none; }
.js .g-item.reveal-media.is-in:hover img { transform: scale(1.03); }
.js .wide-image.reveal-media img { transform: none; }

/* Hero intro on load */
.js .hero .reveal { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js .reveal, .js .reveal-media, .js .reveal-media img { opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
	.acc-tags { display: none; }
	.acc-trigger { grid-template-columns: 56px 1fr 56px; }
	.acc-panel-inner { grid-template-columns: 56px 1fr; }
	.acc-body { padding-bottom: 32px; padding-right: 0; }
	.acc-media { grid-column: 2; }
	.steps { grid-template-columns: 1fr 1fr; }
	.step:nth-child(3) { padding-left: 0; border-left: 0; }
	.step:nth-child(n+3) { margin-top: 40px; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
	.main-nav, .header-cta { display: none; }
	.menu-toggle { display: inline-flex; }
	.intro-grid { grid-template-columns: 1fr; gap: 0; }
	.intro-cols { grid-template-columns: 1fr; }
	.meta-row { grid-template-columns: 1fr 1fr; }
	.meta:nth-child(3) { padding-left: 0; border-left: 0; }
	.meta:nth-child(n+3) { margin-top: 12px; }
	.management-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
	.management-aside .sticky { position: static; }
	.scroll-down { display: none; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	:root { --header-h: 68px; }
	.logo-mark { width: 32px; height: 32px; }
	.logo-word { font-size: 17px; }
	.hero-actions { width: 100%; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-lead, .section-intro { font-size: 17px; }
	.acc-trigger { grid-template-columns: 1fr 48px; gap: 16px; }
	.acc-num { display: none; }
	.acc-caret { width: 48px; height: 48px; }
	.acc-panel-inner { grid-template-columns: 1fr; }
	.acc-body, .acc-media { grid-column: 1; }
	.acc-lead { font-size: 18px; }
	.acc-split { grid-template-columns: 1fr; }
	.meta-row { grid-template-columns: 1fr; }
	.meta, .meta + .meta { padding: 20px 0 0; border-left: 0; }
	.meta + .meta { border-top: 1px solid var(--line); margin-top: 20px; }
	.mgmt-item { grid-template-columns: 1fr; gap: 6px; padding: 32px 0; }
	.mgmt-item:hover .mgmt-num, .mgmt-item:hover > div { transform: none; }
	.steps { grid-template-columns: 1fr; }
	.step, .step + .step { padding: 28px 0 0; border-left: 0; margin-top: 0; }
	.step + .step { border-top: 1px solid var(--line); margin-top: 28px; }
	.step-num { margin-bottom: 20px; font-size: 44px; }
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; height: 640px; }
	.g-tall { grid-row: auto; grid-column: span 2; }
	.carousel-nav { display: none; }
	.card { flex-basis: 78vw; }
	.contact-list > div { grid-template-columns: 1fr; gap: 4px; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-brand { grid-column: auto; }
	.logo-lg .logo-word { font-size: 24px; }
}
