/* ==========================================================================
   FOOTER – für alle Seiten identisch (Werte der Startseite).
   Wird in site/snippets/head.php NACH dem seitenspezifischen CSS geladen
   und überschreibt dessen Footer-Größen. Farben bleiben seitenspezifisch.
   ========================================================================== */

/* iOS Safari vergrößert Text sonst je nach Seitenaufbau unterschiedlich */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

footer {
    height: 80px;
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.footer-content {
    margin: 0 0 20px 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 14px;
    line-height: normal;
}

@media (max-width: 768px) {
    footer {
        flex: 0 0 auto;
        height: auto;
        padding: 20px 15px;
    }

    .footer-content {
        flex-wrap: wrap;
        row-gap: 12px;
        column-gap: 24px;
        justify-content: flex-start;
        margin-bottom: 0;
        font-size: 13px;
    }

    .footer-content > div {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 400px) {
    footer {
        padding: 16px 15px;
    }

    .footer-content {
        row-gap: 10px;
        column-gap: 16px;
        font-size: 12px;
    }

    .footer-content > div {
        flex: 0 0 calc(50% - 8px);
    }
}
