.mg-off{--pine:#0E3B2C;--forest:#0A2920;--emerald:#2F8A5F;--signal:#C5F03A;--concrete:#F3F4EF;--graphite:#15201C;--muted:#5E6A63;--line:#E2E5E1;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--graphite)}
.mg-off *,.mg-off *::before,.mg-off *::after{box-sizing:border-box}
.mg-off .mg-hero{background:var(--forest);color:#fff;padding:clamp(48px,7vw,80px) 24px}
.mg-off .mg-hero-in,.mg-off .mg-body-in{max-width:768px;margin:0 auto}
.mg-off .mg-eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--emerald);margin:0 0 12px}
.mg-off .mg-hero h1{margin:0 0 14px;font-size:clamp(30px,5vw,44px);font-weight:800;letter-spacing:-.01em;line-height:1.06;color:#fff}
.mg-off .mg-hero p{margin:0;font-size:18px;line-height:1.6;color:rgba(255,255,255,.8);max-width:600px}
.mg-off .mg-body{padding:clamp(40px,6vw,72px) 24px;background:#fff}
.mg-off .mg-bar{height:8px;border-radius:999px;background:var(--concrete);overflow:hidden}
.mg-off .mg-bar-fill{height:100%;background:var(--emerald);width:25%;transition:width .35s ease}
.mg-off .mg-stepcount{font-size:14px;color:var(--muted);margin:8px 0 28px}
.mg-off h2.mg-q{font-size:clamp(22px,3.6vw,30px);font-weight:800;letter-spacing:-.01em;margin:0 0 20px}
.mg-off h3.mg-sub{font-size:18px;font-weight:800;margin:28px 0 12px}
.mg-off .mg-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mg-off .mg-grid4{display:grid;grid-template-columns:3fr 1fr;gap:12px}
@media(max-width:640px){.mg-off .mg-grid2,.mg-off .mg-grid4{grid-template-columns:1fr}}
.mg-off .mg-radio{display:block;padding:16px;border:2px solid var(--line);border-radius:8px;cursor:pointer;font-weight:700;transition:.15s}
.mg-off .mg-radio:hover{border-color:#c3ccc5}
.mg-off .mg-radio.on{border-color:var(--pine);background:var(--concrete)}
.mg-off .mg-item{border:1px solid var(--line);border-radius:8px;padding:20px;margin-bottom:16px}
.mg-off .mg-item-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.mg-off .mg-item-top h4{margin:0;font-size:16px;font-weight:800}
.mg-off .mg-del{background:none;border:none;color:#b3261e;font-size:14px;font-weight:600;cursor:pointer}
.mg-off label.mg-l{display:block;font-size:14px;font-weight:700;margin-bottom:6px}
.mg-off .mg-opt{font-weight:500;color:var(--muted)}
.mg-off .mg-full{grid-column:1/-1}
.mg-off input[type=text],.mg-off input[type=email],.mg-off input[type=tel],.mg-off input[type=date],.mg-off input[type=number],.mg-off select,.mg-off textarea{
  width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:15px;font-family:inherit;background:#fff;color:var(--graphite)}
.mg-off textarea{min-height:64px;resize:vertical}
.mg-off input:focus,.mg-off select:focus,.mg-off textarea:focus{outline:none;border-color:var(--pine);box-shadow:0 0 0 3px rgba(14,59,44,.12)}
.mg-off .mg-err{border-color:#b3261e!important}
.mg-off .mg-ferr{color:#b3261e;font-size:12.5px;margin-top:4px;display:block}
.mg-off .mg-priceline{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:14px}
.mg-off .mg-priceline .k{color:var(--muted)}
.mg-off .mg-priceline .v{font-weight:700}
.mg-off .mg-add{display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:var(--pine);font-weight:700;font-size:15px;cursor:pointer;padding:4px 0}
.mg-off .mg-estimate{background:var(--concrete);border-radius:8px;padding:18px;margin:16px 0}
.mg-off .mg-estimate .row{display:flex;justify-content:space-between;align-items:center}
.mg-off .mg-estimate .row .lbl{font-weight:700}
.mg-off .mg-estimate .row .amt{font-size:20px;font-weight:900}
.mg-off .mg-estimate .note{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.5}
.mg-off .mg-drop{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:2px dashed var(--line);border-radius:8px;cursor:pointer;font-weight:600;font-size:14px}
.mg-off .mg-drop:hover{background:var(--concrete)}
.mg-off .mg-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
@media(max-width:640px){.mg-off .mg-photos{grid-template-columns:repeat(2,1fr)}}
.mg-off .mg-photo{position:relative}
.mg-off .mg-photo img{width:100%;height:96px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.mg-off .mg-photo button{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:999px;background:#fff;border:1px solid var(--line);cursor:pointer;font-size:12px;line-height:1;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.mg-off .mg-summary{background:var(--concrete);border-radius:8px;padding:18px;font-size:14px;line-height:1.7}
.mg-off .mg-summary ul{margin:6px 0;padding-left:18px}
.mg-off .mg-summary .tot{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:8px;padding-top:8px;font-weight:800}
.mg-off .mg-check-row{display:flex;align-items:flex-start;gap:8px;font-size:14px;margin-top:18px}
.mg-off .mg-check-row a{color:var(--pine);text-decoration:underline}
.mg-off .mg-error{display:none;margin-top:16px;padding:12px 15px;border-radius:8px;background:#fdecec;color:#8c1d1d;font-size:14px}
.mg-off .mg-error.on{display:block}
.mg-off .mg-nav{display:flex;justify-content:space-between;gap:12px;margin-top:32px}
.mg-off .mg-btn{border:none;border-radius:8px;padding:14px 28px;font-size:15.5px;font-weight:700;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:8px;transition:.12s}
.mg-off .mg-btn-prev{background:#fff;border:1px solid var(--line);color:var(--muted)}
.mg-off .mg-btn-prev:disabled{opacity:.45;cursor:not-allowed}
.mg-off .mg-btn-next{background:var(--signal);color:var(--graphite)}
.mg-off .mg-btn-next:hover{filter:brightness(.96)}
.mg-off .mg-btn-next:disabled{opacity:.6;cursor:wait}
.mg-off .mg-tel{margin:28px 0 0;font-size:14px;color:var(--muted)}
.mg-off .mg-tel a{color:var(--pine);text-decoration:underline}
.mg-off .mg-step[hidden]{display:none!important}
.mg-off .mg-hp{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}
.mg-off .mg-success{display:none;text-align:center;padding:56px 24px}
.mg-off .mg-success.on{display:block}
.mg-off .mg-success .ic{width:72px;height:72px;border-radius:999px;background:var(--signal);color:var(--forest);font-size:34px;font-weight:900;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.mg-off .mg-success h2{font-size:28px;font-weight:800;margin:0 0 10px}
.mg-off .mg-success p{color:var(--muted);font-size:16px;margin:0 auto;max-width:520px}
.mg-off .mg-ref{display:inline-block;margin-top:18px;background:var(--concrete);padding:8px 16px;border-radius:8px;font-weight:700}

/* --------------------------------------------------------------------------
   Genummerde stappenbalk
   -------------------------------------------------------------------------- */
.mg-off .mg-steps{list-style:none;display:flex;gap:4px;margin:0 0 18px;padding:0;counter-reset:s}
.mg-off .mg-steps li{flex:1;display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;
  color:var(--muted);padding:10px 12px;border-radius:8px;background:var(--concrete);min-width:0}
.mg-off .mg-steps li .n{flex:0 0 auto;width:22px;height:22px;border-radius:999px;background:#fff;
  border:1px solid var(--line);color:var(--muted);display:grid;place-items:center;font-size:12px;font-weight:800}
.mg-off .mg-steps li .t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-off .mg-steps li.af{color:var(--emerald)}
.mg-off .mg-steps li.af .n{background:var(--emerald);border-color:var(--emerald);color:#fff}
.mg-off .mg-steps li.on{background:var(--pine);color:#fff}
.mg-off .mg-steps li.on .n{background:var(--signal);border-color:var(--signal);color:var(--graphite)}
@media(max-width:720px){
  .mg-off .mg-steps li .t{display:none}
  .mg-off .mg-steps li{justify-content:center;padding:9px}
}

/* Zonder eigen titelbalk staat het formulier in een Elementor-sectie: dan geen
   dubbele buitenmarge en geen tweede witte achtergrond. */
.mg-off.mg-kaal .mg-body{padding:0;background:transparent}
.mg-off.mg-kaal .mg-body-in{max-width:none}

/* --------------------------------------------------------------------------
   Offertewidget
   -------------------------------------------------------------------------- */
.mg-off.mg-w{max-width:420px}
.mg-off .mg-w-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;
  box-shadow:0 1px 2px rgba(10,41,32,.04),0 8px 24px -12px rgba(10,41,32,.18)}
.mg-off .mg-w-titel{margin:0 0 16px;font-size:21px;font-weight:800;letter-spacing:-.01em;line-height:1.2;color:var(--pine)}
.mg-off .mg-w-seg{display:flex;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:16px}
.mg-off .mg-w-seg button{flex:1;border:none;background:#fff;padding:9px 8px;font:inherit;font-size:14px;
  font-weight:700;color:var(--muted);cursor:pointer;transition:.12s}
.mg-off .mg-w-seg button+button{border-left:1px solid var(--line)}
.mg-off .mg-w-seg button.on{background:var(--pine);color:#fff}
.mg-off .mg-w-veld{margin-bottom:12px}
.mg-off .mg-w-uitkomst{background:var(--concrete);border-radius:10px;padding:16px;margin:16px 0}
.mg-off .mg-w-bedrag{font-size:30px;font-weight:900;letter-spacing:-.02em;line-height:1.05;color:var(--pine)}
.mg-off .mg-w-noot{margin:6px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.mg-off .mg-w-knop{display:block;text-align:center;background:var(--signal);color:var(--graphite);
  text-decoration:none;font-weight:700;font-size:15px;padding:14px 20px;border-radius:8px;transition:.12s}
.mg-off .mg-w-knop:hover{filter:brightness(.96);color:var(--graphite)}
.mg-off .mg-w-klein{margin:10px 0 0;font-size:11.5px;color:var(--muted);text-align:center;line-height:1.5}

/* ---------------------------------------------------------------- contact
   Het korte contactformulier. Leunt op de variabelen en de invoervelden
   hierboven; alleen wat het offerteformulier niet had staat hier. */
.mg-off.mg-contact{max-width:640px}
.mg-off .mg-veld{margin-bottom:18px}
.mg-off .mg-veld label{display:block;font-size:14px;font-weight:700;margin-bottom:6px;color:var(--graphite)}
.mg-off .mg-optioneel{font-weight:400;color:var(--muted);font-size:13px;margin-left:6px}
.mg-off .mg-hint{font-size:13.5px;color:var(--muted);margin:6px 0 0;line-height:1.6}
.mg-off .mg-contactform > .mg-hint:first-of-type{margin:0 0 22px}
.mg-off textarea{min-height:140px;resize:vertical}

/* Fouten staan onder het veld waar ze over gaan, in rood en met een tekst die
   zegt wat er moet gebeuren. Een rode rand alleen is voor kleurenblinden geen
   informatie -- vandaar dat de tekst er altijd bij staat. */
.mg-off .mg-fout{margin:6px 0 0;font-size:13.5px;color:#B3261E;font-weight:600}
.mg-off input[aria-invalid=true],.mg-off textarea[aria-invalid=true]{border-color:#B3261E}
.mg-off input[aria-invalid=true]:focus,.mg-off textarea[aria-invalid=true]:focus{box-shadow:0 0 0 3px rgba(179,38,30,.14)}

.mg-off .mg-btn-prim{background:var(--signal);color:var(--forest)}
.mg-off .mg-btn-prim:hover{filter:brightness(.96)}
.mg-off .mg-btn-prim:disabled{opacity:.6;cursor:wait}

.mg-off .mg-status{margin:14px 0 0;font-size:14.5px;font-weight:600}
.mg-off .mg-status.mg-fout{color:#B3261E}
.mg-off .mg-klaar{padding:26px;border:1px solid var(--line);border-radius:14px;background:#fff}
.mg-off .mg-klaar p{margin:0 0 10px;color:var(--muted);line-height:1.7}
.mg-off .mg-klaar p:last-child{margin-bottom:0}

/* v1.5 — vooraf ingevulde gegevens (binnen 5 minuten na een vorige aanvraag)
   en de knop voor een nieuwe aanvraag op het bevestigingsscherm. */
.mg-off .mg-herhaal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;
  margin:0 0 18px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--concrete)}
.mg-off .mg-herhaal[hidden]{display:none}
.mg-off .mg-herhaal p{margin:0;font-size:14px;line-height:1.5;color:var(--graphite)}
.mg-off .mg-herhaal-wis{background:none;border:none;padding:4px 0;font:inherit;font-size:14px;font-weight:700;
  color:var(--pine);text-decoration:underline;cursor:pointer}
.mg-off .mg-herhaal-wis:focus-visible,.mg-off .mg-radio:focus-visible,.mg-off .mg-nogeens .mg-btn:focus-visible{
  outline:3px solid var(--pine);outline-offset:2px}
.mg-off .mg-success .mg-nogeens{margin:26px auto 0}

/* v1.6 — bronvermelding bij echte wegkilometers (voorwaarde OpenRouteService). */
.mg-off .mg-bron,.mg-w .mg-bron{margin:6px 0 0;font-size:12px;line-height:1.5;color:#5E6A63}
.mg-off .mg-bron a,.mg-w .mg-bron a{color:inherit}

/* v1.7 — captcha (Cloudflare Turnstile). Hoogte reserveren voorkomt dat de
   knop verspringt wanneer de widget inlaadt. */
.mg-off .mg-captcha{margin:14px 0 0;min-height:65px}
.mg-off .mg-captcha-fout{margin:8px 0 0;font-size:14px;line-height:1.5;color:#B3261E}
/* 1.10.0 — gewichtsregel bij de containerkeuze, per ton, factuur */
.mg-off .mg-tonregel{margin:-6px 0 16px;padding:10px 14px;border-left:3px solid var(--signal);background:var(--concrete);border-radius:0 8px 8px 0;color:var(--graphite)}
.mg-off .mg-tonnoot{margin:8px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.mg-off .mg-success .mg-factuur{margin-top:10px;font-size:15px}

/* --------------------------------------------------------------------------
   1.11.0 — scherm 1: container, adres en meteen de totaalprijs
   -------------------------------------------------------------------------- */
.mg-off .mg-klant{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 18px}
.mg-off .mg-klant .mg-l{margin:0}
.mg-off .mg-seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.mg-off .mg-seg .mg-radio{border:none;border-radius:0;padding:10px 18px;font-size:14.5px;font-weight:700;color:var(--muted);background:#fff}
.mg-off .mg-seg .mg-radio+.mg-radio{border-left:1px solid var(--line)}
.mg-off .mg-seg .mg-radio:hover{background:var(--concrete)}
.mg-off .mg-seg .mg-radio.on{background:var(--pine);color:#fff}
@media(max-width:520px){.mg-off .mg-seg{display:flex;width:100%}.mg-off .mg-seg .mg-radio{flex:1;text-align:center;padding:10px 8px}}

.mg-off .mg-adresblok{margin-top:10px;padding-top:6px;border-top:1px solid var(--line)}
.mg-off .mg-adresblok .mg-herhaal{margin-top:4px}
.mg-off .mg-ac-veld{position:relative}
.mg-off input.mg-ac-in{padding-left:42px;padding-right:40px;min-height:52px;font-size:16px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232F8A5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") no-repeat 14px 50%}
.mg-off input.mg-ac-in.mg-ok{border-color:var(--emerald);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232F8A5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232F8A5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;background-position:14px 50%,calc(100% - 14px) 50%}
.mg-off .mg-ac-lijst{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 4px);margin:0;padding:6px;list-style:none;
  background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 34px -14px rgba(10,41,32,.38);max-height:300px;overflow:auto}
.mg-off .mg-ac-lijst[hidden]{display:none}
.mg-off .mg-ac-lijst li{padding:11px 12px;border-radius:6px;cursor:pointer;font-size:15px;line-height:1.35;color:var(--graphite)}
.mg-off .mg-ac-lijst li.on,.mg-off .mg-ac-lijst li[data-i]:hover{background:var(--concrete)}
.mg-off .mg-ac-lijst li mark{background:none;color:inherit;font-weight:800;padding:0}
.mg-off .mg-ac-lijst li.mg-ac-leeg{cursor:default;color:var(--muted);font-size:14px}
.mg-off .mg-nrveld{margin-top:12px;max-width:220px}
.mg-off .mg-nrveld[hidden],.mg-off .mg-hand[hidden],.mg-off .mg-ac[hidden],.mg-off .mg-ac-noot[hidden],.mg-off .mg-ac-hand[hidden]{display:none}
.mg-off .mg-ac-noot{margin:8px 0 0;font-size:13.5px;line-height:1.5;color:#7a4b00}
.mg-off .mg-ac-hand{margin:10px 0 0}
.mg-off .mg-linkbtn{background:none;border:none;padding:0;font:inherit;font-size:14px;font-weight:600;color:var(--pine);text-decoration:underline;cursor:pointer}
.mg-off .mg-linkbtn:focus-visible{outline:3px solid var(--pine);outline-offset:2px}

/* De totaalprijs: groot en meteen zichtbaar onder het adres. */
.mg-off .mg-totaal{margin:22px 0 0;padding:20px 22px;border-radius:12px;background:var(--forest);color:#fff}
.mg-off .mg-totaal-in{display:flex;align-items:center;justify-content:space-between;gap:10px 18px;flex-wrap:wrap}
.mg-off .mg-totaal .lbl{font-weight:800;font-size:17px;line-height:1.2}
.mg-off .mg-totaal .lbl small{display:block;font-weight:500;font-size:13px;color:rgba(255,255,255,.7);margin-top:3px}
.mg-off .mg-totaal .amt{font-size:clamp(26px,4.4vw,34px);font-weight:900;letter-spacing:-.02em;line-height:1.1;color:var(--signal);text-align:right}
.mg-off .mg-totaal .amt.zacht{font-size:18px;font-weight:700;color:rgba(255,255,255,.85);letter-spacing:0}
.mg-off .mg-totaal .note{margin:12px 0 0;font-size:13px;line-height:1.55;color:rgba(255,255,255,.75)}

/* Scherm 2: wat er gekozen is, met een knop terug. */
.mg-off .mg-recap{background:var(--concrete);border-radius:10px;padding:16px 18px;margin:0 0 26px;font-size:14px;line-height:1.55}
.mg-off .mg-recap-kop{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.mg-off .mg-recap ul{list-style:none;margin:0;padding:0}
.mg-off .mg-recap li,.mg-off .mg-recap .rij{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.mg-off .mg-recap li span:last-child,.mg-off .mg-recap .rij span:last-child{white-space:nowrap;font-weight:600}
.mg-off .mg-recap .rij{border-top:1px solid var(--line);margin-top:4px;padding-top:8px}
.mg-off .mg-recap .rij.tot{font-weight:800;font-size:15px}
.mg-off .mg-recap .rij.tot span:last-child{font-weight:900}
.mg-off .mg-recap-adres{margin:6px 0 0;display:flex;gap:12px}
.mg-off .mg-recap-adres span{flex:0 0 120px;color:var(--muted)}
@media(max-width:520px){.mg-off .mg-recap li{flex-direction:column;gap:0}.mg-off .mg-recap-adres{flex-direction:column;gap:0}.mg-off .mg-recap-adres span{flex:none}}
.mg-off .mg-step[data-step="2"] textarea{min-height:80px}
.mg-off .mg-priceline{gap:12px;flex-wrap:wrap}
.mg-off .mg-priceline .v{text-align:right;margin-left:auto}
.mg-off .mg-nav .mg-btn-next{margin-left:auto}
@media(max-width:520px){
  .mg-off .mg-seg .mg-radio{font-size:13.5px;padding:10px 6px}
  .mg-off .mg-nav{flex-direction:column-reverse}
  .mg-off .mg-nav .mg-btn{width:100%;justify-content:center}
  .mg-off input.mg-ac-in{font-size:15px}
}
.mg-off .mg-totaal .amt.aanvraag{font-size:clamp(22px,3.6vw,28px);color:var(--signal)}
