/* =========================================================
   Peerebooms Montage - ontwerpsysteem (publieke website + basis voor de panelen)
   Licht, ruim en rustig. 3D-effecten zijn native CSS-transforms (zie main.js).
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-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;
}

:root {
  --ink: #111418;
  --ink-2: #1d2227;
  --slate: #4a5160;
  --muted: #6b7280;
  --line: #e6e8ec;
  --line-strong: #d4d8de;
  --line-dark: #2c333b;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-dark: #111418;
  --blue: #0d5bb5;
  --blue-dark: #0a4892;
  --blue-soft: #eef4fc;
  --blue-line: #c9dcf3;
  --green: #1a7f4b;
  --green-soft: #e8f5ee;
  --red: #b42318;
  --red-soft: #fdecea;
  --amber: #9a5b00;
  --amber-soft: #fdf3e1;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 30px -12px rgba(16, 24, 40, .12);
  --shadow-lg: 0 30px 60px -28px rgba(16, 24, 40, .35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --header-bg: rgba(255, 255, 255, .92);
  --header-line: var(--line);
  --header-hover: var(--bg-alt);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; letter-spacing: -.028em; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.012em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-size: .88em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.2em; }
.icon--lg { width: 2rem; height: 2rem; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 300; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 840px; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 1.5rem; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; font: inherit; font-size: .98rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(13, 91, 181, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a3037; color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: #b8bec7; background: var(--bg-alt); color: var(--ink); }
.btn--light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: #912018; color: #fff; }
.btn--sm { padding: .5rem .85rem; font-size: .9rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1.02; }
.brand__name strong { font-size: 1.08rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.brand__name span { font-size: .66rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }
.nav { display: flex; align-items: center; gap: .5rem; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav__link { display: block; padding: .5rem .8rem; color: var(--slate); text-decoration: none; font-weight: 550; font-size: .97rem; border-radius: var(--radius); transition: color .15s, background-color .15s; }
.nav__link:hover { color: var(--ink); background: var(--header-hover); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: .75rem; }
.nav__login { display: inline-flex; align-items: center; gap: .4rem; color: var(--slate); text-decoration: none; font-weight: 550; font-size: .95rem; padding: .5rem .6rem; border-radius: var(--radius); }
.nav__login:hover { color: var(--ink); background: var(--bg-alt); }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .45rem; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.5rem 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: .85rem .1rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; }
  .nav__link:hover { background: none; }
  .nav__actions { margin: 1rem 0 0; flex-direction: column; align-items: stretch; }
  .nav__login { justify-content: center; border: 1px solid var(--line-strong); }
}
@media (max-width: 480px) { .brand img { width: 44px; } .brand__name strong { font-size: .98rem; } }

/* ---------- Kruimelpad (loopt naadloos over in de paginaheader) ---------- */
.breadcrumbs { background: var(--bg-alt); font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 1.1rem 0 0; gap: .3rem; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid #a3a9b3; border-top: 1.5px solid #a3a9b3; transform: rotate(45deg); margin: 0 .55rem 0 .2rem; }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

/* ---------- Kleine koppen ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Homepage-hero met 3D-fotoscène ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 5rem; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: .45em; }
.hero__lead { font-size: 1.2rem; color: var(--slate); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__checks { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.5rem; color: var(--slate); font-size: .97rem; }
.hero__checks li { display: flex; gap: .55rem; align-items: flex-start; }
.hero__checks .icon { color: var(--blue); margin-top: .2rem; width: 1.1em; height: 1.1em; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 2.5rem; padding-bottom: 3rem; gap: 2rem; }
  .hero__checks { grid-template-columns: 1fr; }
}

.scene { position: relative; height: 520px; perspective: 1500px; perspective-origin: 50% 40%; }
.scene__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: translate3d(0, var(--ty, 0px), 0) rotateX(var(--rx, 9deg)) rotateY(var(--ry, -18deg)) rotateZ(1deg); will-change: transform; }
.scene__blueprint { position: absolute; left: -3%; top: -2%; width: 106%; height: 100%; color: rgba(13, 91, 181, .22); transform: translateZ(-170px); }
.scene__card { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-alt); box-shadow: 0 40px 70px -30px rgba(16, 24, 40, .45), 0 0 0 1px rgba(16, 24, 40, .06); transition: transform 1.1s cubic-bezier(.16, .84, .3, 1), opacity .9s ease; }
.scene__card img { width: 100%; height: 100%; object-fit: cover; }
.scene__card figcaption { position: absolute; left: .7rem; bottom: .7rem; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .78rem; font-weight: 650; padding: .3rem .6rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.scene__card--a { --final: translateZ(-40px); top: 3%; right: 0; width: 76%; height: 64%; transform: var(--final); }
.scene__card--b { --final: translateZ(60px); left: 0; bottom: 9%; width: 54%; height: 44%; transform: var(--final); transition-delay: .12s; }
.scene__card--c { --final: translateZ(130px); right: 5%; bottom: 0; width: 38%; height: 35%; transform: var(--final); transition-delay: .24s; }
.scene__chip { position: absolute; display: inline-flex; align-items: center; gap: .45rem; background: #fff; color: var(--ink); font-weight: 650; font-size: .86rem; padding: .55rem .8rem; border-radius: var(--radius); white-space: nowrap; border: 1px solid var(--line); box-shadow: 0 18px 34px -14px rgba(16, 24, 40, .35); --final: translateZ(190px); transform: var(--final); transition: transform 1s cubic-bezier(.16, .84, .3, 1) .45s, opacity .8s ease .45s; }
.scene__chip .icon { color: var(--blue); }
.scene__chip--1 { top: 9%; left: 3%; }
.scene__chip--2 { top: 60%; right: -1%; transition-delay: .6s; }
.motion-ready .scene:not(.is-ready) .scene__card--a { opacity: 0; transform: translateZ(-420px) translateY(40px); }
.motion-ready .scene:not(.is-ready) .scene__card--b { opacity: 0; transform: translateZ(-220px) translateX(-70px); }
.motion-ready .scene:not(.is-ready) .scene__card--c { opacity: 0; transform: translateZ(-120px) translateY(90px); }
.motion-ready .scene:not(.is-ready) .scene__chip { opacity: 0; transform: translateZ(20px); }
.scene.is-live .scene__card, .scene.is-live .scene__chip { transition: none; animation: none; }
.scene.is-live .scene__card--a { transform: translate3d(calc(var(--hp, 0) * 80px), calc(var(--hp, 0) * -200px), calc(-40px - var(--hp, 0) * 760px)) rotateY(calc(var(--hp, 0) * -28deg)); opacity: calc(1 - var(--hp, 0) * 1.1); }
.scene.is-live .scene__card--b { transform: translate3d(calc(var(--hp, 0) * -90px), calc(var(--hp, 0) * 300px), calc(60px + var(--hp, 0) * 420px)) rotateZ(calc(var(--hp, 0) * -12deg)) rotateX(calc(var(--hp, 0) * -20deg)); opacity: calc(1 - var(--hp, 0) * 1.6); }
.scene.is-live .scene__card--c { transform: translate3d(calc(var(--hp, 0) * 200px), calc(var(--hp, 0) * 340px), calc(130px + var(--hp, 0) * 640px)) rotateX(calc(var(--hp, 0) * 34deg)); opacity: calc(1 - var(--hp, 0) * 1.25); }
.scene.is-live .scene__chip--1 { transform: translate3d(calc(var(--hp, 0) * -140px), calc(var(--hp, 0) * -280px), calc(190px + var(--hp, 0) * 320px)); opacity: calc(1 - var(--hp, 0) * 1.5); }
.scene.is-live .scene__chip--2 { transform: translate3d(calc(var(--hp, 0) * 220px), calc(var(--hp, 0) * -120px), calc(190px + var(--hp, 0) * 420px)); opacity: calc(1 - var(--hp, 0) * 1.5); }
.scene.is-live .scene__blueprint { transform: translateZ(calc(-170px - var(--hp, 0) * 400px)); opacity: calc(1 - var(--hp, 0)); }
@media (max-width: 900px) {
  .scene { height: 380px; width: 100%; max-width: 560px; margin: 0 auto; }
  .scene__stage { transform: translate3d(0, var(--ty, 0px), 0) rotateX(7deg) rotateY(-10deg); }
}
@media (max-width: 520px) {
  .scene { height: 290px; }
  .scene__chip { font-size: .74rem; padding: .4rem .55rem; }
  .scene__chip--2 { right: 0; }
  .scene__card figcaption { font-size: .7rem; }
}

/* ---------- Paginaheader (licht) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg-alt); padding: 2.75rem 0 4rem; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 48rem; }
.page-hero p { color: var(--slate); font-size: 1.15rem; max-width: 44rem; margin: 0; }
.page-hero--media .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
@media (max-width: 900px) { .page-hero--media .container { grid-template-columns: 1fr; gap: 2rem; } }
.hero-floaters { display: none; }
@media (min-width: 1000px) {
  .page-hero--floaters { min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
  .page-hero--floaters .container > * { max-width: min(46rem, 60%); }
  .hero-floaters { display: block; position: absolute; inset: 0; z-index: 0; perspective: 1000px; pointer-events: none; }
}
.hero-floater { position: absolute; border-radius: 10px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 28px 50px -24px rgba(16, 24, 40, .45), 0 0 0 1px rgba(16, 24, 40, .05); transform: rotate(var(--rot, 0deg)); will-change: transform, opacity; transition: transform 1.1s cubic-bezier(.16, .84, .3, 1), opacity .9s ease; }
.hero-floater:nth-child(2) { transition-delay: .12s; }
.hero-floater:nth-child(3) { transition-delay: .24s; }
.hero-floater img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.motion-ready .hero-floaters:not(.is-ready) .hero-floater { opacity: 0; transform: translate3d(0, 60px, -600px); }
.hero-floaters.is-live .hero-floater { transition: transform .25s ease-out, opacity .25s linear; }

.media-stack { position: relative; height: 340px; perspective: 1200px; }
.media-stack__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(6deg + var(--tilt-x, 0deg))) rotateY(calc(-16deg + var(--tilt-y, 0deg))); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.media-stack.is-tilting .media-stack__inner { transition: transform .12s linear; }
.media-stack figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--line); box-shadow: 0 34px 60px -28px rgba(16, 24, 40, .5), 0 0 0 1px rgba(16, 24, 40, .06); transition: transform 1.1s cubic-bezier(.16, .84, .3, 1), opacity .9s ease; }
.media-stack img { width: 100%; height: 100%; object-fit: cover; }
.media-stack figure:first-child { --final: translateZ(-30px); top: 0; right: 0; width: 82%; height: 78%; transform: var(--final); }
.media-stack figure:nth-child(2) { --final: translateZ(90px); left: 0; bottom: 0; width: 52%; height: 52%; transform: var(--final); border: 5px solid #fff; transition-delay: .15s; }
.media-stack figcaption { position: absolute; left: .5rem; bottom: .5rem; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .74rem; font-weight: 650; padding: .25rem .5rem; border-radius: var(--radius); }
.motion-ready .media-stack[data-stack]:not(.is-ready) figure:first-child { opacity: 0; transform: translateZ(-420px) translateY(40px); }
.motion-ready .media-stack[data-stack]:not(.is-ready) figure:nth-child(2) { opacity: 0; transform: translateZ(-160px) translateX(-90px); }
.media-stack.is-live figure { transition: none; }
.media-stack.is-live figure:first-child { transform: translate3d(calc(var(--sp, 0) * 70px), calc(var(--sp, 0) * -170px), calc(-30px - var(--sp, 0) * 620px)) rotateY(calc(var(--sp, 0) * -22deg)); opacity: calc(1 - var(--sp, 0) * 1.1); }
.media-stack.is-live figure:nth-child(2) { transform: translate3d(calc(var(--sp, 0) * -80px), calc(var(--sp, 0) * 240px), calc(90px + var(--sp, 0) * 480px)) rotateZ(calc(var(--sp, 0) * -12deg)); opacity: calc(1 - var(--sp, 0) * 1.5); }
@media (max-width: 900px) { .media-stack { height: 260px; max-width: 520px; } }

/* ---------- Secties en rasters ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--bg-dark); color: #c9ced6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #7fb2ec; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: .75rem 0 0; color: var(--slate); max-width: 38rem; }
.section__intro { max-width: 44rem; margin-bottom: 2.5rem; color: var(--slate); }
@media (max-width: 700px) { .section { padding: 4rem 0; } }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split--wide { grid-template-columns: 1.4fr 1fr; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Kaarten ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.card--soft { background: var(--bg-alt); border-color: transparent; }
.service-card__icon, .feature__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 10px; margin-bottom: 1.1rem; flex-shrink: 0; }
.service-card__icon .icon, .feature__icon .icon { width: 1.4rem; height: 1.4rem; }

.photo-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0); transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.photo-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.photo-card.is-tilting { transition: transform .12s linear, box-shadow .3s, border-color .3s; }
.photo-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .7s ease; }
.photo-card:hover .photo-card__media img { transform: scale(1.07); }
.photo-card__icon { position: absolute; left: 1rem; bottom: 1rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: #fff; color: var(--blue); border-radius: 10px; box-shadow: var(--shadow); }
.photo-card__icon .icon { width: 1.35rem; height: 1.35rem; }
.photo-card__body { display: flex; flex-direction: column; gap: .5rem; flex-grow: 1; padding: 1.35rem 1.4rem 1.5rem; }
.photo-card h3 { margin: 0; font-size: 1.2rem; }
.photo-card h3 a { color: var(--ink); text-decoration: none; }
.photo-card h3 a:hover { color: var(--blue); }
.photo-card p { margin: 0; flex-grow: 1; color: var(--slate); font-size: .97rem; }

.feature { display: flex; flex-direction: column; gap: .25rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.feature p { color: var(--slate); margin: 0; font-size: .97rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.feature-grid .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .65rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .32rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d5bb5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }

.tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.filters a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--slate); text-decoration: none; font-weight: 550; font-size: .94rem; background: #fff; transition: border-color .15s, color .15s; }
.filters a:hover { border-color: var(--line-strong); color: var(--ink); }
.filters a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.project-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .3s, border-color .3s; }
.project-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); color: var(--ink); }
.project-card__media { aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .7s ease; }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex-grow: 1; }
.project-card__meta { font-size: .85rem; color: var(--muted); display: flex; gap: .9rem; flex-wrap: wrap; }
.project-card h3 { font-size: 1.12rem; margin: 0; }
.project-card p { color: var(--slate); font-size: .95rem; margin: 0; }
.media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #a3a9b3; background: var(--bg-alt); }
.media-placeholder .icon { width: 2.4rem; height: 2.4rem; }

.news-card { display: flex; flex-direction: column; gap: .5rem; height: 100%; }
.news-card time { font-size: .85rem; color: var(--muted); }
.news-card h2, .news-card h3 { margin: 0; font-size: 1.15rem; }
.news-card h2 a, .news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--blue); }
.news-card p { color: var(--slate); margin: 0; flex-grow: 1; }
.news-card__img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: .5rem; }

.photo-frame { position: relative; perspective: 1100px; }
.photo-frame__inner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotateY(calc(var(--frame-ry, -8deg) + var(--tilt-y, 0deg))) rotateX(calc(4deg + var(--tilt-x, 0deg))); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.photo-frame.is-tilting .photo-frame__inner { transition: transform .12s linear; }
.photo-frame--right { --frame-ry: 8deg; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame__badge { position: absolute; left: -1rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--ink); font-weight: 650; font-size: .9rem; padding: .6rem .85rem; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo-frame__badge .icon { color: var(--blue); }
@media (max-width: 640px) { .photo-frame__badge { left: .75rem; } }

.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.photo-row figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); position: relative; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.photo-row figure:hover img { transform: scale(1.05); }
.photo-row figcaption { position: absolute; left: .7rem; bottom: .7rem; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .8rem; font-weight: 650; padding: .25rem .55rem; border-radius: var(--radius); }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row figure:nth-child(3) { display: none; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.gallery a:hover img { transform: scale(1.04); }
.gallery__main { grid-column: 1 / -1; aspect-ratio: 16 / 9 !important; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.facts { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts strong { text-align: right; font-weight: 600; }

.lightbox { position: fixed; inset: 0; background: rgba(10, 12, 15, .94); z-index: 500; display: none; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: var(--radius); width: 3rem; height: 3rem; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #c9ced6; font-size: .9rem; }
@media (max-width: 640px) { .lightbox { padding: 4rem .5rem; } }

.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 3rem 2rem; text-align: center; background: #fff; }
.empty-state > .icon { width: 2.2rem; height: 2.2rem; color: var(--muted); margin: 0 auto .75rem; display: block; }
.empty-state h2, .empty-state h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.empty-state p { color: var(--slate); max-width: 36rem; margin: 0 auto 1.25rem; }

/* ---------- 3D-doorvlucht (donkere blikvanger) ---------- */
.flythrough { position: relative; background: var(--bg-dark); color: #c9ced6; }
.flythrough__sticky { position: relative; padding: 5rem 0; }
.flythrough__floor { display: none; }
.flythrough__world { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; width: min(var(--container), 100%); margin: 2rem auto 0; padding: 0 1.5rem; }
.fly-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--ink-2); text-decoration: none; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.fly-tile img { width: 100%; height: 100%; object-fit: cover; }
.fly-tile__label { position: absolute; left: .6rem; bottom: .6rem; background: #fff; color: var(--ink); font-weight: 650; font-size: .82rem; padding: .28rem .55rem; border-radius: var(--radius); }
.flythrough__text { position: relative; z-index: 2; text-align: center; max-width: 40rem; margin: 0 auto; padding: 0 1.5rem; }
.flythrough__text h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.flythrough__text .eyebrow { color: #7fb2ec; justify-content: center; }
.flythrough__lines p { font-size: 1.12rem; color: #c9ced6; }
.flythrough__progress { display: none; }
@media (max-width: 800px) { .flythrough__world { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.motion-ready .flythrough { height: 360vh; }
.motion-ready .flythrough__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 0; perspective: 900px; perspective-origin: 50% 45%; }
.motion-ready .flythrough__floor { display: block; position: absolute; left: -60%; right: -60%; bottom: -8%; height: 75%; transform-origin: 50% 100%; transform: rotateX(80deg); background-image: linear-gradient(rgba(127, 178, 236, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 178, 236, .2) 1px, transparent 1px); background-size: 90px 90px; background-position: 0 calc(var(--fp, 0) * 1px); }
.motion-ready .flythrough__world { position: absolute; inset: 0; display: block; width: auto; margin: 0; padding: 0; transform-style: preserve-3d; }
.motion-ready .fly-tile { --tw: clamp(170px, 26vw, 360px); position: absolute; left: 50%; top: 50%; width: var(--tw); height: calc(var(--tw) * .75); aspect-ratio: auto; margin-left: calc(var(--tw) * -.5); margin-top: calc(var(--tw) * -.375); opacity: 0; will-change: transform, opacity; backface-visibility: hidden; }
.motion-ready .fly-tile:hover .fly-tile__label, .motion-ready .fly-tile:focus-visible .fly-tile__label { background: var(--blue); color: #fff; }
.motion-ready .flythrough__text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(40rem, 90vw); padding: 2.25rem 2rem; background: rgba(17, 20, 24, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.motion-ready .flythrough__lines { position: relative; min-height: 3.6em; margin-bottom: 1.25rem; }
.motion-ready .flythrough__lines p { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.motion-ready .flythrough__lines p.is-active { opacity: 1; transform: none; }
.motion-ready .flythrough__progress { display: block; position: absolute; left: 50%; bottom: 2rem; width: 160px; height: 3px; margin-left: -80px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.motion-ready .flythrough__progress span { display: block; height: 100%; width: 100%; background: #7fb2ec; transform-origin: 0 50%; transform: scaleX(var(--fly-p, 0)); }
@media (max-width: 700px) {
  .motion-ready .flythrough { height: 320vh; }
  .motion-ready .fly-tile { --tw: 46vw; }
  .motion-ready .flythrough__text { padding: 1.5rem 1.25rem; }
  .motion-ready .flythrough__lines { min-height: 5.2em; }
}

/* ---------- Werkwijze: 3D-ring ---------- */
.ring-section { position: relative; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ring-section__sticky { padding: 5rem 0; }
.ring-section__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.ring-section__copy p { color: var(--slate); }
.ring-index { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .35rem; }
.ring-index li { display: flex; gap: .75rem; align-items: center; padding: .6rem .85rem; border-radius: 8px; font-weight: 600; color: var(--muted); border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.ring-index li span { font-variant-numeric: tabular-nums; opacity: .8; }
.ring-index li.is-active { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.ring-index li.is-active span { color: var(--blue); opacity: 1; }
.ring__spinner { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ring__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding-bottom: 1.15rem; }
.ring__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: .95rem; background: var(--line); }
.ring__media img { width: 100%; height: 100%; object-fit: cover; }
.ring__num { position: absolute; left: .7rem; top: .7rem; background: #fff; color: var(--blue); font-weight: 750; font-size: .9rem; padding: .18rem .5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ring__card h3 { margin: 0 1.1rem .35rem; font-size: 1.08rem; }
.ring__card p { margin: 0 1.1rem; font-size: .93rem; color: var(--slate); }
@media (max-width: 900px) { .ring-section__inner { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .ring__spinner { grid-template-columns: 1fr; } }
.motion-ready .ring-section { height: 330vh; }
.motion-ready .ring-section__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 0; }
.motion-ready .ring { position: relative; height: 520px; perspective: 1300px; perspective-origin: 50% 40%; }
.motion-ready .ring__spinner { --cw: 290px; --r: calc(var(--cw) * .69 + 36px); display: block; position: absolute; left: 50%; top: 50%; width: var(--cw); height: 370px; margin: -185px 0 0 calc(var(--cw) * -.5); transform-style: preserve-3d; transform: translateZ(calc(var(--r, 300px) * -1)) rotateX(-6deg) rotateY(var(--ring-rot, 0deg)); will-change: transform; }
.motion-ready .ring__card { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: rotateY(calc(var(--i) * 72deg)) translateZ(var(--r, 300px)); box-shadow: 0 40px 60px -35px rgba(16, 24, 40, .45); transition: opacity .4s ease, filter .4s ease; opacity: .5; filter: saturate(.5); }
.motion-ready .ring__card.is-active { opacity: 1; filter: none; border-color: var(--blue-line); }
@media (max-width: 900px) {
  .motion-ready .ring-section__inner { gap: .5rem; }
  .motion-ready .ring-section__copy > p { display: none; }
  .motion-ready .ring-index { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .75rem; }
  .motion-ready .ring-index li { padding: .3rem .55rem; font-size: .8rem; }
  .motion-ready .ring { height: 420px; }
  .motion-ready .ring__spinner { --cw: min(250px, 66vw); --r: calc(var(--cw) * .69 + 24px); height: 350px; margin-top: -175px; }
}

/* ---------- Banden met zwevende foto's (parallax) ---------- */
.parallax-band { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-dark); color: #c9ced6; padding: 6rem 0; }
.parallax-band__img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; z-index: -2; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); will-change: transform; }
.parallax-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17, 20, 24, .86); }
.parallax-band h2, .parallax-band h3 { color: #fff; }
.parallax-band .eyebrow { color: #7fb2ec; }
.floaters { display: none; }
.motion-ready .floaters { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.floater { position: absolute; border-radius: 10px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); transform: translate3d(0, var(--fy, 0px), 0) rotate(var(--rot, 0deg)) scale(var(--fs, 1)); opacity: .45; will-change: transform; }
.floater img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
@media (max-width: 1299px) { .motion-ready .floaters { display: none; } }

/* ---------- Oproepbalk ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--blue); color: #fff; padding: 4rem 0; }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; color: #d8e6f7; max-width: 40rem; }
.cta-band .btn--dark:hover { background: #fff; color: var(--ink); }
.cta-band .floater { border-color: rgba(255, 255, 255, .85); opacity: .5; }

/* ---------- Klantenpaneel-mockup in 3D ---------- */
.device { position: relative; perspective: 1400px; padding: 1rem 1.5rem 3rem 0; }
.device__screen { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 50px 80px -40px rgba(16, 24, 40, .5), 0 0 0 6px #eceef1; transform: rotateX(calc(7deg + var(--tilt-x, 0deg))) rotateY(calc(-15deg + var(--tilt-y, 0deg))); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.device__photo { position: absolute; right: 0; bottom: 0; width: 40%; border: 5px solid #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(16, 24, 40, .5); transform: rotateX(calc(7deg + var(--tilt-x, 0deg))) rotateY(calc(-15deg + var(--tilt-y, 0deg))) translateZ(90px) rotateZ(3deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.device.is-tilting .device__screen, .device.is-tilting .device__photo { transition: transform .12s linear; }
.device__photo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.device__bar { display: flex; align-items: center; gap: .35rem; padding: .65rem .85rem; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.device__bar span { width: .6rem; height: .6rem; border-radius: 50%; background: #d4d8de; }
.device__bar em { font-style: normal; color: var(--slate); font-size: .78rem; font-weight: 600; margin-left: .5rem; }
.device__body { display: grid; grid-template-columns: 50px 1fr; min-height: 300px; }
.device__side { background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1rem 0; }
.device__side i { width: 22px; height: 22px; border-radius: 6px; background: #2c333b; }
.device__side i.is-active { background: var(--blue); }
.device__main { padding: 1.1rem 1.2rem 1.25rem; }
.device__label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.device__title { font-size: 1.15rem; font-weight: 750; margin: .1rem 0 .75rem; letter-spacing: -.01em; }
.device__progress { list-style: none; display: flex; gap: .3rem; padding: 0; margin: 0 0 .9rem; }
.device__progress li { flex: 1; font-size: .67rem; font-weight: 600; color: var(--muted); border-top: 4px solid var(--line); padding-top: .3rem; }
.device__progress li.is-done { border-color: var(--blue); color: var(--ink); }
.device__progress li.is-current { border-color: var(--blue); color: var(--blue); }
.device__row { display: flex; align-items: center; gap: .55rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .85rem; }
.device__row .icon { color: var(--blue); }
.device__row span { flex: 1; min-width: 0; }
.device__row b { font-size: .68rem; font-weight: 600; background: var(--bg-alt); border: 1px solid var(--line); padding: .1rem .45rem; border-radius: 4px; }
.motion-ready .device[data-device] .device__screen { transform: translateY(calc((1 - var(--dv, 1)) * 90px)) rotateX(calc(7deg + (1 - var(--dv, 1)) * 22deg + var(--tilt-x, 0deg))) rotateY(calc(-15deg - (1 - var(--dv, 1)) * 32deg + var(--tilt-y, 0deg))); transition: transform .18s linear; }
.motion-ready .device[data-device] .device__photo { transform: translate3d(calc((1 - var(--dv, 1)) * 260px), calc((1 - var(--dv, 1)) * -60px), calc(90px + (1 - var(--dv, 1)) * 260px)) rotateX(calc(7deg + var(--tilt-x, 0deg))) rotateY(calc(-15deg + var(--tilt-y, 0deg))) rotateZ(calc(3deg + (1 - var(--dv, 1)) * 18deg)); opacity: var(--dv, 1); transition: transform .18s linear, opacity .18s linear; }
@media (max-width: 900px) { .device { padding-right: 0; max-width: 560px; } }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: #f5a524; }
.stars .icon { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.stars .is-off { color: #d4d8de; }
.review-summary { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.review-summary__score { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.review-card { display: flex; flex-direction: column; gap: .75rem; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.review-card blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; flex-grow: 1; }
.review-card blockquote p:last-child { margin-bottom: 0; }
.review-card footer { display: flex; justify-content: space-between; gap: .75rem; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.review-card footer strong { color: var(--ink); font-weight: 650; }
.review-card__reply { background: var(--bg-alt); border-radius: 8px; padding: .85rem 1rem; font-size: .92rem; color: var(--slate); }
.review-card__reply strong { display: block; color: var(--ink); font-size: .85rem; margin-bottom: .2rem; }

/* ---------- Werkgebied ---------- */
.place-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.place-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.place-list a:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--blue); }
.place-list .icon { color: var(--blue); }

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.7rem; }
.prose p, .prose li { color: #2f3640; }
.prose li { margin-bottom: .4rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: .7rem .75rem .7rem 0; vertical-align: top; }
.prose th { font-weight: 650; color: var(--ink); }
.prose .card h3 { margin-top: 0; }
.prose img { border-radius: var(--radius-lg); }
.legal-meta { color: var(--muted); font-size: .95rem; }
.toc { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; margin-bottom: 2.25rem; }
.toc h2 { font-size: 1rem; margin: 0 0 .6rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; font-size: .95rem; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 2.25rem 1.15rem 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 1.45rem; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); top: 1.65rem; }
.faq details p { color: var(--slate); padding-bottom: .6rem; }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .4rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"],
input[type="datetime-local"], input[type="time"], input[type="search"], input[type="url"], input[type="file"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 8px; padding: .72rem .85rem; line-height: 1.4;
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
input[type="file"] { padding: .6rem; background: var(--bg-alt); cursor: pointer; }
textarea { min-height: 150px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b8bec7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13, 91, 181, .14); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { color: var(--red); font-size: .87rem; margin: .4rem 0 0; font-weight: 550; }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.checkbox input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--blue); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: 10px; padding: 1.25rem; background: var(--bg-alt); transition: border-color .15s, background-color .15s; }
.dropzone.is-over { border-color: var(--blue); background: var(--blue-soft); }
.dropzone input[type="file"] { background: #fff; }
.dropzone__previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin-top: .75rem; }
.dropzone__previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* ---------- Meldingen, labels, paginering ---------- */
.alert { padding: .9rem 1.1rem; border-radius: 10px; border: 1px solid; margin-bottom: 1.25rem; font-size: .96rem; }
.alert--success { background: var(--green-soft); border-color: #b7e0c8; color: #145c34; }
.alert--error { background: var(--red-soft); border-color: #f5c2bd; color: #8c1d17; }
.alert--info { background: var(--blue-soft); border-color: var(--blue-line); color: #0a3f7e; }
.alert--warning { background: var(--amber-soft); border-color: #f2d49d; color: #744400; }
.alert ul { margin: .4rem 0 0; }
.flash-wrap { padding-top: 1.25rem; }
.badge { display: inline-block; padding: .18rem .55rem; border-radius: 4px; font-size: .76rem; font-weight: 650; background: var(--bg-alt); color: var(--slate); border: 1px solid var(--line); white-space: nowrap; }
.pagination { display: flex; gap: .35rem; margin-top: 2.25rem; flex-wrap: wrap; }
.pagination__item { min-width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.pagination__item.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.contact-lines li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-lines .icon { color: var(--blue); margin-top: .22rem; }
.contact-lines a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-lines a:hover { color: var(--blue); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours td { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.map-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.map-card__photo { aspect-ratio: 16 / 7; overflow: hidden; background: var(--bg-alt); }
.map-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.map-card__body { padding: 1.3rem 1.4rem; }

/* ---------- Inloggen en registreren ---------- */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 4rem 1.5rem; background: var(--bg-alt); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2.4rem; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.8rem; }
.auth-card .sub { color: var(--slate); margin-bottom: 1.6rem; }
.auth-links { margin-top: 1.4rem; font-size: .94rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.auth-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #e8f0fb; color: var(--blue); margin-bottom: 1.2rem; }
.auth-icon .icon { width: 24px; height: 24px; }
.auth-steps { list-style: none; margin: 0 0 1.4rem; padding: 1rem 1.1rem; background: var(--bg-alt); border-radius: 8px; font-size: .92rem; color: var(--slate); display: grid; gap: .45rem; }
.auth-resend { margin: -.4rem 0 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #aab1bb; font-size: .95rem; }
.site-footer .container { padding-top: 4.5rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d9dde3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 52px; background: #fff; border-radius: 8px; padding: 5px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Foutpagina ---------- */
.error-page { padding: 6rem 0; text-align: center; background: var(--bg-alt); }
.error-page__code { font-size: 5rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: .5rem; letter-spacing: -.04em; }
.error-page .btn { margin: .25rem; }
.error-page--3d { position: relative; overflow: hidden; }
.error-page--3d .container { position: relative; z-index: 1; }
@media (min-width: 1000px) { .error-page--3d { min-height: 480px; } .error-page--3d .container { max-width: 620px; } }

/* ---------- Zwevende contactknoppen ---------- */
.fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 150; display: flex; flex-direction: column; gap: .6rem; }
.fab a { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 3.25rem; min-width: 3.25rem; padding: 0 .95rem; border-radius: 14px; color: #fff; text-decoration: none; font-weight: 650; font-size: .95rem; box-shadow: 0 14px 30px -10px rgba(16, 24, 40, .45); transition: transform .15s, box-shadow .15s; }
.fab a:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 34px -10px rgba(16, 24, 40, .5); }
.fab .icon { width: 1.4rem; height: 1.4rem; }
.fab__whatsapp { background: #1a8f4c; }
.fab__call { background: var(--ink); }
.fab__label { display: none; }
@media (min-width: 1000px) { .fab__label { display: inline; } .fab__call { display: none !important; } }
@media print { .fab { display: none; } }

/* =========================================================
   Beweging: foto's infaden, 3D-onthulling, 3D-invliegen
   ========================================================= */
.motion-ready .fade-img { opacity: 0; transition: opacity .8s ease; }
.motion-ready .fade-img.is-loaded { opacity: 1; }
.motion-ready [data-reveal] { transition: opacity .85s cubic-bezier(.2, .8, .2, 1), transform .85s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: perspective(1000px) translateY(36px) rotateX(12deg); }
.motion-ready [data-fly] { --f: calc(1 - var(--fly, 1)); will-change: transform, opacity; transition: transform .18s linear, opacity .18s linear; }
.motion-ready [data-fly="up"] { transform: perspective(1000px) translate3d(0, calc(var(--f) * 150px), calc(var(--f) * -280px)) rotateX(calc(var(--f) * 32deg)); opacity: calc(.08 + var(--fly, 1) * .92); }
.motion-ready [data-fly="left"] { transform: perspective(1100px) translate3d(calc(var(--f) * -240px), 0, calc(var(--f) * -220px)) rotateY(calc(var(--f) * 38deg)); opacity: calc(.08 + var(--fly, 1) * .92); }
.motion-ready [data-fly="right"] { transform: perspective(1100px) translate3d(calc(var(--f) * 240px), 0, calc(var(--f) * -220px)) rotateY(calc(var(--f) * -38deg)); opacity: calc(.08 + var(--fly, 1) * .92); }
.motion-ready [data-fly="flip"] { transform-origin: 0 50%; transform: perspective(1000px) rotateY(calc(var(--f) * -80deg)) translateZ(calc(var(--f) * -120px)); opacity: calc(.08 + var(--fly, 1) * .92); }
.motion-ready [data-fly="tilt"] { transform-origin: 50% 100%; transform: perspective(1200px) rotateX(calc(var(--f) * 50deg)) scale(calc(1 - var(--f) * .15)); opacity: calc(.15 + var(--fly, 1) * .85); }
.motion-ready .photo-card[data-fly="drop"] { transform: perspective(1000px) translate3d(0, calc(var(--f) * -170px), calc(var(--f) * 170px)) rotateX(calc(var(--f) * -38deg + var(--tilt-x, 0deg))) rotateY(var(--tilt-y, 0deg)) rotateZ(calc(var(--f) * var(--spin, 6deg))); opacity: calc(.1 + var(--fly, 1) * .9); transition: transform .18s linear, opacity .18s linear, box-shadow .3s, border-color .3s; }

/* Vangnet als main.js niet laadt: na 3 seconden alles tonen */
.motion-ready:not(.js-alive) .scene:not(.is-ready) .scene__card,
.motion-ready:not(.js-alive) .scene:not(.is-ready) .scene__chip,
.motion-ready:not(.js-alive) .media-stack[data-stack]:not(.is-ready) figure { animation: show-final 0s 3s forwards; }
.motion-ready:not(.js-alive) [data-reveal]:not(.is-visible),
.motion-ready:not(.js-alive) .hero-floaters:not(.is-ready) .hero-floater,
.motion-ready:not(.js-alive) .fade-img { animation: show-plain 0s 3s forwards; }
@keyframes show-final { to { opacity: 1; transform: var(--final); } }
@keyframes show-plain { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .scene__stage, .parallax-band__img { transform: none !important; }
  .scene__card, .scene__chip { opacity: 1 !important; animation: none !important; }
  .photo-card, .device__screen, .device__photo, .motion-ready [data-fly] { transform: none !important; opacity: 1 !important; }
  .motion-ready .flythrough, .motion-ready .ring-section { height: auto; }
}
@media print {
  .site-header, .site-footer, .breadcrumbs, .cta-band, .nav-toggle, .fab { display: none !important; }
  body { font-size: 11pt; }
}
.hero__rating { margin: 1.5rem 0 0; font-size: .95rem; }
.hero__rating a { display: inline-flex; align-items: center; gap: .5rem; color: var(--slate); text-decoration: none; }
.hero__rating a:hover { color: var(--ink); }

/* ---------- Offerte- en betaalpagina (openbaar) ---------- */
.quote-page__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.quote-page__head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0; }
.quote-sheet__title { font-size: 1.35rem; margin: 0 0 .75rem; }
.quote-sheet__intro { color: var(--slate); margin-bottom: 1.25rem; }
.quote-sheet__terms { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .94rem; color: var(--slate); }
.quote-sheet__terms h3 { font-size: 1rem; color: var(--ink); }
.reject-toggle { margin-top: 1.25rem; font-size: .93rem; }
.reject-toggle summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.pay-panel { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2.25rem; box-shadow: var(--shadow); text-align: center; }
.pay-panel__amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: .25rem 0 1rem; }
.pay-panel .dl { text-align: left; margin: 1.25rem 0 1.5rem; }
.pay-methods { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; font-size: .84rem; color: var(--muted); }
.pay-methods span { border: 1px solid var(--line); border-radius: 6px; padding: .2rem .55rem; background: var(--bg-alt); }
.h2-size { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.stars svg.icon { color: #f5a524; }
.stars svg.icon.is-off { color: #d4d8de; }
