/* ═══════════════════════════════════════════════════════════════════════════
   BPM Calculator v2.0  –  Professionele styling
   Kleurenschema: diepblauw (#0B1F3A) + BPM Point blauw (#3568F3)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

/* ── CSS Variabelen ────────────────────────────────────────────────────── */
.bpm-calc {
    --bpm-dark:    #0B1F3A;
    --bpm-mid:     #14355C;
    --bpm-accent:  #3568F3;
    --bpm-accent2: #000000;
    --bpm-bg:      #F4F6FA;
    --bpm-surface: #FFFFFF;
    --bpm-border:  #D8DFEA;
    --bpm-text:    #1A2B3C;
    --bpm-muted:   #6B7C93;
    --bpm-green:   #0E7E5A;
    --bpm-error:   #C0392B;
    --bpm-radius:  12px;
    --bpm-shadow:  0 4px 24px rgba(11,31,58,.12);

    max-width: 900px;
    margin: 2.5rem auto 3rem;
    font-family: 'Roboto Condensed', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--bpm-text);
    line-height: 1.6;
}
.bpm-calc, .bpm-calc * { font-family: 'Roboto Condensed', system-ui, -apple-system, sans-serif; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.bpm-calc__header {
    background: linear-gradient(135deg, #0a1628 0%, #0f2044 40%, #1a3460 100%);
    border-radius: var(--bpm-radius) var(--bpm-radius) 0 0;
    padding: .9rem 2.5rem .85rem;
    position: relative;
    overflow: hidden;
}
/* Decoratieve cirkels */
.bpm-calc__header::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53,104,243,.25) 0%, transparent 70%);
    pointer-events: none;
}
.bpm-calc__header::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 30%;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53,104,243,.12) 0%, transparent 70%);
    pointer-events: none;
}
/* Extra decoratieve lijn onderaan */
.bpm-calc__header .bpm-calc__header-inner--with-logo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
}
.bpm-calc__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: transparent;
    color: rgba(255,255,255,.8);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .3rem .85rem;
    border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,.2);
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}
.bpm-calc__badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80, 0 0 16px rgba(74,222,128,.4);
    flex-shrink: 0;
}
.bpm-calc__title {
    margin: 0 0 .5rem;
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.bpm-calc__subtitle {
    margin: 0;
    color: rgba(255,255,255,.55);
    font-size: .9rem;
    line-height: 1.55;
    max-width: 360px;
}

/* ── Google reviews badge in header ─────────────────────────────────── */
.bpm-calc__reviews {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    padding: .45rem .85rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    text-decoration: none !important;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s, transform .2s, border-color .2s;
}
.bpm-calc__reviews:hover,
.bpm-calc__reviews:focus {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.32);
    color: #fff;
    text-decoration: none !important;
    transform: translateY(-1px);
}
.bpm-calc .bpm-calc__reviews-logo {
    display: inline-block !important;
    height: 16px !important;
    width: auto !important;
    max-width: 60px !important;
    max-height: 16px !important;
    min-height: 0 !important;
    background: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    box-sizing: content-box;
    vertical-align: middle;
    object-fit: contain;
}
.bpm-calc__reviews-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}
.bpm-calc .bpm-calc__reviews-star {
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    min-height: 0 !important;
    object-fit: contain;
    vertical-align: middle;
}
.bpm-calc__reviews-score { font-weight: 700; color: #fff; }
.bpm-calc__reviews-sep {
    opacity: .45;
    font-weight: 400;
}
.bpm-calc__reviews-count { color: rgba(255,255,255,.85); font-weight: 500; }

/* ── Reviews badge variant voor lichte achtergrond (in actions-bar) ─── */
.bpm-calc__reviews--light {
    background: transparent;
    border: none;
    color: var(--bpm-text);
    margin-top: 0;
    margin-left: auto;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: .45rem .25rem;
    transform: none;
    transition: opacity .2s;
}
.bpm-calc .bpm-calc__reviews--light:hover,
.bpm-calc .bpm-calc__reviews--light:focus,
.bpm-calc .bpm-calc__reviews--light:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--bpm-text) !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: .75;
    text-decoration: none !important;
}
.bpm-calc__reviews--light .bpm-calc__reviews-logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.bpm-calc__reviews--light .bpm-calc__reviews-score { color: var(--bpm-text); }
.bpm-calc__reviews--light .bpm-calc__reviews-sep { color: var(--bpm-muted); opacity: .6; }
.bpm-calc__reviews--light .bpm-calc__reviews-count { color: var(--bpm-muted); }

/* ── Partner logo's onderaan – auto-marquee ─────────────────────────── */
.bpm-calc__partners {
    margin-top: 1.5rem;
    padding: 1.25rem 0 1.1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.bpm-calc__partners-title {
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    color: var(--bpm-muted);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .9rem;
}
.bpm-calc__partners-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.bpm-calc__partners-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    align-items: center;
    animation: bpm-partners-marquee 36s linear infinite;
}
.bpm-calc__partners-track:hover {
    animation-play-state: paused;
}
.bpm-calc__partners-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}
.bpm-calc .bpm-calc__partners-item img {
    display: block !important;
    height: auto !important;
    width: auto !important;
    max-height: 44px !important;
    max-width: 150px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .25s, opacity .25s;
}
.bpm-calc .bpm-calc__partners-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}
@keyframes bpm-partners-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .bpm-calc__partners-track { animation: none; }
}
@media (max-width: 700px) {
    .bpm-calc__partners { padding: 1rem .9rem; margin-top: 1rem; }
    .bpm-calc__partners-track { gap: 2rem; animation-duration: 28s; }
    .bpm-calc__partners-item { height: 36px; }
    .bpm-calc__partners-item img { max-height: 32px; max-width: 110px; }
}

.bpm-calc__header-inner--with-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.bpm-calc__header-copy {
    flex: 1 1 420px;
    min-width: 0;
}
.bpm-calc__header-logo-wrap {
    flex: 0 0 auto;
    max-width: 320px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    gap: .9rem;
}

/* Terug-naar-home knop links van het logo in de calculator-header. */
.bpm-calc__header-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem .55rem .7rem;
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    text-decoration: none !important;
    font: 600 .82rem/1 inherit;
    letter-spacing: .02em;
    box-shadow: 0 1px 2px rgba(0,0,0,.18);
    transition: background-color .18s ease, border-color .18s ease,
                transform .18s ease, box-shadow .18s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255,255,255,.18);
}
.bpm-calc__header-back:hover,
.bpm-calc__header-back:focus-visible {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.55);
    color: #fff;
    transform: translateX(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    outline: none;
    text-decoration: none !important;
}
.bpm-calc__header-back:active {
    transform: translateX(-1px) scale(.98);
}
.bpm-calc__header-back svg {
    display: block;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.bpm-calc__header-back:hover svg {
    transform: translateX(-3px);
}
.bpm-calc__header-back-text {
    display: inline-block;
    white-space: nowrap;
}
.bpm-calc__header-logo {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    /* Originele logo is blauw op transparant; op donkere gradient header tonen we het wit */
    filter: brightness(0) invert(1);
}

/* ── Body ───────────────────────────────────────────────────────────────── */
.bpm-calc__body {
    background: var(--bpm-bg);
    border: 1px solid var(--bpm-border);
    border-top: none;
    border-radius: 0 0 var(--bpm-radius) var(--bpm-radius);
    padding: 2rem 2rem 2.5rem;
}

/* ── Sectie ─────────────────────────────────────────────────────────────── */
.bpm-calc__section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 .25rem;
    margin-bottom: 1.5rem;
    box-shadow: none;
}
.bpm-calc__section-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bpm-muted);
    margin-bottom: 1.1rem;
}
.bpm-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    background: linear-gradient(135deg, #3568F3 0%, #2451cc 100%);
    color: #fff;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(53,104,243,.35);
}

/* ── Voertuigtype kaarten ───────────────────────────────────────────────── */
/* ── Voertuigtype kaarten ───────────────────────────────────────────────── */
.bpm-type-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .6rem;
}
.bpm-type-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1.1rem .6rem .9rem;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    background: #ffffff;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    user-select: none;
    text-align: center;
    box-shadow: 0 1px 4px rgba(11,31,58,.06), 0 0 0 0 rgba(53,104,243,0);
}
.bpm-type-card input[type="radio"] { display: none; }
.bpm-type-card:hover {
    border-color: #c7d6ff;
    background: #f8fbff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(53,104,243,.12), 0 2px 6px rgba(11,31,58,.06);
}
.bpm-type-card--active {
    border-color: #3568F3 !important;
    background: #f5f8ff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(53,104,243,.12), 0 6px 16px rgba(53,104,243,.15) !important;
}
.bpm-type-card__icon {
    width: 56px; height: 56px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px;
    transition: transform .2s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0;
    line-height: 0;
}
.bpm-type-card__icon svg {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    margin: auto !important;
    flex-shrink: 0;
}
.bpm-type-card:hover .bpm-type-card__icon { transform: scale(1.08) translateY(-1px); }
.bpm-type-card--active .bpm-type-card__icon { transform: scale(1.05); }

/* Kleurthema's per type */
.bpm-type-card__icon--blue   { background: #eff4ff; color: #2451cc; }
.bpm-type-card__icon--slate  { background: #f0f2ff; color: #3d52d4; }
.bpm-type-card__icon--violet { background: #f3f0ff; color: #5b3fd4; }
.bpm-type-card__icon--amber  { background: #fffbeb; color: #b45309; }
.bpm-type-card__icon--green  { background: #f0fdf4; color: #16803c; }

/* Active state: icoon iets intenser */
.bpm-type-card--active .bpm-type-card__icon--blue   { background: #dce8ff; color: #1a3fbf; }
.bpm-type-card--active .bpm-type-card__icon--slate  { background: #dde4ff; color: #2d42c4; }
.bpm-type-card--active .bpm-type-card__icon--violet { background: #ede8ff; color: #4a2fc4; }
.bpm-type-card--active .bpm-type-card__icon--amber  { background: #fef3c7; color: #92400e; }
.bpm-type-card--active .bpm-type-card__icon--green  { background: #dcfce7; color: #166534; }

.bpm-type-card__name {
    font-size: .82rem;
    font-weight: 700;
    color: #1A2B3C;
    line-height: 1.2;
}
.bpm-type-card__desc {
    font-size: .68rem;
    color: #6B7C93;
    font-weight: 500;
    line-height: 1.2;
}

/* ── Form grid ──────────────────────────────────────────────────────────── */
.bpm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem 1.1rem;
    align-items: start;
}
.bpm-form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 0;
}
.bpm-form-field.bpm-field--hidden { display: none; }

.bpm-label {
    font-size: .83rem;
    font-weight: 600;
    color: var(--bpm-text);
    display: flex;
    align-items: center;
    gap: .35rem;
    min-height: 1.3em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bpm-nedc-badge {
    font-size: .68rem;
    font-weight: 600;
    background: #EBF3FF;
    color: #1A5FA8;
    padding: .1rem .4rem;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── Input wrapper met icoon ─────────────────────────────────────────── */
.bpm-input-wrap {
    position: relative;
    width: 100%;
}
.bpm-input-icon {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bpm-muted);
    pointer-events: none;
    transition: color .18s;
    z-index: 2;
}
.bpm-input-chevron {
    position: absolute;
    right: .7rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    color: var(--bpm-muted);
    pointer-events: none;
    z-index: 2;
}
.bpm-input-wrap:focus-within .bpm-input-icon { color: var(--bpm-accent); }

.bpm-calc .bpm-input,
.bpm-calc .bpm-input-wrap select.bpm-input {
    padding: .65rem .85rem .65rem 2.5rem;
    border: 1.5px solid var(--bpm-border);
    border-radius: 10px;
    font-size: .95rem;
    font-family: inherit;
    background-color: #fff !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    color: var(--bpm-text);
    transition: border-color .18s, box-shadow .18s;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    line-height: 1.3;
}
.bpm-calc .bpm-input-wrap--select select.bpm-input {
    padding-right: 2.25rem;
    cursor: pointer;
}
.bpm-calc .bpm-input:focus,
.bpm-calc .bpm-input-wrap select.bpm-input:focus {
    outline: none;
    border-color: var(--bpm-accent);
    box-shadow: 0 0 0 3px rgba(53,104,243,.18);
}
.bpm-calc .bpm-input::placeholder { color: #B0BFCC; }

/* Hint die rechtsonder in de input-wrap zit, subtiel */
.bpm-field-hint {
    font-size: .74rem;
    color: var(--bpm-muted);
    line-height: 1.4;
}
.bpm-field-hint--corner {
    position: absolute;
    right: .85rem;
    bottom: -1.05rem;
    font-size: .68rem;
    font-style: italic;
    color: var(--bpm-muted);
    opacity: .75;
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100% - 1.7rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Number input: pijltjes verbergen voor cleaner uiterlijk */
.bpm-calc .bpm-input[type="number"]::-webkit-outer-spin-button,
.bpm-calc .bpm-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bpm-calc .bpm-input[type="number"] { -moz-appearance: textfield; }

/* Info banner */
.bpm-info-banner {
    margin-top: 1rem;
    padding: .7rem 1rem;
    background: #EFF6FF;
    border-left: 3px solid #3B82F6;
    border-radius: 0 6px 6px 0;
    font-size: .83rem;
    color: #1E40AF;
    line-height: 1.5;
}

/* ── Tooltip ────────────────────────────────────────────────────────────── */
.bpm-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bpm-border);
    color: var(--bpm-muted);
    font-size: .68rem;
    font-weight: 700;
    cursor: help;
    transition: background .15s;
}
.bpm-tooltip:hover { background: var(--bpm-dark); color: #fff; }
.bpm-tooltip-box {
    position: absolute;
    z-index: 9999;
    max-width: 280px;
    padding: .5rem .75rem;
    background: #1e293b !important;
    color: #ffffff !important;
    font-size: .78rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    pointer-events: none;
    line-height: 1.5;
    font-family: inherit;
}
.bpm-tooltip-box * {
    color: #ffffff !important;
}

/* ── Acties ─────────────────────────────────────────────────────────────── */
.bpm-calc__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .25rem;
}
.bpm-btn-calc {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
    transition: background .18s, box-shadow .18s, transform .12s;
}
.bpm-btn-calc:hover { background: var(--bpm-accent); color: #fff; box-shadow: 0 6px 18px rgba(53,104,243,.45); }
.bpm-btn-calc:active { transform: scale(.97); }
.bpm-btn-calc__icon { font-size: 1.1rem; display: inline-flex; }

.bpm-btn-reset {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: transparent;
    border: none;
    color: #C0392B;
    font-size: .88rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: .55rem .35rem;
    border-radius: 0;
    transition: color .18s, transform .12s;
}
.bpm-btn-reset:hover { color: #8B1F14; background: transparent; }
.bpm-btn-reset:active { transform: scale(.97); }
.bpm-btn-reset__icon { display: inline-flex; }
.bpm-btn-reset__icon svg { width: 16px; height: 16px; }

/* ── Foutmelding ────────────────────────────────────────────────────────── */
.bpm-alert {
    padding: .9rem 1.1rem;
    border-radius: 8px;
    font-size: .88rem;
    margin-bottom: 1rem;
}
.bpm-alert--error {
    background: #FFF1F0;
    border: 1px solid #FFB8B0;
    border-left: 4px solid var(--bpm-error);
    color: var(--bpm-error);
}

/* ── Resultaat ──────────────────────────────────────────────────────────── */
/* ── RESULTAAT — minimal, getal centraal ───────────────────────────── */
.bpm-result {
    background: var(--bpm-surface);
    border: 1px solid var(--bpm-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(11,31,58,.06);
    margin-top: 1.5rem;
}

/* Hero: het bedrag is de ster */
.bpm-result__hero {
    text-align: center;
    padding: 1.75rem 1.5rem 2.25rem;
    background: #fff;
    border-bottom: 1px solid var(--bpm-border);
}
.bpm-result__hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}
.bpm-result__hero-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bpm-muted);
}
.bpm-result__voertuig {
    font-size: .72rem;
    font-weight: 600;
    color: var(--bpm-accent);
    background: #EFF4FF;
    padding: .3rem .75rem;
    border-radius: 999px;
    letter-spacing: .01em;
    white-space: nowrap;
}
.bpm-result__hero-value,
.bpm-result__hero-amount {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--bpm-dark);
    letter-spacing: -.045em;
    line-height: 1;
    margin: 0 0 .85rem;
    font-variant-numeric: tabular-nums;
    /* solid kleur — geen gradient meer voor maximale duidelijkheid */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}
.bpm-result__hero-sub {
    font-size: .82rem;
    color: var(--bpm-muted);
    font-weight: 500;
    line-height: 1.5;
    max-width: 540px;
    margin: 0 auto;
}

/* Stats grid — minimal & strak */
.bpm-result__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #FAFBFD;
    border-bottom: 1px solid var(--bpm-border);
}
.bpm-stat-item {
    padding: .95rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    border-right: 1px solid var(--bpm-border);
    border-bottom: 1px solid var(--bpm-border);
    background: transparent;
}
.bpm-stat-item:nth-child(3n) { border-right: none; }
.bpm-stat-item:nth-last-child(-n+3) { border-bottom: none; }
.bpm-stat-item__label {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bpm-muted);
}
.bpm-stat-item__value {
    font-size: .92rem;
    font-weight: 600;
    color: var(--bpm-text);
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}
.bpm-stat-item--accent {
    background: #F5F8FF;
}
.bpm-stat-item--accent .bpm-stat-item__value {
    color: var(--bpm-accent);
    font-weight: 700;
}

/* Breakdown — minimal toggle */
.bpm-breakdown {
    border-bottom: 1px solid var(--bpm-border);
}
.bpm-breakdown__toggle {
    padding: .85rem 1.5rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--bpm-text);
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: .55rem;
    transition: background .15s;
}
.bpm-breakdown__toggle::-webkit-details-marker { display: none; }
.bpm-breakdown__toggle:hover { background: #F8FAFC; }
.bpm-breakdown__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bpm-muted);
    transition: transform .2s ease;
}
details[open] .bpm-breakdown__chev { transform: rotate(90deg); }
.bpm-breakdown__content {
    padding: .25rem 1.5rem 1.25rem;
    font-size: .82rem;
    line-height: 1.85;
    color: var(--bpm-text);
}
.bpm-breakdown__content ol {
    margin: 0;
    padding-left: 1.3rem;
}
.bpm-breakdown__content li { margin-bottom: .15rem; }

/* CTA onderaan resultaat — minimal */
.bpm-result__cta {
    padding: 1rem 1.5rem 1.15rem;
    background: #FAFBFD;
}
.bpm-result__cta-text {
    font-size: .85rem;
    color: var(--bpm-text);
    margin-bottom: .35rem;
    line-height: 1.5;
}
.bpm-result__cta-disclaimer {
    font-size: .7rem;
    color: var(--bpm-muted);
    letter-spacing: .01em;
}

/* ── Contact-blok onder berekening / vrijstelling ────────────────────── */
.bpm-contact {
    margin-top: 1.5rem;
    background: var(--bpm-surface);
    border: 1px solid var(--bpm-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(11,31,58,.06);
}
.bpm-contact__intro {
    padding: 1.25rem 1.5rem .5rem;
    text-align: center;
}
.bpm-contact__intro-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bpm-accent);
    margin-bottom: .35rem;
}
.bpm-contact__intro-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bpm-dark);
    line-height: 1.3;
    margin-bottom: .35rem;
}
.bpm-contact__intro-text {
    font-size: .85rem;
    color: var(--bpm-muted);
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto;
}
.bpm-contact__cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
}
.bpm-contact__btn {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1.1rem;
    background: #fff;
    border: 1.5px solid var(--bpm-border);
    border-radius: 12px;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
    text-align: left;
    font-family: inherit;
    color: var(--bpm-text);
    width: 100%;
}
.bpm-contact__btn:hover {
    border-color: var(--bpm-accent);
    background: transparent !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(53,104,243,.08);
    color: var(--bpm-text);
    text-decoration: none !important;
}
.bpm-contact__btn-icon {
    width: 40px; height: 40px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px;
    flex-shrink: 0;
    background: #EFF4FF;
    color: var(--bpm-accent);
}
.bpm-contact__btn--call .bpm-contact__btn-icon {
    background: #E8F7EE;
    color: #16803c;
}
.bpm-contact__btn-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}
.bpm-contact__btn-label {
    font-size: .92rem;
    font-weight: 700;
    color: var(--bpm-dark);
    line-height: 1.2;
}
.bpm-contact__btn-sub {
    font-size: .76rem;
    color: var(--bpm-muted);
    font-weight: 500;
    line-height: 1.2;
}

/* Form */
.bpm-contact__form {
    border-top: 1px solid var(--bpm-border);
    background: #FAFBFD;
    padding: 1.25rem 1.5rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
    padding-top: 0;
    padding-bottom: 0;
}
.bpm-contact__form[hidden] {
    display: none !important;
}
.bpm-contact__form.is-open {
    max-height: 900px;
    opacity: 1;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
}
.bpm-contact__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem 1rem;
}
.bpm-contact__field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
}
.bpm-contact__field--full {
    grid-column: 1 / -1;
}
.bpm-contact__field label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--bpm-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.bpm-contact__req {
    color: var(--bpm-accent);
}
.bpm-contact__field input,
.bpm-contact__field select,
.bpm-contact__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: .65rem .85rem;
    font: 500 .9rem/1.4 inherit;
    color: var(--bpm-text);
    background: #fff;
    border: 1px solid var(--bpm-border);
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s;
    appearance: none;
    -webkit-appearance: none;
}
.bpm-contact__field input:focus,
.bpm-contact__field select:focus,
.bpm-contact__field textarea:focus {
    outline: none;
    border-color: var(--bpm-accent);
    box-shadow: 0 0 0 3px rgba(53,104,243,.12);
}
.bpm-contact__field textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}
.bpm-contact__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7C93' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    padding-right: 2rem;
}

.bpm-contact__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.bpm-contact__consent {
    margin-top: .85rem;
    font-size: .8rem;
    color: var(--bpm-muted);
    line-height: 1.5;
}
.bpm-contact__consent label {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    cursor: pointer;
}
.bpm-contact__consent input[type="checkbox"] {
    margin-top: .15rem;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--bpm-accent);
}
.bpm-contact__consent a {
    color: var(--bpm-accent);
    text-decoration: underline;
}

.bpm-contact__actions {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.bpm-contact__submit {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.4rem;
    background: var(--bpm-dark);
    color: #fff;
    border: none;
    border-radius: 10px;
    font: 700 .92rem/1 inherit;
    cursor: pointer;
    transition: background .15s, transform .15s, opacity .15s;
}
.bpm-contact__submit:hover:not(:disabled) {
    background: var(--bpm-accent);
    transform: translateY(-1px);
}
.bpm-contact__submit:disabled {
    opacity: .6;
    cursor: wait;
}
.bpm-contact__submit-spinner {
    display: none;
    animation: bpm-spin 1s linear infinite;
}
.bpm-contact__submit.is-loading .bpm-contact__submit-label { opacity: .5; }
.bpm-contact__submit.is-loading .bpm-contact__submit-spinner { display: inline-block; }
@keyframes bpm-spin {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}

.bpm-contact__wa {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1rem;
    color: #25D366;
    background: transparent;
    border: none;
    border-radius: 10px;
    font: 700 .85rem/1 inherit;
    text-decoration: none !important;
    transition: opacity .15s;
}
.bpm-contact__wa:hover {
    background: transparent !important;
    color: #25D366;
    text-decoration: none !important;
    opacity: .7;
}

.bpm-contact__message {
    margin-top: .9rem;
    padding: 0;
    font-size: .85rem;
    line-height: 1.5;
    border-radius: 8px;
}
.bpm-contact__message:empty {
    display: none;
}
.bpm-contact__message--info {
    padding: .7rem 1rem;
    background: #EFF4FF;
    color: var(--bpm-accent);
    border: 1px solid #d6e3ff;
}
.bpm-contact__message--success {
    padding: .85rem 1.1rem;
    background: #F0FDF4;
    color: #14543b;
    border: 1px solid #c2efd0;
    font-weight: 600;
}
.bpm-contact__message--error {
    padding: .7rem 1rem;
    background: #FEF2F2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 600px) {
    .bpm-contact__intro { padding: 1rem 1.1rem .25rem; }
    .bpm-contact__cta-row {
        grid-template-columns: 1fr;
        padding: 1rem 1.1rem 1.1rem;
        gap: .6rem;
    }
    .bpm-contact__form { padding-left: 1.1rem; padding-right: 1.1rem; }
    .bpm-contact__form-grid { grid-template-columns: 1fr; gap: .8rem; }
    .bpm-contact__intro-title { font-size: 1.05rem; }
    .bpm-contact__actions { flex-direction: column; align-items: stretch; }
    .bpm-contact__submit { justify-content: center; }
    .bpm-contact__wa { justify-content: center; }
}

/* ── Vrijstelling ───────────────────────────────────────────────────────── */
.bpm-vrijstelling {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #F0FDF7;
    border: 2px solid #34C48A;
    border-radius: var(--bpm-radius);
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
}
.bpm-vrijstelling__icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #34C48A;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.bpm-vrijstelling__text {
    font-size: .9rem;
    color: #0A5A35;
    line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
    .bpm-calc { margin-top: 0; }
    .bpm-calc__header { padding: .7rem 1.25rem .65rem; border-radius: 0; }
    .bpm-calc__body   { padding: 1.25rem 1rem 1.5rem; }
    .bpm-calc__title  { font-size: 2rem; line-height: 1.15; }
    .bpm-calc__header-inner--with-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .bpm-calc__header-copy {
        flex: 0 0 auto;
        width: 100%;
    }
    /* Logo zelf verbergen op mobiel (te weinig ruimte), maar de
       Home-knop blijft wél zichtbaar zodat de gebruiker terug kan. */
    .bpm-calc__header-inner--with-logo {
        position: relative; /* ankerpunt voor de absoluut geplaatste knop */
    }
    .bpm-calc__header-logo-wrap {
        display: contents !important; /* container verdwijnt, kinderen blijven */
    }
    .bpm-calc__header-logo { display: none !important; }
    .bpm-calc__header-back {
        position: absolute;
        top: 0;
        right: 0;
        padding: .45rem .7rem .45rem .55rem;
        font-size: .78rem;
    }
    .bpm-calc__header-back svg {
        width: 18px;
        height: 18px;
    }
    .bpm-type-grid    { grid-template-columns: repeat(2, 1fr); }
    .bpm-form-grid    { grid-template-columns: 1fr; }
    .bpm-result__hero { padding: 1.25rem 1.25rem 1.5rem; }
    .bpm-result__hero-top { margin-bottom: 1rem; }
    .bpm-result__stats { grid-template-columns: 1fr 1fr; }
    .bpm-stat-item { border-right: 1px solid var(--bpm-border) !important; border-bottom: 1px solid var(--bpm-border) !important; }
    .bpm-stat-item:nth-child(2n) { border-right: none !important; }
    .bpm-stat-item:nth-last-child(-n+2) { border-bottom: none !important; }
    .bpm-calc__actions { flex-wrap: wrap; }
    .bpm-calc__reviews--light { margin-left: 0; width: 100%; justify-content: center; margin-top: .25rem; }
}
@media (max-width: 440px) {
    .bpm-type-grid { grid-template-columns: 1fr 1fr; }
    .bpm-result__stats { grid-template-columns: 1fr; }
    .bpm-stat-item { border-right: none !important; border-bottom: 1px solid var(--bpm-border) !important; }
    .bpm-stat-item:last-child { border-bottom: none !important; }
    .bpm-result__voertuig { font-size: .68rem; }
}

/* Regime veld spans 2 kolommen zodat de dropdown-tekst niet afgekapt wordt */
.bpm-form-field--wide {
    grid-column: span 2;
}
@media (max-width: 600px) {
    .bpm-form-field--wide { grid-column: span 1; }
}

/* Automatisch ingevuld BPM-regime — leesbaar, niet grijs */
.bpm-calc #bpm-regime:disabled,
.bpm-calc #bpm-regime[disabled] {
    opacity: 1;
    color: var(--bpm-text);
    background-color: #F8FBFF !important;
    cursor: not-allowed;
}

/* ── Datepicker popover ────────────────────────────────────────────── */
.bpm-dp {
    position: absolute;
    z-index: 9999;
    width: 300px;
    background: #fff;
    border: 1px solid var(--bpm-border);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(11,31,58,.18), 0 4px 14px rgba(11,31,58,.08);
    padding: .85rem;
    font-family: 'Roboto Condensed', system-ui, -apple-system, sans-serif;
    font-size: .9rem;
    color: var(--bpm-text);
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
    /* Slide-from-input animatie: start ietsje achter de input, slidet naar beneden */
    opacity: 0;
    transform: translateY(-10px) scaleY(.98);
    transform-origin: top center;
    transition: opacity .18s ease-out, transform .22s cubic-bezier(.16,.84,.34,1);
    will-change: opacity, transform;
}
.bpm-dp.is-open {
    opacity: 1;
    transform: translateY(0) scaleY(1);
}
.bpm-dp__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    margin-bottom: .55rem;
}
.bpm-dp__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--bpm-text);
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.bpm-dp__nav:hover { background: #F1F4FA; border-color: var(--bpm-border); }
.bpm-dp__nav svg { width: 14px; height: 14px; }
.bpm-dp__title {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex: 1;
    justify-content: center;
    font-weight: 600;
    font-size: .95rem;
}
.bpm-dp__title-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: .25rem .55rem;
    cursor: pointer;
    font: inherit;
    color: var(--bpm-text);
    transition: background .15s, border-color .15s;
}
.bpm-dp__title-btn:hover { background: #F1F4FA; border-color: var(--bpm-border); }
.bpm-dp__title-btn.is-active { background: rgba(53,104,243,.1); border-color: rgba(53,104,243,.35); color: var(--bpm-accent); }

.bpm-dp__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin: .2rem 0 .3rem;
}
.bpm-dp__weekday {
    text-align: center;
    font-size: .68rem;
    font-weight: 600;
    color: var(--bpm-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .2rem 0;
}
.bpm-dp__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.bpm-dp__day {
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    color: var(--bpm-text);
    transition: background .15s, color .15s, border-color .15s;
}
.bpm-dp__day:hover { background: #F1F4FA; }
.bpm-dp__day.is-other { color: #C5CFDB; }
.bpm-dp__day.is-today { border-color: var(--bpm-accent); color: var(--bpm-accent); font-weight: 700; }
.bpm-dp__day.is-selected { background: var(--bpm-accent); color: #fff !important; border-color: var(--bpm-accent); font-weight: 700; }
.bpm-dp__day.is-selected:hover { background: #1D52E6; }
.bpm-dp__day.is-disabled { color: #D7DEE9; cursor: not-allowed; }
.bpm-dp__day.is-disabled:hover { background: transparent; }

/* Year picker grid */
.bpm-dp__years,
.bpm-dp__months {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: .3rem;
}
.bpm-dp__year,
.bpm-dp__month {
    padding: .55rem .25rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    color: var(--bpm-text);
    text-align: center;
    transition: background .15s, color .15s, border-color .15s;
}
.bpm-dp__year:hover,
.bpm-dp__month:hover { background: #F1F4FA; }
.bpm-dp__year.is-selected,
.bpm-dp__month.is-selected { background: var(--bpm-accent); color: #fff; border-color: var(--bpm-accent); font-weight: 700; }

.bpm-dp__foot {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .55rem;
    padding-top: .55rem;
    border-top: 1px solid var(--bpm-border);
}
.bpm-dp__foot-btn {
    flex: 1;
    padding: .45rem .5rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--bpm-border);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    color: var(--bpm-text);
    transition: background .15s, color .15s, border-color .15s;
}
.bpm-dp__foot-btn:hover { background: #F1F4FA; }
.bpm-dp__foot-btn--primary {
    background: var(--bpm-accent);
    border-color: var(--bpm-accent);
    color: #fff;
}
.bpm-dp__foot-btn--primary:hover { background: #1D52E6; border-color: #1D52E6; }
.bpm-dp__foot-btn--danger { color: #C0392B; }
.bpm-dp__foot-btn--danger:hover { background: #FBEDEA; }

/* ── Custom select (brandstof, regime) — slidet van onder input ─────── */
.bpm-input-wrap--custom select.bpm-input {
    /* Native select onzichtbaar maar focusable houden voor formulieren */
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}
.bpm-calc .bpm-select-display {
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: .95rem;
    line-height: 1.3;
    /* Volledig dezelfde styling als .bpm-input */
    padding: .65rem 2.4rem .65rem 2.5rem;
}
.bpm-calc .bpm-select-display:focus {
    outline: none;
    border-color: var(--bpm-accent);
    box-shadow: 0 0 0 3px rgba(53,104,243,.18);
}
.bpm-input-wrap--custom.is-open .bpm-select-display {
    border-color: var(--bpm-accent);
    box-shadow: 0 0 0 3px rgba(53,104,243,.18);
}
.bpm-input-wrap--custom.is-disabled .bpm-select-display {
    cursor: not-allowed;
    background-color: #F8FBFF !important;
    color: var(--bpm-text);
    opacity: 1;
}
/* Chevron draait om bij open */
.bpm-input-wrap--custom .bpm-input-chevron {
    transition: transform .22s cubic-bezier(.16,.84,.34,1);
}
.bpm-input-wrap--custom.is-open .bpm-input-chevron {
    transform: translateY(-50%) rotate(180deg);
    color: var(--bpm-accent);
}

/* Popover met dezelfde slide-from-input animatie als datepicker */
.bpm-select-pop {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--bpm-border);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(11,31,58,.18), 0 4px 14px rgba(11,31,58,.08);
    padding: .35rem;
    font-family: 'Roboto Condensed', system-ui, -apple-system, sans-serif;
    max-height: 320px;
    overflow-y: auto;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-10px) scaleY(.98);
    transform-origin: top center;
    transition: opacity .18s ease-out, transform .22s cubic-bezier(.16,.84,.34,1);
    will-change: opacity, transform;
}
.bpm-select-pop.is-open {
    opacity: 1;
    transform: translateY(0) scaleY(1);
}
.bpm-select-pop--up {
    transform-origin: bottom center;
    transform: translateY(10px) scaleY(.98);
}
.bpm-select-pop--up.is-open {
    transform: translateY(0) scaleY(1);
}
.bpm-select-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: .55rem .75rem;
    font: inherit;
    font-size: .9rem;
    color: var(--bpm-text);
    cursor: pointer;
    line-height: 1.35;
    transition: background .14s, color .14s;
}
.bpm-select-item:hover,
.bpm-select-item:focus {
    background: #F1F4FA;
    outline: none;
}
.bpm-select-item.is-selected {
    background: rgba(53,104,243,.1);
    color: var(--bpm-accent);
    font-weight: 600;
}
.bpm-select-item.is-selected:hover {
    background: rgba(53,104,243,.16);
}
.bpm-select-pop::-webkit-scrollbar { width: 8px; }
.bpm-select-pop::-webkit-scrollbar-thumb { background: #d8dfea; border-radius: 4px; }
.bpm-select-pop::-webkit-scrollbar-thumb:hover { background: #b8c2d4; }

/* ── Art. 110 VWEU vergelijkingstabel — minimal ─────────────────────── */
.bpm-vergelijking {
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--bpm-border);
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}
.bpm-vergelijking__title {
    background: transparent;
    color: var(--bpm-muted);
    font-weight: 700;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 1rem 1.5rem .5rem;
}
.bpm-vergelijking__tabel {
    padding: 0 .5rem .25rem;
}
.bpm-vergelijking__rij {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: .65rem 1rem;
    gap: .5rem;
    align-items: center;
    font-size: .85rem;
    color: var(--bpm-text);
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
}
.bpm-vergelijking__rij--header {
    background: transparent;
    font-weight: 600;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bpm-muted);
    padding: .35rem 1rem;
}
.bpm-vergelijking__rij--huidig,
.bpm-vergelijking__rij--art110 {
    background: #FAFBFD;
    margin: .15rem 0;
}
.bpm-vergelijking__rij--voordeel {
    background: transparent;
    font-weight: 600;
    padding-top: .5rem;
    color: var(--bpm-muted);
    font-size: .82rem;
}
.bpm-vergelijking__rij--voordeel #verg-voordeel {
    color: #1a7a3c;
    font-weight: 700;
    font-size: .92rem;
}
.bpm-vergelijking__rij--winnaar {
    background: #F0FDF4 !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 0 #16803c;
}
.bpm-vergelijking__rij--winnaar span {
    color: #14543b;
}
.bpm-vergelijking__beste {
    color: #16803c;
    font-weight: 700;
}
.bpm-vergelijking__uitleg {
    padding: .5rem 1.5rem 1rem;
    font-size: .78rem;
    background: transparent;
    color: var(--bpm-muted);
    line-height: 1.55;
}
@media (max-width: 600px) {
    .bpm-vergelijking__rij {
        grid-template-columns: 1.4fr 1fr 1fr;
        font-size: .8rem;
        padding: .55rem .85rem;
    }
    .bpm-vergelijking__rij--header span:nth-child(3),
    .bpm-vergelijking__rij span:nth-child(3) { display: none; }
}

/* ── Mobiel: voorkom iOS-autozoom op formulier-velden ───────────────────
 * iOS Safari (en Chrome op iOS) zoomt automatisch in zodra een
 * input/select/textarea wordt geactiveerd en de font-size < 16px is.
 * We forceren daarom op tablets en kleiner een minimum van 16px op alle
 * formulier-elementen binnen de calculator én het contact-blok. Padding /
 * lijn-hoogte blijven elders gedefinieerd, alleen de tekstgrootte wijzigt.
 *
 * NB: de zichtbare label-/hint-styling blijft gewoon ongewijzigd; dit
 * geldt alleen voor velden die de bezoeker daadwerkelijk activeert.
 * ─────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .bpm-calc .bpm-input,
    .bpm-calc input.bpm-input,
    .bpm-calc select.bpm-input,
    .bpm-calc textarea.bpm-input,
    .bpm-calc .bpm-input-wrap input,
    .bpm-calc .bpm-input-wrap select,
    .bpm-calc .bpm-input-wrap textarea,
    .bpm-contact__field input,
    .bpm-contact__field select,
    .bpm-contact__field textarea,
    .bpm-select-display,
    .bpm-dp-input,
    .bpm-dp input,
    .bpm-dp select {
        font-size: 16px !important;
        line-height: 1.35;
    }

    /* Iets extra ademruimte zodat een 16px input visueel niet aanvoelt
       als afgebroken op kleine schermen. */
    .bpm-calc .bpm-input,
    .bpm-calc .bpm-input-wrap select.bpm-input {
        padding-top: .7rem;
        padding-bottom: .7rem;
    }
    .bpm-contact__field input,
    .bpm-contact__field select,
    .bpm-contact__field textarea {
        padding-top: .75rem;
        padding-bottom: .75rem;
    }

    /* Voor mobiel iOS: schakel het tap-highlight op het hele date-veld
       uit (lijkt soms op een zoom-flits) en geef het veld een fractie
       langere transitie voor een rustigere focus-state. */
    .bpm-input-wrap--date,
    .bpm-input-wrap--date .bpm-input {
        -webkit-tap-highlight-color: rgba(53,104,243,.08);
    }
}

/* iOS-only extra hardening: hint touch-action zodat de browser niet
   probeert "pinch-zoom"-gesture aan het veld te koppelen tijdens focus. */
@supports (-webkit-touch-callout: none) {
    .bpm-calc .bpm-input,
    .bpm-contact__field input,
    .bpm-contact__field select,
    .bpm-contact__field textarea,
    .bpm-select-display {
        touch-action: manipulation;
    }
}
