@font-face { font-family: Archivo; src: url(assets/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: Barlow; src: url(assets/fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(assets/fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url(assets/fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0d0d0b;
  --paper: #fff;
  --boei: #ffd21a;
  --blauw: #05a5cf;
  --pad: clamp(20px, 3.2vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --p: 0;
  scrollbar-color: var(--ink) var(--paper);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 clamp(17px, 1.25vw, 20px)/1.45 Barlow, system-ui, sans-serif; color: var(--ink); background: var(--paper); overflow-x: clip; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--boei); color: var(--ink); }
:focus-visible { outline: 3px solid var(--boei); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 2px; }

h1, h2, h3 { font-family: Archivo, sans-serif; font-stretch: 84%; font-weight: 560; letter-spacing: -.035em; word-spacing: .05em; line-height: .96; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 6vw, 6rem); }

.skip { position: fixed; left: var(--pad); top: -80px; z-index: 60; background: var(--boei); padding: 10px 16px; }
.skip:focus { top: 12px; }

.top { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); color: var(--ink); pointer-events: none; transition: translate .5s var(--ease), color .25s; }
.top a { pointer-events: auto; text-decoration: none; font-weight: 500; }
.top img { width: 44px; height: auto; filter: invert(1) drop-shadow(0 0 5px rgb(255 255 255 / .75)); transition: filter .25s; }
.top.weg { translate: 0 -110%; }
[data-kop="licht"] .top { color: #fff; }
[data-kop="licht"] .top img, [data-kop="hero"] .top img { filter: drop-shadow(0 1px 8px rgb(0 0 0 / .45)); }
[data-kop="licht"] .top a:last-child { text-shadow: 0 1px 8px rgb(0 0 0 / .45); }

/* Hero: het beeldvlak schuift open tot het hele scherm */
.hero { height: 230svh; background: var(--ink); }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.hero-media { position: absolute; inset: 0 auto 0 0; width: calc(50% + 50% * var(--p)); background: #0d1a14; z-index: 2; }
.hero-media video { scale: 1.17; transform-origin: 50% 100%; }
.hero-media { overflow: hidden; }
.hero-claim { z-index: 1; position: absolute; inset: auto var(--pad) calc(var(--pad) + 76px) var(--pad); color: #fff; font: 560 clamp(2.4rem, 5.4vw, 6rem)/.98 Archivo, sans-serif; font-stretch: 84%; letter-spacing: -.035em; opacity: clamp(0, calc((var(--p) - .62) * 4), 1); translate: 0 calc((1 - clamp(0, calc((var(--p) - .62) * 4), 1)) * 24px); }
.hero-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .55)); opacity: var(--p); pointer-events: none; }
.hero-copy { position: absolute; inset: 0 0 0 50%; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 2.4vw, 36px); padding: 72px var(--pad) 110px clamp(28px, 5vw, 80px); translate: calc(var(--p) * 22%) 0; }
.hero-copy h1 { font-size: clamp(2.5rem, 5.3vw, 6rem); }
.hero-copy p { max-width: 34ch; }
.clip { display: inline-block; width: 1.5em; height: .74em; margin-inline: .04em; overflow: hidden; border-radius: 99px; vertical-align: -.03em; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-block; padding: 13px 22px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; transition: background .25s, color .25s; }
.btn:hover { background: var(--boei); color: var(--ink); }
.btn-line { background: none; color: var(--ink); }

/* Secties */
.websites, .aanbod { padding: clamp(80px, 11vw, 170px) var(--pad); }
.intro { display: grid; grid-template-columns: 7fr 4fr; gap: var(--pad); align-items: end; margin-bottom: clamp(44px, 6vw, 90px); }
.intro p { max-width: 42ch; }

.site-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 64px) clamp(12px, 1.4vw, 22px); }
.site-wide { grid-column: 1 / -1; }
.frame { container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #eee; box-shadow: 0 18px 50px -24px rgb(0 0 0 / .45); }
.site-wide .frame { aspect-ratio: 2 / 1; }
.site figcaption { margin-top: 12px; }
.intro-club { margin-top: clamp(90px, 12vw, 180px); }
.site figcaption a { text-decoration: none; }
.site figcaption a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site figcaption b { font-weight: 600; margin-right: 6px; }
.tag { display: inline-block; margin-right: 6px; padding: 1px 9px; background: var(--boei); font-weight: 600; font-size: .85em; }

/* Mini-sites: alle maten in em, zodat ze met het kader meeschalen */
.mini { font-size: 1.5cqw; will-change: transform; }
.site-wide .mini { font-size: 1.05cqw; }
.mini img { height: auto; }
.mini h3, .mini h4 { font-weight: inherit; letter-spacing: -.03em; line-height: .98; }
.m-nav { display: flex; gap: 2.4em; align-items: center; padding: 1.5em 2.4em; font-size: 1.05em; }
.m-nav b { margin-right: auto; font-weight: 700; }
.m-foot { display: flex; justify-content: space-between; padding: 3em 2.4em; }

.mini-bruggen { background: #0f3a30; color: #f3efdf; font-family: Archivo, sans-serif; font-stretch: 118%; font-weight: 300; }
.mini-bruggen .m-hero { position: relative; }
.mini-bruggen .m-hero img { aspect-ratio: 2 / 1; }
.mini-bruggen .m-hero h3 { position: absolute; left: .55em; bottom: .5em; font-size: 6.4em; color: #fff; }
.mini-bruggen .m-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: baseline; gap: 2em; padding: 4em 2.4em; border-bottom: 1px solid rgb(243 239 223 / .3); }
.mini-bruggen h4 { font-size: 3.4em; }
.mini-bruggen .m-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3em; padding: 4em 2.4em; align-items: center; }
.mini-bruggen .m-split p { margin: 1.2em 0 2em; font-size: 1.4em; line-height: 1.3; }
.m-btn { display: inline-block; padding: .8em 1.6em; background: #f3efdf; color: #0f3a30; font-weight: 600; font-size: 1.2em; }

.mini-tegenwind { background: #ff4f18; color: #120a06; font-family: Archivo, sans-serif; font-stretch: 62%; font-weight: 800; text-transform: uppercase; }
.mini-tegenwind h3 { padding: .1em .22em .25em; font-size: 12em; line-height: .84; letter-spacing: -.02em; }
.mini-tegenwind .m-nav { font-size: 1.3em; font-weight: 600; letter-spacing: .02em; }
.mini-tegenwind .m-times { padding: 2.2em 2.4em; font-size: 2.4em; line-height: 1.15; font-weight: 600; }
.mini-tegenwind h4 { padding: .2em .35em; font-size: 7em; background: #120a06; color: #ff4f18; }

.mini-overslag { background: #f4ece6; color: #4e1019; font-family: Barlow, sans-serif; }
.mini-overslag .m-nav { color: #4e1019; }
.mini-overslag h3 { padding: .7em .45em .3em; font: 500 5.6em/1 Archivo, sans-serif; font-stretch: 75%; }
.mini-overslag .m-body { padding: 0 2.4em 3em; font-size: 1.6em; max-width: 34em; }

.beeld { background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 170px) 0 0; }
.beeld .intro { padding-inline: var(--pad); }
.raster { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.tile { position: relative; overflow: hidden; background: #1c1c19; }
.tile::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .6)); pointer-events: none; }
.tile figcaption { position: absolute; z-index: 1; inset: auto 14px 12px; font-size: 16px; line-height: 1.3; }
.tile b { display: block; font-weight: 600; }
.tile:hover img, .tile:hover video { scale: 1.035; }
.tile { grid-column: span var(--s); aspect-ratio: var(--r); }
.tile-ij video, .tile-ij:hover video { scale: 1.34; transform-origin: 50% 0; }
.tile-crop video { scale: 1.17; }
.tile-crop:hover video { scale: 1.2; }
.tile-tiny video, .tile-tiny:hover video { scale: 1.24; transform-origin: 20% 0; }

.wipe > img, .wipe > video { transition: clip-path 1.25s var(--ease), scale 1.4s var(--ease); clip-path: inset(0); }
.wipe.pre > img, .wipe.pre > video { clip-path: inset(0 50% 0 50%); }

.aanbod h2 { margin-bottom: clamp(36px, 5vw, 72px); }
.rol { display: inline-block; height: 1.12em; padding-inline: .12em; overflow: hidden; vertical-align: -.2em; background: var(--boei); transition: width .55s var(--ease); }
.rol-band { display: block; line-height: 1.12; transform: translateY(calc(var(--rij, 0) * -1.12em)); }
.rol-band span { display: block; width: max-content; }
.rol-band.draait { transition: transform 1.05s cubic-bezier(.3, .9, .3, 1.08); }

.aanbod-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 6px; }
.dienst { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 4vw, 56px); min-height: min(88vh, 860px); padding: clamp(22px, 2.8vw, 44px); overflow: hidden; text-decoration: none; }
.dienst-tekst { position: relative; z-index: 2; }
.dienst h3 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.dienst p { margin: 10px 0 16px; }
.prijs { display: inline-block; padding: 6px 12px; font-weight: 600; white-space: nowrap; }

.dienst-web { background: var(--boei); }
.dienst-web .prijs { background: var(--ink); color: var(--boei); }
.ipad { width: min(100%, 760px); align-self: center; padding: 2.1%; background: #141414; border-radius: 3.6% / 5%; box-shadow: 0 0 0 1.5px #77777b, 0 0 0 3px #2a2a2c, 0 44px 70px -30px rgb(60 40 0 / .6); transform: perspective(1500px) rotateX(calc(var(--k, 0) * 22deg)) rotate(calc(var(--k, 0) * -4deg)) translateY(calc(var(--k, 0) * 40px)); transform-origin: 50% 100%; transition: translate .6s var(--ease); position: relative; }
.ipad::before { content: ""; position: absolute; left: 50%; top: .75%; width: .7%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #39424d; }
.ipad .frame { aspect-ratio: 1180 / 820; border-radius: 1%; box-shadow: none; background: #fff; }
.dienst-web:hover .ipad { translate: 0 -8px; }

.dienst-film { justify-content: flex-end; background: var(--ink); color: #fff; }
.dienst-film > video { position: absolute; inset: 0; transform-origin: 50% 100%; scale: 1.17; transition: clip-path 1.25s var(--ease), scale 1.4s var(--ease); }
.dienst-film:hover > video { scale: 1.2; }
.dienst-film::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .72)); pointer-events: none; }
.dienst-film .prijs { background: var(--boei); color: var(--ink); }
.zoeker { --l: 2px; --h: 34px; position: absolute; z-index: 1; inset: clamp(14px, 1.6vw, 24px); pointer-events: none; background:
  linear-gradient(#fff, #fff) 0 0 / var(--h) var(--l), linear-gradient(#fff, #fff) 0 0 / var(--l) var(--h),
  linear-gradient(#fff, #fff) 100% 0 / var(--h) var(--l), linear-gradient(#fff, #fff) 100% 0 / var(--l) var(--h),
  linear-gradient(#fff, #fff) 0 100% / var(--h) var(--l), linear-gradient(#fff, #fff) 0 100% / var(--l) var(--h),
  linear-gradient(#fff, #fff) 100% 100% / var(--h) var(--l), linear-gradient(#fff, #fff) 100% 100% / var(--l) var(--h); background-repeat: no-repeat; }
.zoeker span { position: absolute; top: 14px; right: 16px; display: flex; align-items: center; gap: 7px; font: 600 15px/1 Barlow, sans-serif; letter-spacing: .06em; }
.zoeker span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; animation: rec 1.6s steps(2, jump-none) infinite; }
@keyframes rec { to { opacity: .15; } }

.over { display: grid; grid-template-columns: 6fr 6fr; background: var(--blauw); }
.over > .wipe { aspect-ratio: 5 / 6; }
.over > .wipe img { object-position: 50% 12%; }
.over > div:last-child { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(40px, 6vw, 90px) var(--pad); }
.over p { max-width: 38ch; }

.contact { background: var(--boei); padding: clamp(90px, 13vw, 190px) var(--pad) 24px; }
.contact h2 { font-size: clamp(3.4rem, 10.4vw, 10.5rem); line-height: .9; letter-spacing: -.04em; }
.kanalen { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: clamp(32px, 4vw, 60px) 0 clamp(90px, 10vw, 150px); font: 500 clamp(1.3rem, 2.2vw, 2.1rem)/1.15 Archivo, sans-serif; font-stretch: 88%; }
.kanalen a { text-underline-offset: .18em; text-decoration-thickness: 2px; }
.kanalen a:hover { text-decoration-thickness: 5px; }
.contact footer { display: flex; justify-content: space-between; font-weight: 500; }

/* De boei: de menuknop */
.orb { position: fixed; z-index: 45; left: 50%; bottom: 22px; translate: -50% 0; width: 74px; height: 74px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--boei); color: var(--ink); font: 600 15px/1 Barlow, sans-serif; cursor: pointer; box-shadow: 0 8px 22px -6px rgb(0 0 0 / .5); transition: scale .35s var(--ease); }
.orb:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.slot .orb:focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px var(--ink); }
.orb:hover { scale: 1.08; }
.orb:active { scale: .96; }

.stop { position: fixed; z-index: 45; left: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1.5px solid rgb(255 255 255 / .55); border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.stop svg { fill: currentColor; }
.stop .i-speel, .stop[aria-pressed="true"] .i-pauze { display: none; }
.stop[aria-pressed="true"] .i-speel { display: block; }
.stil .zoeker span::before { animation: none; }

#menu { width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; padding: var(--pad); background: var(--ink); color: #fff; opacity: 0; clip-path: circle(0 at 50% calc(100% - 59px)); transition: clip-path .7s var(--ease), opacity .2s, overlay .7s allow-discrete, display .7s allow-discrete; }
#menu:popover-open { display: flex; flex-direction: column; justify-content: center; opacity: 1; clip-path: circle(150% at 50% calc(100% - 59px)); }
@starting-style { #menu:popover-open { opacity: 0; clip-path: circle(0 at 50% calc(100% - 59px)); } }
#menu a { width: fit-content; font: 560 clamp(3rem, 9vw, 6rem)/1.04 Archivo, sans-serif; font-stretch: 84%; letter-spacing: -.035em; text-decoration: none; }
#menu a:hover { color: var(--boei); }

/* Op het gele slot zou de gele boei verdwijnen */
.orb { transition: scale .35s var(--ease), background .3s, color .3s; }
.slot .orb { background: var(--ink); color: var(--boei); }
.slot #menu .orb { background: var(--boei); color: var(--ink); }

@media (max-width: 820px) {
  .hero { height: 190svh; }
  .hero-media { width: 100%; height: calc(46svh + 54svh * var(--p)); }
  .hero-media::after { inset: 30% 0 0; }
  .hero-claim { bottom: 96px; font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero-copy { inset: 46svh 0 0; justify-content: flex-start; gap: 14px; translate: none; padding: 22px var(--pad) 0; }
  .hero-copy h1 { font-size: clamp(2.3rem, 10.6vw, 4.2rem); }
  .hero-copy p { max-width: none; line-height: 1.35; }
  .btn { padding: 11px 14px; font-size: 16px; }
  .intro { grid-template-columns: 1fr; }
  .site-grid { grid-template-columns: 1fr; }
  .site-wide .frame { aspect-ratio: 16 / 10; }
  .site-wide .mini { font-size: 1.5cqw; }
  .tile { grid-column: span 12; aspect-ratio: 4 / 3; }
  .tile.klein { grid-column: span 6; aspect-ratio: 1; }
  .tile.klein:last-child { grid-column: span 12; aspect-ratio: 1; }
  .tile.klein figcaption { font-size: 14px; inset: auto 10px 8px; }
  .aanbod-grid { grid-template-columns: 1fr; }
  .aanbod { padding-inline: 0; }
  .aanbod h2 { padding-inline: var(--pad); }
  .dienst { min-height: 0; padding: 26px var(--pad) 34px; }
  .dienst-film { aspect-ratio: 4 / 5; }
  .ipad { width: 100%; }
  .krijgt { display: block; }
  .over { grid-template-columns: 1fr; }
  .orb { left: auto; right: 14px; bottom: 14px; translate: none; width: 62px; height: 62px; }
  #menu { clip-path: circle(0 at calc(100% - 45px) calc(100% - 45px)); }
  #menu:popover-open { clip-path: circle(150% at calc(100% - 45px) calc(100% - 45px)); }
  .contact footer { padding-right: 76px; }
  .top img { width: 34px; }
  .top a:last-child { display: none; }
}

/* Lage schermen, zoals een telefoon dwars: gewoon onder elkaar, zodat alles bereikbaar blijft */
@media (max-height: 599px) {
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; overflow: visible; }
  .hero-media { position: relative; width: 100%; height: 70svh; }
  .hero-media::after, .hero-claim { display: none; }
  .hero-copy { position: static; translate: none; padding: 24px var(--pad) 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-pin { position: relative; }
  .wipe > img, .wipe > video, .orb, #menu, .top { transition: none; }
  .zoeker span::before { animation: none; }
}
