/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
    background: var(--color-background-dark);
    width: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 80px;
    row-gap: 32px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 32px 0;
    text-align: left;
}

/* Column: Brand */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.footer-logo-link {
    display: block;
}
.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}
.footer-brand-name:hover {
    color: var(--color-accent);
}
.footer-tagline {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-light);
    margin: 8px 0 0 0;
    font-style: italic;
}
.footer-social {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: color 0.2s;
}
.footer-social a:hover {
    color: var(--color-accent);
}
.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Column titles */
.footer-col-title {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin: 0 0 12px 0;
}

/* Column: Contact */
.footer-contact-line {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0 0 6px 0;
    line-height: 1.5;
}
.footer-contact-line a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-line a:hover {
    color: var(--color-accent);
}
.footer-hours {
    font-size: 12px;
    white-space: pre-line;
}

/* Column: Legal */
.footer-col-legal {
    justify-self: end;
    text-align: left;
}
.footer-legal-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-legal-nav a {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.8;
}
.footer-legal-nav a:hover {
    color: var(--color-accent);
}

/* Copyright bar */
.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
    margin: 24px auto 0;
    padding: 16px 32px;
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--color-text-light);
    position: relative;
}
.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: var(--color-border-light);
}
.footer-powered {
    color: var(--color-text-light);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
}
.footer-powered:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Footer responsive: stack on mobile */
@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        padding: 24px 20px 0;
    }
    .footer-col-brand,
    .footer-col-legal {
        justify-self: center;
        text-align: center;
        align-items: center;
    }
    .footer-logo-img {
        margin: 0 auto;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-col-title {
        margin-bottom: 8px;
    }
    .footer-legal-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }
    .footer-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 20px;
    }
}

/* Voetregel op pagina's zonder footer (inloggen, account): de herroepknop blijft vindbaar. */
.herroepen-voetregel {
    margin: 0;
    padding: 16px 20px 24px;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 13px;
}
.herroepen-voetregel a { color: var(--color-text-light); }
