/* ============================================================
   Site-Part: Footer
   Konfigurierbar über ACF Options-Seite „Footer".
   Stil folgt den Design-Tokens (page-builder/assets/tokens.css).
   ============================================================ */

@import "../../assets/tokens.css" layer(sdc-tokens);

.as-site-footer {
    background: var(--as-color-navy);
    color: var(--as-color-white);
    margin-top: var(--as-space-section);
}

.as-site-footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.as-site-footer__logo-img {
    display: block;
    max-height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.as-site-footer__address {
    font-family: var(--as-font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.as-site-footer__phone a,
.as-site-footer__email a {
    color: var(--as-color-white);
    text-decoration: none;
}

.as-site-footer__phone a:hover,
.as-site-footer__email a:hover {
    color: var(--as-color-accent-brand);
    text-decoration: underline;
}

.as-site-footer__heading {
    font-family: var(--as-font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--as-color-white);
    margin: 0 0 1rem;
}

.as-site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.as-site-footer__menu li {
    margin-bottom: 0.5rem;
}

.as-site-footer__menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-family: var(--as-font-body);
    font-size: 0.95rem;
}

.as-site-footer__menu a:hover,
.as-site-footer__menu a:focus {
    color: var(--as-color-white);
    text-decoration: underline;
}

.as-site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Runde Icon-Buttons (Standard-Look: Outline, Hover: gefüllt) */
.as-site-footer__social-link {
    color: var(--as-color-white);
    text-decoration: none;
    font-family: var(--as-font-sans);
    font-weight: 500;
    font-size: 0.9rem;
}

.as-site-footer__social-link--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: var(--as-color-white);
    transition: background 0.3s var(--as-ease, cubic-bezier(0.22, 1, 0.36, 1)),
                color 0.3s var(--as-ease, cubic-bezier(0.22, 1, 0.36, 1)),
                border-color 0.3s var(--as-ease, cubic-bezier(0.22, 1, 0.36, 1)),
                transform 0.3s var(--as-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.as-site-footer__social-link--icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.as-site-footer__social-link--icon:hover,
.as-site-footer__social-link--icon:focus {
    background: var(--as-color-accent-brand);
    border-color: var(--as-color-accent-brand);
    color: var(--as-color-white);
    transform: translateY(-2px);
}

.as-site-footer__social-link:hover,
.as-site-footer__social-link:focus {
    color: var(--as-color-accent-brand);
}

.as-site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
}

.as-site-footer__credits {
    font-family: var(--as-font-body);
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 767.98px) {
    .as-site-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
