.contact-sectie {
    padding: 6rem 2rem;
    background-color: var(--section-1-bg-color);
    overflow: hidden; /* Voorkomt een horizontale scrollbar bij de fadeInLeft animatie */
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.contact-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.contact-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background-color: var(--bg-color);
    padding: 3rem;
    border-radius: var(--border-radius); /* Iets ronder voor grote kaarten, maar schaalt mee met de var */
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-rij {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-groep {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-groep label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-groep label.verplicht::after {
    content: '*';
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-left: 4px;
    line-height: 0;
    position: relative;
    top: 3px;
}

.form-groep input,
.form-groep textarea,
.form-groep select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(44, 44, 44, 0.2); /* Schone border op basis van de text-color */
    border-radius: var(--border-radius);
    background-color: var(--section-1-bg-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-groep select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D3A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.label-hint {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* ── Keuzeknoppen (checkboxes als knopjes) ── */
.groep-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.keuze-groep {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.keuze-knop {
    position: relative;
    cursor: pointer;
}

/* Native checkbox verbergen, maar wel bereikbaar voor toetsenbord/screenreader */
.keuze-knop input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.keuze-knop span {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(44, 44, 44, 0.2);
    border-radius: var(--border-radius);
    background-color: var(--section-1-bg-color);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    user-select: none;
}

.keuze-knop:hover span {
    border-color: var(--secondary-color);
}

.keuze-knop input:checked + span {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
    font-weight: 600;
}

/* Zichtbare focus voor toetsenbordgebruikers */
.keuze-knop input:focus-visible + span {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-groep input:focus,
.form-groep textarea:focus,
.form-groep select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* ── Honeypot (anti-spam, verborgen voor echte bezoekers) ── */
.hp-veld {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Meldingen na verzenden ── */
.form-melding {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-melding-succes {
    background-color: rgba(31, 77, 58, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(31, 77, 58, 0.3);
}

.form-melding-fout {
    background-color: rgba(180, 40, 40, 0.08);
    color: #9c2c2c;
    border: 1px solid rgba(180, 40, 40, 0.3);
}

.btn-submit {
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border: 1px solid var(--primary-color-light);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease, transform 0.2s ease, color 0.2s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: var(--primary-color-light);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

.info-blok h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-blok p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.info-lijst {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-lijst li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icoon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--bg-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(31, 77, 58, 0.05);
    display: flex;
    border: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.info-lijst div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-lijst strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.info-lijst a,
.info-lijst span {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.info-lijst a:hover {
    color: var(--secondary-color);
}


/* ── Animaties ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ── Media Queries ── */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        margin-bottom: 2rem;
        animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: 0.4s;
    }

    .form-rij {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}