/**
 * ==========================================================
 * Wohnmobile Junker
 * Joomla 6.x Template
 * Footer
 * css/footer.css
 * ==========================================================
 */


/* ==========================================================
   FOOTER GRUNDAUFBAU
========================================================== */

.site-footer {
    position: relative;
    padding: 4.5rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    background: var(--template-dark);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}


/* ==========================================================
   FOOTER SPALTEN
========================================================== */

.site-footer-column {
    min-width: 0;
}

.site-footer-column h3,
.site-footer-column h4,
.site-footer-column .module-title {
    position: relative;
    margin-bottom: 1.4rem;
    padding-bottom: 0.85rem;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-footer-column h3::after,
.site-footer-column h4::after,
.site-footer-column .module-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2px;
    content: "";
    background: var(--template-accent);
}

.site-footer-column p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.75;
}


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

.site-footer a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.site-footer a:hover {
    color: #FFFFFF;
}

.site-footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-column ul li {
    margin-bottom: 0.7rem;
}

.site-footer-column ul li a:hover {
    padding-left: 4px;
}


/* ==========================================================
   KONTAKTINFORMATIONEN
========================================================== */

.site-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.site-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.site-footer-contact-item svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 3px;
    color: var(--template-accent);
}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.site-footer-bottom {
    padding: 1.35rem 0;
    background: rgba(0, 0, 0, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer-copyright {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.site-footer-legal a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
}

.site-footer-legal a:hover {
    color: #FFFFFF;
}


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

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.site-footer-social a:hover {
    color: #FFFFFF;
    background: var(--template-accent);
    transform: translateY(-3px);
}

.site-footer-social svg {
    width: 17px;
    height: 17px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 959px) {

    .site-footer {
        padding-top: 3.5rem;
    }

    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
    }

}

@media (max-width: 639px) {

    .site-footer {
        padding-top: 3rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .site-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer-legal {
        gap: 0.8rem 1rem;
    }

}