/**
 * Mobile Language Switcher
 * Versteckt den fixed Switcher auf Mobile, zeigt ihn stattdessen im Footer
 */

@media (max-width: 768px) {
    /* Verstecke den fixed Language Switcher auf Mobile */
    .language-switcher {
        display: none !important;
    }

    /* Footer Language Switcher (nur auf Mobile sichtbar) */
    .footer-language-switcher {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1.5rem;
    }

    .footer-language-switcher a {
        padding: 0.5rem 1rem;
        text-decoration: none;
        color: rgba(255,255,255,0.8);
        border-radius: 4px;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(255,255,255,0.2);
    }

    .footer-language-switcher a.active {
        background: rgba(255,255,255,0.2);
        color: white;
        border-color: rgba(255,255,255,0.4);
    }

    .footer-language-switcher a:hover {
        background: rgba(255,255,255,0.15);
        color: white;
    }
}

/* Extra kleine Screens (< 480px) */
@media (max-width: 480px) {
    .footer-language-switcher {
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .footer-language-switcher a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Desktop: Verstecke Footer Language Switcher */
@media (min-width: 769px) {
    .footer-language-switcher {
        display: none;
    }
}
