
/* =========================================================
   FV PARCHAU/IHLEBURG – RESPONSIVER FOOTER
   Wetter links, Navigation rechts
   PHP 8.3 / Responsive Design
========================================================= */

/* =========================================================
   GRUNDEINSTELLUNGEN
========================================================= */

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main,
main {
    flex: 1 0 auto;
}

/* =========================================================
   FOOTER GRUNDDESIGN
========================================================= */

.site-footer {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin: auto 0 0 -50vw;
    padding: 48px 24px 22px;
    color: #f4f8f5;
    background: linear-gradient(135deg, #174b3a 0%, #205c60 100%);
    border-top: 5px solid #c5a65a;
    text-align: left;
    font-size: 15px;
    flex-shrink: 0;
}

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   VEREINSKOPF
========================================================= */

.site-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.site-footer-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    min-width: 58px;
    max-width: 58px;
    min-height: 58px;
    max-height: 58px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}

.site-footer-emblem img {
    display: block;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    object-fit: contain !important;
    border-radius: 50%;
}

.site-footer-name {
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: .2px;
}

.site-footer-tagline {
    margin-top: 5px;
    color: #d4e5dc;
    font-size: 14px;
    letter-spacing: .5px;
}

/* =========================================================
   HAUPTBEREICH
   WETTER LINKS – SONSTIGES RECHTS
========================================================= */

.site-footer-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 2fr);
    align-items: center;
    gap: 35px;
    width: 100%;
    margin: 25px 0 30px;
}

/* =========================================================
   WETTERBOX
========================================================= */

.site-footer-weather {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
    align-self: center;
    margin: 0;
    padding: 22px 24px;
    color: #f4f8f5;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    text-align: center;
}

.site-footer-weather-heading {
    margin-bottom: 10px;
    color: #f1d99b;
    font-size: 17px;
    font-weight: 750;
}

.site-footer-weather-content {
    color: #f4f8f5;
    font-size: 14px;
}

.site-footer-weather-content p {
    margin: 6px 0;
}

.site-footer-weather-content,
.site-footer-weather-content * {
    color: #f4f8f5 !important;
}

.site-footer-weather-content a {
    color: #f1d99b !important;
}

/* =========================================================
   SONSTIGES / NAVIGATION RECHTS
========================================================= */

.site-footer-main {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Drei gleichmäßige Spalten */

.site-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    width: 100%;
    padding: 12px 0;
}

/* =========================================================
   NAVIGATION UND KONTAKT
========================================================= */

.site-footer-nav,
.site-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.site-footer-nav h3,
.site-footer-contact h3 {
    margin: 0 0 7px;
    color: #f1d99b;
    font-size: 16px;
    font-weight: 700;
}

/* =========================================================
   LINKS
========================================================= */

.site-footer a {
    color: #f4f8f5;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: color .2s ease, opacity .2s ease;
}

.site-footer a:hover {
    color: #f1d99b;
    text-decoration: underline;
}

.site-footer p {
    color: inherit;
}

/* =========================================================
   SOCIAL MEDIA / KONTAKTSYMBOLE
========================================================= */

.site-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 7px;
}

.site-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}

.site-footer-socials a:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-2px);
}

.site-footer-socials img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* =========================================================
   FOOTER UNTERKANTE
========================================================= */

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.2);
    color: #d4e5dc;
    font-size: 12px;
}

/* =========================================================
   TABLET – BIS 900 PX
========================================================= */

@media (max-width: 900px) {

    .site-footer-content {
        grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.5fr);
        gap: 22px;
    }

    .site-footer-columns {
        gap: 14px;
    }

    .site-footer-weather {
        padding: 18px 15px;
    }

    .site-footer-nav h3,
    .site-footer-contact h3 {
        font-size: 15px;
    }

    .site-footer a {
        font-size: 13px;
    }
}

/* =========================================================
   SMARTPHONE / KLEINERE TABLETS
========================================================= */

@media (max-width: 760px) {

    .site-footer {
        padding: 36px 20px 20px;
    }

    /* Wetter oberhalb der Navigation */

    .site-footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 22px 0 25px;
    }

    .site-footer-weather {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
        padding: 20px;
    }

    .site-footer-main {
        width: 100%;
    }

    .site-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }

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

    .site-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

/* =========================================================
   KLEINE SMARTPHONES
========================================================= */

@media (max-width: 480px) {

    .site-footer {
        padding: 30px 17px 18px;
    }

    .site-footer-brand {
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 24px;
    }

    .site-footer-emblem {
        flex: 0 0 48px;
        width: 48px;
        min-width: 48px;
        max-width: 48px;
        height: 48px;
        min-height: 48px;
        max-height: 48px;
    }

    .site-footer-emblem img {
        width: 46px !important;
        height: 46px !important;
    }

    .site-footer-name {
        font-size: 18px;
    }

    .site-footer-tagline {
        font-size: 12px;
    }

    .site-footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
        padding: 0;
    }

    .site-footer-nav h3,
    .site-footer-contact h3 {
        font-size: 15px;
    }

    .site-footer a {
        font-size: 13px;
    }

    .site-footer-weather {
        padding: 17px 14px;
    }
}

/* =========================================================
   SEHR KLEINE SMARTPHONES
========================================================= */

@media (max-width: 360px) {

    .site-footer-columns {
        grid-template-columns: 1fr;
    }

    .site-footer-contact {
        grid-column: auto;
    }
}
