/* =========================
   FOOTER
========================= */

.site-footer {

    background: #050505;

    color: rgba(255,255,255,0.72);

    font-size: 15px;
    line-height: 1.8;

}

.footer-inner {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 90px 60px 60px;

    display: grid;
    grid-template-columns: 1.2fr 1fr auto;

    gap: 60px;

}

.footer-logo {

    display: inline-block;

    margin-bottom: 20px;

}

.footer-logo img {

    width: 110px;
    height: auto;

}

.footer-contact p + p {

    margin-top: 20px;

}

.site-footer a {

    color: #ffffff;

    text-decoration: none;

    transition: var(--transition-fast);

}

.site-footer a:hover {

    color: var(--color-primary);

}

.site-footer a:focus-visible {

    outline: 2px solid var(--color-primary-light);
    outline-offset: 4px;

    border-radius: 2px;

}

/* =========================
   RECHTLICHE LINKS
========================= */

.footer-legal {

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;

}

.footer-legal a {

    position: relative;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

}

.footer-legal a::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: var(--color-primary);

    transition: var(--transition-medium);

}

.footer-legal a:hover::after {

    width: 100%;

}

/* =========================
   BOTTOM
========================= */

.footer-bottom {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 26px 60px 34px;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.42);

    font-size: 13px;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    gap: 6px 30px;

}

/* Credit: bewusst zurückhaltend, in der Farbe der Bottom-Zeile */

.site-footer .footer-credit a {

    color: inherit;

    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.18);
    text-underline-offset: 3px;

}

.site-footer .footer-credit a:hover {

    color: rgba(255,255,255,0.72);

    text-decoration-color: var(--color-primary);

}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 992px) {

    .footer-inner {

        grid-template-columns: 1fr 1fr;

        gap: 45px;

        padding: 70px 25px 50px;

    }

    .footer-legal {

        grid-column: 1 / -1;

        flex-direction: row;
        flex-wrap: wrap;

        gap: 18px 40px;

    }

    .footer-bottom {

        padding: 24px 25px 30px;

    }

}

@media(max-width: 560px) {

    .footer-inner {

        grid-template-columns: 1fr;

    }

}
