:root {
    --kleur-achtergrond: #F6F5F0;       /* achtergrond van alle pagina's */
    --kleur-kaart: #FFFFFF;             /* vakken en formulieren */
    --kleur-donkergroen: #334939;       /* titels en tekst */
    --kleur-groen: #456E4C;             /* knoppen */
    --kleur-groen-hover: #3A5F42;       /* knop als je er met de muis op staat */
    --kleur-zachtgroen: #E4EADF;        /* vakken, voortgang */
    --kleur-terracotta: #A06749;        /* accenten */
    --kleur-terracotta-hover: #8A5640;  /* terracotta knop met de muis erop */
    --kleur-zand: #C4B8A3;              /* lijntjes en randen */
    --kleur-tekst-zacht: #5A6B60;       /* kleine, rustige tekst */
    --kleur-footer-achtergrond: #17251b;/* achtergrond kleur voor de footer */
    --kleur-footer-letters: #678572;    /* kleur voor de footer teksten */
}

footer {
    background-color: var(--kleur-footer-achtergrond);
    width: 100%;
    margin: 0;
    padding: 2%;
    padding-top: 4rem;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
}

footer {
    column-gap: 2rem;
}

/* Dit stukje gemaakt door AI */
footer > .sec1 {
    flex: 1.4;
}

footer > .sec2,
footer > .sec3,
footer > .sec4 {
    flex: 1;
}

footer > .sec5 {
    flex: 1.5;
}

footer > .sec1,
footer > .sec2,
footer > .sec3,
footer > .sec4,
footer > .sec5 {
    min-width: 0;
}
/* -------------- */

footer li {
    display: flex;
    flex-direction: column;
}

footer .footer-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition: transform 0.2s ease;
}

footer .footer-logo:hover {
    transform: scale(1.05);
}

footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

footer h4 {
    color: var(--kleur-footer-letters);
}

.sec1 p {
    color: var(--kleur-footer-letters);
}

/* Dit stukje gemaakt door AI */
.aanmeld-button {
    margin-top: 20px;
    padding: 15px 25px;
    border: none;
    border-radius: 40px;
    background-color: #73b38a;
    color: var(--kleur-footer-achtergrond);
    font: inherit;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.aanmeld-button:hover {
    background-color: #8bd5a4;
}
/* -------------------------- */

footer .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    width: auto;
}

.social-icons svg {
    width: 24px;
    height: 24px;
    padding: 12px;
    box-sizing: content-box;
    background-color: #254d3c;
    border-radius: 50%;
    flex-shrink: 0;
}

.social-icons svg g {
    fill: #b5edca;
}

.social-icons svg:hover {
    background-color: var(--kleur-footer-achtergrond);
}

.social-icons a {
    display: flex;
}

footer {
    flex-wrap: wrap;
}

.sec2 a, .sec3 a, .sec4 a {
    padding-top: .7rem;
}

.sec2 a:hover, .sec3 a:hover, .sec4 a:hover {
    color: var(--kleur-footer-letters);
}

footer .sec5 h4 {
    margin: 0 0 2rem;
}

footer .sec5 p {
    color: #f7f7f5;
    margin: 0;
}

footer .sec5 .aanmeld-button {
    margin-top: 2rem;
}

footer .footer-lijn {
    flex-basis: 100%;
    height: 0;
    border: none;
    border-top: 1px solid #365b47;
    margin: 40px 0 20px;
}

footer .footer-onder {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 2rem;
}

.footer-onder p {
    margin: 0;
    color: var(--kleur-footer-letters);
    font-size: 100%;
}

footer .sec2 a,
footer .sec3 a,
footer .sec4 a {
    color: #f7f7f5;
    text-decoration: none;
}

footer .sec2 a:hover,
footer .sec3 a:hover,
footer .sec4 a:hover {
    color: var(--kleur-footer-letters);
}

/* Responsive footer: tablets en kleinere laptops */
@media (max-width: 1100px) {
    footer {
        padding: 3rem 1.5rem 1.5rem;
        column-gap: 2rem;
        row-gap: 2rem;
    }

    footer > .sec1,
    footer > .sec5 {
        flex: 0 0 100%;
    }

    footer > .sec2,
    footer > .sec3,
    footer > .sec4 {
        flex: 1 1 0;
    }

    footer .footer-logo {
        padding-top: 0;
    }

    footer h4 {
        margin-top: 0;
    }

    footer .footer-lijn {
        margin: 0;
    }
}

/* Responsive gemaakt met AI */
/* Responsive footer: mobiele schermen */
@media (max-width: 600px) {
    footer {
        padding: 2rem 1rem;
        column-gap: 1rem;
    }

    footer > .sec2,
    footer > .sec3,
    footer > .sec4 {
        flex: 0 0 calc((100% - 1rem) / 2);
    }

    footer .footer-onder {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 0;
    }
}

/* Responsive footer: zeer smalle schermen */
@media (max-width: 380px) {
    footer > .sec2,
    footer > .sec3,
    footer > .sec4 {
        flex: 0 0 100%;
    }
}

/* Voorkomt dat lange teksten buiten de footer vallen */
footer > .sec1,
footer > .sec2,
footer > .sec3,
footer > .sec4,
footer > .sec5,
.footer-onder p {
    overflow-wrap: anywhere;
}

.footer-onder p {
    min-width: 0;
}

footer .social-icons {
    flex-wrap: wrap;
}