/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: clamp(40px, 5vw, 64px) 0 24px;

    background: #25242a;
    color: rgba(255, 255, 255, 0.72);
}


/* ==========================================================================
   Footer Navigation
   ========================================================================== */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}


/* ==========================================================================
   Footer Bottom
   ========================================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
}


/*
|--------------------------------------------------------------------------
| Mit Hauptnavigation
|--------------------------------------------------------------------------
*/

.footer-bottom.has-footer-navigation {
    margin-top: 32px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/*
|--------------------------------------------------------------------------
| Ohne Hauptnavigation
|--------------------------------------------------------------------------
*/

.footer-bottom.without-footer-navigation {
    margin-top: 0;
    padding-top: 0;

    border-top: 0;
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}


/* ==========================================================================
   Legal Navigation
   ========================================================================== */

.footer-legal {
    gap: 12px 22px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Footer – Hinweise zu Bild- und Audiomaterial
   ========================================================================== */

.footer-material-notice {
    display: grid;
    gap: 18px;

    margin-top: 28px;
    padding: 28px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-material-notice-item{
    margin-bottom:20px;
}

.footer-material-notice-item strong {
    display: block;
    margin-bottom: 5px;

    color: #e3bd72;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.footer-material-notice-item p {
    max-width: 1050px;
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
    line-height: 1.7;
}

/* ==========================================================================
   Fußbereich-Einstellungen (Frontend-Editor → Fußbereich)
   Eigene Farben kommen als --fb / --ft / --fl (inline).
   ========================================================================== */

.site-footer {
    background: var(--fb, #25242a);
    color: var(--ft, rgba(255, 255, 255, 0.72));
}

.site-footer .footer-links a,
.site-footer .footer-column a {
    color: var(--fl, rgba(255, 255, 255, 0.78));
}

.site-footer .footer-links a:hover,
.site-footer .footer-column a:hover {
    color: var(--fl, #fff);
    text-decoration: underline;
}

.site-footer--spacing-compact { padding: 28px 0 16px; }
.site-footer--spacing-large { padding: clamp(56px, 7vw, 96px) 0 32px; }

/* Spalten: brechen je nach Platz von selbst um – ohne Breakpoint */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.footer-column__title {
    margin: 0;
    color: var(--ft, #fff);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-column__text {
    margin: 0;
    line-height: 1.6;
}

.footer-column__logo img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 64px;
}

.footer-column__links,
.footer-column__contact,
.footer-column__social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a {
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* Social Media im Fußbereich */
.footer-column__social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-column__social--icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.footer-social__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.footer-column__social a:hover .footer-social__icon {
    background: var(--color-primary);
}

.footer-column__social a:hover {
    text-decoration: none;
}
