/* Peakdesigns — stylesheet. Gebaseerd op de vorige peakdesigns.be: wit kader, zwart, wit en oker, Spartan. */
@font-face { font-family: 'League Spartan'; src: url('/assets/fonts/league-spartan.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }

:root {
  --black: #000;
  --ink: #111;
  --text: #7a7a7a;
  --text-dark: #555;
  --text-light: #9a9a9a;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-soft: #f7f7f7;
  --ochre: #e6c383;
  --font: 'League Spartan', 'Spartan', Arial, sans-serif;
  --frame: clamp(10px, 3.5vw, 50px);       /* wit kader rond de pagina */
  --gutter: clamp(16px, 4vw, 40px);
  --header: clamp(76px, 7vw, 100px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 20px); }
body { margin: 0; padding: 0 var(--frame) var(--frame); background: var(--bg); color: var(--text); font: 500 1.125rem/1.85 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; color: var(--black); line-height: 1.12; letter-spacing: -1px; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.65rem); line-height: 1.2; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.h-md { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 1em; }
.h-sm { font-size: 1rem; letter-spacing: .06em; margin-bottom: .8em; }
.lead { max-width: 34em; }
.small { font-size: .9rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(1140px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.full { position: relative; }
.sec { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.sec.tight { padding: clamp(32px, 5vw, 64px) 0; }
.sec.soft { background: var(--bg-soft); }

.label { font-size: .75rem; font-weight: 700; color: var(--text-light); margin-bottom: 1.4rem; letter-spacing: .02em; }
.label.center { text-align: center; }

/* Knoppen — rechthoekig zoals op de oude site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1.15em 2.2em 1.05em; background: var(--black); color: #fff; border: 1.5px solid var(--black); font: 700 .85rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: #fff; color: var(--black); }
.btn-white { background: #fff; color: var(--black); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic-xs { width: .85em; height: .85em; vertical-align: -1px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; color: var(--black); font-weight: 700; font-size: .95rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 4px; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 2.2rem; }
.round { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--black); transition: background .3s, transform .4s var(--ease); }
.round:hover, .work-row:hover .round { background: var(--ochre); transform: translateX(6px); }

/* Header + hamburger (zoals de oude site) */
.site-header { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; height: var(--header); background: #fff; transition: background .4s, color .4s; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); transition: color .4s; }
.logo-mark { width: 58px; height: auto; }
.logo-word { font-weight: 300; font-size: 1.25rem; letter-spacing: .3em; line-height: 1; padding-top: 3px; }
.logo-word b { font-weight: 700; }
.logo.on-dark { color: #fff; }
.hamburger { position: relative; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--black); padding: 0; transition: color .4s; }
.hamburger .bar { position: absolute; right: 6px; height: 2.5px; background: currentColor; transition: transform .5s var(--ease-out), opacity .3s, width .4s var(--ease-out), top .5s var(--ease-out); }
.hamburger .bar:nth-child(1) { top: 13px; width: 30px; }
.hamburger .bar:nth-child(2) { top: 20px; width: 20px; }
.hamburger .bar:nth-child(3) { top: 27px; width: 30px; }
.hamburger .bar:nth-child(4) { top: 34px; width: 14px; }
.hamburger:hover .bar:nth-child(2), .hamburger:hover .bar:nth-child(4) { width: 30px; }
.menu-open .site-header { background: transparent; color: #fff; }
.menu { padding-left: max(var(--frame), clamp(24px, 7vw, 100px)); }
.menu-open .site-header .logo, .menu-open .hamburger { color: #fff; }
.menu-open .hamburger .bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .hamburger .bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }
.menu-open .hamburger .bar:nth-child(2), .menu-open .hamburger .bar:nth-child(4) { opacity: 0; width: 0; }

/* Volledig zwart menu binnen het kader */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--black); color: #bdbdbd; display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px; padding: calc(var(--header) + 40px) clamp(24px, 7vw, 100px) clamp(40px, 6vw, 80px); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .75s var(--ease-out), visibility 0s .75s; overflow: auto; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease-out); }
.menu .contours { opacity: 0; transition: opacity 1.2s .3s; }
.menu-open .menu .contours { opacity: .09; }
.menu-nav { position: relative; align-self: start; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
.menu-nav li { overflow: hidden; }
.menu-nav a { display: inline-block; color: #fff; text-decoration: none; font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.15; letter-spacing: -1.5px; transform: translateY(110%); transition: transform .8s var(--ease-out), color .3s; transition-delay: 0s; }
.menu-open .menu-nav a { transform: none; transition-delay: calc(.25s + var(--i) * .06s), 0s; }
.menu-nav a::before { content: ''; display: inline-block; width: 0; height: .08em; background: var(--ochre); vertical-align: middle; margin-right: 0; transition: width .4s var(--ease), margin .4s var(--ease); }
.menu-nav a:hover, .menu-nav a[aria-current] { color: var(--ochre); }
.menu-nav a:hover::before { width: .6em; margin-right: .25em; }
.menu-aside { position: relative; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out); }
.menu-open .menu-aside { opacity: 1; transform: none; transition-delay: .55s; }
.menu-aside a:not(.btn) { color: #fff; text-decoration: none; }
.menu-aside a:not(.btn):hover { color: var(--ochre); }
.menu-aside .btn { margin-top: 1rem; }

/* Kruimelpad */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; padding: 8px 0 0; margin: 0; font-size: .8rem; font-weight: 600; color: var(--text-light); }
.crumbs li + li::before { content: '/'; margin-right: .4em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--black); }

/* Hoogtelijnen — subtiel */
.contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--black); opacity: .05; pointer-events: none; z-index: 0; }
.contours.on-dark { color: #fff; opacity: .07; }

/* Hero */
.hero { position: relative; padding: clamp(30px, 5vw, 70px) 0 30px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.hero h1 { max-width: 11em; }
.hero-visual { max-width: 540px; justify-self: end; width: 100%; }
.scroll-hint { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 70px); }
.muis { display: inline-flex; justify-content: center; width: 28px; height: 44px; border: 2px solid var(--black); border-radius: 50px; padding-top: 7px; }
.wiel { width: 3px; height: 10px; background: var(--black); border-radius: 50px; animation: wiel 2.2s cubic-bezier(.15, .41, .69, .94) infinite; }
@keyframes wiel { 0% { opacity: 0; } 10% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(15px); opacity: 0; } }

/* Okerkleurig vlak met zwart blok erachter */
.offset { position: relative; margin: 0 30px 30px 0; }
.offset::before { content: ''; position: absolute; left: 30px; top: 30px; right: -30px; bottom: -30px; background: var(--black); transform: translate3d(0, var(--py, 0px), 0); }
.offset-inner { position: relative; background: var(--ochre); aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; }
.offset-inner > img { width: 100%; height: 100%; object-fit: cover; }
.offset.flat .offset-inner > img { object-fit: contain; }
.inner-shot { padding: 12%; width: 100%; }
.inner-shot img { width: 100%; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.offset.graphic .offset-inner { color: var(--black); }
.offset.graphic .contours { opacity: .14; }
.offset.graphic .logo-mark { position: relative; width: 44%; stroke-width: 5; }
.offset.card .offset-inner { aspect-ratio: auto; display: block; padding: clamp(28px, 4vw, 48px); color: var(--black); }
.contact-card a { text-decoration: none; color: var(--black); }
.contact-card a:hover { text-decoration: underline; }
.contact-card .footer-h { color: var(--black); }

/* Logostrip */
.logo-strip { padding: clamp(32px, 5vw, 64px) 0 clamp(8px, 2vw, 24px); }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px clamp(32px, 6vw, 88px); }
.logos a { display: block; opacity: .45; filter: grayscale(1); transition: opacity .3s, transform .4s var(--ease); }
.logos a:hover { opacity: 1; transform: translateY(-3px); }
.logo-img { height: clamp(26px, 3vw, 40px); width: auto; }

/* Diensten (home) — 2x2, linkse kolom zakt (zoals oud) */
.svc-grid { display: grid; grid-template-columns: 1fr 1.85fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.svc-intro { position: sticky; top: calc(var(--header) + 40px); padding-top: 60px; }
.svc-intro p { max-width: 24em; margin-bottom: 2rem; }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.svc-cards > :nth-child(odd) { margin-top: 70px; }
.svc-card { display: flex; flex-direction: column; padding: 42px 36px; text-decoration: none; background: #fff; box-shadow: 0 0 40px rgba(0, 0, 0, .07); transition: box-shadow .4s, translate .5s var(--ease); }
.svc-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .12); translate: 0 -6px; }
.svc-card.primary::before { content: ''; display: block; width: 40px; height: 4px; background: var(--ochre); margin-bottom: 22px; transition: width .5s var(--ease); }
.svc-card.primary:hover::before { width: 80px; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { flex: 1; font-size: 1rem; line-height: 1.8; }
.more { display: inline-flex; align-items: center; gap: .4em; color: var(--black); font-weight: 700; font-size: .9rem; }
.more .ic { transition: transform .3s var(--ease); }
.svc-card:hover .more .ic { transform: translateX(5px); }

/* Split-blok: oker links, lijst rechts — schermbreed */
.split-block { display: grid; grid-template-columns: 1fr 1fr; }
.split-ochre { position: relative; overflow: hidden; background: var(--ochre); padding: clamp(56px, 8vw, 120px) clamp(24px, 7vw, 100px); display: flex; align-items: center; }
.split-ochre .contours { opacity: .1; }
.split-inner { position: relative; max-width: 30em; }
.split-ochre .label { color: rgba(0, 0, 0, .55); }
.split-ochre p { color: #3d3221; }
.split-ochre .btn { margin-top: 1rem; }
.split-list { background: var(--bg-soft); padding: clamp(40px, 6vw, 100px) clamp(24px, 6vw, 90px); }
.split-list .auto-list { grid-template-columns: 1fr 1fr; gap: 0 40px; }

/* Automatiseringen */
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head h2 { margin-bottom: 0; }
.split-head > p { margin: 0; }
.auto-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.auto-list li { position: relative; padding: 26px 0 30px; }
.auto-list li::before, .steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #d9d9d9; transform-origin: left; }
.auto-list .n, .feat .n, .steps .n { display: block; font-size: .75rem; font-weight: 700; color: var(--text-light); margin-bottom: 12px; }
.auto-list h3 { font-size: 1.15rem; }
.auto-list p { font-size: .98rem; line-height: 1.75; margin-bottom: .6em; }
.auto-list.detail { grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.example { color: var(--text-dark); font-size: .95rem !important; padding-left: 14px; border-left: 3px solid var(--ochre); }
.example b { font-weight: 700; color: var(--black); }

/* Werkwijze */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; }
.steps li { position: relative; padding-top: 26px; }
.steps li::before { height: 2px; background: var(--black); }
.steps .n { font-size: 2.6rem; font-weight: 700; color: var(--ochre); letter-spacing: -1px; line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: 1rem; line-height: 1.8; }

/* Zwart werk-blok: titel, rijen, CTA en tegels sluiten naadloos aan */
.work-comp { background: var(--black); color: #bdbdbd; }
.work-head .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 80px); }
.work-head h2 { color: #fff; font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin: 0; }
.work-head p { max-width: 24em; margin: 0; font-size: 1rem; }
.work-row { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(360px, 34vw, 480px); }
.work-row[hidden] { display: none; }
.work-row.flip .work-text { order: 2; }
.work-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 5vw, 64px) clamp(24px, 7vw, 100px); }
.cats { font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--text-light); margin-bottom: 1rem; }
.work-text h3 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); font-weight: 600; line-height: 1.35; color: #fff; margin-bottom: .4em; }
.work-text h3 a { text-decoration: none; }
.work-sub { font-size: .88rem; font-weight: 600; color: #fff; margin-bottom: 1.8rem; }
.work-media { display: block; position: relative; overflow: hidden; }
.work-media .shot { height: 100%; aspect-ratio: auto; }

/* Beeld op gekleurd vlak */
.shot { background: var(--tint); aspect-ratio: 16 / 11; display: grid; place-items: center; overflow: hidden; padding: 9%; }
.shot img { width: 100%; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5); transition: transform .9s var(--ease); }
.shot.flat { padding: 0; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.shot.flat img { width: 100%; height: 100%; object-fit: contain; box-shadow: none; }
a:hover .shot img, .work-row:hover .shot img { transform: scale(1.04); }

/* CTA-band */
.cta-band { position: relative; overflow: hidden; background: var(--black); padding: clamp(80px, 10vw, 150px) 0; }
.cta-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.35; margin: 0; max-width: 18em; }

/* Projecttegels */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tile { position: relative; display: block; text-decoration: none; overflow: hidden; }
.tile .shot { aspect-ratio: 10 / 9; }
.tile-over { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .45s; }
.tile-over b { color: #fff; font-size: 1.2rem; line-height: 1.3; transform: translateY(14px); transition: transform .6s var(--ease); }
.tile:hover .tile-over, .tile:focus-visible .tile-over { opacity: 1; }
.tile:hover .tile-over b { transform: none; }
.tile-all { display: grid; place-items: center; background: #111; color: #fff; font-weight: 700; font-size: 1.1rem; min-height: 100%; transition: background .4s, color .4s; }
.tile-all:hover { background: var(--ochre); color: var(--black); }
.tile-all span { display: inline-flex; align-items: center; gap: .5em; }
.tile-all .ic { transition: transform .3s var(--ease); }
.tile-all:hover .ic { transform: translateX(5px); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; cursor: pointer; color: var(--black); font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 16px; height: 16px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 2px; background: var(--black); translate: 0 -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { padding: 0 40px 22px 0; margin: 0; font-size: 1rem; }
.faq details[open] p { animation: faq .5s var(--ease); }
@keyframes faq { from { opacity: 0; transform: translateY(-6px); } }

/* Footer — zwart blok binnen het kader */
.site-footer { background: var(--black); color: #bdbdbd; margin-top: clamp(60px, 9vw, 150px); padding: clamp(56px, 7vw, 90px) 0 clamp(32px, 4vw, 50px); }
.f-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid #333; }
.f-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.f-title { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 700; color: #fff; line-height: 1.3; max-width: 13em; margin: 0; letter-spacing: -1px; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: clamp(36px, 4vw, 56px) 0; font-size: .95rem; font-weight: 600; color: #fff; }
.footer-h { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2em; }
.site-footer a:not(.btn):not(.logo) { text-decoration: none; }
.site-footer a:not(.btn):not(.logo):hover { color: var(--ochre); }
.site-footer address { font-style: normal; }
.f-bottom { font-size: .8rem; color: var(--text-light); margin: 0; }

/* Subpagina's */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { max-width: 14em; }
.page-hero.with-visual { padding-bottom: clamp(56px, 7vw, 100px); }
.page-hero .hero-grid .offset { max-width: 460px; justify-self: end; width: 100%; }
.prose { max-width: 820px; }
.prose p:first-child { color: var(--text-dark); font-size: 1.25rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose a { color: var(--black); }

.svc-rows { display: grid; gap: clamp(64px, 9vw, 130px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.svc-row.flip .svc-row-text { order: 2; }
.svc-row h2 a { text-decoration: none; }
.svc-row-media .offset { max-width: 470px; }
.svc-row:not(.flip) .svc-row-media .offset { margin-left: auto; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat { padding: 36px 30px; box-shadow: 0 0 40px rgba(0, 0, 0, .07); transition: box-shadow .4s, translate .5s var(--ease); }
.feat:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .12); translate: 0 -4px; }
.feat h3 { font-size: 1.15rem; }
.feat p { margin: 0; font-size: 1rem; line-height: 1.8; }

.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 0; margin: 0; }
.link-list a { display: inline-flex; align-items: center; gap: .45em; color: var(--black); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.link-list a:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* Portfolio-filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 32px; }
.filters button { font: 700 .95rem/1 var(--font); padding: 8px 0; border: 0; background: linear-gradient(var(--black), var(--black)) 0 100% / 0 2px no-repeat; cursor: pointer; color: var(--text-light); transition: color .3s, background-size .4s var(--ease); }
.filters button:hover { color: var(--black); }
.filters button[aria-pressed="true"] { color: var(--black); background-size: 100% 2px; }

/* Projectpagina */
.meta { display: flex; flex-wrap: wrap; gap: 16px 64px; margin: 28px 0 0; }
.meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--black); margin-bottom: 2px; }
.meta dd { margin: 0; font-size: 1rem; }
.meta a { color: var(--text); }
.meta a:hover { color: var(--black); }
.proj-visual .shot.xl { aspect-ratio: auto; height: clamp(340px, 52vw, 740px); padding: 0; }
.proj-visual .shot.xl img { height: 100%; width: 100%; object-fit: contain; }
.proj-info { background: var(--black); color: #bdbdbd; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.proj-info .footer-h { color: var(--text-light); margin-bottom: 1.2rem; }
.info-lead { color: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1.7; }
.proj-info p { font-size: 1rem; }
.chev { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: 8px; }
.chev li { position: relative; padding-left: 22px; color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.7; }
.chev li::before { content: '›'; position: absolute; left: 2px; top: -.05em; color: var(--ochre); font-size: 1.3em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(8px, 1.2vw, 16px); margin-top: clamp(8px, 1.2vw, 16px); }
.gallery figure { margin: 0; background: var(--tint); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery figure img { width: 100%; height: 100%; object-fit: contain; }
.support h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.3; max-width: 22em; }
.support p { max-width: 40em; font-size: 1rem; margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--black); padding: 0; font-size: .95rem; }
.opt { font-weight: 500; color: var(--text-light); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--black); padding: 14px 16px; border: 1px solid #d5d5d5; background: #fff; width: 100%; border-radius: 0; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 6px 6px 0 var(--ochre); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice label { cursor: pointer; font-weight: 600; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: .7em 1.1em .6em; border: 1px solid #d5d5d5; color: var(--text); font-size: .9rem; transition: all .25s; }
.choice input:checked + span { background: var(--black); color: #fff; border-color: var(--black); }
.choice input:focus-visible + span { outline: 2px solid var(--ochre); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-status { font-weight: 700; min-height: 1.5em; margin: 0; }
.form-status.ok { color: #1d6b3a; }
.form-status.err { color: #b3261e; }

/* Gratis AI-scan */
.scan-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.scan-card { max-width: 480px; justify-self: end; width: 100%; }
.scan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.scan-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.scan-steps .n { grid-row: span 2; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--black); letter-spacing: -1px; }
.scan-steps b { color: var(--black); font-size: 1.1rem; line-height: 1.3; }
.scan-steps span:not(.n) { font-size: .95rem; line-height: 1.6; color: #3d3221; }

/* Getuigenissen */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.quote { margin: 0; padding: 40px 36px; box-shadow: 0 0 40px rgba(0, 0, 0, .07); position: relative; }
.quote::before { content: '“'; position: absolute; top: 10px; left: 30px; font-size: 5rem; line-height: 1; color: var(--ochre); font-weight: 700; }
.quote blockquote { margin: 0 0 1.4rem; padding-top: 30px; }
.quote blockquote p { color: var(--text-dark); font-size: 1.05rem; line-height: 1.75; margin: 0; }
.quote figcaption b { display: block; color: var(--black); }
.quote figcaption span { font-size: .9rem; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card a { display: flex; flex-direction: column; height: 100%; padding: 36px 32px; text-decoration: none; box-shadow: 0 0 40px rgba(0, 0, 0, .07); transition: box-shadow .4s, translate .5s var(--ease); }
.post-card a:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .12); translate: 0 -5px; }
.post-card h3 { font-size: 1.3rem; line-height: 1.3; }
.post-card p:not(.cats) { font-size: 1rem; line-height: 1.75; flex: 1; }
.post-card a:hover .more .ic { transform: translateX(5px); }
.post-hero h1 { max-width: 18em; }
.post-grid-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.toc { position: sticky; top: calc(var(--header) + 30px); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; line-height: 1.5; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--black); }
.post-body h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-top: 1.8em; }
.post-body h3 { margin-top: 1.4em; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post-body li { margin-bottom: .4em; }
.post-body li::marker { color: var(--ochre); font-weight: 700; }
.post-body strong { color: var(--black); }
.post-body blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--ochre); }
.post-body p:first-child { color: var(--text-dark); font-size: 1.25rem; line-height: 1.7; }

/* ---------- Animaties (enkel met JS, eenmalig bij in beeld komen) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Titels: woord per woord omhoog uit een masker */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--delay, 0s) + var(--i) * 45ms); }
.js [data-split].in .w > span { transform: none; }

/* Groepen: kinderen na elkaar */
.js .stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .auto-list li::before, .js .steps li::before { transform: scaleX(0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
.js .stagger.in li::before { transform: scaleX(1); }

/* Beelden: gordijn opzij, beeld zoomt zacht uit */
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js .work-row.flip .wipe { clip-path: inset(0 0 0 100%); }
.js .wipe.in, .js .work-row.flip .wipe.in { clip-path: inset(0 0 0 0); }
.js .wipe img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js .wipe.in img { transform: none; }
.js .wipe.in:hover img, .js .work-row:hover .wipe.in img { transform: scale(1.04); transition: transform .9s var(--ease); }

/* Okerkleurig vlak: opent van links, zwart blok schuift erachter op zijn plaats */
.js .offset .offset-inner { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-out) .1s; }
.js .offset .offset-inner > img, .js .offset .offset-inner > .inner-shot, .js .offset .offset-inner > .logo-mark { transform: scale(1.14); transition: transform 1.8s var(--ease-out) .1s; }
.js .offset::before { opacity: 0; transform: translate3d(-30px, -30px, 0); transition: opacity .8s .65s, transform 1.1s var(--ease-out) .65s; }
.js .offset.in .offset-inner { clip-path: inset(0 0 0 0); }
.js .offset.in .offset-inner > * { transform: none; }
.js .offset.in::before { opacity: 1; transform: translate3d(0, var(--py, 0px), 0); }
.js .offset.in.settled::before { transition: none; }

/* Hoogtelijnen in de hero tekenen zich één keer */
.js .contours.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s var(--ease-out) forwards; animation-delay: calc(.2s + var(--r) * 110ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .scroll-hint { opacity: 0; animation: fade 1s 1.6s forwards; }
@keyframes fade { to { opacity: 1; } }

/* Responsive */
@media (max-width: 1080px) {
  .auto-list { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .split-list .auto-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .svc-grid, .split-head, .work-head .wrap, .work-row, .faq-grid, .svc-row, .case-grid, .info-grid, .contact-grid, .split-block, .f-top, .menu, .scan-grid, .post-grid-body { grid-template-columns: 1fr; }
  .scan-card { justify-self: start; }
  .toc { position: static; }
  .hero-visual, .page-hero .hero-grid .offset { justify-self: start; max-width: 440px; }
  .svc-intro { position: static; padding-top: 0; }
  .svc-cards > :nth-child(odd) { margin-top: 0; }
  .work-row.flip .work-text, .svc-row.flip .svc-row-text { order: 0; }
  .work-row { min-height: 0; }
  .work-media .shot { aspect-ratio: 16 / 11; }
  .js .work-row.flip .wipe { clip-path: inset(0 100% 0 0); }
  .tiles { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-flow: row; }
  .proj-visual .shot.xl { height: auto; }
  .proj-visual .shot.xl img { height: auto; }
  .svc-row-media .offset, .svc-row:not(.flip) .svc-row-media .offset { margin-left: 0; max-width: 400px; }
  .menu { align-items: start; align-content: space-between; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; line-height: 1.8; }
  .logo-mark { width: 46px; }
  .logo-word { font-size: 1rem; letter-spacing: .24em; }
  .offset { margin: 0 18px 18px 0; }
  .offset::before { left: 18px; top: 18px; right: -18px; bottom: -18px; }
  .svc-cards, .auto-list, .auto-list.detail, .feat-grid, .steps, .f-cols { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .faq details p { padding-right: 0; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .stagger > *, .js [data-split] .w > span, .js .wipe, .js .wipe img, .js .offset .offset-inner, .js .offset .offset-inner > *, .js .offset::before, .js .scroll-hint { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .contours.draw path { stroke-dashoffset: 0; }
  .js .auto-list li::before, .js .steps li::before { transform: none; }
}
@media print {
  .site-header, .menu, .site-footer, .cta-band, .contours, .scroll-hint { display: none !important; }
  body { padding: 0; }
}
