:root{--terra:#e2231a;--terra-d:#b81a13;--gold:#f0645a;--cream:#fdecea;--ink:#373b48;--soft:#5a5f6e;--line:#e2e4ea;--white:#fff;--bg:#f3f4f7;--ok:#1a7a3c;--navy:#10151b;--navy-soft:#b9c3ce}
*{box-sizing:border-box}
body{margin:0;font-family:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;color:var(--ink);background:var(--bg)}
h1,h2,h3{font-family:inherit;font-weight:800;line-height:1.1;letter-spacing:-.02em;margin:0}
h1{font-weight:900;text-transform:uppercase;letter-spacing:-.03em}
a{color:var(--terra)}
.wrap{max-width:1040px;margin:0 auto;padding-inline:20px}
.top{background:var(--navy);border-bottom:1px solid rgba(255,255,255,.12)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}
.brand{display:flex;align-items:center}
.brand img{height:48px;width:auto;display:block}
.terug{color:var(--navy-soft);text-decoration:none;font-weight:600;font-size:.9rem;white-space:nowrap}
.terug:hover{color:#fff}
.logo{height:30px;width:auto}
.logo-sm{height:18px;width:auto;vertical-align:middle}
.top-sub{font-weight:600;color:var(--soft);font-size:.92rem}
main.wrap{padding-block:40px 64px}
.voet{background:#0b0f14;color:var(--navy-soft);font-size:.9rem}
.voet .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-block:28px}
.voet a{color:#fff;font-weight:600;text-decoration:none}
.door{display:inline-flex;align-items:center;opacity:.55}.door:hover{opacity:1}
.door .logo-sm{color:#fff;height:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 26px;border-radius:999px;border:0;font:inherit;font-weight:700;font-size:1rem;cursor:pointer;text-decoration:none;transition:background .2s,transform .2s}
.btn-terra{background:var(--terra);color:#fff;box-shadow:0 10px 24px -12px rgba(226,35,26,.7)}
.btn-terra:hover{background:var(--terra-d)}
.btn-line{background:var(--white);color:var(--ink);border:1.5px solid var(--line)}
.btn-line:hover{border-color:var(--terra)}
.btn:disabled{opacity:.6;cursor:default}
.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:28px}
.fld{display:grid;gap:6px;min-width:0}
.fld > span,.fld label{font-weight:600;font-size:.88rem}
.fld input,.fld select,.fld textarea{font:inherit;color:var(--ink);background:var(--white);border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;width:100%;min-height:48px}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-color:var(--terra);outline:none;box-shadow:0 0 0 4px rgba(226,35,26,.12)}
.row2{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.car{min-height:1.5em;font-weight:600;color:var(--soft);font-size:.95rem;margin:6px 0 0}
.car.ok{color:var(--ok)}
.msg{font-weight:600;min-height:1.4em;margin:0}
.msg.err{color:#b3261e}.msg.ok{color:var(--ok)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
/* start */
.start{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:start}
.start > *{min-width:0}
.start h1{font-size:clamp(2rem,4.5vw,3rem)}
.start h1 em{font-style:normal;color:var(--terra)}
.lead{color:var(--soft);font-size:1.08rem;margin:14px 0 0}
.steps{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:14px;counter-reset:s}
.steps li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;column-gap:12px;align-items:start}
.steps li::before{content:counter(s);width:34px;height:34px;border-radius:50%;background:var(--cream);color:var(--terra);font-weight:800;display:flex;align-items:center;justify-content:center;grid-row:span 2}
.steps b{display:block}
.steps span{color:var(--soft);font-size:.92rem}
.buy{display:grid;gap:16px}
.price{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:16px 18px;background:var(--cream);border-radius:14px}
.price b{font-weight:800;font-size:1.8rem;color:var(--terra);font-weight:600}
.price span{color:var(--soft);font-weight:600}
.secure{color:var(--soft);font-size:.85rem;text-align:center;margin:0}
.center{max-width:560px;margin:40px auto;text-align:center}
.center h1{font-size:2rem;margin-bottom:12px}
.center p{color:var(--soft)}
.spin{width:44px;height:44px;border-radius:50%;border:4px solid var(--cream);border-top-color:var(--terra);margin:0 auto 20px;animation:sp 1s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
/* calculatie */
.calc-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 24px;flex-wrap:wrap;margin-bottom:22px}
.calc-head h1{font-size:2rem}
.calc-grid{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}
.calc-grid > *{min-width:0}
.sect{margin-bottom:18px}
.sect h2{font-size:1.2rem;margin-bottom:14px}
.ptable{width:100%;border-collapse:collapse}
.ptable th{text-align:left;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--soft);font-weight:700;padding:0 6px 8px;border-bottom:1px solid var(--line)}
.ptable td{padding:8px 6px;border-bottom:1px solid var(--line);vertical-align:middle}
.ptable td:first-child{font-weight:600}
.step{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.step button{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--line);background:var(--white);font:inherit;font-weight:700;font-size:1.1rem;cursor:pointer;color:var(--ink)}
.step button:hover{border-color:var(--terra);color:var(--terra)}
.step input{width:52px;text-align:center;font:inherit;font-weight:700;border:1.5px solid var(--line);border-radius:10px;padding:6px 4px}
.ptable select,.ptable .eur input{font:inherit;border:1.5px solid var(--line);border-radius:10px;padding:7px 8px;background:var(--white);color:var(--ink)}
.mm{display:inline-flex;align-items:center;gap:4px;color:var(--soft);font-weight:600;white-space:nowrap}
.eur{display:flex;align-items:center;gap:4px;white-space:nowrap}
.eur input{width:92px;text-align:right}
.side{position:sticky;top:16px;display:grid;gap:16px}
.tot{display:grid;gap:8px}
.tot div{display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}
.tot .big{font-weight:800;font-size:1.6rem;color:var(--terra);border-top:1px solid var(--line);padding-top:10px;margin-top:4px}
.chk{display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer}
.chk input{width:20px;height:20px;accent-color:var(--terra)}
.photos{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}
.ph-add{aspect-ratio:1;border:1.5px dashed #c9ccd5;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--soft);cursor:pointer;font-size:.9rem;text-align:center}
.ph-add:hover{border-color:var(--terra);color:var(--terra)}
.saved{font-size:.85rem;color:var(--soft);text-align:center;min-height:1.3em;margin:0}
.hint{color:var(--soft);font-size:.88rem;margin:-6px 0 12px}
@media (max-width:860px){.start,.calc-grid{grid-template-columns:1fr}.side{position:static}}
@media (max-width:560px){
  main.wrap{padding-block:24px 48px}.wrap{padding-inline:16px}
  .card{padding:18px;border-radius:16px}
  .top-sub{display:none}
  .btn{width:100%}
  .ptable thead{display:none}
  .ptable,.ptable tbody,.ptable tr,.ptable td{display:block;width:100%}
  .ptable tr{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px 6px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
  .ptable td{border:0;padding:0}
  .ptable td:first-child{grid-column:1 / -1}
  .ptable select{width:auto;font-size:1rem}
  .mm{font-size:0;gap:0}
  .ptable tr{column-gap:10px}
  .step button{width:34px;height:34px}
  .step input{width:42px}
  .step{gap:4px}
  .ptable select{padding:7px 4px}
  .eur input{width:100%;min-width:0}
  .mbar{display:flex}
  body.calc{padding-bottom:80px}
  .photos{grid-template-columns:repeat(3,1fr)}
}
.mbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:20;background:var(--white);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));align-items:center;justify-content:space-between;gap:12px;box-shadow:0 -8px 24px -12px rgba(0,0,0,.2)}
.mbar b{font-weight:800;font-size:1.35rem;color:var(--terra);display:block;line-height:1.1}
.mbar small{color:var(--soft);font-weight:600}
.mbar .btn{width:auto;min-height:46px;padding:10px 20px}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}

@media (max-width:560px){.mbar{display:flex}}

/* Proefmodus, akkoord, voorwaarden */
.proefbalk{margin:0 0 28px;padding:10px 14px;border-radius:12px;background:var(--cream);border:1px solid var(--gold);color:var(--ink);font-weight:600;font-size:.9rem;text-align:center}
.akkoord{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:var(--soft);line-height:1.45;cursor:pointer}
.akkoord input{width:20px;height:20px;flex:0 0 20px;margin:1px 0 0;accent-color:var(--terra)}
.akkoord a{color:var(--ink);font-weight:600}
.voet-info{flex-basis:100%;font-size:.8rem}
.tekst{max-width:720px;margin:32px auto 48px}
.tekst h1{font-size:2rem;margin-bottom:6px}
.tekst h2{font-size:1.15rem;margin:28px 0 8px}
.tekst p,.tekst li{color:var(--ink);line-height:1.6}
.tekst ul{padding-left:20px}
.tekst .datum{color:var(--soft);margin-top:0}

/* Kentekenplaat */
.plate{display:flex;align-items:stretch;max-width:300px;height:60px;background:#f7c600;border:2px solid #111;border-radius:8px;overflow:hidden}
.plate i{flex:0 0 40px;background:#0b3fa8 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23ffcc00%22%3E%3Ccircle%20cx%3D%2219.00%22%20cy%3D%2212.00%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%2218.06%22%20cy%3D%2215.50%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%2215.50%22%20cy%3D%2218.06%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%2212.00%22%20cy%3D%2219.00%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%228.50%22%20cy%3D%2218.06%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%225.94%22%20cy%3D%2215.50%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%225.00%22%20cy%3D%2212.00%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%225.94%22%20cy%3D%228.50%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%228.50%22%20cy%3D%225.94%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%2212.00%22%20cy%3D%225.00%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%2215.50%22%20cy%3D%225.94%22%20r%3D%221.3%22/%3E%3Ccircle%20cx%3D%2218.06%22%20cy%3D%228.50%22%20r%3D%221.3%22/%3E%3C/svg%3E") center 7px/22px 22px no-repeat;color:#fff;font-style:normal;font-weight:700;font-size:.78rem;letter-spacing:.04em;display:flex;align-items:flex-end;justify-content:center;padding:0 0 7px}
.plate input,.fld .plate input,.fld .plate input:focus{flex:1;min-width:0;height:100%;min-height:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;padding:0 16px;font-family:inherit;font-weight:800;font-size:1.6rem;line-height:1;letter-spacing:.08em;color:#111;text-transform:uppercase}
.plate input::placeholder{color:rgba(17,17,17,.25);font-weight:700}
.plate:focus-within{box-shadow:0 0 0 4px rgba(226,35,26,.18)}
@media (max-width:560px){.plate{max-width:none;height:58px}.plate input,.fld .plate input{font-size:1.5rem}}

.kent-blok{display:grid;gap:6px;min-width:0}
.kent-lbl{font-weight:600;font-size:.88rem}
.kent-blok .car{margin:0;min-height:0}
.kent-note{margin:0;font-size:.82rem;color:var(--soft)}
.kent-note.err{color:#b3261e;font-weight:600}
.calc-head .plate{height:54px;max-width:260px}
.calc-head .plate input,.calc-head .plate input:focus{font-size:1.4rem}
.plate input[readonly]{cursor:default}
@media (max-width:560px){.kent-blok{width:100%}.calc-head .plate{max-width:none}}

/* voet altijd onderaan */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
main.wrap{flex:1 0 auto;width:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
