/* Deux Online Belsysteem
   Huisstijl: aubergine (#3C096C) draagt, saffraan (#F49B29) accentueert.
   Vlak: geen schaduwen, haarlijnen, één opvallend element per scherm (de belband). */
:root {
    --aubergine: #3C096C;
    --aubergine-diep: #2A0650;
    --aubergine-licht: #F1ECF7;
    --aubergine-lijn: #DCD0EA;
    --saffraan: #F49B29;
    --saffraan-licht: #FDF0DC;
    --saffraan-inkt: #7A4300;
    --koraal: #CC3366;
    --inkt: #1E1B24;
    --inkt-2: #5E5868;
    --papier: #F7F6F9;
    --vlak: #FFFFFF;
    --lijn: #E6E2EC;
    --go: #13795B;
    --go-licht: #E3F3EC;
    --stop: #B42352;
    --stop-licht: #FBE7EE;
    --r-klein: 6px;
    --r: 10px;
    --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --rail: 232px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--papier); color: var(--inkt);
    font-family: var(--font); font-size: 15px; line-height: 1.5;
    display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh;
}
body.zonder-rail { display: block; }
h1, h2, h3 { margin: 0; color: var(--inkt); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; line-height: 1.2; }
h2 { font-size: 1.05rem; }
h3 { font-size: .95rem; }
a { color: var(--aubergine); text-underline-offset: 2px; }
.icoon { flex: none; }
:focus-visible { outline: 2px solid var(--saffraan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Navigatierail ---------- */
.rail {
    background: var(--aubergine-diep); color: #fff; position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; padding: 1.25rem .75rem; gap: 1.25rem; overflow-y: auto;
}
.logo { font-weight: 700; font-size: 1.3rem; color: #fff; text-decoration: none; padding: 0 .6rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo-accent { color: var(--saffraan); }
.logo-dot { color: var(--koraal); }
.logo-sub { display: block; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: 0; }
.rail-zoek { position: relative; }
.rail .rail-zoek input {
    width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
    border-radius: var(--r-klein); padding: .55rem .6rem .55rem 2rem; font: inherit; font-size: .82rem;
}
.rail .rail-zoek input::placeholder { color: rgba(255,255,255,.55); }
.rail-zoek .icoon { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.55); }
.rail nav { display: flex; flex-direction: column; gap: 2px; }
.rail nav a {
    display: flex; align-items: center; gap: .7rem; min-height: 42px; padding: 0 .7rem; border-radius: var(--r-klein);
    color: rgba(255,255,255,.78); text-decoration: none; font-weight: 500; position: relative;
}
.rail nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.rail nav a.actief { background: rgba(255,255,255,.11); color: #fff; }
.rail nav a.actief::before { content: ""; position: absolute; left: -.75rem; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--saffraan); }
.rail .teller { margin-left: auto; background: var(--saffraan); color: var(--inkt); font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 0 .45rem; line-height: 1.5; }
.rail .teller.rustig { background: rgba(255,255,255,.14); color: #fff; }
.rail-kop { font-size: .75rem; color: rgba(255,255,255,.5); padding: .75rem .7rem .25rem; }
.rail-voet { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding: 1rem .7rem 0; font-size: .85rem; }
.rail-voet strong { display: block; color: #fff; }
.rail-voet span { color: rgba(255,255,255,.6); }
.rail-voet a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.75); margin-top: .5rem; text-decoration: none; }
.rail-voet a:hover { color: #fff; }

/* ---------- Pagina ---------- */
.page { padding: 1.75rem 2rem 3rem; max-width: 1360px; width: 100%; }
.page-smal { max-width: 780px; }
.kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.kop p { margin: .25rem 0 0; color: var(--inkt-2); }
.muted { color: var(--inkt-2); }
.small { font-size: .85rem; }
.rij { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.tussen { justify-content: space-between; }

.paneel { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--r); }
.paneel > .sectie { padding: 1.1rem 1.25rem; }
.paneel > .sectie + .sectie { border-top: 1px solid var(--lijn); }
.paneel + .paneel, .grid-2 + .paneel, .paneel + .grid-2, .grid-2 + .grid-2 { margin-top: 1rem; }
.sectie-kop { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.grid-smal-breed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.leeg { padding: 2rem 1.25rem; text-align: center; color: var(--inkt-2); }

.flash-messages { margin-bottom: 1rem; display: grid; gap: .5rem; }
.flash { display: flex; gap: .6rem; align-items: flex-start; background: var(--vlak); border: 1px solid var(--lijn); border-left: 3px solid var(--saffraan); padding: .7rem 1rem; border-radius: var(--r-klein); }

/* ---------- Formulieren ---------- */
form.stapel { display: flex; flex-direction: column; gap: .3rem; }
label { font-weight: 600; font-size: .85rem; color: var(--inkt); margin-top: .5rem; }
label:first-of-type { margin-top: 0; }
.hint { font-size: .8rem; color: var(--inkt-2); }
input[type=text], input[type=email], input[type=search], input[type=password], input[type=file], input[type=number],
input[type=datetime-local], select, textarea {
    font: inherit; font-size: .95rem; min-height: 42px; padding: .5rem .7rem; border: 1px solid var(--lijn);
    border-radius: var(--r-klein); background: var(--vlak); color: var(--inkt); width: 100%;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
input:hover, select:hover, textarea:hover { border-color: var(--aubergine-lijn); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--saffraan); outline-offset: 0; border-color: transparent; }
.checkbox-label { display: flex; align-items: center; gap: .55rem; font-weight: 400; margin: 0; min-height: 32px; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--aubergine); }

/* ---------- Knoppen ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px;
    border: 1px solid var(--lijn); border-radius: var(--r-klein); padding: 0 1rem; background: var(--vlak);
    color: var(--inkt); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--papier); border-color: var(--aubergine-lijn); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-primair { background: var(--aubergine); border-color: var(--aubergine); color: #fff; }
.btn-primair:hover { background: var(--aubergine-diep); border-color: var(--aubergine-diep); }
.btn-accent { background: var(--saffraan); border-color: var(--saffraan); color: var(--inkt); }
.btn-accent:hover { background: #e88d17; border-color: #e88d17; }
.btn-go { background: var(--go); border-color: var(--go); color: #fff; }
.btn-go:hover { background: #0f6249; border-color: #0f6249; }
.btn-klein { min-height: 34px; padding: 0 .75rem; font-size: .84rem; }
.btn-tekst { border-color: transparent; background: transparent; padding: 0 .5rem; color: var(--aubergine); }
.btn-tekst:hover { background: var(--aubergine-licht); border-color: transparent; }

/* ---------- Tabellen en labels ---------- */
table.tabel { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tabel th, .tabel td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--lijn); vertical-align: middle; }
.tabel tr:last-child td { border-bottom: none; }
.tabel th { font-size: .8rem; color: var(--inkt-2); font-weight: 600; white-space: nowrap; background: var(--papier); }
.tabel tbody tr:hover td { background: #FBFAFC; }
.tabel .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabel-scroll { overflow-x: auto; }
.tabel .titel { font-weight: 600; }
.tabel .sub { display: block; font-size: .8rem; color: var(--inkt-2); }

.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .5rem; border-radius: 999px; font-size: .76rem; font-weight: 600;
    background: var(--papier); color: var(--inkt-2); border: 1px solid var(--lijn); white-space: nowrap; line-height: 1.5; }
.prio { border: none; background: var(--aubergine-licht); color: var(--aubergine); font-variant-numeric: tabular-nums; }
.prio-1, .prio-2, .prio-3 { background: var(--saffraan); color: var(--inkt); }
.st-warm, .st-hubspot { background: var(--go-licht); color: var(--go); border-color: transparent; }
.st-afgevallen, .st-niet_bellen, .st-bestaat_in_hubspot, .st-onbereikbaar { background: var(--stop-licht); color: var(--stop); border-color: transparent; }
.st-terugbellen, .st-in_behandeling { background: var(--saffraan-licht); color: var(--saffraan-inkt); border-color: transparent; }

/* ---------- Belscherm ---------- */
.belband {
    background: var(--aubergine); color: #fff; border-radius: var(--r); padding: 1.5rem 1.75rem;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: start; margin-bottom: 1rem;
}
.belband .labels { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .6rem; }
.belband .badge { background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }
.belband .badge.prio-1, .belband .badge.prio-2, .belband .badge.prio-3 { background: var(--saffraan); color: var(--inkt); }
.belband h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -0.025em; }
.belband .adres { color: rgba(255,255,255,.72); margin-top: .35rem; }
.belband .reden { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.16); padding-top: 1rem; font-size: 1.05rem; color: #fff; display: flex; gap: .6rem; align-items: flex-start; }
.belband .reden .icoon { color: var(--saffraan); margin-top: .2rem; }
.belknoppen { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; min-width: 240px; }
.btn-bel {
    background: var(--go); border: none; color: #fff; min-height: 56px; font-size: 1.25rem; padding: 0 1.4rem;
    font-variant-numeric: tabular-nums; border-radius: var(--r-klein); justify-content: flex-start;
}
.btn-bel:hover { background: #0f6249; }
.btn-bel-2 { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; font-variant-numeric: tabular-nums; justify-content: flex-start; }
.btn-bel-2:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-bel small, .btn-bel-2 small { font-weight: 500; opacity: .75; font-size: .75rem; margin-left: auto; }

.waarschuwing { display: flex; gap: .6rem; align-items: center; background: var(--stop-licht); color: var(--stop); border-radius: var(--r-klein); padding: .75rem 1rem; font-weight: 600; margin-bottom: 1rem; }
.melding { display: flex; gap: .6rem; align-items: center; background: var(--saffraan-licht); color: var(--saffraan-inkt); border-radius: var(--r-klein); padding: .75rem 1rem; font-weight: 600; margin-bottom: 1rem; }

.bel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 1rem; align-items: start; }
.bel-zij { position: sticky; top: 1rem; }

.links { display: flex; gap: .5rem; flex-wrap: wrap; }
.link-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: 0 .8rem; border-radius: var(--r-klein);
    border: 1px solid var(--lijn); color: var(--inkt); text-decoration: none; font-weight: 600; font-size: .88rem; background: var(--vlak); }
.link-chip .icoon { color: var(--aubergine); }
.link-chip:hover { border-color: var(--aubergine); background: var(--aubergine-licht); }
.link-chip.uit { color: var(--inkt-2); background: var(--papier); border-style: dashed; pointer-events: none; font-weight: 500; }
.link-chip.uit .icoon { color: var(--inkt-2); }

.feiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-top: 1px solid var(--lijn); }
.feit { padding: .85rem 1.25rem; border-right: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.feit .label { font-size: .78rem; color: var(--inkt-2); }
.feit .waarde { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.feit .waarde.zwak { color: var(--stop); }
.feit .waarde.sterk { color: var(--go); }
.feit .toelichting { font-size: .75rem; color: var(--inkt-2); }

.script { white-space: pre-wrap; font-size: 1rem; line-height: 1.6; max-width: 72ch; }
.ai-tekst { white-space: pre-wrap; background: var(--aubergine-licht); border-radius: var(--r-klein); padding: .9rem 1rem; line-height: 1.55; }
details summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; gap: .4rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.25rem; font-size: .85rem; margin: .75rem 0 0; }
.kv dt { color: var(--inkt-2); } .kv dd { margin: 0; word-break: break-word; }
.historie { list-style: none; margin: 0; padding: 0; }
.historie li { display: grid; grid-template-columns: 92px 1fr; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--lijn); font-size: .9rem; }
.historie li:last-child { border-bottom: none; }
.historie time { color: var(--inkt-2); font-variant-numeric: tabular-nums; }

.uitkomst-groep + .uitkomst-groep { margin-top: .85rem; }
.uitkomst-groep h3 { font-size: .8rem; color: var(--inkt-2); font-weight: 600; margin-bottom: .4rem; }
.uitkomsten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.uitkomsten .btn { justify-content: space-between; font-weight: 600; min-height: 44px; }
.uitkomsten .btn kbd { font: inherit; font-size: .72rem; font-weight: 700; color: var(--inkt-2); border: 1px solid var(--lijn); border-radius: 4px; padding: 0 .3rem; min-width: 1.3rem; text-align: center; background: var(--vlak); }
.uit-positief { background: var(--go-licht); border-color: transparent; color: var(--go); }
.uit-positief:hover { background: #d3ecdf; border-color: transparent; }
.uit-negatief { background: var(--stop-licht); border-color: transparent; color: var(--stop); }
.uit-negatief:hover { background: #f6d7e2; border-color: transparent; }
.breed { grid-column: 1 / -1; }
.btn-hubspot { background: #FF7A59; border-color: #FF7A59; color: var(--inkt); width: 100%; min-height: 48px; }
.btn-hubspot:hover { background: #f3653f; border-color: #f3653f; }
.snel { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .35rem; }
.snel button { font: inherit; font-size: .8rem; border: 1px solid var(--lijn); background: var(--vlak); border-radius: 999px; padding: .2rem .65rem; cursor: pointer; color: var(--inkt); min-height: 30px; }
.snel button:hover { border-color: var(--aubergine); }
.voortgang { text-align: center; font-size: .85rem; color: var(--inkt-2); margin-top: .75rem; }

.mist { outline: 2px solid var(--stop) !important; outline-offset: 0; background: var(--stop-licht) !important; }
.hubspot-sectie { background: #FFF6F2; border-radius: 0 0 var(--r) var(--r); }
.btn-hubspot-licht { background: var(--vlak); border-color: #FF7A59; color: #B8401F; }
.btn-hubspot-licht:hover { background: #FFEDE6; border-color: #f3653f; }
.bel-context { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: -.5rem 0 .75rem; }

/* ---------- Lijstenoverzicht (bellen) ---------- */
.lijst-overzicht { display: grid; gap: .75rem; }
.lijst-rij { display: grid; grid-template-columns: minmax(200px, 1.3fr) 140px minmax(0, 2fr) auto; gap: 1.5rem; align-items: center; padding: 1.1rem 1.25rem; }
.lijst-rij.laatst { border-color: var(--aubergine-lijn); box-shadow: inset 3px 0 0 var(--saffraan); }
.lijst-naam h2 { font-size: 1.1rem; }
.lijst-naam .hint { margin: .1rem 0 .6rem; }
.voortgang-balk { display: grid; gap: .3rem; max-width: 260px; }
.lijst-cijfer { display: flex; flex-direction: column; border-left: 1px solid var(--lijn); padding-left: 1.25rem; }
.lijst-cijfer .label { font-size: .8rem; color: var(--inkt-2); }
.lijst-cijfer strong { font-size: 2.2rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--aubergine); letter-spacing: -0.02em; }
.lijst-cijfer .sub { font-size: .75rem; color: var(--inkt-2); }
.lijst-cijfers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1rem; margin: 0; }
.lijst-cijfers dt { font-size: .75rem; color: var(--inkt-2); }
.lijst-cijfers dd { margin: 0; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.lijst-cijfers dd.sterk { color: var(--go); }
.lijst-actie { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
@media (max-width: 1100px) {
    .lijst-rij { grid-template-columns: minmax(0, 1fr) 130px; }
    .lijst-cijfers { grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lijst-actie { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 600px) {
    .lijst-rij { grid-template-columns: 1fr; gap: 1rem; }
    .lijst-cijfer { border-left: none; padding-left: 0; }
    .lijst-cijfers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Herinneringen ---------- */
.herinneringen { position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: .6rem; z-index: 50; width: min(380px, calc(100vw - 2rem)); }
.herinnering { background: var(--vlak); border: 1px solid var(--lijn); border-left: 4px solid var(--saffraan); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: 0 8px 28px rgba(30, 27, 36, .18); }
.herinnering.nu { border-left-color: var(--go); }
.herinnering h3 { margin-bottom: .2rem; }
.herinnering p { margin: .15rem 0; font-size: .9rem; color: var(--inkt-2); }
.herinnering .rij { margin-top: .6rem; gap: .5rem; }

.belscript .script-stap { border-top: 1px solid var(--lijn); padding: .65rem 1.25rem; }
.belscript .script-stap summary { font-size: .95rem; padding: .15rem 0; }
.belscript .script-stap[open] summary { margin-bottom: .4rem; color: var(--aubergine); }
.script-zeg { margin: .35rem 0; padding-left: .8rem; border-left: 3px solid var(--aubergine); line-height: 1.55; max-width: 75ch; }
.script-instructie { margin: .25rem 0 .5rem .8rem; color: var(--inkt-2); font-style: italic; font-size: .88rem; max-width: 75ch; }
.bezwaren { margin: .25rem 0 .5rem; display: grid; gap: .2rem; }
.bezwaren dt { font-weight: 700; margin-top: .5rem; }
.bezwaren dd { margin: 0; padding-left: .8rem; border-left: 3px solid var(--saffraan); max-width: 75ch; }

/* ---------- Dashboard ---------- */
.kpi-strook { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--r); overflow: hidden; margin-bottom: 1rem; }
.kpi { padding: 1rem 1.25rem; border-right: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); margin: 0 -1px -1px 0; }
.kpi .label { font-size: .82rem; color: var(--inkt-2); }
.kpi .waarde { font-size: 2rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi .sub { font-size: .8rem; color: var(--inkt-2); }
.kpi-hoofd { background: var(--aubergine); color: #fff; }
.kpi-hoofd .label, .kpi-hoofd .sub { color: rgba(255,255,255,.72); }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.filters select { width: auto; min-height: 38px; }
.seg { display: inline-flex; background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--r-klein); padding: 2px; }
.seg a { padding: 0 .8rem; min-height: 32px; display: inline-flex; align-items: center; border-radius: 4px; text-decoration: none; color: var(--inkt); font-size: .85rem; font-weight: 600; }
.seg a:hover { background: var(--papier); }
.seg a.actief { background: var(--aubergine); color: #fff; }

.trend { display: flex; align-items: flex-end; gap: 2px; height: 180px; }
.trend .kolom { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; position: relative; cursor: default; }
.trend .bar { width: 100%; max-width: 26px; background: #B9A5D0; border-radius: 4px 4px 0 0; position: relative; min-height: 1px; }
.trend .bar .lead { position: absolute; bottom: 0; left: 0; right: 0; background: var(--saffraan); border-radius: 4px 4px 0 0; box-shadow: 0 -2px 0 var(--vlak); }
.trend .kolom:hover .bar { filter: brightness(.9); }
.trend .tip { display: none; position: absolute; bottom: calc(100% - 1.5rem); left: 50%; transform: translateX(-50%); background: var(--inkt); color: #fff; font-size: .75rem; padding: .35rem .55rem; border-radius: 4px; white-space: nowrap; z-index: 2; pointer-events: none; }
.trend .kolom:hover .tip { display: block; }
.as { display: flex; gap: 2px; margin-top: 4px; border-top: 1px solid var(--lijn); padding-top: 4px; }
.as span { flex: 1; font-size: .7rem; color: var(--inkt-2); text-align: center; white-space: nowrap; min-width: 0; }
.legenda { display: flex; gap: 1rem; font-size: .8rem; color: var(--inkt-2); margin-top: .6rem; }
.legenda span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: #B9A5D0; }
.legenda .l-lead::before { background: var(--saffraan); }
.balk { background: var(--aubergine-licht); border-radius: 999px; height: 8px; overflow: hidden; min-width: 60px; }
.balk > div { background: var(--aubergine); height: 100%; border-radius: 999px; }
.trechter-stap { display: grid; grid-template-columns: 160px 1fr 48px; gap: .75rem; align-items: center; padding: .4rem 0; font-size: .9rem; }
.trechter-stap .balk { height: 22px; border-radius: 4px; }
.trechter-stap .balk > div { border-radius: 4px; }
.trechter-stap.laatste .balk > div { background: var(--saffraan); }
.trechter-stap strong { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.login-merk { background: var(--aubergine-diep); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.login-merk .logo { font-size: 1.6rem; padding: 0; }
.login-merk p { font-size: 1.6rem; line-height: 1.3; max-width: 22ch; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.login-merk p em { font-style: normal; color: var(--saffraan); }
.login-form { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-form > div { width: 100%; max-width: 360px; }
.btn-google { width: 100%; min-height: 48px; margin-top: 1.25rem; }

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
    .bel-grid { grid-template-columns: 1fr; }
    .bel-zij { position: static; }
    .kpi-strook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    body { display: block; }
    .rail { position: sticky; z-index: 5; height: auto; flex-direction: row; align-items: center; padding: .6rem .75rem; gap: .75rem; overflow-x: auto; }
    .logo-sub, .rail-zoek, .rail-kop, .rail-voet span, .rail-voet strong { display: none; }
    .rail nav { flex-direction: row; }
    .rail nav a { white-space: nowrap; }
    .rail nav a.actief::before { display: none; }
    .rail-voet { margin: 0; border: none; padding: 0; }
    .rail-voet a { margin: 0; }
    .page { padding: 1rem 1rem 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .belband { grid-template-columns: 1fr; padding: 1.25rem; }
    .belknoppen { min-width: 0; }
    .login { grid-template-columns: 1fr; }
    .login-merk { padding: 1.5rem; gap: 1.5rem; }
    .login-merk p { font-size: 1.2rem; }
    .trechter-stap { grid-template-columns: 120px 1fr 40px; }
}
@media (max-width: 520px) {
    .kpi-strook { grid-template-columns: 1fr 1fr; }
    .kpi .waarde { font-size: 1.6rem; }
    .uitkomsten { grid-template-columns: 1fr; }
}
