/* Routli website: gedeelde vormgeving voor de voorpagina en de 404.
   Huisstijl: wit papier, Deep Black #111827, groen #047857 zuinig,
   Plus Jakarta Sans (koppen) en Roboto (tekst). */

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --paper: #F3F4F6;
  --surface: #FFFFFF;
  --surface-2: #F6F7F9;
  --text: #111827;
  --muted: #4B5563;
  --dim: #6B7280;
  --accent: #047857;
  --accent-deep: #065F46;
  --accent-tint: rgba(4,120,87,0.07);
  --accent-tint2: rgba(4,120,87,0.16);
  --border: #E5E7EB;
  --border2: #D1D5DB;
  --shadow-sm: 0 1px 2px rgba(17,24,39,0.06);
  --shadow: 0 1px 3px rgba(17,24,39,0.06), 0 14px 36px rgba(17,24,39,0.08);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --breed: 1200px;
  --rand: 32px;
  --nav: 72px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.6; background: var(--surface); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); overflow-wrap: break-word; text-wrap: balance; }
.wrap { width: min(var(--breed), 100% - 2 * var(--rand)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-groen { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(4,120,87,0.22); }
.btn-groen:hover { background: var(--accent-deep); }
.btn-wit { background: var(--surface); color: var(--text); border-color: var(--border2); }
.btn-wit:hover { border-color: var(--text); }
.btn-groot { height: 56px; padding: 0 30px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Menu */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav); background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.nav-logo { display: inline-flex; text-decoration: none; flex: none; }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a { white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; opacity: .78; transition: opacity .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; color: var(--accent); }
.nav-demo-mobiel { display: none; }
.nav-rechts { display: flex; align-items: center; gap: 22px; }
.nav-inloggen { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }
.nav-inloggen:hover { color: var(--accent); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.mobiel-menu { display: none; }

/* Tuimelend huisje op de i van het menulogo */
.rlw-logo { position: relative; width: 116px; aspect-ratio: 738 / 240; display: block; }
.rlw-img { display: block; width: 100%; height: 100%; }
.rlw-hpos { position: absolute; left: 96.41%; top: 15%; width: 7.05%; height: 18.75%; transform: translateX(-50%); }
.rlw-house { position: absolute; inset: 0; transform-origin: 50% 50%; animation: rlwTumble 1.1s .35s both; }
.rlw-svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible; }
.rlw-door { transform-box: fill-box; transform-origin: 0% 50%; animation: rlwDoor .6s cubic-bezier(.3,.9,.4,1) .77s both; }
.rlw-glow { position: absolute; left: 50%; top: 74%; width: 190%; height: 190%; transform: translate(-50%,-50%) scale(.3); background: radial-gradient(closest-side, rgba(4,120,87,.42), rgba(4,120,87,0)); border-radius: 50%; opacity: 0; z-index: 0; animation: rlwGlow .5s ease 1.2s both; }
@keyframes rlwTumble {
  0%   { transform: translateY(-24px) rotate(180deg) scale(1,1); opacity: 0; animation-timing-function: cubic-bezier(.4,0,.8,.4); }
  12%  { opacity: 1; }
  38%  { transform: translateY(1px) rotate(196deg) scale(1.08,.88); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  62%  { transform: translateY(-11px) rotate(300deg) scale(.95,1.06); }
  82%  { transform: translateY(0) rotate(360deg) scale(1.09,.9); animation-timing-function: cubic-bezier(.3,1.25,.5,1); }
  92%  { transform: translateY(-3px) rotate(360deg) scale(.98,1.03); }
  100% { transform: translateY(0) rotate(360deg) scale(1,1); }
}
@keyframes rlwDoor { 0%{transform:scaleX(1)} 45%{transform:scaleX(.04)} 68%{transform:scaleX(.30)} 85%{transform:scaleX(.05)} 100%{transform:scaleX(0)} }
@keyframes rlwGlow { from{opacity:0;transform:translate(-50%,-50%) scale(.3)} to{opacity:.38;transform:translate(-50%,-50%) scale(1)} }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rlw-house { animation: none; }
  .rlw-door { animation: none; transform: scaleX(0); }
  .rlw-glow { animation: none; opacity: .38; transform: translate(-50%,-50%) scale(1); }
}

/* Secties */
.sectie { padding: 112px 0; }
.sectie.grijs { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.label { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kop { max-width: 760px; margin-bottom: 56px; }
.kop.midden { margin-inline: auto; text-align: center; }
.kop h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.kop p { margin-top: 18px; font-size: 20px; line-height: 1.6; color: var(--muted); }
.kop p a { color: var(--accent); font-weight: 600; }

/* Hero */
.hero { padding: calc(var(--nav) + 72px) 0 96px; background: radial-gradient(1100px 560px at 82% 18%, rgba(4,120,87,0.07), transparent 62%), var(--surface); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 40px; }
.hero-slogan { display: block; font-size: clamp(44px, 5.4vw, 72px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.hero-slogan em { display: block; font-style: normal; color: var(--accent); }
.hero-knoppen { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.feiten { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; list-style: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.feiten svg { margin-top: 2px; }
.feiten li { display: flex; align-items: flex-start; gap: 8px; }
.feiten svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Toestellen in de kop (recht, niet gekanteld: dat houdt de schermen scherp) */
.toestellen { position: relative; height: 470px; }
.tablet-mockup { position: absolute; top: 0; right: 0; width: 560px; height: 372px; background: #0b0d12; border-radius: 22px; padding: 8px; box-shadow: -18px 26px 60px rgba(17,24,39,0.20); }
.tablet-mockup img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 14px; }
.phone-mockup { position: absolute; left: 0; bottom: 0; width: 236px; height: 480px; background: #0b0d12; border-radius: 32px; padding: 7px; box-shadow: -14px 22px 52px rgba(17,24,39,0.26); z-index: 2; }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 25px; }

/* Kaarten en rasters */
.raster { display: grid; gap: 24px; }
.raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kaart { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.kaart h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.01em; }
.kaart p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.kaart p + p { margin-top: 10px; }
.icoon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); border: 1px solid var(--accent-tint2); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.icoon svg { width: 22px; height: 22px; }
.kaart .meer { display: inline-flex; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; }
.kaart .meer:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Stappen */
.stappen { counter-reset: stap; }
.stap { position: relative; padding-top: 72px; }
.stap::before { counter-increment: stap; content: counter(stap); position: absolute; top: 32px; left: 32px; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.stap.kaart { padding-top: 96px; }
.stap a { color: var(--accent); font-weight: 600; }

/* Rollen */
.rol-lijst { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.rol-lijst li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.rol-lijst li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.rol-naam { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* Datalagen */
.lagen-rij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin-inline: auto; }
.laag { text-align: center; }
.laag-phone { width: 100%; max-width: 270px; margin-inline: auto; aspect-ratio: 9 / 19; border-radius: 32px; padding: 7px; background: #0b0d12; box-shadow: var(--shadow); }
.laag-phone img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 25px; }
.laag h3 { font-size: 20px; margin: 24px 0 6px; }
.laag p { font-size: 16px; color: var(--muted); line-height: 1.55; max-width: 300px; margin-inline: auto; }
.bronnen { margin-top: 48px; text-align: center; font-size: 15px; color: var(--dim); }
.bronnen strong { color: var(--muted); font-weight: 600; }

/* Video */
.video-kader { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--paper); border: 1.5px solid var(--text); box-shadow: var(--shadow); }
.video-kader video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 30px rgba(4,120,87,.35); transition: transform .15s, background .2s; }
.video-play:hover { transform: translateY(-1px); background: var(--accent-deep); }
.video-play .rond { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.video-play svg { width: 18px; height: 18px; margin-left: 3px; }
.video-play .duur { font-weight: 600; opacity: .85; }
.video-kader.speelt .video-play { display: none; }
.video-tekst { max-width: 1040px; margin: 20px auto 0; }
.video-tekst summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); }
.video-tekst p { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 760px; }

/* Veelgestelde vragen */
.vragen { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--border); }
.vraag { border-bottom: 1px solid var(--border); }
.vraag summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text); }
.vraag summary::-webkit-details-marker { display: none; }
.vraag summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.vraag[open] summary::after { transform: rotate(45deg); }
.vraag summary:hover { color: var(--accent); }
.vraag .antwoord { padding: 0 4px 26px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 760px; }
.vraag .antwoord a { color: var(--accent); font-weight: 600; }

/* Contact (licht, donkere vlakken zijn eerder afgewezen) */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; background: radial-gradient(900px 400px at 100% 0%, rgba(4,120,87,0.09), transparent 60%), var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 64px; box-shadow: var(--shadow); }
.contact h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
.contact p { color: var(--muted); font-size: 18px; }
.contact p + p { margin-top: 12px; }
.contact-knoppen { display: grid; gap: 14px; }
.contact .btn { height: 60px; font-size: 17px; justify-content: flex-start; padding: 0 24px; }
.contact .klein { font-size: 15px; color: var(--dim); margin-top: 4px; }

/* Voettekst */
.voet { border-top: 1px solid var(--border); padding: 72px 0 36px; background: var(--surface); font-size: 15px; }
.voet-raster { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.voet-logo { width: 118px; height: auto; margin-bottom: 16px; }
.voet-over { color: var(--muted); max-width: 300px; line-height: 1.6; }
.voet h3 { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.voet ul { list-style: none; display: grid; gap: 10px; color: var(--muted); }
.voet a { color: var(--muted); text-decoration: none; }
.voet a:hover { color: var(--accent); }
.voet-onder { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 14px; }

/* Tekstpagina's (404) */
.pagina-kop { padding: calc(var(--nav) + 80px) 0 72px; background: radial-gradient(1000px 520px at 85% 0%, rgba(4,120,87,0.07), transparent 62%), var(--surface); }
.pagina-kop h1 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; max-width: 900px; margin-bottom: 22px; }
.pagina-kop p { font-size: 20px; color: var(--muted); max-width: 760px; }
.pagina-kop .hero-knoppen { margin: 34px 0 0; }
.tekst { max-width: 760px; }
.tekst h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 18px; }
.tekst p { color: var(--muted); margin-bottom: 16px; }
.tekst ul { margin: 0 0 16px 22px; color: var(--muted); }
.tekst li { margin-bottom: 8px; }
.tekst a { color: var(--accent); font-weight: 600; }
.branche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; padding: 64px 0; border-top: 1px solid var(--border); }
.branche:first-of-type { border-top: 0; padding-top: 0; }
.branche h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.branche .label { margin-bottom: 10px; }
.branche p { color: var(--muted); margin-bottom: 14px; }
.branche ul { list-style: none; display: grid; gap: 12px; }
.branche li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: 16px; color: var(--muted); }
.branche li strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; }

/* Rustige kolommen zonder kader */
.punten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.punt h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.punt p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.punt .icoon { margin-bottom: 18px; }

/* Kop links, inleiding rechts */
.kop.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.kop.split p { margin-top: 0; }

/* Functies: rijen met tekst en een echt app-scherm */
.functies { display: grid; gap: 104px; }
.functie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.functie.om .functie-beeld { order: -1; }
.functie h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
.functie p { font-size: 18px; line-height: 1.65; color: var(--muted); }
.functie .rol-lijst { margin-top: 22px; }
.functie-beeld { display: flex; justify-content: center; }
.lagen-rij.twee { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }

/* Vinklijst (veiligheid) */
.vinklijst { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.vinklijst li { position: relative; padding-left: 40px; }
.vinklijst li::before { content: ''; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.vinklijst strong { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.vinklijst span { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Brede band (maatwerk) */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.band .kop { margin-bottom: 0; }
.band-lijst { display: grid; gap: 28px; }
.band-lijst div { padding-left: 20px; border-left: 3px solid var(--accent-tint2); }
.band-lijst h3 { font-size: 19px; margin-bottom: 6px; }
.band-lijst p { color: var(--muted); font-size: 16px; line-height: 1.65; }


/* ---------- Illustraties en levendige details ---------- */
.illus { display: block; width: 100%; height: auto; }
.illus text { font-family: var(--font-display); }

/* Zwevende labels rond de toestellen in de kop */
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 32px rgba(17,24,39,0.13); line-height: 1.25; white-space: nowrap; animation: zweef 6s ease-in-out infinite; }
.chip b { display: block; font-family: var(--font-display); font-size: 14px; color: var(--text); }
.chip small { display: block; color: var(--dim); font-size: 12.5px; }
.chip-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.chip-ico svg { width: 18px; height: 18px; }
.chip-1 { top: -30px; left: 262px; }
.chip-2 { top: 168px; right: -30px; animation-delay: -2s; }
.chip-3 { bottom: -22px; left: 262px; animation-delay: -4s; }
.hero-pijl { position: absolute; left: -104px; bottom: 92px; width: 96px; color: var(--accent); z-index: 3; }
@keyframes zweef { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

/* Strook met branches onder de kop */

/* Kaarten met een illustratie bovenin */
.illus-kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.illus-kaart { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 12px 12px 30px; box-shadow: var(--shadow-sm); }
.illus-vlak { border-radius: 14px; background: linear-gradient(180deg, #EFF6F2 0%, #F8FBF9 100%); border: 1px solid #E6EFEA; overflow: hidden; margin-bottom: 24px; }
.illus-kaart h3 { font-size: 21px; font-weight: 700; margin: 0 16px 10px; }
.illus-kaart p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 16px; }

/* Stappen met lijntekeningen en een stippellijn ertussen */
.stappen-illus { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; text-align: center; }
.stappen-lijn { position: absolute; top: 0; left: 16.66%; width: 66.66%; height: 210px; z-index: 0; overflow: visible; }
.stap-i { position: relative; z-index: 1; }
.stap-beeld { width: 210px; height: 210px; margin: 0 auto 24px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(17,24,39,0.07); display: grid; place-items: center; }
.stap-beeld svg { width: 150px; height: auto; }
.stap-nr { display: inline-block; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-tint); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.stap-i h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.stap-i p { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 330px; margin-inline: auto; }
.stap-i p a { color: var(--accent); font-weight: 600; }

/* Rol-icoon in de kaarten van Voor wie */
.rol-beeld { width: 64px; height: 64px; border-radius: 18px; background: var(--accent-tint); border: 1px solid var(--accent-tint2); display: grid; place-items: center; margin-bottom: 20px; }
.rol-beeld svg { width: 36px; height: 36px; }

/* Tekening boven elke branchekaart */

/* Nagemaakt instellingenkaartje bij Maatwerk */
.modules { position: relative; margin-top: 40px; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 44px rgba(17,24,39,0.10); padding: 18px 20px 8px; }
.modules-kop { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.modules-kop b { font-family: var(--font-display); font-size: 16px; }
.modules-kop small { font-size: 13px; color: var(--dim); }
.module { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F1F2F4; font-size: 15px; font-weight: 500; }
.module:last-child { border-bottom: 0; }
.module svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.module span { margin-right: auto; }
.schakel { width: 40px; height: 24px; border-radius: 999px; background: var(--border2); position: relative; flex: none; }
.schakel::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.schakel.aan { background: var(--accent); }
.schakel.aan::after { left: 19px; }
.module { position: relative; }
.module .hand { position: absolute; right: -36px; bottom: -16px; width: 44px; height: 44px; color: inherit; z-index: 2; }
.module-eigen { margin: 8px -8px 12px; padding: 10px 10px; border: 1.5px dashed var(--accent-tint2); border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); font-weight: 600; }
.module-eigen em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* Veiligheid: schild naast de vinklijst */
.veilig-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 56px; align-items: center; }
.veilig-beeld svg { max-width: 300px; margin-inline: auto; }


/* Agenda-illustratie in het demoblok */
.contact-beeld { width: 76px; margin-bottom: 18px; }

/* Voor wie: kop met de laptop (wijken verdelen) */
.wie-kop { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: center; margin-bottom: 64px; }
.wie-kop .kop { margin-bottom: 0; }
.wie-kop .kop p, .wie-wijk p { text-wrap: pretty; }
.wie-wijk { position: relative; display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; max-width: 400px; }
.wie-wijk p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.wie-wijk b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--text); margin-bottom: 2px; }
.wie-laptop { position: relative; }
.wie-pijl { position: absolute; left: calc(100% + 10px); top: -38px; width: 96px; color: var(--accent); transform: scaleY(-1); z-index: 2; }
.laptop-toestel { width: 100%; max-width: 720px; margin-left: auto; filter: drop-shadow(0 28px 36px rgba(17,24,39,0.16)); }
.laptop-scherm { position: relative; margin: 0 7.5%; padding: 2.4% 2.4% 2.8%; background: #0B0F19; border-radius: 16px 16px 4px 4px; box-shadow: inset 0 0 0 1.5px #2B3445; }
.laptop-scherm::before { content: ""; position: absolute; top: 0.9%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2B3445; }
.laptop-scherm img { display: block; width: 100%; height: auto; border-radius: 3px; }
.laptop-voet { position: relative; height: clamp(10px, 1.3vw, 17px); background: linear-gradient(180deg, #F3F4F6 0%, #D1D5DB 45%, #9CA3AF 100%); border-radius: 2px 2px 14px 14px / 2px 2px 10px 10px; }
.laptop-voet::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%); background: #C4C9D1; border-radius: 0 0 8px 8px; }

/* Inzichten: zes kaarten met een tekening en een nummer */
.inzichten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.inzicht { padding: 28px 28px 30px; }
.inzicht-kop { display: flex; align-items: flex-start; justify-content: space-between; margin: -4px 0 18px -14px; }
.inzicht-kop .illus { width: 128px; }
.inzicht-nr { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--border2); line-height: 1; }

/* Responsief */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .voet-raster { grid-template-columns: repeat(3, 1fr); }
  .voet-merk { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .hero-pijl { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding-bottom: 72px; }
  .toestellen { width: 600px; max-width: 100%; margin-inline: auto; }
}
@media (max-width: 1024px) {
  .inzichten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wie-kop { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-bottom: 48px; }
  .wie-pijl { display: none; }
  .laptop-toestel { margin-inline: auto; }
  .functie { gap: 48px; }
  .band { grid-template-columns: 1fr; gap: 36px; }
  .raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
  .branche { grid-template-columns: 1fr; gap: 24px; }
}
/* Menu: onder 1080px past de volledige menubalk niet meer, dan het uitklapmenu */
@media (max-width: 1080px) {
  .nav-links, .nav-rechts { display: none; }
  .nav-toggle { display: flex; margin-left: 8px; }
  .nav-demo-mobiel { display: inline-flex; margin-left: auto; height: 38px; padding: 0 14px; font-size: 14px; }
  .mobiel-menu { display: flex; flex-direction: column; position: fixed; top: var(--nav); left: 0; right: 0; z-index: 99; background: #fff; border-bottom: 1px solid var(--border); padding: 8px var(--rand) 24px; transform: translateY(-130%); transition: transform .3s ease; pointer-events: none; box-shadow: var(--shadow); }
  .mobiel-menu.open { transform: translateY(0); pointer-events: auto; }
  .mobiel-menu a:not(.btn) { padding: 15px 2px; font-size: 17px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
  .mobiel-menu .btn { margin-top: 18px; }
}
@media (max-width: 900px) {
  .illus-kaarten, .stappen-illus { grid-template-columns: 1fr; gap: 40px; }
  .stappen-lijn { display: none; }
  .veilig-grid { grid-template-columns: 1fr; gap: 32px; }
  .veilig-beeld svg { max-width: 220px; }
  .raster-3 { grid-template-columns: 1fr; }
  .lagen-rij { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--rand) 16px; margin-inline: calc(-1 * var(--rand)); scrollbar-width: none; }
  .lagen-rij::-webkit-scrollbar { display: none; }
  .laag { flex: 0 0 min(250px, 72vw); scroll-snap-align: center; }
  .punten { grid-template-columns: 1fr; gap: 32px; }
  .kop.split { grid-template-columns: 1fr; }
  .functie, .functie.om { grid-template-columns: 1fr; gap: 32px; }
  .functie .functie-beeld, .functie.om .functie-beeld { order: 2; }
  .functies { gap: 72px; }
  .vinklijst { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 768px) {
  .inzichten { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .inzicht-kop .illus { width: 112px; }
  .chip, .hero-pijl { display: none; }
  .stap-beeld { width: 170px; height: 170px; }
  .stap-beeld svg { width: 124px; }
  .module .hand { right: -26px; }
  :root { --rand: 20px; --nav: 64px; }
  body { font-size: 16px; }
  .sectie { padding: 72px 0; }
  .kop { margin-bottom: 40px; }
  .kop p, .pagina-kop p { font-size: 18px; }
  .hero { padding: calc(var(--nav) + 40px) 0 64px; }
  .hero-slogan { font-size: clamp(38px, 11vw, 52px); }
  .hero-knoppen .btn { flex: 1 1 100%; }
  .feiten { flex-direction: column; gap: 8px; }
  .video-play .tekst { display: none; }
  .toestellen { height: auto; display: flex; justify-content: center; align-items: center; padding: 8px 0; }
  .tablet-mockup, .phone-mockup { position: relative; top: auto; right: auto; left: auto; bottom: auto; }
  .phone-mockup { width: 132px; height: 270px; padding: 5px; border-radius: 22px; margin-right: -22px; }
  .phone-mockup img { border-radius: 17px; }
  .tablet-mockup { width: 214px; height: 144px; padding: 5px; border-radius: 14px; }
  .tablet-mockup img { border-radius: 9px; }
  .raster-4, .raster-2 { grid-template-columns: 1fr; }
  .kaart { padding: 26px 22px; }
  .stap.kaart { padding-top: 84px; }
  .stap::before { left: 22px; top: 26px; }
  .video-kader { border-radius: 14px; }
  .video-play { left: 12px; bottom: 12px; height: 46px; font-size: 15px; padding: 0 16px 0 6px; }
  .video-play .rond { width: 34px; height: 34px; }
  .vraag summary { font-size: 17px; padding: 20px 2px; }
  .contact { padding: 32px 22px; border-radius: 18px; }
  .voet-raster { grid-template-columns: 1fr 1fr; gap: 32px; }
  .voet-onder { flex-direction: column; }
  .pagina-kop { padding: calc(var(--nav) + 44px) 0 48px; }
  .branche { padding: 44px 0; }
}
@media (max-width: 400px) {
  .nav .wrap { gap: 10px; }
  .rlw-logo { width: 100px; }
  .nav-demo-mobiel { padding: 0 12px; }
  .phone-mockup { width: 116px; height: 238px; margin-right: -18px; }
  .tablet-mockup { width: 190px; height: 128px; }
}

/* Inzichten op de telefoon: tekening links naast de tekst, zo blijft het blok kort */
@media (max-width: 600px) {
  .inzicht { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px 18px 22px; }
  .inzicht-kop { grid-row: 1 / span 2; margin: -6px 0 0 -10px; }
  .inzicht-kop .illus { width: 86px; }
  .inzicht-nr { display: none; }
  .inzicht h3 { font-size: 18px; margin-bottom: 6px; }
  .inzicht p { font-size: 15px; line-height: 1.6; }
}

/* Beginscherm op de telefoon: gecentreerd, knoppen onder elkaar, toestellen groot en overlappend */
@media (max-width: 768px) {
  .hero { padding: calc(var(--nav) + 36px) 0 56px; }
  .hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .hero .wrap > div:first-child { display: contents; }
  .hero h1 { order: 1; margin-bottom: 20px; }
  .hero-slogan { font-size: clamp(36px, 10.4vw, 48px); }
  .feiten { order: 2; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 15px; margin-bottom: 30px; width: fit-content; max-width: min(100%, 300px); text-align: left; }
  .hero-knoppen { order: 3; flex-direction: column; align-items: center; gap: 12px; width: 100%; margin-bottom: 40px; }
  .hero-knoppen .btn { flex: none; width: min(100%, 290px); height: 54px; padding: 0 22px; }
  .toestellen { order: 4; text-align: left; position: relative; display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 1.447; margin: 0 auto; padding: 0; }
  .tablet-mockup, .phone-mockup { position: absolute; margin: 0; }
  .tablet-mockup { left: 0; top: 11.5%; right: auto; bottom: auto; width: 80%; height: auto; aspect-ratio: 1.505; padding: 5px; border-radius: 14px; }
  .tablet-mockup img { border-radius: 9px; }
  .phone-mockup { right: 0; top: 0; left: auto; bottom: auto; width: 34%; height: auto; aspect-ratio: 0.4917; padding: 5px; border-radius: 22px; }
  .phone-mockup img { border-radius: 17px; }
  .toestellen .chip-1, .toestellen .chip-3 { display: flex; padding: 6px 12px 6px 6px; gap: 8px; border-radius: 12px; }
  .toestellen .chip-ico { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
  .toestellen .chip-ico svg { width: 15px; height: 15px; }
  .toestellen .chip b { font-size: 12.5px; }
  .toestellen .chip small { font-size: 11px; }
  .toestellen .chip-1 { top: -14px; left: 6%; right: auto; bottom: auto; }
  .toestellen .chip-3 { bottom: -12px; left: 28%; right: auto; top: auto; }
}
