* {
    box-sizing: border-box;
}

:root {
    --site-background: #1c1f26;
    --site-surface: #262b34;
    --site-surface-soft: #2c3441;
    --site-border: #3c4655;
    --site-text: #edf1f7;
    --site-muted: #b4bece;
    --site-link: #8eb8ff;

    --logo-height: 34px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #1f2937;
    background: var(--site-background);
     font-size: 14px;
    letter-spacing: 0.2px;
}

body > main {
    flex: 1;
    min-width: 0;
}

.site-footer {
    padding: 40px 0 24px;
    border-top: 1px solid var(--site-border);
    background: var(--site-surface);
    color: var(--site-muted);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: 28px 64px;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    justify-self: start;
    padding: 8px 0;
}

.footer-logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

.footer-socials {
    margin-top: 24px;
}

.footer-socials h2 {
    margin: 0 0 10px;
    color: var(--site-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-surface-soft);
}

.footer-social-links a:hover {
    border-color: var(--site-link);
}

.footer-social-links img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Twee kolommen met links, elk met een kopje en de links onder elkaar */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: end;
    gap: 32px 48px;
}

/* Contactkolom: bereikbaarheid, locatie en mail */
.footer-contact p {
    display: flex;
    flex-direction: column;
    margin: 0 0 12px;
    color: var(--site-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact p span {
    color: var(--site-muted);
    font-size: 0.8rem;
}

.footer-contact a {
    min-height: 0;
    overflow-wrap: anywhere;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.footer-column h2 {
    margin: 0 0 10px;
    color: var(--site-muted);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--site-text);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--site-link);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-column a:focus-visible,
.footer-logo:focus-visible,
.footer-social-links a:focus-visible {
    outline: 2px solid var(--site-link);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Onderste regel van de footer: copyright links, juridische links rechts */
.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 20px;
    border-top: 1px solid var(--site-border);
}

.footer-copyright {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .site-footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 28px 16px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-column a {
        overflow-wrap: anywhere;
        line-height: 1.5;
    }
}

.container {
    width: min(100% - 32px, 960px);
    margin: 0 auto;
}

a {
    color: #2563eb;
    text-decoration: none;
}

.button {
    display: inline-block;
    padding: 10px 16px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

