/* ── Kleuren & typografie ── */
:root {
    --groen:        #2e8b3a;
    --groen-dark:   #1e6428;
    --groen-light:  #f2faf3;
    --groen-accent: #44b356;
    --rand:         #d4ead8;
    --tekst:        #1a1a2e;
    --tekst-zacht:  #6b7280;
    --wit:          #ffffff;
    --bg:           #f8faf8;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--tekst);
    background: var(--bg);
    margin: 0;
    font-size: 0.94rem;
    -webkit-font-smoothing: antialiased;
}

/* ── Sidebar ── */
.sidebar {
    width: 230px;
    min-height: 100vh;
    background: var(--wit);
    border-right: 1px solid #e8f0e9;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-brand {
    background: var(--groen);
    color: #fff;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.sidebar-brand i { font-size: 1.1rem; opacity: 0.9; }

@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -230px;
        top: 0;
        height: 100%;
        z-index: 2000;
        transition: left 0.28s cubic-bezier(.4,0,.2,1);
    }
    .sidebar.open {
        left: 0;
        box-shadow: 6px 0 24px rgba(0,0,0,0.12);
    }
}

/* ── Stap navigatie ── */
.step-nav { padding: 10px 0; }

.step-nav .nav-link {
    color: #4b5563;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
}

.step-nav .nav-link i { opacity: 0.6; font-size: 0.85rem; }

.step-nav .nav-link:hover {
    background: var(--groen-light);
    color: var(--groen-dark);
}

.step-nav .nav-link:hover i { opacity: 1; }

.step-nav .nav-link.active {
    color: var(--groen-dark);
    font-weight: 700;
    background: var(--groen-light);
    border-left: 3px solid var(--groen);
}

.step-nav .nav-link.active i { opacity: 1; }

/* ── Progress dots ── */
.progress-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.progress-dots .dot {
    width: 10px;
    height: 10px;
    background: #d1e8d4;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, width 0.2s;
}

.progress-dots .dot:hover { background: var(--groen-accent); transform: scale(1.3); }

.progress-dots .dot.active {
    background: var(--groen);
    width: 28px;
    border-radius: 5px;
}

/* ── Stap pagina's ── */
.step-page { padding-bottom: 60px; }

.step-page h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tekst);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8f0e9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-page h3 i { color: var(--groen); font-size: 1rem; }

/* ── Titelbalk ── */
.titel-wrapper {
    padding: 22px 28px 16px;
    background: var(--wit);
    border-bottom: 1px solid #e8f0e9;
}

.serre-titel {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tekst);
    margin-bottom: 3px;
    line-height: 1.2;
}

.serre-subtitel {
    font-size: 0.85rem;
    color: var(--tekst-zacht);
    margin-bottom: 0;
}

/* ── Formulier ── */
.form-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-select, .form-control {
    border: 1.5px solid #d1e8d4;
    border-radius: 8px;
    font-size: 0.93rem;
    padding: 9px 12px;
    background: var(--wit);
    color: var(--tekst);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-select:focus, .form-control:focus {
    border-color: var(--groen);
    box-shadow: 0 0 0 3px rgba(46,139,58,0.12);
    outline: none;
}

.form-select:disabled { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; }

/* ── Checkbox optie ── */
.checkbox-optie {
    background: var(--wit);
    border: 1.5px solid #d1e8d4;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.checkbox-optie:has(input:checked) {
    border-color: var(--groen);
    box-shadow: 0 0 0 3px rgba(46,139,58,0.08);
}

.checkbox-optie input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--groen);
    cursor: pointer;
}

.optie-prijs {
    font-weight: 700;
    color: var(--groen-dark);
    font-size: 0.93rem;
    white-space: nowrap;
    background: var(--groen-light);
    padding: 2px 10px;
    border-radius: 20px;
}

/* ── Prijsblok ── */
.prijs-blok {
    background: var(--wit);
    border: 1.5px solid #d1e8d4;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(46,139,58,0.06);
}

.prijs-rij {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #eef5ef;
    font-size: 0.91rem;
}

.prijs-rij:last-child { border-bottom: none; }
.prijs-omschrijving { color: var(--tekst-zacht); }
.prijs-bedrag-rij { font-weight: 600; color: var(--tekst); }

.prijs-totaal-rij {
    background: linear-gradient(135deg, var(--groen) 0%, var(--groen-accent) 100%);
    padding: 12px 16px;
}

.prijs-totaal-rij .prijs-omschrijving { color: rgba(255,255,255,0.85); font-weight: 600; }

.prijs-bedrag-totaal {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

/* ── Knop ── */
.btn-serre {
    background: var(--groen);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 30px;
    font-size: 0.93rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(46,139,58,0.25);
}

.btn-serre:hover:not(:disabled) {
    background: var(--groen-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(46,139,58,0.3);
}

.btn-serre:active:not(:disabled) { transform: translateY(0); }

.btn-serre:disabled {
    background: #c4d9c6;
    cursor: not-allowed;
    box-shadow: none;
    color: #fff;
}

/* ── Mobile topbar ── */
.mobile-topbar {
    background: var(--groen-dark);
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-topbar .btn-menu {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.mobile-topbar .btn-menu:hover { background: rgba(255,255,255,0.2); }
.mobile-topbar .topbar-title { font-weight: 700; font-size: 0.97rem; }

/* ── Twee-kolommen layout ── */
.main-columns {
    display: flex;
    align-items: flex-start;
    padding: 28px;
    gap: 28px;
    flex: 1;
}

.steps-col {
    flex: 1;
    min-width: 0;
    max-width: 580px;
}

.summary-col {
    width: 270px;
    flex-shrink: 0;
}

@media (max-width: 1024px) { .summary-col { width: 240px; } }

@media (max-width: 767px) {
    .main-columns { flex-direction: column; padding: 16px; gap: 20px; }
    .steps-col    { max-width: 100%; }
    .summary-col  { width: 100%; }
}

/* ── Samenvatting rechterpaneel ── */
.summary-panel {
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid #e4ede5;
}

.summary-totaal {
    background: linear-gradient(135deg, var(--groen-dark) 0%, var(--groen) 100%);
    color: #fff;
    padding: 20px 20px 18px;
    text-align: center;
}

.summary-totaal-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 6px;
    font-weight: 600;
}

.summary-totaal-bedrag {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}

.summary-body {
    background: var(--wit);
    padding: 16px 18px;
}

.summary-titel {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 600;
}

.summary-lijst { list-style: none; padding: 0; margin: 0; }

.summary-leeg {
    font-size: 0.85rem;
    color: #c0cbc1;
    font-style: italic;
    text-align: center;
    padding: 10px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f3;
    font-size: 0.86rem;
}

.summary-item:last-child { border-bottom: none; }
.summary-item-label { color: var(--tekst-zacht); flex-shrink: 0; }
.summary-item-waarde { font-weight: 600; color: var(--tekst); text-align: right; }

/* ── Kleur stap ── */
.info-blok {
    background: #fffbea;
    border: 1.5px solid #f5d94a;
    border-left: 4px solid #f0c800;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.92rem;
    color: #5a4a00;
}

.info-blok i { color: #c9a800; }

.kleur-opties {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kleur-optie-kaart {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px solid #d1e8d4;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: var(--wit);
    position: relative;
}

.kleur-optie-kaart input[type="radio"] {
    display: none;
}

.kleur-optie-kaart:has(input:checked) {
    border-color: var(--groen);
    box-shadow: 0 0 0 3px rgba(46,139,58,0.1);
    background: var(--groen-light);
}

.kleur-optie-kaart:hover {
    border-color: var(--groen-accent);
}

.kleur-staal {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}

.blank-staal {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 40%, #c8c8c8 100%);
}

.ral-staal {
    background: linear-gradient(135deg, #5a7a5a 0%, #3a6a3a 40%, #2a5a2a 100%);
}

.kleur-optie-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.kleur-optie-info strong { font-size: 0.95rem; color: var(--tekst); }

.kleur-sub {
    font-size: 0.82rem;
    color: var(--tekst-zacht);
}

.kleur-supplement {
    font-size: 0.82rem;
    color: var(--groen-dark);
    font-weight: 600;
}

.kleur-check {
    color: var(--groen);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.kleur-optie-kaart:has(input:checked) .kleur-check {
    opacity: 1;
}

/* ── RAL info blok ── */
.info-groen {
    background: var(--groen-light);
    border-color: var(--rand);
    border-left-color: var(--groen);
    color: var(--tekst);
    font-size: 0.88rem;
}

.info-groen p { color: #444; }

.ral-kleuren {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ral-kleur-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #fff;
    min-width: 90px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
    position: relative;
}

.ral-kleur-chip input[type="radio"] { display: none; }

.ral-kleur-chip:has(input:checked) {
    border-color: var(--groen);
    box-shadow: 0 0 0 3px rgba(46,139,58,0.12);
}

.ral-kleur-chip:hover { border-color: #aaa; }

.ral-chip-kleur {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    display: block;
}

.ral-chip-rainbow {
    background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red);
}

.ral-chip-code {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tekst);
}

.ral-chip-naam {
    font-size: 0.73rem;
    color: var(--tekst-zacht);
    line-height: 1.2;
}

.ral-chip-check {
    position: absolute;
    top: 6px;
    right: 7px;
    font-size: 0.85rem;
    color: var(--groen);
    opacity: 0;
    transition: opacity 0.15s;
}

.ral-kleur-chip:has(input:checked) .ral-chip-check { opacity: 1; }

/* ── Fundatie icoon ── */
.fundatie-icoon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
