/* JIP Bouwplaats: website */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--zon); overflow-x: hidden; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
h1, h2, h3 { font-family: var(--f-kop); color: var(--denim); }
.tag { display: inline-block; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--geel); background: var(--asfalt); padding: 5px 10px; border-radius: 5px; text-transform: uppercase; }
.tag.geel { background: var(--geel); color: var(--asfalt); }
.tag.blauw { background: transparent; color: var(--blauw); padding: 0; }
.sectie-kop { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.sectie-kop h2 { margin: 0; font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; }
.sectie-kop p { margin: 0; font-size: 18px; line-height: 1.55; color: #333C4D; max-width: 640px; }
.raster { background-image: linear-gradient(rgba(47,95,168,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(47,95,168,.08) 1px, transparent 1px); background-size: 32px 32px; }
.raster-wit { background-color: var(--blauw); background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 32px 32px; }

/* ---------- Header ---------- */
.site-lint { height: 14px; background-image: repeating-linear-gradient(-45deg, var(--geel) 0 14px, var(--asfalt) 14px 28px); }
.kop { position: sticky; top: 0; z-index: 50; background: var(--zon); border-bottom: 2.5px solid var(--asfalt); }
.kop-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.kop-logo { text-decoration: none; padding-top: 14px; font-size: 40px; display: inline-flex; background: none; border: 0; cursor: pointer; }
.kop-logo .jip-logo { color: var(--denim); }
.hoofdnav { display: flex; align-items: center; gap: 2px; }
.hoofdnav a { font-weight: 700; font-size: 16px; text-decoration: none; color: var(--denim); padding: 12px 12px; border-radius: 12px; transition: background-color .15s; }
.hoofdnav a:hover { background: var(--zand); }
.hoofdnav a.knop { margin-left: 8px; padding: 10px 18px; color: var(--asfalt); }
.hoofdnav a.knop:hover { background: var(--geel); }
.menu-knop { display: none; }
.voortgangslint { position: absolute; left: 0; bottom: -2.5px; height: 6px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background-image: repeating-linear-gradient(-45deg, var(--oranje) 0 8px, var(--asfalt) 8px 16px); }
@media (max-width: 899px) {
  .menu-knop { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; font-family: var(--f-kop); font-weight: 600; font-size: 17px; background: var(--geel); color: var(--asfalt); border: 2.5px solid var(--asfalt); border-radius: 14px; box-shadow: 0 3px 0 var(--asfalt); }
  .hoofdnav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--zon); border-bottom: 2.5px solid var(--asfalt); padding: 8px 20px 18px; transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none; transition: transform .25s var(--uit), opacity .2s; }
  .hoofdnav.open { transform: none; opacity: 1; pointer-events: auto; }
  .hoofdnav a { padding: 14px 8px; border-bottom: 2px dashed var(--zand-rand); border-radius: 0; }
  .hoofdnav a.knop { margin: 14px 0 0; border-radius: 16px; border-bottom: 2.5px solid var(--asfalt); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 64px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.05fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 90px; } }
.hero-tekst { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(46px, 6.4vw, 84px); line-height: 1.0; }
.hero h1 .markeer { background: var(--geel); border-radius: 14px; padding: 0 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline-block; transform-origin: left center; }
.hero h1 .regel { display: block; overflow: hidden; padding-bottom: 4px; }
.hero h1 .regel > span { display: inline-block; transform: translateY(110%); animation: regel-op .8s var(--uit) forwards; }
.hero h1 .regel:nth-child(2) > span { animation-delay: .15s; }
@keyframes regel-op { to { transform: none; } }
.hero p.lead { margin: 0; max-width: 540px; font-size: 20px; line-height: 1.5; color: #333C4D; }
.knoppen { display: flex; gap: 14px; flex-wrap: wrap; }
.knoppen .knop { min-height: 58px; font-size: 19px; padding: 12px 22px; box-shadow: 0 5px 0 var(--asfalt); }
.vinkjes { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: #333C4D; }
.vinkjes span { display: inline-flex; align-items: center; gap: 6px; }
.vinkjes .ic { color: var(--groen); }

.scene-houder { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 500 / 520; }
.scene { position: absolute; left: 0; top: 0; width: 500px; height: 520px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.kraan { position: absolute; inset: 0; width: 500px; height: 520px; overflow: visible; }
.kraan .lijn { fill: none; stroke: var(--asfalt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.kraan .dun { stroke-width: 2; }
.scene.start .kraan .lijn { animation: teken 1.3s var(--uit) forwards; }
.scene.start .kraan .lijn.l2 { animation-delay: .25s; }
.scene.start .kraan .lijn.l3 { animation-delay: .5s; }
@keyframes teken { to { stroke-dashoffset: 0; } }
.kraan .cabine, .kraan .loopkat, .kraan .contra { opacity: 0; transition: opacity .4s .9s; }
.scene.start .kraan .cabine, .scene.start .kraan .loopkat, .scene.start .kraan .contra { opacity: 1; }
.kabel { position: absolute; left: 249px; top: 66px; width: 3px; height: 124px; background: var(--asfalt); transform-origin: top; transform: scaleY(0); }
.haak { position: absolute; left: 238px; top: 176px; width: 26px; height: 22px; transform: translateY(-124px); opacity: 0; }
.bord {
  position: absolute; left: 100px; top: 190px; width: 300px; z-index: 3;
  background: var(--geel); border: 3px solid var(--asfalt); border-radius: 26px; box-shadow: 8px 8px 0 var(--asfalt);
  padding: 24px 24px 18px; display: flex; flex-direction: column; gap: 9px; height: 232px; overflow: hidden; transform: translateY(-124px) rotate(-4deg); opacity: 0;
}
.bord .bout { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--asfalt); }
.bord .bout.a { left: 11px; top: 11px; } .bord .bout.b { right: 11px; top: 11px; } .bord .bout.c { left: 11px; bottom: 11px; } .bord .bout.d { right: 11px; bottom: 11px; }
.scene.start .kabel { animation: kabel-zak 1.7s cubic-bezier(.45,.05,.3,1) forwards 1s, kabel-op .7s var(--uit) forwards 3s; }
.scene.start .bord { animation: bord-zak 1.7s cubic-bezier(.45,.05,.3,1) forwards 1s, landen .45s var(--veer) 2.7s; }
.scene.start .haak { animation: haak-zak 1.7s cubic-bezier(.45,.05,.3,1) forwards 1s, haak-op .7s var(--uit) forwards 3s; }
@keyframes kabel-zak { 0% { transform: scaleY(0); } 10% { transform: scaleY(.0); } 100% { transform: scaleY(1); } }
@keyframes kabel-op { from { transform: scaleY(1); } to { transform: scaleY(.12); } }
@keyframes bord-zak { 0% { transform: translateY(-124px) rotate(-4deg); opacity: 0; } 10% { opacity: 1; transform: translateY(-124px) rotate(-4deg); } 55% { transform: translateY(-50px) rotate(3deg); } 80% { transform: translateY(-8px) rotate(-1.5deg); } 100% { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes landen { 0% { transform: translateY(0); } 35% { transform: translateY(5px) scale(1.02, .97); } 100% { transform: none; } }
@keyframes haak-zak { 0% { transform: translateY(-124px); opacity: 0; } 10% { opacity: 1; transform: translateY(-124px); } 100% { transform: translateY(0); opacity: 1; } }
@keyframes haak-op { from { transform: translateY(0); } to { transform: translateY(-110px); } }
.bord-code { display: flex; align-items: center; gap: 10px; }
.bord-code .veld { flex: 1; min-width: 0; font-family: var(--f-mono); font-weight: 700; font-size: 34px; letter-spacing: 3px; line-height: 1; color: var(--asfalt); background: var(--zon); border: 2.5px solid var(--asfalt); border-radius: 12px; padding: 8px 12px; min-height: 54px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.bord-code .veld .cursor { display: inline-block; width: 3px; height: 30px; background: var(--asfalt); margin-left: 3px; animation: knipper 1s steps(1) infinite; }
@keyframes knipper { 50% { opacity: 0; } }
.bord-code .merk { font-family: var(--f-kop); font-weight: 600; font-size: 14px; background: var(--asfalt); color: var(--geel); border-radius: 8px; padding: 4px 8px; flex: none; }
.bord-titel { font-family: var(--f-kop); font-weight: 700; font-size: 22px; line-height: 1.1; color: var(--asfalt); height: 48px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bord-stappen { display: grid; gap: 4px; font-size: 14.5px; font-weight: 700; color: var(--asfalt); height: 74px; }
.bord-stappen span { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.bord-stappen i { font-style: normal; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bord-stappen b { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--blauw); color: #fff; font-family: var(--f-kop); font-size: 12px; display: inline-grid; place-items: center; }
.bord-bron { align-self: flex-start; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--denim); background: var(--lichtblauw); border: 1.5px solid var(--denim); border-radius: 8px; padding: 4px 8px; }
.bord .fade { transition: opacity .25s; }
.bord .fade.uit { opacity: 0; }
.paal { position: absolute; top: 410px; width: 22px; height: 98px; background: var(--blauw); border: 2.5px solid var(--asfalt); border-radius: 6px; z-index: 2; }
.paal.l { left: 160px; } .paal.r { left: 318px; }
.grond { position: absolute; left: -20px; right: -20px; top: 505px; height: 3px; background: var(--asfalt); border-radius: 2px; }
.scene-lint { position: absolute; left: -10px; right: 40px; top: 448px; height: 30px; z-index: 4; transform: rotate(-3deg); background-image: repeating-linear-gradient(-45deg, var(--rood) 0 14px, #fff 14px 28px); border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); clip-path: inset(0 100% 0 0); }
.scene.start .scene-lint { animation: lint-in .6s var(--uit) forwards 3.1s; }
@keyframes lint-in { to { clip-path: inset(0 0 0 0); } }
.scene-pylon { position: absolute; left: 404px; top: 418px; width: 84px; z-index: 5; background: none; border: 0; padding: 0; cursor: pointer; transform: translateY(-460px); opacity: 0; -webkit-tap-highlight-color: transparent; }
.scene-pylon svg { display: block; width: 84px; height: auto; transform-origin: 80% 96%; }
.scene.start .scene-pylon { animation: pylon-val .7s cubic-bezier(.5,0,.75,0) forwards 3.4s, pylon-wiebel .6s ease-out 4.1s; }
@keyframes pylon-val { 0% { opacity: 1; transform: translateY(-460px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes pylon-wiebel { 0%,100% { transform: rotate(0); } 30% { transform: rotate(6deg); } 60% { transform: rotate(-3deg); } }
.scene-pylon.om svg { animation: pylon-om 2.4s var(--uit) both; }
@keyframes pylon-om { 0% { transform: rotate(0); } 15% { transform: rotate(-10deg); } 38% { transform: rotate(86deg) translate(4px, 0); } 44% { transform: rotate(78deg); } 50% { transform: rotate(86deg); } 78% { transform: rotate(86deg); } 92% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
.scene-camera { position: absolute; left: 6px; top: 320px; width: 68px; height: 68px; border-radius: 20px; background: #fff; border: 2.5px solid var(--asfalt); box-shadow: 4px 4px 0 var(--asfalt); display: grid; place-items: center; z-index: 4; transform: scale(0); }
.scene.start .scene-camera { animation: pop .5s var(--veer) forwards 3.6s; }
@keyframes pop { to { transform: none; } }
.scene-ballon { position: absolute; left: 30px; top: 262px; z-index: 4; font-family: var(--f-kop); font-weight: 600; font-size: 14px; background: var(--asfalt); color: #fff; border-radius: 12px; padding: 6px 10px; transform: scale(0); transform-origin: 20% 100%; }
.scene-ballon::after { content: ''; position: absolute; left: 22px; bottom: -7px; border: 7px solid transparent; border-top-color: var(--asfalt); border-bottom: 0; }
.scene.start .scene-ballon { animation: pop .5s var(--veer) forwards 3.9s; }
.scene.klaar * { animation-play-state: running; }

/* ---------- Lintband tussen secties ---------- */
.lintband { height: 18px; border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); background-image: repeating-linear-gradient(-45deg, var(--geel) 0 16px, var(--asfalt) 16px 32px); background-size: 45.25px 45.25px; background-position: var(--bx, 0) 0; }
.schuin-lint { position: absolute; z-index: 3; height: 34px; width: 140%; left: -20%; background-image: repeating-linear-gradient(-45deg, var(--geel) 0 16px, var(--asfalt) 16px 32px); border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); transform: rotate(-2.5deg) translateX(-105%); transition: transform 1.1s var(--uit); pointer-events: none; }
.schuin-lint.rood { background-image: repeating-linear-gradient(-45deg, var(--rood) 0 16px, #fff 16px 32px); }
.schuin-lint.in { transform: rotate(-2.5deg) translateX(0); }
.schuin-lint.rechts { transform: rotate(2deg) translateX(105%); }
.schuin-lint.rechts.in { transform: rotate(2deg) translateX(0); }

/* ---------- Onthullen bij scrollen ---------- */
.op { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--uit), transform .7s var(--uit); }
.op.in { opacity: 1; transform: none; }
.val { opacity: 0; transform: translateY(-60px) rotate(-3deg); }
.val.in { animation: val-neer .75s var(--veer) forwards; }
@keyframes val-neer { 0% { opacity: 0; transform: translateY(-60px) rotate(-3deg); } 60% { opacity: 1; transform: translateY(6px) rotate(1deg); } 100% { opacity: 1; transform: none; } }
.teken-lijn { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--uit); }
.in .teken-lijn, .teken-lijn.in { stroke-dashoffset: 0; }

/* ---------- Hoe het werkt (steiger) ---------- */
.werkt { background: #fff; position: relative; overflow: hidden; }
.werkt .wrap { position: relative; padding-top: 96px; padding-bottom: 110px; }
.steiger-vak { position: relative; }
.steiger { position: absolute; left: -14px; top: -36px; width: calc(100% + 28px); height: calc(100% + 92px); pointer-events: none; z-index: 0; overflow: visible; }
@media (max-width: 899px) { .steiger { display: none; } }
.steiger path { fill: none; stroke: #C9D0DA; stroke-width: 6; stroke-linecap: round; }
.steiger path.koppel { stroke: #9AA3B2; stroke-width: 3; }
.stappen-rij { position: relative; z-index: 1; display: grid; gap: 28px; }
@media (min-width: 900px) { .stappen-rij { grid-template-columns: repeat(3, 1fr); } }
.stap-kaart { background: var(--zon); border: 2.5px solid var(--asfalt); border-radius: 24px; box-shadow: 6px 6px 0 var(--asfalt); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.stap-kaart .nr { position: absolute; right: 22px; top: 18px; font-family: var(--f-kop); font-weight: 700; font-size: 52px; line-height: 1; color: var(--zand-rand); }
.stap-kaart .ico { width: 66px; height: 66px; border-radius: 20px; border: 2.5px solid var(--asfalt); display: grid; place-items: center; }
.stap-kaart h3 { margin: 0; font-weight: 600; font-size: 26px; }
.stap-kaart p { margin: 0; font-size: 17px; line-height: 1.5; color: #333C4D; }
.stap-kaart .plank { position: absolute; left: -10px; right: -10px; bottom: -18px; height: 12px; background: #C98B4E; border: 2.5px solid var(--asfalt); border-radius: 4px; z-index: -1; }

/* ---------- Codezoeker ---------- */
.zoeker { position: relative; color: #fff; overflow: hidden; border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); }
.zoeker .wrap { padding-top: 96px; padding-bottom: 100px; position: relative; z-index: 1; }
.zoeker .sectie-kop h2 { color: #fff; }
.zoeker .sectie-kop p { color: #EAF0FA; }
.zoeker-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .zoeker-grid { grid-template-columns: 1fr 1.05fr; gap: 44px; } }
.zoek-paneel { background: var(--zon); color: var(--asfalt); border: 3px solid var(--asfalt); border-radius: 26px; box-shadow: 8px 8px 0 var(--asfalt); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.zoek-veld { display: flex; align-items: center; gap: 8px; height: 64px; background: #fff; border: 2.5px solid var(--asfalt); border-radius: 18px; box-shadow: 0 5px 0 var(--asfalt); padding: 0 6px 0 16px; }
.zoek-veld:focus-within { border-color: var(--blauw); box-shadow: 0 5px 0 var(--blauw); }
.zoek-veld input { flex: 1; min-width: 0; border: 0; background: transparent; height: 56px; font-family: var(--f-mono); font-weight: 700; font-size: 22px; letter-spacing: 1px; outline: none; }
.zoek-veld input::-webkit-search-cancel-button { display: none; }
.zoek-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.zoek-chips .chip { min-height: 44px; }
.probeer { font-size: 14px; font-weight: 700; color: var(--tekst-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.probeer button { font-family: var(--f-mono); font-weight: 700; font-size: 14px; background: var(--zand); border: 2px solid var(--asfalt); border-radius: 8px; padding: 6px 10px; min-height: 40px; }
.resultaten { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.res { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; min-height: 58px; background: #fff; border: 2px solid var(--asfalt); border-radius: 14px; text-align: left; transition: transform .15s var(--veer), background-color .15s; }
.res:hover { transform: translateX(4px); }
.res[aria-pressed="true"] { background: var(--geel); box-shadow: 3px 3px 0 var(--asfalt); }
.res .plaat { font-size: 16px; padding: 5px 7px; flex: none; }
.res .rt { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; line-height: 1.25; }
.res .rt small { display: block; font-weight: 700; font-size: 12px; color: var(--tekst-2); }
.niks { text-align: center; padding: 18px; border: 2px dashed var(--zand-rand); border-radius: 16px; font-weight: 700; color: var(--tekst-2); }
.niks a { color: var(--blauw); }
.werkbon-demo { position: relative; min-width: 0; }
.wbd { background: #fff; color: var(--asfalt); border: 3px solid var(--asfalt); border-radius: 24px; box-shadow: 8px 8px 0 var(--asfalt); overflow: hidden; position: relative; }
.wbd.wissel { animation: flip-in .45s var(--veer); }
@keyframes flip-in { from { transform: perspective(1200px) rotateY(-70deg); opacity: .3; } }
.wbd-strook { display: flex; justify-content: space-between; padding: 8px 16px; background: var(--asfalt); color: var(--geel); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.wbd-kop { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--blauw); color: #fff; border-bottom: 2.5px solid var(--asfalt); }
.wbd-kop .plaat { font-size: 30px; padding: 8px 11px; letter-spacing: 2px; flex: none; }
.wbd-kop h3 { margin: 0; color: #fff; font-weight: 600; font-size: 21px; line-height: 1.15; }
.wbd-kop small { display: block; font-weight: 700; color: #DCE7F7; font-size: 13px; margin-top: 3px; }
.wbd-blok { padding: 14px 16px; border-bottom: 2px dashed var(--zand-rand); }
.wbd-blok:last-child { border-bottom: 0; }
.wbd-blok h4 { margin: 0 0 8px; font-family: var(--f-kop); font-weight: 600; font-size: 17px; color: var(--denim); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wbd-blok p { margin: 0; font-size: 16px; line-height: 1.5; }
.wbd-stappen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wbd-stappen li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; font-weight: 600; }
.wbd-stappen li b { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--blauw); color: #fff; font-family: var(--f-kop); display: grid; place-items: center; font-size: 14px; }
.wbd-voet { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--zon); }
.wbd-voet .bron { font-size: 13px; font-weight: 700; color: var(--tekst-2); display: flex; gap: 6px; align-items: center; }
.maatlijn { position: absolute; pointer-events: none; overflow: visible; }
.maatlijn path, .maatlijn line { fill: none; stroke: #fff; stroke-width: 1.5; stroke-opacity: .8; }
.maatlijn text { fill: #fff; font-family: var(--f-mono); font-size: 11px; fill-opacity: .85; }

/* ---------- Merken ---------- */
.merken { background: var(--zand); border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); position: relative; overflow: hidden; }
.merken .wrap { padding-top: 96px; padding-bottom: 96px; }
.buis { position: relative; height: 18px; border-radius: 9px; background: linear-gradient(#DDE2E9, #9AA3B2); border: 2.5px solid var(--asfalt); margin: 10px -10px 0; }
.buis::before, .buis::after { content: ''; position: absolute; top: -2.5px; width: 22px; height: 18px; border: 2.5px solid var(--asfalt); border-radius: 4px; background: #5A6372; }
.buis::before { left: 18%; } .buis::after { right: 18%; }
.bordjes { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 26px; margin-top: -2px; }
.bordje { position: relative; padding-top: 46px; transform-origin: 50% 0; }
.bordje::before, .bordje::after { content: ''; position: absolute; top: 0; width: 3px; height: 50px; background: var(--asfalt); }
.bordje::before { left: 24%; transform: rotate(8deg); transform-origin: top; } .bordje::after { right: 24%; transform: rotate(-8deg); transform-origin: top; }
.bordje span { display: block; min-width: 170px; text-align: center; font-family: var(--f-kop); font-weight: 700; font-size: 26px; color: var(--asfalt); background: #fff; border: 3px solid var(--asfalt); border-radius: 16px; box-shadow: 5px 5px 0 var(--asfalt); padding: 16px 22px; }
.bordje small { display: block; font-family: var(--f-tekst); font-size: 13px; font-weight: 700; color: var(--tekst-2); margin-top: 2px; }
.bordje.geel span { background: var(--geel); }
.bordje.leeg span { background: transparent; border-style: dashed; box-shadow: none; color: var(--tekst-2); }
.bordje:hover { animation: slinger 1.2s ease-in-out; }
.bordje.val.in { animation: bordje-val .9s var(--veer) forwards; }
@keyframes bordje-val { 0% { opacity: 0; transform: translateY(-90px) rotate(-8deg); } 50% { opacity: 1; transform: translateY(0) rotate(6deg); } 75% { transform: rotate(-3deg); } 100% { opacity: 1; transform: none; } }
@keyframes slinger { 0%,100% { transform: rotate(0); } 25% { transform: rotate(5deg); } 55% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
.tellers { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 54px; }
.teller { min-width: 200px; text-align: center; background: var(--zon); border: 2.5px solid var(--asfalt); border-radius: 20px; padding: 16px 20px; }
.teller b { display: block; font-family: var(--f-kop); font-weight: 700; font-size: 46px; line-height: 1; color: var(--denim); }
.teller span { font-size: 14px; font-weight: 700; color: var(--tekst-2); }
.merken-noot { text-align: center; font-size: 14px; color: var(--tekst-2); margin: 18px 0 0; }

/* ---------- Fabrikanten-blok ---------- */
.fab-blok-sectie .wrap { padding-top: 96px; padding-bottom: 96px; }
.fab-blok { background: var(--geel); border: 3px solid var(--asfalt); border-radius: 30px; box-shadow: 8px 8px 0 var(--asfalt); padding: clamp(28px, 5vw, 52px); display: grid; gap: 32px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .fab-blok { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.fab-blok h2 { margin: 12px 0 14px; font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; color: var(--asfalt); }
.fab-blok p { margin: 0; font-size: 18px; line-height: 1.55; color: #2A2410; max-width: 600px; }
.fab-blok .lijstje { background: var(--zon); border: 2.5px solid var(--asfalt); border-radius: 18px; padding: 18px 20px; display: grid; gap: 10px; font-weight: 700; }
.fab-blok .lijstje span { display: flex; gap: 10px; align-items: center; }
.fab-blok .lijstje .ic { color: var(--groen); flex: none; }
.fab-blok > * { position: relative; z-index: 1; }
.fab-blok .schuin { position: absolute; right: -60px; bottom: 30px; width: 380px; height: 28px; transform: rotate(-12deg); background-image: repeating-linear-gradient(-45deg, var(--asfalt) 0 14px, var(--geel) 14px 28px); border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); z-index: 0; }

/* ---------- Open source ---------- */
.open { background: #fff; border-top: 2.5px solid var(--asfalt); border-bottom: 2.5px solid var(--asfalt); }
.open .wrap { padding-top: 96px; padding-bottom: 96px; }
.drie { display: grid; gap: 22px; }
@media (min-width: 900px) { .drie { grid-template-columns: repeat(3, 1fr); } }
.drie .kaartje { background: var(--zon); border: 2.5px solid var(--asfalt); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s var(--veer), box-shadow .2s; }
.drie .kaartje:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--asfalt); }
.drie .groot { font-family: var(--f-kop); font-weight: 700; font-size: 44px; line-height: 1; }
.drie h3 { margin: 0; font-weight: 600; font-size: 23px; }
.drie p { margin: 0; font-size: 16px; line-height: 1.55; color: #333C4D; }

/* ---------- FAQ ---------- */
.faq .wrap { padding-top: 96px; padding-bottom: 96px; }
.faq-lijst { display: grid; gap: 14px; max-width: 880px; }
.faq details { background: #fff; border: 2.5px solid var(--asfalt); border-radius: 20px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 5px 5px 0 var(--asfalt); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 64px; font-family: var(--f-kop); font-weight: 600; font-size: 20px; color: var(--denim); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 11px; border: 2px solid var(--asfalt); background: var(--geel); display: grid; place-items: center; color: var(--asfalt); }
.faq summary .plus .ic { transition: transform .3s var(--veer); }
.faq details[open] summary .plus .ic { transform: rotate(45deg); }
.faq .antw { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: #333C4D; }
.faq .antw p { margin: 0; }

/* ---------- Probeer / bouw je JIP ---------- */
.bouw { position: relative; height: 220vh; background: var(--asfalt); color: #fff; }
.bouw-plak { position: sticky; top: 76px; height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden; background-image: linear-gradient(rgba(255,199,44,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,199,44,.06) 1px, transparent 1px); background-size: 32px 32px; }
.bouw-grid { display: grid; gap: 28px; align-items: center; width: 100%; }
@media (min-width: 900px) { .bouw-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.bouw h2 { color: #fff; margin: 0 0 14px; font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.bouw h2 span { color: var(--geel); }
.bouw p { margin: 0 0 22px; font-size: 18px; line-height: 1.55; color: #D6DCE6; max-width: 520px; }
.bouw .knop.wit { color: var(--denim); }
.bouw .knop { border-color: #000; box-shadow: 0 5px 0 #000; }
.bouw .knop:hover { box-shadow: 0 7px 0 #000; }
.bouwplek { position: relative; height: min(52vh, 420px); max-width: 460px; width: 100%; margin: 0 auto; }
.blok { position: absolute; bottom: 30px; width: 30%; aspect-ratio: 1; background: var(--geel); border: 3px solid #000; border-radius: 18px; box-shadow: 6px 6px 0 #000; display: grid; place-items: center; font-family: var(--f-kop); font-weight: 700; font-size: clamp(54px, 9vw, 96px); line-height: 1; color: var(--denim); will-change: transform; }
.blok.j { left: 2%; } .blok.i { left: 35%; background: var(--oranje); } .blok.p { left: 68%; background: var(--lichtblauw); }
.blok .helm-blok { position: absolute; left: 50%; top: -30%; width: 66%; transform: translateX(-50%); }
.bouwplek .grondlijn { position: absolute; left: -6%; right: -6%; bottom: 24px; height: 6px; background: var(--geel); border-radius: 3px; }
.bouwplek .bouwtekst { position: absolute; left: 0; right: 0; bottom: -10px; text-align: center; font-family: var(--f-mono); font-size: 12px; color: var(--geel); letter-spacing: 1.5px; }
.instructie { display: none; margin-top: 16px; background: #24324A; border: 2px solid var(--geel); border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.55; color: #EAF0FA; }
.instructie.open { display: block; animation: kaart-in .3s var(--uit); }
@keyframes kaart-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Footer ---------- */
.voet { background: var(--denim); color: #fff; }
.voet .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.voet .jip-logo { color: #fff; font-size: 56px; padding-top: 18px; }
.voet .sub { font-family: var(--f-kop); font-weight: 500; font-size: 18px; color: #EAF0FA; margin-top: 8px; }
.voet nav { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.voet nav a { color: #fff; font-weight: 700; font-size: 15px; padding: 10px 10px 10px 0; margin-right: 8px; }
.voet .dhps { align-items: flex-start; color: #fff; }
.voet .dhps .pb { color: #C9D6EC; }
.voet .klein { font-size: 13px; color: #C9D6EC; margin-top: 8px; }

/* ---------- Fabrikantenpagina ---------- */
.fab-hero .wrap { padding-top: 64px; padding-bottom: 80px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .fab-hero .wrap { grid-template-columns: 1.2fr 1fr; } }
.fab-hero h1 { margin: 16px 0 18px; font-weight: 700; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; }
.fab-hero h1 span { background: var(--geel); border-radius: 14px; padding: 0 10px; }
.fab-hero p { font-size: 19px; line-height: 1.55; color: #333C4D; margin: 0 0 22px; max-width: 580px; }
.fab-bord { position: relative; height: 380px; max-width: 420px; width: 100%; margin: 0 auto; }
.fab-bord .plank { position: absolute; left: 0; right: 0; top: 0; background: #fff; border: 3px solid var(--asfalt); border-radius: 24px; box-shadow: 8px 8px 0 var(--asfalt); padding: 24px; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.fab-bord .paal { top: 200px; height: 170px; z-index: 1; }
.fab-bord .paal.l { left: 90px; } .fab-bord .paal.r { left: auto; right: 90px; }
.regels { display: grid; gap: 22px; }
@media (min-width: 900px) { .regels { grid-template-columns: repeat(2, 1fr); } }
.regel-kaart { background: #fff; border: 2.5px solid var(--asfalt); border-radius: 24px; box-shadow: 6px 6px 0 var(--asfalt); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.regel-kaart .ico { width: 58px; height: 58px; border-radius: 18px; border: 2.5px solid var(--asfalt); display: grid; place-items: center; background: var(--geel); color: var(--asfalt); }
.regel-kaart h3 { margin: 0; font-weight: 600; font-size: 24px; }
.regel-kaart p, .regel-kaart li { font-size: 16px; line-height: 1.55; color: #333C4D; margin: 0; }
.regel-kaart ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.tijdlijn { position: relative; display: grid; gap: 26px; }
@media (min-width: 900px) { .tijdlijn { grid-template-columns: repeat(4, 1fr); } }
.tijdlijn .tl-svg { position: absolute; left: 0; top: 28px; width: 100%; height: 20px; display: none; }
@media (min-width: 900px) { .tijdlijn .tl-svg { display: block; } }
.tijdlijn .tl-svg path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 8 8; }
.tl-stap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.tl-stap .bol { width: 58px; height: 58px; border-radius: 50%; background: var(--geel); border: 3px solid var(--asfalt); display: grid; place-items: center; font-family: var(--f-kop); font-weight: 700; font-size: 24px; color: var(--asfalt); }
.tl-stap h3 { margin: 0; color: #fff; font-weight: 600; font-size: 21px; }
.tl-stap p { margin: 0; color: #EAF0FA; font-size: 16px; line-height: 1.5; }
.formulier-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .formulier-grid { grid-template-columns: 1.3fr 1fr; } }
.form-kaart { background: #fff; border: 3px solid var(--asfalt); border-radius: 26px; box-shadow: 8px 8px 0 var(--asfalt); padding: clamp(20px, 4vw, 32px); position: relative; overflow: hidden; }
.form-kaart .velden { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-kaart .velden { grid-template-columns: 1fr 1fr; } .form-kaart .vol { grid-column: span 2; } }
.form-kaart label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.form-kaart input, .form-kaart textarea, .form-kaart select { border: 2.5px solid var(--asfalt); border-radius: 14px; background: var(--zon); min-height: 52px; padding: 10px 14px; font-size: 16px; font-weight: 600; }
.form-kaart textarea { min-height: 130px; resize: vertical; }
.form-kaart input:focus, .form-kaart textarea:focus { outline: none; border-color: var(--blauw); box-shadow: 0 0 0 3px rgba(47,95,168,.25); }
.form-kaart .knop { margin-top: 18px; }
.form-kaart .noot { font-size: 13px; color: var(--tekst-2); margin: 12px 0 0; }
.bedankt { display: none; text-align: center; padding: 30px 10px; }
.bedankt.zichtbaar { display: block; animation: kaart-in .4s var(--uit); }
.bedankt h3 { font-size: 30px; margin: 10px 0; }
.bedankt p { font-size: 16px; color: #333C4D; margin: 0 0 10px; }
.stempel-site { display: inline-block; color: var(--rood); border: 5px solid currentColor; border-radius: 14px; padding: 6px 18px; font-family: var(--f-kop); font-weight: 700; font-size: 40px; letter-spacing: 4px; margin-bottom: 18px; transform: rotate(-10deg); animation: stempel-site .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stempel-site { from { transform: rotate(-20deg) scale(2.6); opacity: 0; } to { transform: rotate(-10deg); opacity: 1; } }
.mail-kaart { background: var(--zand); border: 2.5px solid var(--asfalt); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.mail-kaart h3 { margin: 0; font-size: 24px; }
.mail-kaart p { margin: 0; font-size: 16px; line-height: 1.55; color: #333C4D; }


/* ---------- Mobiel: bordjes en bouwplek compacter ---------- */
@media (max-width: 699px) {
  .merken .buis { display: none; }
  .bordjes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .bordje { padding-top: 40px; background: linear-gradient(#9AA3B2, #DDE2E9) 50% 0 / 86% 12px no-repeat; }
  .bordje::before, .bordje::after { top: 8px; height: 36px; }
  .bordje span { min-width: 0; font-size: 20px; padding: 12px 10px; }
  .bordje small { font-size: 12px; }
  .tellers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .teller { min-width: 0; padding: 12px 6px; }
  .teller b { font-size: 34px; }
  .teller span { font-size: 12px; }
}
@media (max-width: 899px) {
  .bouw-grid { gap: 10px; }
  .bouw h2 { font-size: 32px; margin-bottom: 8px; }
  .bouw p { font-size: 16px; margin-bottom: 14px; }
  .bouw .knoppen { gap: 10px; }
  .bouw .knoppen .knop { min-height: 52px; font-size: 17px; padding: 8px 16px; }
  .bouwplek { order: -1; height: 30vh; max-width: 340px; }
  .blok { width: 28%; border-radius: 14px; font-size: 54px; }
  .bouw-plak .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .op, .val, .bordje.val { opacity: 1 !important; transform: none !important; }
  .teken-lijn, .kraan .lijn { stroke-dashoffset: 0 !important; }
  .bord, .haak { opacity: 1 !important; transform: none !important; }
  .kabel { transform: scaleY(.12) !important; }
  .scene-lint { clip-path: none !important; }
  .scene-pylon, .scene-camera, .scene-ballon { transform: none !important; opacity: 1 !important; }
  .hero h1 .regel > span { transform: none !important; }
  .schuin-lint { transform: rotate(-2.5deg) !important; }
  .kraan .cabine, .kraan .loopkat, .kraan .contra { opacity: 1 !important; }
}
