/* Unified site footer used by all public pages (landing, Impressum, AGB,
   Datenschutz, Developers, Examples, FAQ, Templates). Mirrors the
   visual identity of site-header.css — same background token, same
   border treatment — so the whole public site reads as one continuous
   page rather than a stack of standalone documents. */

:root {
    --site-footer-bg: #07121b;
    --site-footer-border: rgba(255, 255, 255, 0.06);
    --site-footer-text: #f3f5f7;
    --site-footer-muted: #9fb2c2;
    --site-footer-accent: #7ce0c1;
}

.site-footer {
    background: var(--site-footer-bg);
    color: var(--site-footer-muted);
    border-top: 1px solid var(--site-footer-border);
    padding: 48px 0 56px;
    margin-top: 64px;
}

.site-footer__shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.site-footer__links a {
    color: var(--site-footer-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__links a:hover {
    color: var(--site-footer-text);
    opacity: 1;
}

.site-footer__discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__discord:hover,
.site-footer__discord:focus-visible {
    opacity: 0.95;
    transform: translateY(-1px);
}

.site-footer__discord svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-footer__note {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 640px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--site-footer-muted);
}

.site-footer__copy {
    font-size: 0.78rem;
    color: var(--site-footer-muted);
    opacity: 0.85;
}

@media (max-width: 640px) {
    .site-footer__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
    }

    .site-footer__discord {
        grid-column: 1 / -1;
        justify-self: start;
    }
}
