/* =========================================
   FOOTER – LICHTQUELLE DER HEILKRAFT
========================================= */


/* =========================================
   1. GRUNDLAYOUT
========================================= */

.footer {
    background-color: var(--green-dark);
    color: var(--sand-line);
    padding: 5rem 5.5vw 2rem;
}


/* =========================================
   2. OBERER FOOTER
========================================= */

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;

    padding-bottom: 5rem;
}


/* =========================================
   3. MARKENLOGO
========================================= */

.footer .wordmark {
    display: inline-flex;
    align-items: flex-start;

    font-size: 1.8rem;
    line-height: 0.85;

    color: var(--sand);
    text-decoration: none;
}

.footer .wordmark em {
    font-size: 1.3rem;
}

.footer .wordmark small {
    margin-top: 1rem;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
}


/* =========================================
   4. KONTAKT
========================================= */

.footer-label {
    margin: 0 0 1.75rem;

    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;

    letter-spacing: 0.19em;
    color: var(--sage-muted);
}

.footer-contact p:not(.footer-label) {
    margin: 0 0 0.75rem;

    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-contact a {
    display: inline-block;

    color: var(--sand-line);
    font-size: 0.85rem;

    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--white);
}


/* =========================================
   5. SOCIAL MEDIA
========================================= */

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;

    padding-bottom: 0.5rem;

    font-family: var(--font-heading);
    font-size: 1.5rem;

    color: var(--sand);
    text-decoration: none;

    border-bottom: 1px solid var(--sage-muted);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.footer-social-link span {
    font-family: var(--font-body);
    font-size: 1rem;

    transition: transform 0.2s ease;
}

.footer-social-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.footer-social-link:hover span {
    transform: translate(3px, -3px);
}


/* =========================================
   6. UNTERER FOOTER
========================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding-top: 2rem;

    border-top: 1px solid rgba(233, 226, 214, 0.2);
}

.footer-bottom p {
    margin: 0;

    font-size: 0.75rem;
    color: var(--sage-muted);
}


/* Rechtliche Links */

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal a {
    color: var(--sand-line);
    font-size: 0.75rem;

    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--white);
}


/* Tastaturbedienung */

.footer a:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 5px;
}


/* =========================================
   7. TABLET
========================================= */

@media (max-width: 900px) {

    .footer {
        padding: 4rem 6vw 2rem;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;

        padding-bottom: 4rem;
    }

    .footer-social {
        grid-column: 1 / -1;
    }

}


/* =========================================
   8. SMARTPHONE
========================================= */

@media (max-width: 600px) {

    .footer {
        padding: 4rem 7vw 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-social {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .footer-social-link span {
        transition: none;
    }

    .footer-social-link:hover span {
        transform: none;
    }
}
