#site-footer {
    position: relative;
    padding: 28px 20px;
    background-color: #F4F5F6;
    overflow: hidden;
}

.footer-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}

/* Spalten */
.footer-column {
    min-width: 0;
    padding: 0;
}

/* Linke Spalte: Karte */
.footer-left {
    text-align: center;
}

.footer-map-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    border: 2px solid black;
    border-radius: 2px;
}

.footer-map-note {
    max-width: 320px;
    margin: 8px auto 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #999;
    overflow-wrap: anywhere;
}

.footer-address {
    margin: 12px auto 0;
    color: #333;
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.45;
}

/* Mittlere Spalte: Bilder + Kontakt */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-center .footer-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-center .footer-images img {
    width: clamp(58px, 7vw, 86px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-contact {
    max-width: 280px;
}

.footer-contact-title {
    margin: 0 0 10px;
    text-align: center;
    color: #212607;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.footer-contact-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-item {
    margin: 0;
    line-height: 1.15;
}

.footer-contact-item + .footer-contact-item {
    margin-top: 2px;
}

.footer-contact-item.footer-contact-item--email {
    margin-top: 10px;
}

.footer-contact-list a {
    display: inline-flex;
    justify-content: center;
    min-height: 26px;
    align-items: center;
    color: #333;
    font-weight: 500;
    line-height: 1.15;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact-list a:hover,
.footer-nav ul li a:hover {
    color: #556412;
    text-decoration: underline;
}

/* Rechte Spalte: Navigation + Social Media */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-nav ul {
    margin: 0 0 18px 0;
    padding: 0;
    list-style: none;
}

.footer-nav ul li {
    margin: 6px 0;
}

.footer-nav ul li a {
    font-weight: 500;
    text-decoration: none;
    color: #333;
    overflow-wrap: anywhere;
}

/* Social Media */
.footer-social {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    z-index: 10;
}

.footer-social svg {
    width: 28px;
    height: 28px;
    fill: #000;
    transition: fill 0.2s ease;
}

.footer-social a:hover svg {
    fill: #aecc24;
}

#site-footer a:focus-visible {
    border-radius: 3px;
    outline: 3px solid #aecc24;
    outline-offset: 4px;
}

/* =====================
 * Responsive Styles
 * ===================== */

@media (min-width: 768px) and (max-width: 1024px) {
    #site-footer {
        padding: 28px 24px;
    }

    .footer-container {
        max-width: 940px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px 36px;
        text-align: center;
    }

    .footer-right {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 22px;
        margin-bottom: 16px;
    }

    .footer-nav ul li {
        margin: 0;
    }

    .footer-map-image,
    .footer-map-note {
        max-width: 360px;
    }

    .footer-center .footer-images {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    #site-footer {
        padding: 24px 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-map-image,
    .footer-map-note {
        max-width: 360px;
    }

    .footer-center .footer-images {
        gap: 14px;
    }

    .footer-center .footer-images img {
        width: clamp(48px, 18vw, 64px);
    }

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

@media (max-width: 380px) {
    #site-footer {
        padding-inline: 14px;
    }

    .footer-center .footer-images {
        gap: 10px;
    }
}
