/* --- MULTIPLEI TOTAAL STIJL --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

:root {
    --green-accent: #4CAF50;
    --dark-blue: #0A3D62;
    --text-color: #334155;
    --muted-color: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --bg-light: #f8fafc;
}

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

body { 
    font-family: 'Outfit', sans-serif; 
    color: var(--text-color); 
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-small { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER & NAV (index.html) --- */
header { 
    background: var(--white); 
    padding: 15px 0; /* Iets minder padding voor compactere header */
    border-bottom: 1px solid var(--border-color); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.flex-header { display: flex; justify-content: space-between; align-items: center; }

/* FIX 1: Logo in de header schalen */
.header-logo { 
    max-height: 55px; /* Vaste hoogte voor leesbaarheid zonder te groot te zijn */
    width: auto; /* Behoud aspect ratio */
    display: block;
}

nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: var(--dark-blue); font-weight: 600; font-size: 0.95rem; }
nav a:hover { color: var(--green-accent); }

/* --- HERO SECTION --- */
#hero { padding: 100px 0; text-align: center; background: white; }
#hero h1 { font-size: 3.5rem; color: var(--dark-blue); line-height: 1.1; margin-bottom: 20px; }
#hero p { font-size: 1.3rem; color: var(--muted-color); margin-bottom: 40px; }

/* --- PRICING CARDS --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 40px 0; }
.pricing-card { background: var(--white); padding: 40px; border-radius: 15px; border: 1px solid var(--border-color); text-align: center; display: flex; flex-direction: column; transition: 0.3s; }
.pricing-card.featured { border: 2px solid var(--green-accent); transform: scale(1.05); box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1); }
.pricing-card h3 { font-size: 1.5rem; color: var(--dark-blue); }
.price { font-size: 3.5rem; font-weight: 800; color: var(--dark-blue); margin: 15px 0; }
.featured .price { color: var(--green-accent); }

.usp-list { list-style: none; text-align: left; margin: 20px 0; flex-grow: 1; }
.usp-list li { margin-bottom: 12px; padding-left: 30px; position: relative; font-size: 1rem; }
.usp-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-accent); font-weight: bold; }

/* --- FAQ --- */
.faq-card { background: var(--white); padding: 25px; border-radius: 12px; border-left: 4px solid var(--green-accent); margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.faq-card h4 { color: var(--dark-blue); margin-bottom: 10px; }

/* --- BUTTONS --- */
.btn { 
    padding: 12px 28px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: 0.3s; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    border: none; 
    cursor: pointer; 
    font-size: 1rem;
}
.btn-primary { background: var(--green-accent); color: white; box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3); }
.btn-primary:hover { transform: translateY(-2px); background: #43a047; }
.btn-secondary { background: var(--dark-blue); color: white; }
.btn-secondary:hover { opacity: 0.9; }
.btn-nav { padding: 8px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- FORMULIER & STAPPENPLAN (aanvraag.html) --- */
.form-container { 
    background: var(--white); 
    padding: 50px; 
    border-radius: 15px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); 
    margin: 40px auto; 
    max-width: 800px; 
    width: 95%;
}

.step { display: none; }
.step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-header { text-align: center; margin-bottom: 40px; border-bottom: 2px solid #f1f5f9; padding-bottom: 30px; }

/* FIX 2: Logo in het formulier schalen */
.form-logo { 
    max-width: 220px; /* Beperk de breedte, niet schermvullend */
    height: auto; /* Behoud aspect ratio */
    margin: 0 auto 15px; /* Centreer horizontaal */
    display: block;
}

.form-header h2 { color: var(--dark-blue); font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.form-header p { color: var(--muted-color); font-size: 1.1rem; }

.section-title { color: var(--dark-blue); margin-bottom: 25px; font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; }
.step-num { background: var(--dark-blue); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--dark-blue); font-size: 0.95rem; }

input[type="text"], input[type="email"], input[type="tel"], select { 
    width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: inherit;
}
input:focus, select:focus { border-color: var(--green-accent); outline: none; box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* RADIO BUTTONS */
.radio-group { display: flex; flex-direction: column; gap: 12px; margin: 15px 0; }
.radio-group label { display: flex; align-items: center; cursor: pointer; gap: 12px; background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); transition: 0.2s; }
.radio-group label:hover { border-color: var(--green-accent); background: #f0f7f0; }
.radio-group input[type="radio"] { width: 18px; height: 18px; margin: 0; cursor: pointer; accent-color: var(--green-accent); }

/* ACTIONS */
.step-actions { display: flex; gap: 15px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }

/* HANDTEKENING */
.signature-wrapper { border: 2px dashed var(--border-color); background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
canvas { width: 100%; height: 200px; cursor: crosshair; touch-action: none; }
.btn-clear { background: #f1f5f9; color: var(--muted-color); border: none; padding: 8px 15px; cursor: pointer; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }

/* SUMMARY */
.summary-box { background: #fcfdfc; padding: 30px; border-radius: 10px; border: 1px solid rgba(76, 175, 80, 0.2); margin: 20px 0; }
.total { font-size: 1.8rem; font-weight: 700; color: var(--green-accent); }

/* FOOTER */
footer { padding: 40px 0; background: var(--dark-blue); color: white; text-align: center; margin-top: 60px; }

/* MOBIEL */
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .flex-header { flex-direction: column; gap: 15px; }
    nav ul { font-size: 0.85rem; gap: 10px; flex-wrap: wrap; justify-content: center; }
    #hero h1 { font-size: 2.5rem; }
    .pricing-card.featured { transform: scale(1); margin: 20px 0; }
    .step-actions { flex-direction: column-reverse; }
}

.logo-text {
    font-family: 'Outfit', sans-serif; /* Zorg dat Outfit geladen wordt */
    font-weight: 400;                 /* 'Multip' is dikker */
    text-decoration: none;
    font-size: 24px;
    color: #1a365d;                   /* De exacte donkerblauwe kleur */
}

.logo-text span {
    font-weight: 400;                 /* 'LEI' is dunner */
    color: #4ebfdf;                   /* De exacte lichtblauwe kleur */
}

/* Specifieke aanpassingen voor schermen kleiner dan 768px (mobiel) */
@media screen and (max-width: 767px) {
    
    /* 1. Ruimte in de header */
    .logo-text {
        display: block;
        margin-bottom: 10px; /* Geeft ruimte tussen logo en taalknoppen */
    }

    /* 2. Formulier uitlijning (padding resetten) */
    .container, #lei-form {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* 3. KvK zoekveld en knop onder elkaar */
    .kvk-search-group {
        display: flex;
        flex-direction: column;
    }
    .kvk-search-group input {
        width: 100% !important;
        margin-bottom: 10px;
    }
    .kvk-search-group button {
        width: 100%;
    }

    /* 4. Totaalbedrag uitlijning */
    .total-price-line {
        display: block; /* Forceert euroteken en bedrag naar nieuwe regel */
        text-align: left;
    }
    .total-price-line span {
        display: block; /* Euroteken onder de tekst */
    }

    /* 5. Aanvraagknop euroteken fix */
    #submit-button {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px; /* Houdt € en bedrag netjes naast elkaar */
    }
}