        :root {
            --cda-groen: #2cc84d;      
            --cda-blauw: #3c415d;      
            --cda-oranje: #ff8f1f;     
            --cda-beige: #eee9e2;      
            --wit: #ffffff;
            --licht-grijs: #f3f4f6;
            --tekst-donker: var(--cda-blauw); 
            --shadow: 0 10px 30px rgba(60, 65, 93, 0.08);
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Montserrat', sans-serif; margin: 0; color: var(--tekst-donker); background-color: var(--wit); line-height: 1.7; overflow-x: hidden; }

        /* --- Header met Logo --- */
        header { background-color: var(--wit); padding: 12px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
        nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; position: relative; }
        
        .logo-container img { height: 45px; display: block; }
        
        .nav-links { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
        .nav-links li { margin-left: 25px; }
        .nav-links a { color: var(--cda-blauw); text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: color 0.3s; }
        .nav-links a:hover { color: var(--cda-groen); }
        .nav-btn-oranje { background-color: var(--cda-oranje); color: white !important; padding: 10px 24px; border-radius: 50px; }

        .menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1100; }
        .menu-toggle span { width: 25px; height: 3px; background-color: var(--cda-blauw); border-radius: 2px; transition: 0.3s; }

        /* --- Hero --- */
        .hero { 
            background: linear-gradient(rgba(60, 65, 93, 0.25), rgba(60, 65, 93, 0.25)), url('molen.webp'); 
            background-size: cover; background-position: center 30%; min-height: 85vh;
            display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; color: white; margin: 0; max-width: 100%; width: 100%;
        }
        .hero h1 { font-weight: 900; font-size: clamp(2.4rem, 8vw, 4.8rem); line-height: 1.7; margin: 0; letter-spacing: -2px; }
        .hero h1 span { background-color: var(--cda-groen); padding: 8px 20px; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }

        /* --- Titels --- */
        h2 { font-weight: 900; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--cda-blauw); margin-bottom: 35px; text-align: center; }
        h2::after { content: "."; color: var(--cda-groen); }

        /* --- Cards --- */
        section { max-width: 1100px; margin: 100px auto; padding: 0 20px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
        
        .card, .kandidaat-card, .p-card, .faq-card { 
            background: var(--wit); padding: 40px; border-radius: 15px; box-shadow: var(--shadow); 
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s; 
        }
        .card:hover, .kandidaat-card:hover, .p-card:hover, .faq-card:hover { 
            transform: translateY(-10px); 
            box-shadow: 0 20px 40px rgba(60, 65, 93, 0.15); 
        }

        /* Plannen Kaarten */
        .card { border-left: 8px solid var(--cda-groen); }
        .card h3 { font-weight: 900; color: var(--cda-blauw); margin-top: 0; }

        /* Kandidaten */
        .kandidaat-card { text-align: center; background: var(--cda-beige); }
        .kandidaat-card h3 {
        font-weight: 900;
        font-size: 1.4rem;
        margin: 10px 0 5px 0;
        color: var(--cda-blauw);
        line-height: 1.2;
        }
        .foto-box { width: 160px; height: 160px; background: #ddd; border-radius: 50%; margin: 0 auto 25px; border: 6px solid var(--wit); overflow: hidden; }
        .foto-box img { width: 100%; height: 100%; object-fit: cover; }
        .functie-label { display: inline-block; background-color: var(--cda-oranje); color: white; padding: 6px 16px; border-radius: 50px; font-weight: 900; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 15px; }
       

        /* Woningbouw */
        .woningbouw-container { background-color: var(--licht-grijs); padding: 80px 20px; border-radius: 40px; }
        .stats-bar { 
            display: flex; flex-wrap: wrap; justify-content: space-around; background-color: var(--cda-blauw); 
            color: white; padding: 50px 20px; border-radius: 25px; margin-bottom: 60px; text-align: center; gap: 30px;
        }
        .stat-item { flex: 1; min-width: 150px; }
        .stat-number { display: block; font-size: 3.5rem; font-weight: 900; color: var(--cda-groen); line-height: 1; }
        .stat-label { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; opacity: 0.8; letter-spacing: 1px; }

        .badge-tag { background: var(--cda-oranje); color: white; padding: 5px 14px; border-radius: 4px; font-size: 0.7rem; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; display: inline-block; }
        .badge-tag.groen { background: var(--cda-groen); }
        .woningen-count { color: var(--cda-groen); font-weight: 900; font-size: 1.1rem; margin-bottom: 15px; }

        /* Programma */
        .programma-box { 
        background: var(--cda-beige); 
        padding: clamp(40px, 8vw, 80px); 
        border-radius: 40px; 
        display: flex; 
        align-items: center; 
        gap: 60px; 
        }

        .programma-content { 
            flex: 2; 
        }

        .programma-topics { 
            list-style: none; 
            padding: 0; 
            margin: 30px 0; 
        }

        .programma-topics li { 
            padding: 20px 0;
            border-bottom: 1px solid rgba(60, 65, 93, 0.1); 
            font-weight: 500;
        }

        .programma-topics li strong { 
            color: var(--cda-groen); 
            display: block;
            margin-bottom: 5px;
            font-size: 1.1rem;
            font-weight: 900;
        }
        
        /* FAQ */
        .faq-card { border-left: 8px solid var(--cda-oranje); text-align: left; }

        /* --- Footer (Compact) --- 
        footer { background-color: var(--cda-blauw); color: white; padding: 50px 20px; text-align: center; }
        .footer-logo { height: 40px; margin-bottom: 15px; }
        .footer-links { margin-top: 20px; display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
        .footer-links a { color: white; text-decoration: none; font-weight: 700; opacity: 0.7; font-size: 0.85rem; transition: 0.3s; }
        .footer-links a:hover { opacity: 1; color: var(--cda-groen); } */


        /* --- Footer (GEO Optimized) --- */
footer { 
    background-color: var(--cda-blauw); 
    color: var(--wit); 
    padding: 60px 20px; 
    margin-top: 50px;
    text-align: center;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo { 
    height: 50px; 
    margin-bottom: 25px; 
    display: inline-block;
}

/* De 'Magische Zin' styling */
.geo-text-block {
    margin-bottom: 35px;
    line-height: 1.6;
}

.geo-slogan {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.geo-definition {
    font-size: 0.95rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Zorgt dat links in de tekst wit blijven en onderstreept zijn */
.geo-definition a {
    color: var(--wit);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.geo-definition a:hover {
    color: var(--cda-groen);
}

/* Contact Informatie */
.footer-contact {
    margin-bottom: 30px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: var(--wit);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Social & Externe Links */
.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-links a {
    color: var(--wit);
    text-decoration: none; /* Geen streep onder navigatie links */
    font-weight: 700;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--cda-groen);
}

/* Copyright regel */
.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

        /* FAQ specifieke verbeteringen */
.faq-expandable {
    position: relative;
    /* overflow: hidden; */
}

.faq-text-container {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* De vervaging die stopt als de tekst uitgeklapt is */
.faq-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    transition: opacity 0.3s;
    display: none !important;
}

.faq-read-more {
    background: none;
    border: 2px solid var(--cda-groen);
    color: var(--cda-groen);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.faq-read-more:hover {
    background: var(--cda-groen);
    color: white;
}

/* Als open */
.faq-card.is-open .faq-text-container {
    display: block;
}

.faq-card.is-open .faq-overlay {
    opacity: 0;
}



        /* --- Mobiel --- */
        @media (max-width: 900px) {
            .menu-toggle { display: flex; }
            .nav-links { 
                display: none; position: absolute; top: 100%; left: 0; right: 0; 
                background: white; flex-direction: column; padding: 30px; 
                box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
            }
            .nav-links.active { display: flex; }
            .nav-links li { margin: 15px 0; width: 100%; text-align: center; }
            .nav-links li:first-child { margin-left: 0; }
            .programma-box { flex-direction: column; text-align: center; }
            .programma-visual { order: -1; }
            .hero h1 { line-height: 1.9;}
            .hero h1 span {padding: 6px 15px;}
            .programma-topics {
            display: inline-block;
            text-align: left;
            margin: 20px auto;
            padding-left: 0;
            }
            .programma-topics li {
            list-style-position: inside;
            }
        }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:target {
    animation: highlight 1.5s ease-out;
}

@keyframes highlight {
    0% { background-color: rgba(255, 142, 1, 0.1); }
    100% { background-color: transparent; }
}

    /* Verberg fab op desktop */
.mobile-pdf-fab {
    display: none;
}

/* voor mobiele schermen kleiner dan 900px */
@media (max-width: 900px) {
    .mobile-pdf-fab {
        display: flex;
        align-items: center;
        gap: 8px;
        position: fixed;
        bottom: 25px;
        right: 20px;
        background-color: var(--cda-oranje);
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 900;
        font-size: 0.9rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        z-index: 2000;
        transition: transform 0.2s;
    }

    .mobile-pdf-fab svg {
        width: 18px;
        height: 18px;
    }

    /* micro animatie bij tik/tap */
    .mobile-pdf-fab:active {
        transform: scale(0.95);
    }
}

.programma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.topic-card { 
    background: var(--cda-beige); 
    padding: 40px; 
    border-radius: 20px; 
    text-decoration: none; 
    color: var(--cda-blauw); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border-left: 8px solid var(--cda-groen);
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    text-align: left;
}

.topic-card:hover { 
    transform: translateY(-10px); 
    background: var(--cda-groen); 
    color: white; 
    box-shadow: 0 15px 30px rgba(44, 200, 77, 0.2);
}

.topic-card h2, .topic-card p, .topic-card span { 
    color: inherit; 
}

.topic-card h2 { 
    font-weight: 900; 
    font-size: 1.5rem; 
    margin: 15px 0; 
    text-align: left;
}

.topic-card h2::after { content: none; }

.topic-card p { 
    font-size: 0.95rem; 
    line-height: 1.5; 
    margin-bottom: 20px;
}

.topic-card .chapter-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(60, 65, 93, 0.1);
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.topic-card:hover .chapter-badge {
    background: rgba(255, 255, 255, 0.2);
}

.arrow { 
    font-weight: 900; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}


    .contact-box {
        background-color: var(--licht-grijs);
        padding: 80px 40px;
        border-radius: 40px;
        margin: 100px auto;
        max-width: 1200px;
    }

    .contact-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .contact-title {
        color: var(--cda-blauw);
        font-weight: 900;
        font-size: 2.6rem;
        margin-bottom: 5px;
        letter-spacing: -1px;
        display: block;
    }

    .contact-title .dot {
        color: var(--cda-oranje);
    }

    .contact-lead {
        font-size: 1.2rem;
        color: var(--cda-blauw);
        margin-top: 0;
        margin-bottom: 40px;
        line-height: 1.5;
        padding: 0 20px;
        opacity: 0.9;
    }

    .contact-actions {
        background: white;
        padding: 40px;
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .email-link {
        margin-top: 20px;
        font-size: 0.9rem;
        color: #666;
    }

    .email-link a {
        color: var(--cda-groen);
        font-weight: 700;
        text-decoration: none;
    }

    /* Mobiele aanpassing */
    @media (max-width: 768px) {
        .contact-title { font-size: 2rem; }
        .contact-box { padding: 40px 20px; border-radius: 20px; }
    }

    /* aanvullende kandidaten */

    /* Styling voor de twee tekst-kaarten naast Arjen */
.lijst-kaart {
    background-color: var(--cda-beige) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px !important;
}

.lijst-titel-intern {
    font-family: 'Montserrat', sans-serif;
    color: var(--cda-blauw);
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #ff8c00;
    padding-bottom: 5px;
    text-align: left;
}

.compacte-lijst {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.compacte-lijst li {
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--cda-blauw);
}

.compacte-lijst li span {
    color: #ff8c00;
    font-weight: bold;
    margin-right: 5px;
}