/* ── Planner – klantgerichte stijl ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blauw:    #1a4f9e;
    --blauw-d:  #133a77;
    --blauw-l:  #e8effc;
    --oranje:   #e07b00;
    --grijs:    #5a5a5a;
    --grijs-l:  #f5f5f5;
    --wit:      #ffffff;
    --border:   #d0d8e8;
    --radius:   8px;
    --shadow:   0 2px 12px rgba(0,0,0,0.10);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: var(--grijs-l);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
.site-header {
    background: var(--blauw);
    color: var(--wit);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo a {
    color: var(--wit);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.header-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.header-nav a {
    color: #c8d8f5;
    text-decoration: none;
    transition: color 0.2s;
}

.header-nav a:hover { color: var(--wit); }

/* ── Main ── */
.main-inhoud {
    flex: 1;
    max-width: 860px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1.25rem;
}

/* ── Meldingen ── */
.melding {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.melding-fout    { background: #fdecea; border-left: 4px solid #d32f2f; color: #5f1010; }
.melding-succes  { background: #e6f4ea; border-left: 4px solid #2e7d32; color: #1a4d1c; }
.melding-info    { background: var(--blauw-l); border-left: 4px solid var(--blauw); }

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.hero h1 {
    font-size: 2rem;
    color: var(--blauw-d);
    margin-bottom: 0.5rem;
}

.hero-sub {
    color: var(--grijs);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Formulierkaart ── */
.formulier-kaart {
    background: var(--wit);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.aanvraag-form fieldset {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.aanvraag-form legend {
    font-weight: 700;
    color: var(--blauw);
    font-size: 1rem;
    padding: 0 0.5rem;
}

.veld-rij {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.veld-groep {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.veld-groep.flex2 { flex: 2; }

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.3rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blauw);
    box-shadow: 0 0 0 3px rgba(26,79,158,0.15);
}

textarea { resize: vertical; min-height: 90px; }

.form-acties {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.knop-primair {
    background: var(--oranje);
    color: var(--wit);
    border: none;
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.knop-primair:hover { background: #c06b00; }
.knop-primair:active { transform: scale(0.98); }

.form-disclaimer {
    font-size: 0.82rem;
    color: var(--grijs);
}

/* ── Bevestigingspagina ── */
.bevestiging-kaart {
    background: var(--wit);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
    text-align: center;
    margin: 1rem 0;
}

.check-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.bevestiging-kaart h1 {
    font-size: 1.8rem;
    color: var(--blauw-d);
    margin-bottom: 1rem;
}

.ref-nummer {
    background: var(--blauw-l);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    display: inline-block;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.bevestiging-kaart p {
    color: var(--grijs);
    margin-bottom: 0.75rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.bevestiging-kaart a { color: var(--blauw); }

.knop-terug {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--blauw);
    text-decoration: none;
    border: 1.5px solid var(--blauw);
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.knop-terug:hover { background: var(--blauw); color: var(--wit); }

/* ── Footer ── */
.site-footer {
    background: var(--blauw-d);
    color: #a8bedf;
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
    margin-top: auto;
}

/* ── Responsive ── */
@media (max-width: 540px) {
    .veld-rij { flex-direction: column; }
    .hero h1 { font-size: 1.5rem; }
    .formulier-kaart { padding: 1.25rem; }
}
