/* Nova ophaalservice. Alleen geladen op de pagina met de calculator. */
.op, .op *, .op-balk, .op-balk * { box-sizing: border-box; }
.op [hidden], .op-balk[hidden] { display: none !important; }
.op { --fout: #b3261e; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(1.5rem, 3.4vw, 3rem); align-items: start; max-width: var(--content) !important; margin-top: clamp(1.6rem, 3vw, 2.4rem); text-align: left; accent-color: var(--orange); }
.op:not(.is-actief) .op-js { display: none; }
.op h3, .op h4, .op p, .op ul, .op ol, .op dl { margin-block: 0; }
.op ul, .op ol { list-style: none; padding: 0; }
.op fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.op button { font: inherit; cursor: pointer; }
.op-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.op-hoofd { min-width: 0; }
.op button:focus-visible, .op-balk button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.op .op-kop { font-size: clamp(1.45rem, 2.6vw, 1.8rem); font-weight: 600; color: var(--navy); line-height: 1.2; text-wrap: balance; margin-bottom: 1.2rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.op .op-kop:focus { outline: none; }

/* voortgang */
.op-voortgang { margin-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.op-voortgang ol { display: grid; grid-template-columns: 1fr 1fr auto; }
.op-voortgang li { position: relative; }
.op-voortgang li:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 46px; right: 10px; height: 2px; background: var(--line); pointer-events: none; }
.op-voortgang li:has(.is-klaar)::after { background: var(--navy); }
.op-voortgang button { display: grid; justify-items: start; gap: .45rem; width: 100%; padding: 0; border: 0; background: none; color: var(--text-soft); font-size: .94rem; line-height: 1.2; text-align: left; border-radius: var(--r); }
.op-voortgang button:disabled { cursor: default; }
.op-punt { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-variant-numeric: tabular-nums; }
.op-punt b { font-weight: 600; }
.op-punt .nv-ic { display: none; width: 18px; height: 18px; stroke-width: 2.5; }
.op-voortgang [aria-current] { color: var(--navy); font-weight: 600; }
.op-voortgang [aria-current] .op-punt { background: var(--navy); border-color: var(--navy); color: #fff; }
.op-voortgang .is-klaar { color: var(--navy); }
.op-voortgang .is-klaar .op-punt { border-color: var(--navy); }
.op-voortgang .is-klaar .op-punt b { display: none; }
.op-voortgang .is-klaar .op-punt .nv-ic { display: block; }
.op-voortgang .is-klaar:hover { color: var(--orange-deep); }

/* stapwissel */
.op-stap.komt { animation: op-komt .34s cubic-bezier(.16, 1, .3, 1); }
.op-stap.komt-terug { animation: op-terug .34s cubic-bezier(.16, 1, .3, 1); }
@keyframes op-komt { from { opacity: .25; transform: translateX(22px); } }
@keyframes op-terug { from { opacity: .25; transform: translateX(-22px); } }

/* stap 1: zoeken en kiezen. 16px of meer in velden: anders zoomt iOS in. */
.op input:not([type="radio"], [type="checkbox"]), .op textarea, .op select { width: 100%; font: inherit; font-size: max(1rem, 16px) !important; color: var(--text); background-color: #fff; border: 1px solid #b9b3a8; border-radius: var(--r); padding: .82rem .95rem; caret-color: var(--orange-deep); }
.op input::placeholder, .op textarea::placeholder { color: #6a6577; opacity: 1; }
.op input:focus, .op textarea:focus, .op select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 93, 3, .16); }
.op-zoek { position: relative; }
.op-zoek .nv-ic { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-soft); pointer-events: none; }
.op .op-zoek input { padding-left: 2.9rem; }
.op-cats { display: none; }
.is-actief .op-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .8rem 0 1.5rem; }
.op-cat { display: flex; align-items: center; gap: .65rem; min-height: 50px; text-align: left; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--r); padding: .5rem .8rem; line-height: 1.2; transition: border-color .16s; }
.op .op-cat { font-size: .9rem; font-weight: 500; }
.op-cat > span { flex: 1; min-width: 0; }
.op-cat .nv-ic { flex: none; width: 21px; height: 21px; color: var(--orange-deep); }
.op-cat:hover { border-color: var(--navy); }
.op-cat[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.op-cat[aria-pressed="true"] .nv-ic { color: #ffb08a; }
.op-badge { min-width: 1.5rem; padding: 0 .4rem; border-radius: 99px; background: var(--orange); color: var(--navy); font-size: .8rem; line-height: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }

.op-groep + .op-groep { margin-top: 1.6rem; }
.op-groep h4 { font-size: 1.08rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.is-snel .op-groep + .op-groep { margin-top: 0; }
.is-snel .op-groep h4, .is-actief:not(.is-snel) .op-groep h4 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.op-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 122px; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.op-item > .nv-ic { width: 26px; height: 26px; color: var(--text-soft); }
.op-item.is-gekozen > .nv-ic { color: var(--orange-deep); }
.op-tekst b { display: block; font-weight: 600; color: var(--navy); line-height: 1.3; }
.op-tekst small { display: block; font-size: .88rem; color: var(--text-soft); line-height: 1.35; }
.op-prijs { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.op-tel { display: none; grid-template-columns: 44px 1fr 44px; align-items: center; border: 1px solid #b9b3a8; border-radius: var(--r); background: #fff; }
.is-actief .op-tel { display: grid; }
.op-tel button { height: 44px; padding: 0; border: 0; background: none; color: var(--navy); display: grid; place-items: center; border-radius: var(--r); touch-action: manipulation; }
.op-tel button:hover:not(:disabled) { color: var(--orange-deep); background: var(--mist); }
.op-tel button:disabled { color: #b9bdc8; cursor: default; }
.op-tel .nv-ic { width: 18px; height: 18px; stroke-width: 2.25; }
.op-tel output { text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.op-item.is-gekozen .op-tel { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

.op-eigen { display: grid; gap: .7rem; margin-top: 1.4rem; background: var(--mist); border-radius: var(--r); padding: 1.1rem; }
.op-eigen-kop { font-size: .94rem; line-height: 1.45; color: var(--text); }
.op-eigen-rij { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; }
.op .op-eigen.is-geen { margin-top: 0; }
.op .op-geen { font-weight: 600; color: var(--navy); }
.op-knop2 { border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: var(--r-btn); padding: .75rem 1.2rem; transition: background .16s, color .16s; }
.op .op-knop2 { font-weight: 600; }
.op-knop2:hover:not(:disabled) { background: var(--navy); color: #fff; }
.op-knop2:disabled { opacity: .5; cursor: default !important; }
.op .op-voet { font-size: .88rem; color: var(--text-soft); margin-top: 1rem; }

/* navigatie onder een stap */
.op-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.op-nav .vbh-btn { margin-left: auto; border: 0; }
.op .op-nav .vbh-btn { font-weight: 600; }
.op-nav .vbh-btn .nv-ic, .op-terug .nv-ic { width: 18px; height: 18px; stroke-width: 2.25; }
.op-nav .vbh-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.op-terug { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; border: 0; background: none; color: var(--navy); padding: 0 .3rem 0 0; text-underline-offset: .25em; }
.op .op-terug { font-weight: 500; }
.op-terug:hover { text-decoration: underline; text-decoration-color: var(--orange); }

/* stap 2 en 3 */
.op .op-form { display: block; }
.op-velden { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.op-groepveld { margin-top: 1.7rem !important; }
.op-kop + .op-groepveld { margin-top: 0 !important; }
.op-groepveld + .op-velden { margin-top: 1.7rem; }
.op-veld { min-width: 0; }
.op-breed { grid-column: 1 / -1; }
.op-veld > label:not(.vbh-check), .op-groepveld legend, .op-hoog > span { display: block; font-weight: 600; color: var(--navy); margin-bottom: .45rem; padding: 0; font-size: 1rem; }
.op .op-form textarea { min-height: 76px; display: block; }
.op-form .vbh-check { align-items: center; min-height: 32px; }
.op-form .vbh-check input { width: 1.2rem; height: 1.2rem; margin: 0; }
.op-fout { color: var(--fout); font-size: .92rem; font-weight: 500; margin-top: .4rem !important; }
.op input.heeft-fout:not([type="checkbox"]) { border-color: var(--fout); }
.op .op-leeg-fout { margin-top: 1rem !important; }
.op-keuzes { display: grid; gap: .5rem; }
.op-keuzes-6 { grid-template-columns: 1.5fr repeat(4, 1fr) 1.5fr; }
.op-keuzes-2, .op-keuzes-2 + p { max-width: 480px; }
.op-keuzes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-keuzes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.op-dagen { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.op-keuze { position: relative; display: block; cursor: pointer; }
.op .op-keuze input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.op-keuze > span { display: grid; place-content: center; min-height: 52px; height: 100%; padding: .45rem .5rem; text-align: center; border: 1px solid #b9b3a8; border-radius: var(--r); background: #fff; color: var(--navy); font-weight: 500; line-height: 1.25; transition: border-color .16s; }
.op-keuze small { display: block; font-size: .84rem; font-weight: 400; color: var(--text-soft); }
.op-keuze:hover > span { border-color: var(--navy); }
.op-keuze input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.op-keuze input:checked + span small { color: var(--on-navy-soft); }
.op-keuze input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.heeft-fout .op-keuze > span { border-color: var(--fout); }
.op-hoog { display: block; max-width: 280px; margin-top: 1rem; }
.op-datumveld { max-width: 280px; margin-top: 1rem; }
.op select { appearance: none; padding-right: 2.4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px; }
.op-verzendfout { margin-top: 1.2rem; }
.op .op-gerust { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.2rem; font-size: .94rem; line-height: 1.45; color: var(--text); }
.op-gerust .nv-ic { flex: none; width: 20px; height: 20px; margin-top: .1rem; color: var(--orange-deep); }

/* klaar */
.op-klaar { display: grid; justify-items: start; gap: 1.1rem; max-width: 620px; }
.op .op-klaar .op-kop { margin-bottom: 0; }
.op-klaar-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; }
.op-klaar-ic .nv-ic { width: 28px; height: 28px; stroke-width: 2.5; animation: op-vink .6s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
@keyframes op-vink { from { clip-path: inset(0 100% 0 0); } }
.op-samenvatting { width: 100%; border-top: 1px solid var(--line); }
.op-samenvatting > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.op-samenvatting:empty { display: none; }
.op-samenvatting dt { color: var(--text-soft); }
.op-samenvatting dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.op.is-verzonden { grid-template-columns: minmax(0, 1fr); }
.op.is-verzonden .op-rechts, .op.is-verzonden .op-voortgang { display: none; }
.op .op-hoofd > .vbh-form-ok, .op .op-hoofd > .vbh-form-err { margin-bottom: 1.4rem; }

/* overzicht */
.op-rechts { position: sticky; top: calc(var(--header-h) + 1.2rem); }
.op-kaart { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: grid; gap: 1rem; max-height: calc(100vh - var(--header-h) - 2.4rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.op-kaart h3 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.op-leeg, .op-rit, .op-klein, .op-volgt, .op-vanaf { font-size: .92rem; line-height: 1.45; color: var(--text-soft); }
.op .op-ruimte { font-size: .94rem; line-height: 1.45; color: var(--navy); background: var(--tint); border-radius: var(--r); padding: .8rem .95rem; }
.op-gekozen:empty { display: none; }
.op-gekozen li { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; gap: .5rem; align-items: start; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; line-height: 1.35; color: var(--navy); overflow-wrap: anywhere; }
.op-gekozen small { display: block; color: var(--text-soft); font-size: .84rem; }
.op-gekozen li > span + span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.op-gekozen button { width: 32px; height: 32px; margin-top: -.35rem; border: 0; background: none; color: var(--text-soft); display: grid; place-items: center; padding: 0; border-radius: var(--r); }
.op-gekozen button:hover { color: var(--fout); }
.op-gekozen .nv-ic { width: 16px; height: 16px; }
.op-som { display: grid; gap: .4rem; font-size: .94rem; color: var(--text); }
.op-som > div { display: flex; justify-content: space-between; gap: 1rem; }
.op-som dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.op-som .op-totaal { border-top: 2px solid var(--navy); margin-top: .4rem; padding-top: .7rem; font-weight: 600; color: var(--navy); align-items: baseline; flex-wrap: wrap; gap: .1rem 1rem; }
.op-totaal dd { font-size: 1.4rem; }

/* balk op mobiel en tablet */
.op-balk { position: fixed; inset: auto 0 0 0; z-index: 91; display: none; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--navy); color: #fff; padding: .6rem 20px calc(.6rem + env(safe-area-inset-bottom)); transition: transform .25s cubic-bezier(.16, 1, .3, 1), visibility .25s; }
.op-balk button { font: inherit; border: 0; cursor: pointer; }
.op-balk-som { display: grid; justify-items: start; background: none; color: #fff; padding: .2rem 0; min-height: 48px; text-align: left; border-radius: var(--r-btn); }
.op-balk-som span { display: flex; align-items: center; gap: .35rem; font-size: .86rem; color: var(--on-navy-soft); }
.op-balk-som i { font-style: normal; }
.op-balk-som .nv-ic { width: 16px; height: 16px; transition: transform .2s; }
.op-balk-som[aria-expanded="true"] .nv-ic { transform: rotate(180deg); }
.op-balk-som b { font-size: 1.16rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.op-balk .op-balk-knop { font-weight: 600; background: var(--orange); color: #fff; border-radius: var(--r-btn); padding: 0 1.5rem; min-height: 48px; }
.op-balk.is-laatste .op-balk-knop { display: none; }

/* Compactere hero op deze pagina, zodat de calculator eerder in beeld komt. */
.vbh-hero.is-page.op-hero { min-height: 60svh !important; }
.vbh-hero.is-page.op-hero .wp-block-cover__inner-container { min-height: 60svh; padding-block: calc(var(--header-h) + 1rem) 1.5rem !important; }
.op-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.6rem); margin-top: 1.6rem; }
.op-info h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 0 0 .4rem; }
.op-info .nv-reasons { margin-top: .6rem; }
.nv-timeline.op-drie { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
	.op { grid-template-columns: minmax(0, 1fr); }
	.op-balk { display: grid; }
	html:has(.op-balk:not([hidden])) { scroll-padding-bottom: 96px; } /* focus en velden niet achter de balk */
	.op-balk.is-weg { transform: translateY(110%); visibility: hidden; }
	/* het overzicht schuift als blad boven de balk uit */
	.op-rechts { position: fixed; z-index: 90; inset: auto 0 var(--op-balk-h, 70px) 0; top: auto; visibility: hidden; transform: translateY(24px); opacity: 0; transition: transform .28s cubic-bezier(.16, 1, .3, 1), opacity .2s, visibility .28s; }
	.op-rechts.is-open { visibility: visible; transform: none; opacity: 1; }
	.op-kaart { max-height: min(70vh, 560px); max-height: min(70dvh, 560px); border-radius: var(--r) var(--r) 0 0; border-width: 1px 0 0; box-shadow: 0 -18px 44px -18px rgba(8, 5, 25, .38); }
	[data-stap="1"] > .op-hoofd .op-nav .op-verder, [data-stap="2"] > .op-hoofd .op-nav .op-verder { display: none; }
}
@media (max-width: 781px) {
	.op-info, .nv-timeline.op-drie { grid-template-columns: minmax(0, 1fr); }
	/* categorieën als één veegbare rij, tot aan de schermrand */
	.is-actief .op-cats { display: flex; overflow-x: auto; margin-inline: calc(-1 * var(--op-goot, 0px)); padding: 3px var(--op-goot, 0px); scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
	.op-cats::-webkit-scrollbar { display: none; }
	.is-actief .op-cats::after { content: ""; flex: 0 0 9%; } /* laatste categorie niet in de vervaging */
	.op-cat { flex: none; min-height: 46px; white-space: nowrap; scroll-snap-align: center; }
	.op-keuzes-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.op-keuzes-6 > :first-child, .op-keuzes-6 > :last-child { grid-column: 1 / -1; }
	.op-dagen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.op-keuzes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.op-item { grid-template-columns: 24px minmax(0, 1fr) 122px; gap: .1rem .8rem; }
	.op-item > .nv-ic { grid-row: 1 / 3; width: 24px; height: 24px; }
	.op-prijs { grid-column: 2; grid-row: 2; font-size: .95rem; }
	.op-tekst { grid-column: 2; grid-row: 1; }
	.op-tel { grid-column: 3; grid-row: 1 / 3; }
	.op-velden > * { grid-column: 1 / -1; }
	.op-form [data-stapnr="2"] .op-velden > * { grid-column: auto; }
	[data-stap="3"] .op-nav { flex-direction: column-reverse; align-items: stretch; gap: .6rem; }
	[data-stap="3"] .op-nav .vbh-btn { justify-content: center; margin-left: 0; min-height: 52px; }
	.op-terug { justify-content: center; }
	[data-stap="2"] .op-terug { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.op-stap.komt, .op-stap.komt-terug, .op-klaar-ic .nv-ic { animation: none; }
	.op-balk, .op-rechts { transition: none; }
}
