/* RolIT B.V. — website 2026
   Concept: een warme, lichte grond met één terugkerend beeldmotief uit het logo (de oranje bol)
   en de diamantvonken. Grote, rustige koppen in Inter Display, tegels in een bento-raster voor de
   diensten, een leikleurige band voor de vier ondernemersvragen en de afsluiting. Tekst in
   leisteen, oranje alleen voor markering, lijnen en knoppen.                                      */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }

:root {
  /* kleur, afgeleid van het logo: bol #F07020 → #F0E050, woordmerk #404050 */
  --ground: #FFFCF8;
  --paper: #FFF1E3;
  --paper-deep: #FFE0C2;
  --ink: #404050;
  --slate: #404050;
  --ink-2: #5A5A5A;
  --muted: #737680;
  --line: #ECE4DA;
  --accent: #F99331;
  --accent-deep: #DB6538;
  --sun: #FFCB4A;
  --on-slate: #F3EEE7;
  --on-slate-muted: #BDB8B0;
  --focus: #1A73E8;
  --orb: radial-gradient(circle at 32% 30%, #FFE08A 0%, #FFB347 28%, #F99331 55%, #E85A1A 100%);

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-0: 0.9375rem;
  --fs-1: 1.0625rem;
  --fs-2: 1.1875rem;
  --fs-3: 1.375rem;
  --fs-4: 1.75rem;
  --fs-5: 2.375rem;
  --fs-6: 3.25rem;
  --fs-7: 4.5rem;

  --wrap: 1240px;
  --measure: 64ch;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --section: clamp(72px, 9vw, 128px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 18px 50px rgba(47, 50, 66, 0.10);
  --shadow-sm: 0 6px 18px rgba(47, 50, 66, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink-2); font-family: var(--font-body); font-size: var(--fs-1); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
p, dd, td, th, address, .prose li, .diamond-list li { overflow-wrap: anywhere; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, var(--fs-5)); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-3); line-height: 1.22; }
h4 { font-family: var(--font-body); font-size: var(--fs-2); letter-spacing: 0; }
strong { color: var(--ink); font-weight: 600; }
address { font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.measure { max-width: var(--measure); }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem); line-height: 1.6; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }

/* ---------- knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .72em 1.4em; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-0); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 56px; padding: .9em 1.8em; font-size: var(--fs-1); }
.btn:active { transform: translateY(1px); }
.band-slate .btn-ghost, .band-cta .btn-ghost { color: var(--on-slate); border-color: var(--on-slate); }
.band-slate .btn-ghost:hover, .band-cta .btn-ghost:hover { background: var(--on-slate); color: var(--slate); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--accent-deep); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- koptekst ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 248, .88); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
/* telefoon en e-mail in de menubalk: op brede schermen met tekst, daaronder als ronde iconen; in het uitklapmenu als rijen */
.header-contact { display: flex; align-items: center; gap: 2px; order: 3; margin-left: auto; }
.hc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: var(--fs-0); font-weight: 500; white-space: nowrap; transition: background .15s; }
.hc:hover { background: var(--paper); }
.hc svg { width: 18px; height: 18px; flex: none; color: var(--accent-deep); }
.hc span { display: none; }
@media (min-width: 1280px) { .hc-phone span { display: inline; } .hc-phone { padding: 0 12px; } }
.site-nav { order: 2; }
li.nav-item.nav-contact-row { display: none; }
.nav-contact-row .nav-link { display: flex; align-items: center; gap: 10px; }
.nav-contact-row svg { width: 18px; height: 18px; color: var(--accent-deep); }
.brand { flex: none; }
.brand img { width: 156px; height: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-block; white-space: nowrap; padding: 10px 10px; border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none; font-size: var(--fs-0); }
.nav-link:hover { background: var(--paper); color: var(--ink); }
.nav-item.is-current > .nav-link { background: var(--paper); color: var(--accent-deep); }
.nav-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: -8px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; }
.nav-sub-toggle svg { transition: transform .18s; }
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 380px; list-style: none; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: none; flex-direction: column; gap: 2px; }
.has-children:hover .nav-sub, .has-children:focus-within .nav-sub, .has-children.is-open .nav-sub { display: flex; }
.nav-sub a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-2); }
.nav-sub a strong { color: var(--ink); }
.nav-sub a span { font-size: var(--fs-0); color: var(--muted); }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--paper); }
li.nav-item.nav-cta { display: none; }
.header-cta { order: 4; flex: none; white-space: nowrap; }
.nav-toggle { display: none; align-items: center; gap: 10px; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
@media (max-width: 1080px) {
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: 140px; }
  .nav-toggle { display: inline-flex; }
  .header-contact { order: 0; gap: 8px; }
  .hc { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); background: #fff; }
  .hc span { display: none; }
  li.nav-item.nav-contact-row { display: flex; }
  .nav-contact-row + .nav-contact-row { border-bottom: 0; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 14px 4px; border-radius: 0; font-size: var(--fs-1); }
  .nav-link:hover, .nav-item.is-current > .nav-link { background: transparent; }
  .nav-sub { position: static; display: none; min-width: 0; width: 100%; border: 0; box-shadow: none; padding: 0 0 10px 12px; background: transparent; }
  .has-children:hover .nav-sub, .has-children:focus-within .nav-sub { display: none; }
  .has-children.is-open .nav-sub { display: flex; }
  li.nav-item.nav-cta { display: flex; margin: 14px 0 0; border-bottom: 0; }
  .header-cta { display: none; }
  .nav-cta .btn { width: 100%; }
}


@media (min-width: 1081px) and (max-width: 1200px) {
  .header-inner { gap: 14px; }
  .nav-link { padding: 10px 8px; }
  .header-cta { padding-left: 1.1em; padding-right: 1.1em; }
}

@media (max-width: 480px) {
  .brand img { width: 124px; }
  .nav-toggle { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .nav-toggle span:not(.nav-toggle-bars) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-contact { gap: 6px; }
}

/* ---------- beeldmotief: de bol en de vonken ---------- */
.orb { position: relative; border-radius: 50%; background: var(--orb); box-shadow: inset -18px -24px 60px rgba(232, 90, 26, .35), 0 30px 80px rgba(249, 147, 49, .25); }
.orb::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-30deg); }
.spark { position: absolute; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.spark.s2 { width: 7px; height: 7px; }
.spark.s3 { width: 13px; height: 13px; background: var(--sun); }
.orb-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--orb); vertical-align: middle; margin-right: 10px; box-shadow: inset -2px -3px 6px rgba(232,90,26,.5); }

/* ---------- secties ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.band { padding-block: var(--section); }
.band-paper { background: var(--paper); }
.band-slate { background: var(--slate); color: var(--on-slate); }
.band-slate h2, .band-slate h3 { color: #fff; }
.band-slate p { color: var(--on-slate); }
.band-slate a { color: var(--sun); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: var(--fs-2); }
.section-head .kicker { display: inline-flex; align-items: center; font-weight: 600; color: var(--accent-deep); font-size: var(--fs-0); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

.diamond-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.diamond-list li { position: relative; padding-left: 26px; }
.diamond-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); border-radius: 1px; }
.band-slate .diamond-list li::before { background: var(--sun); }
.mark-diamond { display: inline-block; width: 9px; height: 9px; margin-right: 12px; background: var(--accent); transform: rotate(45deg); vertical-align: middle; }
.mark-eu { display: inline-block; width: 11px; height: 11px; margin-right: 10px; vertical-align: middle; background: #003399; border-radius: 50%; box-shadow: inset 0 0 0 2px #FFCC00; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-0); font-weight: 500; color: var(--ink); white-space: nowrap; }
.pill-accent { background: var(--paper); border-color: var(--paper-deep); color: var(--accent-deep); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.hero-copy .lead { max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent-deep); font-size: var(--fs-0); }
.hero-kicker::before { content: ""; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.hero-visual { position: relative; min-height: 440px; }
.hero-visual .orb { position: absolute; right: -12%; top: 50%; width: min(520px, 90%); aspect-ratio: 1; transform: translateY(-50%); }
.hero-visual .spark.s1 { left: 6%; top: 18%; }
.hero-visual .spark.s2 { left: 12%; top: 30%; }
.hero-visual .spark.s3 { left: 2%; top: 32%; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: var(--fs-0); color: var(--ink); min-width: 0; }
.float-card .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; color: var(--accent-deep); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card small { display: block; color: var(--muted); font-weight: 400; }
.float-card strong { display: block; }
.fc-1 { left: 0; top: 8%; }
.fc-2 { left: 10%; top: 42%; }
.fc-3 { left: 2%; bottom: 10%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-visual .orb { animation: orb-in 1s cubic-bezier(.2,.7,.2,1) both; }
  .float-card { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .fc-1 { animation-delay: .35s; } .fc-2 { animation-delay: .5s; } .fc-3 { animation-delay: .65s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes orb-in { from { opacity: 0; transform: translateY(-50%) scale(.85); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; max-width: 560px; }
  .hero-visual .orb { right: -8%; width: min(380px, 80%); }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 340px; }
  .float-card { padding: 10px 12px; }
  .fc-2 { left: 0; }
}

/* ---------- systemen-marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; }
.marquee-track .pill { font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: slide 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track .is-clone { display: none; }
}
.marquee-label { text-align: center; font-size: var(--fs-0); color: var(--muted); padding-top: 14px; }

/* ---------- bento-raster ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: inherit; min-width: 0; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--paper-deep); }
.tile h3 { color: var(--ink); font-size: var(--fs-4); letter-spacing: -0.02em; }
.tile p { color: var(--ink-2); max-width: 46ch; }
.tile .link-arrow { margin-top: auto; }
.tile-ai { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, #fff 0%, var(--paper) 100%); }
.tile-koppel { grid-column: span 2; }
.tile-beheer { grid-column: span 2; }
.tile-bouw { grid-column: span 3; }
.tile-crm { grid-column: span 3; }
.tile-tag { align-self: flex-start; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-ai, .tile-koppel, .tile-beheer, .tile-bouw, .tile-crm { grid-column: span 2; grid-row: auto; }
}
@media (min-width: 640px) and (max-width: 1000px) {
  .tile-koppel, .tile-beheer { grid-column: span 1; }
}

/* mini-interface in de AI-tegel */
.mock-chat { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.bubble { padding: 12px 16px; border-radius: 16px; font-size: var(--fs-0); line-height: 1.5; }
.bubble-q { align-self: flex-end; background: var(--slate); color: #fff; border-bottom-right-radius: 4px; max-width: 80%; }
.bubble-a { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.bubble-a strong { color: var(--ink); }
.bubble-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--accent-deep); font-weight: 600; }
.bubble-src::before { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

/* mini-koppelschema in de koppelingen-tegel */
.mini-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.mini-links .pill { font-size: 13px; padding: 4px 10px; }
.mini-links .ln { width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

/* checklist in de beheer-tegel */
.mini-check { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-0); margin-top: 4px; }
.mini-check li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.mini-check li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); flex: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DB6538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }

/* ---------- het partnermodel: de stapel ---------- */
.stack-model { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.layers { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.layer { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.layer .ln { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); background: var(--paper); }
.layer .ln svg { width: 28px; height: 28px; }
.layer strong { display: block; font-size: var(--fs-2); color: var(--ink); }
.layer span { color: var(--ink-2); font-size: var(--fs-0); }
.layer-top { background: var(--slate); border-color: var(--slate); }
.layer-top strong { color: #fff; }
.layer-top span { color: var(--on-slate); }
.layer-top .ln { background: var(--accent); color: var(--ink); }
.layer-base { background: var(--paper); border-color: var(--paper-deep); }
.layer-base .ln { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .reveal .layer { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .reveal.in-view .layer { opacity: 1; transform: none; }
  .reveal.in-view .layer:nth-child(1) { transition-delay: 0s; }
  .reveal.in-view .layer:nth-child(2) { transition-delay: .15s; }
  .reveal.in-view .layer:nth-child(3) { transition-delay: .3s; }
  .reveal.in-view .layer:nth-child(4) { transition-delay: .45s; }
}
@media (max-width: 900px) { .stack-model { grid-template-columns: 1fr; } }

/* ---------- sectoren ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.sector-head { display: flex; align-items: center; gap: 14px; }
.sector-head .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; color: var(--accent-deep); flex: none; }
.sector-head .ic svg { width: 26px; height: 26px; }
.sector h3 { font-size: var(--fs-3); }
.sector .systems { display: flex; flex-wrap: wrap; gap: 6px; }
.sector .systems .pill { font-size: 13px; padding: 4px 10px; }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- vier vragen ---------- */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.question { padding: clamp(24px, 3vw, 44px); border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.question h3 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); color: #fff; letter-spacing: -0.02em; }
.question h3::before { content: ""; display: block; width: 36px; height: 4px; background: var(--accent); margin-bottom: 18px; border-radius: 2px; }
@media (max-width: 700px) { .questions { grid-template-columns: 1fr; } }

/* ---------- werkwijze ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: var(--line); }
.step { position: relative; padding-top: 36px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step::before { content: ""; position: absolute; left: 6px; top: 4px; width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 0 6px var(--ground); }
.band-paper .step::before { box-shadow: 0 0 0 6px var(--paper); }
.step-time { font-size: var(--fs-0); font-weight: 600; color: var(--accent-deep); }
.step h3 { font-size: var(--fs-3); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { left: 11px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .step { padding-top: 0; padding-left: 40px; }
  .step::before { left: 4px; top: 8px; }
}

/* ---------- bewijs: opdrachtgevers ---------- */
.proof { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; }
.client { display: flex; flex-direction: column; gap: 2px; }
.client strong { font-family: var(--font-display); font-size: var(--fs-3); color: var(--ink); letter-spacing: -0.01em; }
.client span { font-size: var(--fs-0); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 600; color: var(--ink); font-size: var(--fs-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--accent-deep); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 4px 22px; max-width: 64ch; }

/* ---------- pagina-kop ---------- */
.page-head { position: relative; padding-block: clamp(44px, 6vw, 88px) clamp(32px, 4vw, 56px); overflow: hidden; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.page-head-copy { display: flex; flex-direction: column; gap: 20px; }
.page-head .orb-side { position: relative; min-height: 300px; }
.page-head .orb-side .orb { position: absolute; right: -10%; top: 50%; transform: translateY(-50%); width: min(380px, 85%); aspect-ratio: 1; }
.page-head .orb-side .spark.s1 { left: 14%; top: 22%; }
.page-head .orb-side .spark.s2 { left: 22%; top: 32%; }
.page-head .orb-side .spark.s3 { left: 9%; top: 36%; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: 1fr; } .page-head .orb-side { min-height: 220px; max-width: 420px; } }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-0); color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }

/* ---------- tekstpagina's ---------- */
.prose { max-width: var(--measure); display: flex; flex-direction: column; gap: 1.1rem; }
.prose h2 { font-size: var(--fs-4); margin-top: 1.4rem; }
.prose h3 { font-size: var(--fs-3); margin-top: 1rem; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); border-radius: 1px; }
.prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose-wide { max-width: 820px; }
.callout { padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.note-todo { padding: 16px 20px; border: 2px dashed var(--accent); border-radius: var(--r-sm); color: var(--accent-deep); font-size: var(--fs-0); background: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .split, .split-rev { grid-template-columns: 1fr; } }
.aside-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; position: sticky; top: 106px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: var(--fs-2); font-family: var(--font-body); letter-spacing: 0; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.feature-list svg { flex: none; width: 24px; height: 24px; color: var(--accent-deep); margin-top: 3px; }
.feature-list strong { display: block; margin-bottom: 2px; }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.card h3 { font-size: var(--fs-2); font-family: var(--font-body); letter-spacing: 0; }
.card.is-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.card-for { color: var(--accent-deep); font-weight: 600; font-size: var(--fs-0); }
.card p { flex: 1; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 55%, #F9CFA0 100%); display: grid; place-items: center; }
.photo-tall { aspect-ratio: 3 / 4; }
.photo .photo-note { position: absolute; inset: auto 16px 16px 16px; padding: 10px 14px; background: rgba(255,255,255,.88); border-radius: var(--r-sm); font-size: var(--fs-0); color: var(--ink-2); }
.photo svg { width: 36%; max-width: 150px; opacity: .5; color: var(--accent-deep); }

/* ---------- nieuws ---------- */
.news-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; min-width: 0; }
.news-card time { font-size: var(--fs-0); color: var(--muted); }
.news-card h3 { font-size: var(--fs-2); line-height: 1.3; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--accent-deep); }
.news-card p { flex: 1; font-size: var(--fs-0); }
@media (max-width: 980px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-list { grid-template-columns: 1fr; } }

/* ---------- CTA-band ---------- */
.band-cta { background: var(--slate); color: var(--on-slate); position: relative; overflow: hidden; }
.band-cta::before { content: ""; position: absolute; right: -6%; top: -30%; width: 38vw; max-width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--orb); opacity: .9; pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.cta-text h2 { color: #fff; margin-bottom: 12px; max-width: 18ch; }
.cta-text p { color: var(--on-slate); max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } .band-cta::before { width: 60vw; right: -30%; top: auto; bottom: -40%; } }

/* ---------- formulier ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; color: var(--ink); font-size: var(--fs-0); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid #D9D1C6; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--accent-deep); outline: none; box-shadow: 0 0 0 3px rgba(249, 147, 49, .25); }
.field textarea { min-height: 150px; resize: vertical; }
.field-hint { font-size: var(--fs-0); color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-0); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-deep); flex: none; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink-2); display: none; }
.form-status.is-visible { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-details a { text-decoration: none; font-weight: 600; color: var(--ink); }
.contact-details a:hover { color: var(--accent-deep); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line svg { flex: none; width: 22px; height: 22px; color: var(--accent-deep); margin-top: 3px; }

/* ---------- voettekst ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: var(--fs-0); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 170px; height: auto; }
.footer-tagline { color: var(--ink-2); max-width: 36ch; }
.footer-brand address a, .footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-brand address a:hover, .footer-col a:hover { color: var(--accent-deep); }
.footer-legal { color: var(--muted); }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-1); letter-spacing: 0; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.marks li { display: flex; align-items: center; color: var(--ink-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-deep); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }

/* ---------- beeldmerk als zon (vervangt de CSS-bol in de koppen) ---------- */
.hero-visual .mark { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: min(560px, 96%); height: auto; filter: drop-shadow(0 30px 60px rgba(249, 147, 49, .28)); }
.mark-side { position: relative; min-height: 320px; }
.mark-side img { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: min(400px, 88%); height: auto; filter: drop-shadow(0 24px 48px rgba(249, 147, 49, .25)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .mark { animation: mark-in 1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes mark-in { from { opacity: 0; transform: translateY(-50%) scale(.9) rotate(-6deg); } to { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); } }
}
@media (max-width: 900px) { .mark-side { min-height: 240px; max-width: 420px; } }

/* ---------- opdrachtgevers ---------- */
.client-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.client-card .monogram { width: 56px; height: 56px; border-radius: 16px; background: var(--paper); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.client-card h3 { font-size: var(--fs-2); line-height: 1.25; }
.client-card .client-sector { font-size: var(--fs-0); color: var(--muted); }
.client-card p { font-size: var(--fs-0); color: var(--ink-2); }

/* ---------- pakkettentabel (partnerschap) ---------- */
.pkg-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.pkg { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--fs-0); }
.pkg th, .pkg td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pkg thead th { background: var(--slate); color: #fff; font-family: var(--font-display); font-size: var(--fs-2); font-weight: 700; letter-spacing: -0.01em; }
.pkg thead th:first-child { background: var(--slate); font-family: var(--font-body); font-size: var(--fs-0); font-weight: 500; color: var(--on-slate-muted); }
.pkg thead th small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--on-slate); margin-top: 4px; }
.pkg tbody th { font-weight: 500; color: var(--ink); width: 38%; }
.pkg td { color: var(--ink-2); }
.pkg td.yes::before { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DB6538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 12px no-repeat; vertical-align: -4px; margin-right: 6px; }
.pkg td.no { color: var(--muted); }
.pkg tbody tr:last-child th, .pkg tbody tr:last-child td { border-bottom: 0; }
.pkg tbody .is-featured { background: var(--paper); }
.pkg thead th.is-featured { background: var(--accent); color: var(--ink); }
.pkg thead th.is-featured small { color: var(--ink-2); }

/* ---------- echte afbeeldingen ---------- */
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-contain { background: #fff; border: 1px solid var(--line); }
.photo-contain img { object-fit: contain; padding: 6%; }
.news-card .thumb { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; margin: -26px -26px 6px; border-bottom: 1px solid var(--line); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-figure { max-width: 820px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 32px; }
.article-figure img { width: 100%; height: auto; display: block; }
.figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.figure img { width: 100%; height: auto; display: block; }
.badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.badges img { height: 96px; width: auto; display: block; }
.badges a { display: block; }

/* ---------- nieuwsartikel ---------- */
.article-body { font-size: var(--fs-1); }
.article-body h2 { font-size: var(--fs-4); margin-top: 1.6rem; }
.article-body p + p { margin-top: -0.2rem; }
.article-body .callout { margin-top: .4rem; }

/* ---------- klantlogo's ---------- */
/* opdrachtgevers: carousel, drie kaarten in beeld, scrollen met snap; knoppen in de kop */
.clients-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding: 2px 2px 6px; margin: -2px -2px 0; scrollbar-width: none; }
.clients-track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .clients-track { cursor: grab; } }
.clients-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.clients-track.is-dragging a, .clients-track img { -webkit-user-drag: none; user-select: none; }
.clients-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--r-lg); }
.clients-track > .client-card { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
@media (max-width: 1000px) { .clients-track > .client-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .clients-track > .client-card { flex-basis: 86%; } }
.carousel-nav { display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s, opacity .15s; }
.car-btn:hover:not(:disabled) { background: var(--paper); }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-btn svg { width: 20px; height: 20px; }
.client-card .client-logo { height: 56px; display: flex; align-items: center; transition: opacity .15s; }
a.client-logo:hover { opacity: .75; }
.client-card .client-logo img { max-height: 56px; width: auto; max-width: 220px; }
/* captcha */
.captcha-note { font-size: var(--fs-0); color: var(--muted); }

/* ---------- kaart (contact) ---------- */
.map-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.map { min-height: 380px; background: var(--paper); position: relative; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink); background:
  radial-gradient(circle at 50% 55%, rgba(249,147,49,.18) 0, rgba(249,147,49,0) 34%),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(64,64,80,.07) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(64,64,80,.07) 38px 39px), var(--paper); }
.map-fallback span { color: var(--ink-2); font-size: var(--fs-0); }
.map-pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--accent); border: 3px solid var(--ink); transform: rotate(-45deg); margin-bottom: 8px; }
.map-side { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.map-side h2 { font-size: var(--fs-3); }
.map-side .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 900px) { .map-card { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* contact: kaartblok bovenaan, breed formulier eronder */
.map-side .contact-details { gap: 10px; }
.map-side .contact-line svg { width: 20px; height: 20px; }
.map-side h2 { font-size: var(--fs-3); }
.form-wide { max-width: 820px; }

/* formulier: foutmeldingen */
.field-error { display: none; font-size: var(--fs-0); color: #B3261E; }
.field-error:not(:empty) { display: block; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.field input::placeholder, .field textarea::placeholder { color: #A8A39B; }
