/* Mobile-First: Basis-Styles gelten für mobile Geräte */
.footer {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background-color: var(--color-footer-bg);
    border-top: 1px solid var(--color-footer-border);
    padding: 15px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.footer-link {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-decoration: none;
    color: var(--color-footer-text);
    margin: 0 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--color-text-primary);
    background-color: rgba(158, 122, 255, 0.1);
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 80%;
}

.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;
    gap: 10px;
    margin-bottom: 10px;
}

.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);
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

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

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

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