:root {
    --accent: #FF5C35;
    --positief: #007300;
    --tekst: #2F4858;
    --bg: #F1F2EF;
    --kaart: #FAFAF8;
    --lijn: #D8DAD3;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, system-ui, -apple-system, sans-serif;
    --mono: "Courier New", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--tekst);
    font-family: var(--sans);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.masthead {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--lijn);
    margin-bottom: 32px;
}
.brand {
    font-family: var(--mono);
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--accent);
    font-size: 18px;
}
.brand-sub {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--tekst);
    opacity: 0.7;
}

.intro { margin-bottom: 28px; }
h1 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: clamp(26px, 5vw, 38px);
    line-height: 1.15;
    margin: 0 0 14px;
}
.lede {
    font-size: 16px;
    max-width: 60ch;
    margin: 0;
    color: var(--tekst);
}

.panel {
    background: var(--kaart);
    border: 1px solid var(--lijn);
    border-radius: 4px;
    padding: 28px;
    margin-bottom: 24px;
}

.stepbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}
.stepcount {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    white-space: nowrap;
    color: var(--accent);
    font-weight: bold;
}
.track {
    flex: 1;
    height: 4px;
    background: var(--lijn);
    border-radius: 2px;
    overflow: hidden;
}
.fill {
    height: 100%;
    width: 20%;
    background: var(--accent);
    transition: width 0.35s ease;
}

.step { border: 0; padding: 0; margin: 0; }
legend {
    font-family: var(--serif);
    font-size: clamp(20px, 3.5vw, 24px);
    padding: 0;
    margin-bottom: 6px;
    line-height: 1.25;
}
.hint {
    font-size: 14px;
    color: var(--tekst);
    opacity: 0.75;
    margin: 0 0 16px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--lijn);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    font-size: 16px;
}
.opt:hover { border-color: var(--accent); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) {
    background: #fff4f0;
}

.anders-wrap { margin-top: 14px; }
.fieldlabel {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.8;
}

input[type="text"], input[type="email"], input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lijn);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 16px;
    color: var(--tekst);
    background: #fff;
}
input:focus { outline: none; }

.stepper {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
    max-width: 320px;
}
.stepbtn {
    width: 56px;
    font-size: 26px;
    border: 1px solid var(--lijn);
    background: #fff;
    color: var(--accent);
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
}
.stepbtn:hover { border-color: var(--accent); }
.stepper-val {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lijn);
    border-radius: 4px;
    background: #fff;
    padding: 8px;
}
.stepper-val span {
    font-family: var(--mono);
    font-size: 34px;
    font-weight: bold;
    color: var(--tekst);
}
.stepper-val small { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; opacity: 0.7; }

.rate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    max-width: 260px;
}
.rate .euro { font-family: var(--mono); font-size: 24px; color: var(--accent); }
.rate input { font-family: var(--mono); font-size: 24px; text-align: center; }
.rate small { font-family: var(--mono); font-size: 12px; opacity: 0.7; white-space: nowrap; }

.nav {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.nav #next, .nav #calc { margin-left: auto; }
.btn {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: bold;
    padding: 13px 24px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #e64d29; }
.btn.ghost { background: transparent; color: var(--tekst); border-color: var(--lijn); }
.btn.ghost:hover { border-color: var(--tekst); }
.btn.wide { width: 100%; margin-top: 4px; }

.err {
    color: var(--accent);
    font-size: 14px;
    min-height: 1em;
    margin: 12px 0 0;
    font-family: var(--mono);
}

/* RESULT */
.result h2 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: clamp(22px, 4vw, 30px);
    line-height: 1.2;
    margin: 0 0 22px;
}
.ledger {
    border-top: 1px solid var(--lijn);
    margin-bottom: 18px;
}
.ledger .row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--lijn);
}
.ledger .label { font-size: 15px; }
.ledger .val {
    font-family: var(--mono);
    font-size: 17px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}
.ledger .row.total { padding: 20px 0; }
.ledger .row.total .label { font-size: 16px; font-weight: bold; }
.ledger .row.total .val { font-size: 24px; color: var(--positief); }

.footnote {
    font-family: var(--mono);
    font-size: 11.5px;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0 0 28px;
}

.leadform { border-top: 1px solid var(--lijn); padding-top: 24px; }
.lead-head {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 22px;
    margin: 0 0 6px;
    color: var(--tekst);
}
.lead-intro { font-size: 15px; margin: 0 0 18px; }
.fieldrow { display: flex; gap: 16px; }
.fieldcol { flex: 1; }
@media (max-width: 480px) { .fieldrow { flex-direction: column; } }

/* CONFIRM */
.confirm { text-align: center; padding: 44px 28px; }
.confirm .check {
    width: 60px; height: 60px;
    line-height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e6f2e6;
    color: var(--positief);
    font-size: 30px;
    font-weight: bold;
}
.confirm h2 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 26px;
    margin: 0 0 10px;
}
.confirm p { margin: 0; font-size: 16px; }
.confirm .btn { display: inline-block; margin-top: 22px; text-decoration: none; }

.testimonials {
    border-top: 1px solid var(--lijn);
    margin-top: 28px;
    padding-top: 24px;
    display: grid;
    gap: 20px;
}
@media (min-width: 620px) {
    .testimonials { grid-template-columns: 1fr 1fr; }
}
.testimonial {
    margin: 0;
    background: var(--kaart);
    border: 1px solid var(--lijn);
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.testimonial blockquote {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--tekst);
}
.testimonial blockquote:before {
    content: "\201C";
    font-family: var(--serif);
    color: var(--accent);
    font-size: 22px;
    margin-right: 2px;
}
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.testimonial figcaption img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}
.testimonial figcaption span {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.35;
    opacity: 0.85;
}
.testimonial figcaption strong {
    font-size: 14px;
    opacity: 1;
}

.foot {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 0.6;
    margin-top: 40px;
}

[hidden] { display: none !important; }
