/* --- BASIS VARIABELEN & RESET --- */
:root {
    --primary-red: #ae0018;
    --primary-red-dark: #8a0013;
    --text-dark: #222222;
    --text-grey: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(174, 0, 24, 0.15);
    --radius: 8px;
}

body.page-template-template-contact .bh-contact-page {
    background-color: var(--bg-light);
    font-family: 'Open Sans', sans-serif; /* Of je eigen thema font */
    color: var(--text-dark);
}

body.page-template-template-contact .bh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ULTIMATE HERO SECTIE --- */
body.page-template-template-contact .bh-hero-max {
    position: relative;
    /* Hoogte instelling: minimaal 80% van schermhoogte voor impact, max 700px */
    min-height: 80vh; 
    max-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    margin-bottom: 0; /* Sluit aan op volgende sectie */
}

/* Achtergrond met Ken Burns Effect (Zoom) */
body.page-template-template-contact .bh-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: #333;
    z-index: 0;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* Luxe Gradient Overlay */
body.page-template-template-contact .bh-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Verloop van donker (links) naar transparant rood (rechts) */
    background: linear-gradient(105deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.7) 50%, rgba(174, 0, 24, 0.4) 100%);
    z-index: 1;
}

body.page-template-template-contact .bh-hero-max .bh-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Grid Layout Hero */
body.page-template-template-contact .bh-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Links tekst iets breder */
    gap: 60px;
    align-items: center;
}

/* LINKER KANT: Tekst */
body.page-template-template-contact .bh-hero-text {
    padding-right: 20px;
    animation: fadeInUp 0.8s ease-out forwards;
}

body.page-template-template-contact .bh-hero-badge {
    display: inline-block;
    background: rgba(174, 0, 24, 0.2);
    border: 1px solid rgba(174, 0, 24, 0.5);
    color: #ff6b81; /* Iets lichter rood voor leesbaarheid op donker */
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

body.page-template-template-contact .bh-hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--white);
}

body.page-template-template-contact .bh-hero-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 550px;
}

/* Knoppen */
body.page-template-template-contact .bh-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

body.page-template-template-contact .bh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

body.page-template-template-contact .bh-btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 20px rgba(174, 0, 24, 0.3);
}

body.page-template-template-contact .bh-btn-primary:hover {
    background-color: #8a0013;
    border-color: #8a0013;
    transform: translateY(-2px);
}

body.page-template-template-contact .bh-btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

body.page-template-template-contact .bh-btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* RECHTER KANT: Floating Glass Card */
body.page-template-template-contact .bh-hero-card {
    display: flex;
    justify-content: flex-end;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

body.page-template-template-contact .bh-glass-panel {
    background: rgba(255, 255, 255, 0.1); /* Zeer transparant wit */
    backdrop-filter: blur(15px); /* Het 'Frosted Glass' effect */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 35px;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Status bolletje */
body.page-template-template-contact .bh-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

body.page-template-template-contact .status-dot {
    width: 10px;
    height: 10px;
    background-color: #2ecc71; /* Helder groen */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

body.page-template-template-contact .status-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.page-template-template-contact .bh-glass-panel h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--white);
}

body.page-template-template-contact .bh-glass-panel p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 25px;
    line-height: 1.5;
}

/* Persoon/Team sectie in kaart */
body.page-template-template-contact .bh-person {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.page-template-template-contact .bh-avatar {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

body.page-template-template-contact .bh-avatar svg {
    width: 24px;
    height: 24px;
}

body.page-template-template-contact .bh-person-info strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
}

body.page-template-template-contact .bh-person-info span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

body.page-template-template-contact .bh-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: padding 0.3s;
}

body.page-template-template-contact .bh-whatsapp-link:hover {
    padding-left: 5px;
    color: #25D366; /* WhatsApp kleur */
}

/* Shape divider update (witte onderkant voor overlopen in volgende sectie) */
body.page-template-template-contact .bh-shape-divider .shape-fill {
    fill: var(--white);
}

/* ANIMATIE: Fade In Up */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE HERO */
@media (max-width: 991px) {
    body.page-template-template-contact .bh-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    body.page-template-template-contact .bh-hero-text {
        padding-right: 0;
    }

    body.page-template-template-contact .bh-hero-title {
        font-size: 2.8rem;
    }

    body.page-template-template-contact .bh-hero-actions {
        justify-content: center;
    }

    /* Verberg de glass card op mobiel als het te druk wordt, of zet hem onderaan */
    body.page-template-template-contact .bh-hero-card {
        justify-content: center;
        animation: none; /* Geen float op mobiel om CPU te sparen */
    }
}

/* --- CONTENT GRID --- */

body.page-template-template-contact .bh-grid {
        margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* LINKER KOLOM (INFO) */
body.page-template-template-contact .bh-intro-text h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

body.page-template-template-contact .bh-intro-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin-top: 8px;
}

body.page-template-template-contact .bh-intro-text p {
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 40px;
}

body.page-template-template-contact .bh-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

body.page-template-template-contact .bh-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left: 4px solid var(--primary-red);
}

body.page-template-template-contact .bh-card-icon {
    background: rgba(174, 0, 24, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-red);
    flex-shrink: 0;
}

body.page-template-template-contact .bh-card-content h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 700;
}

body.page-template-template-contact .bh-card-content p {
    margin: 0;
    color: var(--text-grey);
    line-height: 1.5;
}

body.page-template-template-contact .bh-general-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

body.page-template-template-contact .bh-contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.2s;
}

body.page-template-template-contact .bh-contact-link:hover {
    color: var(--primary-red);
}

body.page-template-template-contact .bh-contact-link .icon {
    color: var(--primary-red);
    width: 24px;
}

body.page-template-template-contact .bh-kvk {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-grey);
    background: #e9e9e9;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 4px;
}

/* RECHTER KOLOM (FORMULIER) */
body.page-template-template-contact .bh-col-form {
    position: relative;
}

body.page-template-template-contact .bh-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body.page-template-template-contact .bh-form-header {
    background: var(--primary-red);
    padding: 25px 30px;
}

body.page-template-template-contact .bh-form-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.5rem;
}

body.page-template-template-contact .bh-form-body {
    padding: 30px;
}

/* GRAVITY FORMS STYLING */
/* Deze regels zorgen dat Gravity Forms er strak en modern uitziet */
body.page-template-template-contact .gform_wrapper input[type="text"],
body.page-template-template-contact .gform_wrapper input[type="email"],
body.page-template-template-contact .gform_wrapper input[type="tel"],
body.page-template-template-contact .gform_wrapper textarea,
body.page-template-template-contact .gform_wrapper select {
    border: 1px solid #ddd !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    width: 100% !important;
    background-color: #fcfcfc !important;
    transition: border-color 0.3s;
}

body.page-template-template-contact .gform_wrapper input:focus,
body.page-template-template-contact .gform_wrapper textarea:focus {
    border-color: var(--primary-red) !important;
    outline: none;
}

body.page-template-template-contact .gform_wrapper .gfield_label {
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin-bottom: 8px !important;
}

body.page-template-template-contact .gform_wrapper .gform_footer input[type="submit"] {
    background-color: var(--primary-red) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    width: 100%;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

body.page-template-template-contact .gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: var(--primary-red-dark) !important;
}

/* --- MAP SECTIE --- */
body.page-template-template-contact .bh-map-section iframe {
    display: block;
    filter: grayscale(20%); /* Maakt de kaart iets rustiger/industrieel */
    transition: filter 0.3s;
}

body.page-template-template-contact .bh-map-section iframe:hover {
    filter: grayscale(0%);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    body.page-template-template-contact .bh-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    body.page-template-template-contact .bh-title {
        font-size: 2.2rem;
    }
    
    body.page-template-template-contact .bh-hero {
        height: 250px;
    }
}

/* --- SECTIE: WERKWIJZE / STAPPENPLAN --- */
body.page-template-template-contact .bh-process-section {
    padding: 80px 0 60px;
    background-color: var(--white);
    position: relative;
    /* Zorg dat de shape divider van de hero hier mooi overheen valt of aansluit */
}

body.page-template-template-contact .bh-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

body.page-template-template-contact .bh-label {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    background: rgba(174, 0, 24, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

body.page-template-template-contact .bh-section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

body.page-template-template-contact .bh-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* De grijze verbindingslijn achter de stappen */
body.page-template-template-contact .bh-timeline::before {
    content: '';
    position: absolute;
    top: 40px; /* Hoogte van de lijn, uitgelijnd met midden cirkels */
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

body.page-template-template-contact .bh-timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

body.page-template-template-contact .bh-step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.page-template-template-contact .bh-timeline-step:hover .bh-step-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(174, 0, 24, 0.2);
    background: var(--primary-red);
    color: var(--white);
}

body.page-template-template-contact .bh-step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--text-dark);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

body.page-template-template-contact .bh-step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

body.page-template-template-contact .bh-step-content p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.5;
}

/* RESPONSIVE STYLING VOOR WERKWIJZE */
@media (max-width: 768px) {
    body.page-template-template-contact .bh-timeline {
        flex-direction: column;
        gap: 30px;
        padding-left: 20px;
    }

    /* Verander horizontale lijn naar verticale lijn */
    body.page-template-template-contact .bh-timeline::before {
        top: 0;
        bottom: 0;
        left: 59px; /* Uitlijnen met midden van iconen (die nu links staan) */
        right: auto;
        width: 2px;
        height: 100%;
    }

    body.page-template-template-contact .bh-timeline-step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        padding: 0;
        gap: 20px;
    }

    body.page-template-template-contact .bh-step-icon {
        margin: 0; /* Geen auto margin meer */
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    body.page-template-template-contact .bh-timeline::before {
        left: 49px; /* Aanpassing voor kleiner icoon */
    }

    body.page-template-template-contact .bh-step-content {
        padding-top: 10px;
        background: var(--white); /* Zorgt dat tekst leesbaar blijft boven lijn indien nodig */
    }
}

/* --- SECTIE 4: FAQ (VEELGESTELDE VRAGEN) --- */
body.page-template-template-contact .bh-faq-section {
    padding: 80px 0;
    background-color: var(--white); /* Wit om te breken met de grijze sectie erboven */
}

body.page-template-template-contact .bh-faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

body.page-template-template-contact .bh-faq-item {
    background-color: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: var(--radius);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

body.page-template-template-contact .bh-faq-item:hover {
    border-color: #d1d1d1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body.page-template-template-contact .bh-faq-item[open] {
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(174, 0, 24, 0.1);
}

body.page-template-template-contact .bh-faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Verberg standaard driehoekje */
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Verberg standaard marker in Webkit browsers */
body.page-template-template-contact .bh-faq-item summary::-webkit-details-marker {
    display: none;
}

body.page-template-template-contact .bh-faq-item .question {
    padding-right: 20px;
}

/* Custom Toggle Icoon (+ naar -) */
body.page-template-template-contact .bh-faq-item .icon-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

body.page-template-template-contact .bh-faq-item .icon-toggle::before,
body.page-template-template-contact .bh-faq-item .icon-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary-red);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

body.page-template-template-contact .bh-faq-item .icon-toggle::before {
    width: 14px;
    height: 2px;
}

body.page-template-template-contact .bh-faq-item .icon-toggle::after {
    width: 2px;
    height: 14px;
}

/* Animatie bij openen: draai het plusje */
body.page-template-template-contact .bh-faq-item[open] .icon-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg); /* Draait plat, wordt een minteken */
    opacity: 0; /* Of verwijder opacity als je een 'x' wilt maken ipv minteken */
}

/* Antwoord Styling */
body.page-template-template-contact .bh-faq-item .answer {
    padding: 0 25px 25px 25px;
    color: var(--text-grey);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

body.page-template-template-contact .bh-faq-item[open] .answer {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SECTIE 3: USP'S (De Rode Balk) --- */

body.page-template-template-contact .bh-usp-bar {
    background-color: var(--primary-red);
    padding: 35px 0;
    color: var(--white);
    overflow: hidden; /* Voorkomt horizontale scrollbar */
}

body.page-template-template-contact .bh-usp-grid {
    display: grid;
    /* Standaard: 4 kolommen */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    align-items: center;
}

body.page-template-template-contact .bh-usp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Zorgt dat items niet breken */
    width: 100%; 
    justify-content: center; /* Centreert de content in de kolom */
}

/* De cirkel om het icoon */
body.page-template-template-contact .bh-usp-icon {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.2); /* Transparant wit */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Zorgt dat icoon niet krimpt */
}

body.page-template-template-contact .bh-usp-icon svg {
    color: var(--white);
    width: 26px;
    height: 26px;
}

body.page-template-template-contact .bh-usp-text {
    display: flex;
    flex-direction: column;
}

body.page-template-template-contact .bh-usp-text strong {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

body.page-template-template-contact .bh-usp-text span {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* --- RESPONSIVE FIXES --- */

/* Tablet (Breukpunt: 1100px) -> Naar 2 kolommen */
@media (max-width: 1100px) {
    body.page-template-template-contact .bh-usp-grid {
        grid-template-columns: 1fr 1fr; /* 2 naast elkaar */
        gap: 30px;
    }
    
    body.page-template-template-contact .bh-usp-item {
        justify-content: flex-start; /* Links uitlijnen op tablet oogt netter */
        padding-left: 20px; /* Beetje inspringen */
    }
}

/* Mobiel (Breukpunt: 600px) -> Alles onder elkaar */
@media (max-width: 600px) {
    body.page-template-template-contact .bh-usp-grid {
        grid-template-columns: 1fr; /* Alles onder elkaar */
        gap: 25px;
    }

    body.page-template-template-contact .bh-usp-item {
        justify-content: flex-start;
        padding-left: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtiel lijntje tussen items */
        padding-bottom: 15px;
    }

    /* Laatste lijntje weghalen */
    body.page-template-template-contact .bh-usp-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* --- DEEL B: CERTIFICATEN GRID --- */
body.page-template-template-contact .bh-partners-bar {
    background-color: #f4f4f4;
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

body.page-template-template-contact .bh-partners-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

body.page-template-template-contact .bh-partners-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

body.page-template-template-contact .bh-partners-header p {
    color: var(--text-grey);
}

body.page-template-template-contact .bh-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

body.page-template-template-contact .bh-cert-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-top: 4px solid transparent; /* Voor hover effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

body.page-template-template-contact .bh-cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-red);
}

body.page-template-template-contact .bh-cert-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

body.page-template-template-contact .cert-badge {
    background: rgba(174, 0, 24, 0.1);
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

body.page-template-template-contact .bh-cert-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}

body.page-template-template-contact .bh-cert-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-grey);
    line-height: 1.5;
}

body.page-template-template-contact .bh-cert-body strong {
    color: var(--text-dark);
}

/* Responsive Certificaten */
@media (max-width: 1024px) {
    body.page-template-template-contact .bh-cert-grid {
        grid-template-columns: 1fr 1fr; /* 2 op een rij */
    }
}

@media (max-width: 600px) {
    body.page-template-template-contact .bh-cert-grid {
        grid-template-columns: 1fr; /* Alles onder elkaar */
    }
}

/* --- SECTIE 8: BEL MIJ TERUG BALK --- */
body.page-template-template-contact .bh-callback-section {
    background-color: var(--text-dark); /* Donkergrijs/Zwart */
    padding: 30px 0;
    color: var(--white);
    margin-top: -30px; /* Trek hem iets naar boven voor strakke aansluiting */
    position: relative;
    z-index: 10;
}

body.page-template-template-contact .bh-callback-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Tekst Gedeelte */
body.page-template-template-contact .bh-callback-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

body.page-template-template-contact .bh-callback-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    flex-shrink: 0;
}

body.page-template-template-contact .bh-callback-text h3 {
    margin: 0 0 5px;
    font-size: 1.4rem;
    color: var(--white);
}

body.page-template-template-contact .bh-callback-text p {
    margin: 0;
    opacity: 0.8;
    font-size: 1rem;
}

/* Formulier Gedeelte */
body.page-template-template-contact .bh-callback-form-container {
    flex: 1;
    max-width: 500px;
}

/* Specifieke Gravity Forms styling voor deze balk */
/* Zorgt dat het invoerveld en de knop naast elkaar staan */
body.page-template-template-contact .bh-callback-form-container .gform_body {
    display: inline-block;
    width: 70%;
    vertical-align: top;
}

body.page-template-template-contact .bh-callback-form-container .gform_footer {
    display: inline-block;
    width: 28%;
    vertical-align: top;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-template-template-contact .bh-callback-form-container input[type="text"],
body.page-template-template-contact .bh-callback-form-container input[type="tel"] {
    height: 50px !important;
    border: none !important;
    border-radius: 4px 0 0 4px !important; /* Ronding links */
}

body.page-template-template-contact .bh-callback-form-container input[type="submit"] {
    height: 50px !important;
    margin-top: 0 !important;
    border-radius: 0 4px 4px 0 !important; /* Ronding rechts */
    background-color: var(--primary-red) !important;
    font-size: 0.9rem !important;
    padding: 0 10px !important;
}

/* Responsive styling voor de balk */
@media (max-width: 900px) {
    body.page-template-template-contact .bh-callback-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    body.page-template-template-contact .bh-callback-text {
        flex-direction: column;
    }
    
    body.page-template-template-contact .bh-callback-form-container {
        width: 100%;
    }

    /* Op mobiel veld en knop onder elkaar */
    body.page-template-template-contact .bh-callback-form-container .gform_body,
    body.page-template-template-contact .bh-callback-form-container .gform_footer {
        width: 100%;
        display: block;
    }

    body.page-template-template-contact .bh-callback-form-container input[type="text"],
    body.page-template-template-contact .bh-callback-form-container input[type="tel"] {
        border-radius: 4px !important;
        margin-bottom: 10px;
    }

    body.page-template-template-contact .bh-callback-form-container input[type="submit"] {
        border-radius: 4px !important;
        width: 100%;
    }
}

/* --- SECTIE 5: WERKGEBIED (LANDELIJKE DEKKING) --- */
body.page-template-template-contact .bh-area-section {
    padding: 80px 0;
    background-color: var(--white);
}

body.page-template-template-contact .bh-area-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tekst Gedeelte */
body.page-template-template-contact .bh-area-text {
    flex: 1;
}

body.page-template-template-contact .bh-area-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

body.page-template-template-contact .bh-area-text p {
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

body.page-template-template-contact .bh-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.page-template-template-contact .bh-area-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

body.page-template-template-contact .bh-area-list .check-icon {
    color: var(--primary-red);
    background: rgba(174, 0, 24, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.page-template-template-contact .bh-area-list .check-icon svg {
    width: 18px;
    height: 18px;
}

/* Visual Gedeelte (Kaart) */
body.page-template-template-contact .bh-area-visual {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.page-template-template-contact .nl-map-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

/* De Provincies (Basis Stijl) */
body.page-template-template-contact .map-provinces path {
    fill: #eeeeee; /* Basis grijs */
    stroke: #ffffff;
    stroke-width: 1.5px;
    transition: fill 1s ease;
    cursor: pointer;
    
    /* De animatie toewijzen: duurt 14 seconden per loop, oneindig */
    animation: provincePulse 14s infinite;
}

/* Hover effect (als je er zelf met muis overheen gaat) */
body.page-template-template-contact .map-provinces path:hover {
    fill: #dcdcdc !important; /* Iets donkerder grijs bij hover */
    animation-play-state: paused; /* Stop animatie tijdelijk bij hover */
}

/* DE ANIMATIE: Van Grijs -> Rood -> Grijs */
@keyframes provincePulse {
    0% { fill: #eeeeee; }
    3% { fill: var(--primary-red); } /* Kort rood (flits) */
    10% { fill: #eeeeee; } /* Terug naar grijs */
    100% { fill: #eeeeee; } /* Blijf grijs tot volgende ronde */
}

/* TIMING: We laten ze kris-kras door NL springen */
/* Elk ID komt overeen met de SVG data */

body.page-template-template-contact #NLGR { animation-delay: 0s; }   /* Groningen */
body.page-template-template-contact #NLZH { animation-delay: 1.5s; } /* Zuid-Holland */
body.page-template-template-contact #NLLI { animation-delay: 3s; }   /* Limburg */
body.page-template-template-contact #NLFR { animation-delay: 4.5s; } /* Friesland */
body.page-template-template-contact #NLUT { animation-delay: 6s; }   /* Utrecht */
body.page-template-template-contact #NLZE { animation-delay: 7.5s; } /* Zeeland */
body.page-template-template-contact #NLOV { animation-delay: 9s; }   /* Overijssel */
body.page-template-template-contact #NLNH { animation-delay: 10.5s; }/* Noord-Holland */
body.page-template-template-contact #NLNB { animation-delay: 12s; }  /* Brabant */
body.page-template-template-contact #NLFL, 
body.page-template-template-contact #NLDR, 
body.page-template-template-contact #NLGE { 
    animation-delay: 5s; /* Deze pakken we tussendoor mee of laten we rustig */
    animation-duration: 18s; /* Iets ander ritme voor variatie */
}

/* Verberg de losse stippen (te druk icm pulserende provincies) */
body.page-template-template-contact .map-dots {
    display: none;
}

body.page-template-template-contact .bh-map-title {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
    margin: 0;
}

/* De Provincies (Paden) */
body.page-template-template-contact .map-provinces path {
    fill: #eeeeee; /* Lichtgrijs vlak */
    stroke: #ffffff; /* Witte grenzen tussen provincies */
    stroke-width: 2px;
    transition: fill 0.3s ease;
}

/* Optioneel: Hover effect per provincie */
body.page-template-template-contact .map-provinces path:hover {
    fill: #e0e0e0;
}

/* De Stippen */
body.page-template-template-contact .map-dots circle {
    fill: var(--primary-red);
    animation: pulseRed 3s infinite;
    transform-origin: center;
    transform-box: fill-box;
}

/* Verschillende starttijden voor natuurlijk effect */
body.page-template-template-contact .map-dots circle:nth-child(1) { animation-delay: 0s; }
body.page-template-template-contact .map-dots circle:nth-child(2) { animation-delay: 0.5s; }
body.page-template-template-contact .map-dots circle:nth-child(3) { animation-delay: 1s; }
body.page-template-template-contact .map-dots circle:nth-child(4) { animation-delay: 1.5s; }
body.page-template-template-contact .map-dots circle:nth-child(5) { animation-delay: 2s; }

@keyframes pulseRed {
    0% { opacity: 0.7; r: 15; }
    50% { opacity: 1; r: 18; }
    100% { opacity: 0.7; r: 15; }
}

body.page-template-template-contact .bh-map-title {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    body.page-template-template-contact .bh-area-wrapper {
        flex-direction: column-reverse; 
        gap: 40px;
        text-align: center;
    }

    body.page-template-template-contact .bh-area-list li {
        justify-content: center;
        text-align: left;
    }
}

/* --- MOBILE HERO FIX --- */
@media (max-width: 768px) {
    
    /* 1. Hoogte flexibel maken en padding toevoegen */
    body.page-template-template-contact .bh-hero-max {
        min-height: auto;    /* Geen geforceerde hoogte */
        max-height: none;    /* Geen limiet */
        height: auto;        /* Groeit mee met tekst */
        padding-top: 140px;  /* Ruimte voor je navigatiemenu */
        padding-bottom: 80px;/* Ruimte aan onderkant */
        align-items: flex-start; /* Uitlijning naar boven */
    }

    /* 2. Grid enkelkoms maken */
    body.page-template-template-contact .bh-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* 3. Titel iets kleiner voor mobiel */
    body.page-template-template-contact .bh-hero-title {
        font-size: 2.2rem; /* Was veel groter */
        line-height: 1.2;
    }

    body.page-template-template-contact .bh-hero-lead {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* 4. Knoppen onder elkaar (full width) voor makkelijk klikken */
    body.page-template-template-contact .bh-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    body.page-template-template-contact .bh-btn {
        width: 100%;       /* Knop vult de breedte */
        justify-content: center;
        padding: 15px;
    }

    /* 5. VERBERG DE GLASS CARD OP MOBIEL */
    /* Dit is de belangrijkste fix. Op mobiel leidt dit blok af. 
       Je hebt de knoppen hierboven al, en de zwevende buttons onderin. */
    body.page-template-template-contact .bh-hero-card {
        display: none; 
    }
}