/* ============================================
   FOOTER STYLES (Global)
   Loaded by footer-loader.js
   ============================================ */

footer {
    background: #0a0f1d;
    color: #94a3b8;
    padding: 1.25rem 5% 2rem;
    font-family: system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

/* --- Email Links --- */
#footerEmailDe,
#footerEmailDe a,
#footerEmailEn,
#footerEmailEn a {
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-block;
}
#footerEmailDe a:hover,
#footerEmailEn a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* --- Layout Structure --- */
.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    opacity: 0.7;
    margin-bottom: 2rem;
    display: block;
}

.languages-footer-block {
    margin-top: 1.5rem;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.6;
}

.footer-bottom,
footer {
    text-align: center;
}

/* --- Legal Grid (Injected by JS) --- */
.legal-notice {
    margin-top: 2rem;
    width: 100%;
}

.footer-legal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

/* --- Legal Block Components --- */
.legal-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b; /* Slate label color */
    font-weight: 700;
}

.legal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1; /* Lighter text for readability */
}

.legal-text strong {
    color: #fff;
    font-weight: 600;
}

/* --- LinkedIn Logo --- */
.linkedin-logo {
    height: 22px;
    width: auto;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.linkedin-logo:hover {
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .footer-legal {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .legal-block {
        align-items: center;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 3rem 1.5rem 2rem;
    }
    .footer-legal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}