/* Magic UI: Dot-Pattern Hintergrund + Premium-Gradient */
.footer {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: linear-gradient(180deg, #FAFBFC 0%, #F5F7FA 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Magic UI: Subtiles Dot-Pattern im Hintergrund */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(203, 213, 224, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

/* Footer-Links: Professionell und modern gestylt */
.footer-link {
    font-family: var(--font-family-primary);
    font-size: 0.875rem;
    line-height: var(--line-height-base);
    text-decoration: none;
    color: #64748B;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-link:hover {
    color: #2563EB;
    text-decoration: none;
}

.footer-links {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-small);
    line-height: var(--line-height-base);
    color: var(--color-footer-text);
}

/* Responsive Design - Regel 022: 4 Breakpoints */
/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .footer {
        max-width: 100%;
        padding: 2rem 1.25rem;
    }
}

/* Tablet/iPad (600px–768px) */
@media (min-width: 600px) and (max-width: 768px) {
    .footer {
        max-width: 100%;
        padding: 20px;
    }
}

/* Kleiner Desktop/13-Zoll (1024px–1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .footer {
        max-width: 1200px;
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .footer {
        max-width: 1200px;
    }
}

/* Reduced-Motion Support für Accessibility */
@media (prefers-reduced-motion: reduce) {
    .footer-link {
        transition: none;
    }
}
