/* Onlion — basisstijlen. Bron van het ontwerp: /design/*.dc.html */

@font-face {
	font-family: "Albert Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2");
	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: "Albert Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/albert-sans-latin-ext-wght-normal.woff2") format("woff2");
	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;
}

/* ---------- Tokens ---------- */
:root {
	--acc: #FFD23F;
	--acc-ink: #000000;
	--bg: #FFFFFF;
	--fg: #000000;
	--t1: #3D3D3D;
	--t2: #5A5A5A;
	--t3: #6B6B6B;
	--line: #E8E8E8;
	--surface: #F5F5F3;
	--chip: #D9D9D9;
	--field: #CFCFCF;
	--navbg: rgba(255, 255, 255, .92);
	--max: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--header: 84px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	color-scheme: light;
}
html[data-theme="dark"] {
	--bg: #111111;
	--fg: #F4F4F4;
	--t1: #D2D2D2;
	--t2: #B4B4B4;
	--t3: #9C9C9C;
	--line: #2A2A2A;
	--surface: #1B1B1B;
	--chip: #3A3A3A;
	--field: #4A4A4A;
	--navbg: rgba(17, 17, 17, .9);
	color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: "Albert Sans", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s ease, color .3s ease;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--acc); color: #000; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--acc); color: #000; padding: 10px 16px; border-radius: 999px;
	font-weight: 600; text-decoration: none; transition: top .2s ease;
}
.skip:focus { top: 12px; }

.logo-d { display: none; }
html[data-theme="dark"] .logo-l { display: none; }
html[data-theme="dark"] .logo-d { display: block; }

/* ---------- Links en knoppen ---------- */
.lnk {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1.5px;
	transition: background-size .4s ease;
}
.lnk:hover, .lnk[aria-current="page"] { background-size: 100% 1.5px; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--acc); color: #000; text-decoration: none;
	font-weight: 600; font-size: 17px; padding: 16px 26px; border-radius: 999px;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--sm { font-size: 14px; padding: 10px 16px; }
.btn--outline { background: transparent; border-color: currentColor; }

/* Magnetische knop: JS verschuift de buitenste laag, de binnenste drukt in. */
.btn-mag { display: inline-block; text-decoration: none; color: #000; transition: transform .4s var(--ease); will-change: transform; }
.btn-mag__in {
	display: inline-flex; background: var(--acc); color: #000;
	font-weight: 600; font-size: 16px; padding: 12px 22px; border-radius: 999px;
	transition: transform .15s ease;
}
.btn-mag__in--lg { font-size: 17px; padding: 18px 28px; }
.btn-mag:active .btn-mag__in { transform: scale(.96); }
.btn-mag--dark .btn-mag__in { background: #000; color: #FFF; font-size: 17px; padding: 18px 30px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 40;
	background: var(--navbg);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	transition: background-color .3s ease;
}
body { padding-top: var(--header); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__bar { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { display: flex; padding: 8px 0; }
.site-header__logo img { height: 26px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; }
.nav-desktop a.lnk { position: relative; padding: 6px 0; background: none; color: var(--t2); transition: none; }
.nav-desktop a.lnk:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--fg); }
.nav-desktop a.lnk[aria-current="page"]::after {
	content: ""; position: absolute; inset: auto 0 0; margin-inline: auto;
	width: 16px; height: 3px; border-radius: 2px; background: var(--acc);
}
.nav-desktop__roll { display: block; overflow: hidden; white-space: nowrap; }
.nav-desktop__roll-track { display: block; position: relative; }
.nav-desktop__roll-copy { position: absolute; inset: 100% 0 auto; color: var(--fg); user-select: none; }
.nav-desktop__diensten { display: inline-flex; align-items: center; gap: 2px; }
.nav-desktop__chev {
	width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
}
.nav-desktop__chev svg { transition: transform .3s ease; stroke-width: 2.4; }
.nav-desktop__chev[aria-expanded="true"] svg { transform: rotate(180deg); }

.theme-toggle {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 1.5px solid var(--line); border-radius: 50%; cursor: pointer;
}
.theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: flex; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav-mobile { display: none; align-items: center; gap: 10px; }
.nav-mobile__open {
	display: inline-flex; align-items: center; gap: 12px;
	font-weight: 600; font-size: 16px; background: var(--fg); color: var(--bg);
	border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer;
}
.burger { display: flex; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.burger span + span { width: 12px; }

@media (max-width: 900px) {
	.nav-desktop { display: none; }
	.nav-mobile { display: flex; }
}

/* ---------- Megamenu ---------- */
.mega {
	position: absolute; left: 0; right: 0; top: var(--header);
	background: var(--bg);
	border-block: 1px solid var(--line);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .08);
	animation: megaIn .3s var(--ease) both;
}
.mega[hidden] { display: none; }
.mega__top { padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mega__grid {
	padding-top: 24px; padding-bottom: 40px;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 32px;
}
.mega__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mega__head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--t3); line-height: 1.25; }
.mega__head .icon { color: var(--fg); flex: none; stroke-width: 1.7; }
.mega__head > span { display: flex; flex-direction: column; }
.mega__head strong { color: var(--fg); font-size: 14px; font-weight: 600; }
.megal { display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--fg); }
.mega__top .megal { flex-direction: row; align-items: center; gap: 10px; }
.megat { font-weight: 500; font-size: 16px; }
.mega__top .megat { font-weight: 600; }
.megal:hover .megat { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.mega__desc { font-size: 13px; color: var(--t3); }
.mega__col--sectors { padding-left: 28px; border-left: 1px solid var(--line); }
.mega__col--sectors .lnk { align-self: flex-start; font-weight: 500; font-size: 16px; }
.mega__col--sectors .mega__all { font-size: 13px; font-weight: 600; color: var(--t3); }
.mega__card {
	margin-top: 8px; display: flex; flex-direction: column; gap: 8px;
	background: var(--surface); border-radius: 16px; padding: 18px;
}
.mega__card strong { font-size: 15px; }
.mega__card span { font-size: 14px; color: var(--t2); line-height: 1.5; }
.mega__card .btn { align-self: flex-start; }

/* ---------- Mobiel menu ---------- */
.menu {
	position: fixed; inset: 0; z-index: 60;
	background: #000; color: #FFF;
	display: flex; flex-direction: column;
	padding: 0 var(--gutter) 28px; overflow-y: auto;
	animation: menuIn .7s cubic-bezier(.7, 0, .2, 1) both;
}
.menu[hidden] { display: none; }
.menu__bar { height: var(--header); flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu__bar img { height: 26px; width: auto; }
.menu__close {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 600; font-size: 16px; background: #FFF; color: #000;
	border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer;
}
.menu__close svg { stroke-width: 3; }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: clamp(24px, 6vh, 64px) 0 32px; }
.menu__nav > * { animation: linkIn .55s var(--ease) both; }
.menu__nav > :nth-child(1) { animation-delay: .25s; }
.menu__nav > :nth-child(2) { animation-delay: .31s; }
.menu__nav > :nth-child(3) { animation-delay: .37s; }
.menu__nav > :nth-child(4) { animation-delay: .43s; }
.menu__nav > :nth-child(5) { animation-delay: .49s; }
.menu__nav > :nth-child(6) { animation-delay: .55s; }
.menu__big {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
	color: #FFF; text-decoration: none;
	font-weight: 500; font-size: clamp(40px, 11vw, 72px); line-height: 1.12; letter-spacing: -.04em;
}
.menu__big:hover, .menu__acc[aria-expanded="true"] { color: var(--acc); }
.menu__acc span { font-size: .5em; font-weight: 400; }
.menu__panel { display: flex; flex-direction: column; gap: 14px; padding: 12px 0 18px; animation: linkIn .35s ease-out both; }
.menu__panel[hidden] { display: none; }
.menu__panel--list { gap: 8px; }
.menu__panel a { color: #FFF; text-decoration: none; font-size: 20px; font-weight: 500; }
.menu__panel .menu__all { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.menu__pillar { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #2A2A2A; padding-top: 12px; }
.menu__pillar > span { font-size: 13px; color: #9A9A9A; }
.menu__pillar > div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.menu__pillar a { font-size: 19px; }
.menu__cta {
	background: var(--acc); color: #000; text-decoration: none; text-align: center;
	font-weight: 600; font-size: 18px; padding: 18px; border-radius: 999px;
	animation: linkIn .55s ease-out .65s both;
}
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
	padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(72px, 9vw, 128px);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px;
}
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero__title { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__l1 { display: block; font-weight: 500; font-size: clamp(46px, 5.8vw, 88px); line-height: 1; letter-spacing: -.05em; }
.hero__l2 { display: block; font-weight: 400; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.03em; color: var(--t1); }
.hero__intro { font-size: clamp(18px, 1.6vw, 21px); color: var(--t1); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* De introtekst is direct zichtbaar op smalle schermen. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
	[data-rise] { animation: rise 1s var(--ease) .1s both; }
	.hero__l2[data-rise] { animation-delay: .3s; }
	[data-fade] { animation: fade .9s ease-out .55s both; }
	.hero__actions[data-fade] { animation-delay: .65s; }
}

/* ---------- Pagina's ---------- */
.page.wrap { padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(72px, 9vw, 128px); }
.page__head { margin-bottom: clamp(32px, 4vw, 56px); }
.page__title { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.045em; line-height: 1.02; max-width: 18ch; }
.page__meta { color: var(--t3); font-size: 15px; margin-bottom: 12px; }
.prose { max-width: 68ch; color: var(--t1); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); color: var(--fg); margin-top: 1.8em; }
.prose h3 { font-size: 24px; color: var(--fg); margin-top: 1.6em; }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose img, .page__cover img { display: block; max-inline-size: 100%; block-size: auto; }
.page__cover { margin: 0 0 clamp(32px, 4vw, 56px); }
.page__cover img { border-radius: 16px; }
.page__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-block-start: 32px; }
.page-directory {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
	gap: 0 32px;
	list-style: none;
	margin-block-start: clamp(40px, 7vw, 96px);
	padding: 0;
}
.page-directory li { border-top: 1px solid var(--line); padding-block: 20px; min-inline-size: 0; }
.page-directory li p { margin-block-start: 8px; color: var(--t2); }
.page-directory__link { display: block; text-decoration: none; }
.page-directory__link:hover span { text-decoration: underline; }
.page-directory__link img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-block-end: 14px; }
.page-directory__link span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: clamp(22px, 3vw, 32px); }
.page-directory__link svg { flex: none; }
.post-list { display: grid; gap: 40px; max-width: 68ch; }
.post-list h2 { font-size: 28px; margin-bottom: 8px; }
.post-list p { color: var(--t2); }

/* ---------- CTA-band en footer ---------- */
.cta-band { padding: 0 clamp(12px, 2vw, 24px); }
.cta-band__in {
	max-width: 1392px; margin: 0 auto; background: var(--acc); color: #000;
	border-radius: 32px; padding: clamp(56px, 8vw, 120px) clamp(24px, 5vw, 80px);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.cta-band__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.cta-band h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -.045em; max-width: 12ch; }
.cta-band p { font-size: 19px; line-height: 1.6; max-width: 44ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--outline { color: #000; padding: 16.5px 26px; }

.site-footer { padding-top: clamp(64px, 7vw, 96px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 64px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.site-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { height: 30px; width: auto; }
.site-footer__brand p { font-size: 16px; line-height: 1.6; color: var(--t3); max-width: 30ch; }
.site-footer__brand .gp-badge { margin-top: 8px; }
.site-footer__brand .gp-badge img { width: 104px; height: auto; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 72px; font-size: 16px; }
.site-footer__cols > * { display: flex; flex-direction: column; gap: 10px; color: var(--t3); }
.site-footer__cols .lnk { align-self: flex-start; color: var(--t3); }
.site-footer__cols .site-footer__head { font-weight: 600; color: var(--fg); }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; color: var(--t3);
}
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a { text-decoration: none; }

/* ---------- Google Partner-badge ---------- */
.gp-badge { display: inline-block; align-self: flex-start; border-radius: 8px; line-height: 0; }
.gp-badge img { display: block; width: 120px; height: auto; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]:not(.home-cases__track) { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Cases ---------- */
.home-cases__track { overscroll-behavior-x: contain; }
.home-cases__track.is-draggable { scrollbar-width: none; }
.home-cases__track.is-draggable:has(> .home-case:not([hidden]) ~ .home-case:not([hidden])) .home-case {
	cursor: grab;
	user-select: none;
}
.home-cases__track.is-dragging { scroll-snap-type: none; }
.home-cases__track.is-dragging, .home-cases__track.is-dragging .home-case { cursor: grabbing; }

/* ---------- Keyframes ---------- */
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { clip-path: circle(0% at calc(100% - 64px) 42px); } to { clip-path: circle(150% at calc(100% - 64px) 42px); } }
@keyframes linkIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
