/* =========================================
   FOOTER - Mobile-First (011-ui-mobile 007)
   Entspricht cursor-rules/sample-code/css/footer-mobile-first-responsive.css
   ========================================= */

/* Änderungsprotokoll: 2026-06-17 | parent-agent | @skill-css-rules, @skill-change-provenance | Footer-Grid volle Breite, Brand-Spalte, Spalten-Typografie */
/* Änderungsprotokoll: 2026-06-19 | cursor-agent | @skill-css-rules, @skill-change-provenance | Footer auf Mobile linksbündig statt zentriert */
/* Änderungsprotokoll: 2026-07-06 | cursor-agent | @skill-css-rules, @skill-change-provenance | Premium-Dark-Footer, 2 Link-Spalten, Brand-Tagline */
/* 011-ui-footer 003: max-width exakt wie Content (1600px) */
.base-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 20px 1.5rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 55%, #0d0d0d 100%);
    color: #d4d4d4;
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .base-footer {
        padding: 3.5rem 40px 1.75rem;
    }
}

@media (min-width: 1024px) {
    .base-footer {
        padding: 4rem 60px 2rem;
    }
}

.base-footer-grid {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: start;
    text-align: left;
    padding-bottom: 2.25rem;
}

@media (min-width: 600px) {
    .base-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: start;
        text-align: left;
        gap: 2.75rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .base-footer-grid {
        grid-template-columns: minmax(260px, 1.75fr) repeat(2, minmax(0, 1fr));
        gap: 3rem 3.5rem;
        align-items: start;
    }
}

.base-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem;
    width: 100%;
    max-width: 360px;
}

@media (min-width: 600px) {
    .base-footer-brand {
        grid-column: 1 / -1;
        align-items: flex-start;
        max-width: 480px;
    }
}

@media (min-width: 1024px) {
    .base-footer-brand {
        grid-column: auto;
        max-width: none;
        padding-right: 1.5rem;
    }
}

.base-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.base-footer-logo:hover {
    opacity: 0.9;
}

.base-footer-logo .base-logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.base-footer-logo .base-logo-text-brand,
.base-footer-logo .base-logo-text-suffix {
    color: #ffffff;
}

.base-footer-brand-desc {
    margin: 0;
    line-height: 1.65;
    max-width: 34ch;
    font-size: var(--font-size-sm);
    color: #9a9a9a;
}

.base-footer-links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    width: 100%;
}

@media (min-width: 600px) {
    .base-footer-links-container {
        align-items: flex-start;
        width: auto;
    }
}

.base-footer-column-headline {
    margin-bottom: 0.875rem;
    width: 100%;
}

.base-footer-column-headline .base-headline-h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 0;
}

.base-footer-headline {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.base-footer .base-footer-link {
    display: block;
    color: #b8b8b8;
    margin-bottom: 0;
    font-size: var(--font-size-sm);
    line-height: 1.6;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.base-footer .base-footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.base-footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 1.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: #8a8a8a;
    font-size: var(--font-size-sm);
}

.base-footer-bottom .base-content-text-small {
    color: #8a8a8a;
}

@media (max-width: 575px) {
    .base-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
}

.base-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

@media (max-width: 575px) {
    .base-footer-legal-links {
        justify-content: flex-start;
    }
}
