/* ==================================================
   FOOTER CSS
   Zweck: Footer 1 und Footer 2 mit gemeinsamem Seiten-Hintergrundbild.
================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    background-image: var(--page-header-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 54, 101, 0.72);
    z-index: 1;
}

.footer-main,
.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-main {
    padding: 48px 20px;
}

.footer-grid {
    display: grid;
    gap: 10px;
}

.footer-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-column {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-button);
}

.footer-column h2 {
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.86);
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column li + li {
    margin-top: 8px;
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 33.333% 33.333% 33.333%;
    align-items: center;
}

.footer-bottom-center {
    text-align: center;
}

.footer-bottom-center p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.footer-bottom-right {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.86);
}

.footer-bottom-right a:hover {
    color: #ffffff;
}

@media (max-width: 760px) {
    .footer-grid-3,
    .footer-bottom-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-grid {
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }
}
