/* Apple-style Design System */
:root {
    --bg-color: #fbfbfd;
    --text-color: #1d1d1f;
    --light-text: #86868b;
    --border: #d2d2d7;
    --blue: #0071e3;
    --blue-hover: #0077ed;
}

/* Verhindert jegliches ungewolltes Rechts-Scrollen auf Handys */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: #4a4a4a; /* Weicheres Grau für Fließtext statt hartem Schwarz */
    margin: 0;
    padding: 0;
    line-height: 1.6; /* Mehr Luft zwischen den Zeilen */
    -webkit-font-smoothing: antialiased; /* Macht die Schrift auf Apple-Geräten knackiger */
}

h1, h2, h3, h4, h5 {
    color: #1d1d1f; /* Tiefes Schwarz für alle Überschriften */
    font-weight: 600;
    margin-top: 0;
}

/* Ausnahmen für dunkle Hintergründe (Hero-Bereich & Custom/Team-Karten) */
.hero-text h1,
.photo-overlay h3,
.premium-action-card h3 {
    color: #ffffff;
}

/* 1. Header & Navigation */
header {
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 60px;
    background: rgba(251, 251, 253, 0.65); /* Transparenter für echten Glas-Look */
    backdrop-filter: saturate(180%) blur(24px); /* Stärkerer Weichzeichner */
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04); /* Fast unsichtbare Trennlinie */
    z-index: 1000; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px; 
    box-sizing: border-box;
}

.logo { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav-container { display: flex; align-items: center; gap: 20px; }
.nav-links { 
    position: relative; 
    display: flex; 
    gap: 5px; 
    align-items: center; 
}

.nav-links a { 
    position: relative; 
    z-index: 1; /* Hält den Text über dem grauen Slider */
    text-decoration: none; 
    color: var(--text-color); 
    font-size: 0.9rem; 
    padding: 6px 16px; 
    border-radius: 20px; 
    transition: color 0.3s ease; 
}

.nav-links a:hover { 
    color: var(--text-color); 
}

/* Der animierte Hintergrund-Kasten */
.nav-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 32px;
    width: 0;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none; /* Verhindert, dass der Kasten Klicks blockiert */
}

/* Zeigt den Kasten an, sobald man über die Navigation fährt */
.nav-links:hover .nav-highlight {
    opacity: 1;
}

.cart-btn { background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 500; display: flex; align-items: center; transition: color 0.2s; color: var(--text-color); padding: 0; }
.cart-btn:hover { color: var(--blue); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0; color: var(--text-color); }

@media (max-width: 768px) {
    .nav-highlight { display: none !important; }
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 60px; left: 0; width: 100%;
        background: rgba(251, 251, 253, 0.95); 
        backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column; padding: 0; gap: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
        border-bottom: 1px solid transparent; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .nav-links.open { max-height: 200px; padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
    .nav-links a { font-size: 1.1rem; padding: 10px 20px; width: 100%; text-align: center; box-sizing: border-box; }
}

/* 2. Hero Bereich */
.hero { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(17, 17, 17, 0.95)); margin-top: 60px; }
  
.hero video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); opacity: 0.6; }
.hero-text { position: relative; z-index: 1; text-align: center; color: white; }
.hero-text h1 { font-size: 4rem; letter-spacing: -0.03em; margin: 0; }
.hero-text p { font-size: 1.5rem; font-weight: 300; margin-top: 10px; }

/* 3. Main Bereich (Produkte) */
.section-title { 
    text-align: center; 
    font-size: 2.8rem; 
    font-weight: 600;
    letter-spacing: -0.03em; 
    margin: 100px 0 60px 0; 
}
.products-grid { display: grid; gap: 30px; padding: 20px; max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { 
    background: white; 
    border-radius: 18px; 
    padding: 24px; 
    /* Sehr weicher, fast unsichtbarer Schatten im Normalzustand */
    box-shadow: 0 4px 24px rgba(0,0,0,0.02); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    display: flex; 
    flex-direction: column; 
}

.product-card:hover { 
    transform: translateY(-2px); /* Vorher -8px, jetzt nur noch eine minimale, kaum spürbare Bewegung */
    box-shadow: 0 16px 32px rgba(0,0,0,0.06); 
}

.product-card-img-wrapper {
    overflow: hidden; /* Wichtig für den Zoom-Effekt */
    border-radius: 12px;
    margin-bottom: 16px;
    background: #f5f5f7;
}

.product-card img { 
    width: 100%; 
    border-radius: 12px;
    margin-bottom: 16px;
    object-fit: cover; 
    aspect-ratio: 1/1; 
    background: #f5f5f7;
    transition: transform 0.5s ease; /* Weiche Zoom-Animation */
    display: block;
}

.product-card:hover img {
    transform: scale(1.00);
}
.product-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.product-price { font-size: 1.1rem; color: var(--light-text); margin-bottom: 16px; }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; min-height: 24px; }
.swatch { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; box-shadow: 0 0 0 1px #d2d2d7; transition: transform 0.2s; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: #fff; box-shadow: 0 0 0 2px var(--blue); }

.input-group { margin-bottom: 12px; }

select, input[type="text"], input[type="number"], input[type="email"] { 
    width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border); 
    font-size: 0.9rem; font-family: inherit; background: var(--bg-color); box-sizing: border-box; margin-bottom: 12px; 
    transition: all 0.2s ease;
}

.btn-add { background: var(--blue); color: white; border: none; padding: 12px; border-radius: 20px; font-size: 0.95rem; font-weight: 500; cursor: pointer; margin-top: auto; transition: background 0.2s; }
.btn-add:hover { background: var(--blue-hover); }

/* 4. Foto Spalten */
.photo-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
    max-width: 1200px; 
    margin: 80px auto; 
    padding: 0 20px; 
    box-sizing: border-box; 
}
@media (min-width: 768px) { 
    .photo-grid { 
        grid-template-columns: repeat(2, 1fr); 
        margin: 120px auto; 
    } 
}
.photo-card { border-radius: 18px; overflow: hidden; height: 300px; background: #ddd; position: relative; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-overlay { position: absolute; bottom: 0; width: 100%; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; box-sizing: border-box; }

/* 5. Footer */
footer { 
    background: #f5f5f7; 
    border-top: 1px solid var(--border); 
    padding: 80px 20px 40px; 
    margin-top: 120px; 
    font-size: 0.85rem; 
    color: var(--light-text); 
    box-sizing: border-box;
}
.footer-content, .footer-grid { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: flex-start;
    gap: 40px; 
}
.footer-col a { color: var(--text-color); text-decoration: none; display: block; margin-bottom: 8px; }
.footer-col-left { flex: 1; min-width: 250px; text-align: left; }
.footer-col-center { flex: 1; min-width: 250px; text-align: center; }
.footer-col-right { 
    flex: 1; 
    min-width: 250px; 
    text-align: right; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.footer-col-right a {
    font-size: 0.85rem; 
    color: #4a4a4a; 
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col-right a:hover { color: #1d1d1f; }
.copyright { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }

/* Cart Slide-out */
.cart-overlay { position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100%; background: white; box-shadow: -5px 0 30px rgba(0,0,0,0.1); z-index: 2000; transition: right 0.3s ease; display: flex; flex-direction: column; }
.cart-overlay.open { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 0.9rem;}
.cart-footer { padding: 20px; border-top: 1px solid var(--border); background: var(--bg-color); overflow-y: auto;}
.cart-total { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.2rem; margin-bottom: 20px; }
#paypal-button-container { margin-top: 15px; }

/* --- Product Detail Modal (Apple Style) --- */
.product-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(251, 251, 253, 0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 20px; box-sizing: border-box; }
.product-modal-overlay.active { opacity: 1; pointer-events: auto; }
.product-modal-content { background: white; width: 100%; max-width: 1000px; max-height: 90vh; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); overflow-y: auto; display: flex; flex-direction: column; position: relative; transform: translateY(20px); transition: transform 0.3s ease; box-sizing: border-box; }
.product-modal-overlay.active .product-modal-content { transform: translateY(0); }

@media (min-width: 768px) { 
    .product-modal-content { flex-direction: row; overflow: hidden; } 
    .pm-details-col { overflow-y: auto; max-height: 90vh; }
}

.pm-image-col { flex: 1; padding: 40px; background: #f5f5f7; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.pm-image-col img#pm-image { width: 100%; max-width: 450px; max-height: 50vh; border-radius: 12px; object-fit: contain; cursor: zoom-in; transition: transform 0.3s ease; }
.pm-image-col img#pm-image.zoomed { transform: scale(1.6); cursor: zoom-out; }

.gallery-thumbs { display: flex; gap: 12px; margin-top: 20px; justify-content: center; width: 100%; }
.gallery-thumb { width: 64px; height: 64px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: all 0.2s ease; object-fit: cover; background: white; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,0.1); transform: translateY(-2px); }

.pm-details-col { flex: 1; padding: 40px; display: flex; flex-direction: column; }
.pm-close { position: absolute; top: 20px; right: 20px; background: #e5e5ea; color: #1d1d1f; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; font-weight: bold; display: flex; justify-content: center; align-items: center; z-index: 10; }
.pm-close:hover { background: #d1d1d6; }
.pm-title { font-size: 2rem; margin: 0 0 10px; letter-spacing: -0.02em; }
.pm-price { font-size: 1.5rem; color: #86868b; margin-bottom: 20px; font-weight: 500; }
.pm-description { font-size: 0.95rem; color: #4a4a4a; margin-bottom: 30px; line-height: 1.6; }
.pm-description strong { color: #1d1d1f; }
.pm-options { margin-bottom: 30px; }
.pm-options label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; color: #86868b; letter-spacing: 0.5px; }

.size-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.size-swatch { 
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d2d2d7; 
    display: flex; justify-content: center; align-items: center; cursor: pointer; 
    font-size: 0.9rem; font-weight: 500; color: #1d1d1f; background: white; 
    transition: all 0.2s ease; box-sizing: border-box;
}
.size-swatch:hover { border-color: var(--blue); color: var(--blue); }
.size-swatch.active { background: var(--blue); color: white; border-color: var(--blue); }

.pm-options .swatch { width: 44px; height: 44px; }

@media (max-width: 768px) {
    .product-modal-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Flüssiges Scrollen auf iOS */
    }
    .pm-image-col { 
        padding: 30px 20px 20px; 
        flex: none; /* Verhindert das Zusammenquetschen der Bildbox! */
        justify-content: flex-start; /* Nichts wird mehr nach oben rausgeschoben */
        overflow: visible; /* Verhindert das Abschneiden der Galerie-Thumbnails */
    }
    .pm-image-col img#pm-image { 
        max-height: 32vh; 
        width: auto;
        max-width: 100%;
    }
    .gallery-thumbs { 
        margin-top: 15px; 
        flex-shrink: 0; /* Schützt die Thumbnails vorm Schrumpfen */
    }
    .pm-details-col { 
        padding: 20px; 
        flex: none; /* Nimmt sich genau den Platz, den der Text braucht */
    }
    .pm-title { 
        font-size: 1.6rem; 
    }
}

/* --- Legal & Checkout Styles --- */
.legal-hint { font-size: 0.8rem; color: #86868b; margin-top: 4px; }
.legal-hint a { color: #86868b; text-decoration: underline; }
.legal-hint a:hover { color: var(--blue); }

.checkout-summary { background: #f5f5f7; padding: 15px; border-radius: 12px; margin-bottom: 15px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: #4a4a4a; margin-bottom: 8px; }
.summary-row.total { font-size: 1.2rem; font-weight: 600; color: #1d1d1f; margin-top: 10px; padding-top: 10px; border-top: 1px solid #d2d2d7; }

.agb-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: #4a4a4a; margin-bottom: 15px; cursor: pointer; }
.agb-checkbox input { margin-top: 3px; cursor: pointer; }
.agb-checkbox a { color: var(--blue); text-decoration: none; }
.agb-checkbox a:hover { text-decoration: underline; }

/* NEU: Checkout Fehler Styling (Inline Alert) */
.checkout-error-msg {
    background-color: #ffeceb;
    color: #d70015;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
}

/* NEU: Klasse für leere Pflichtfelder */
input.input-error {
    border-color: #d70015 !important;
    background-color: #fffaf9 !important;
}

/* --- Trust Banner Styles (V2 mit Profilbild und Logos) --- */
.trust-banner-container { 
    padding: 0 20px; 
    max-width: 1200px; 
    margin: 80px auto 0; 
    box-sizing: border-box;
}
.trust-banner { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    background: white; 
    border-radius: 18px; 
    box-shadow: 0 4px 24px rgba(0,0,0,0.04); 
    overflow: hidden; 
    border: 1px solid var(--border); 
}
.tb-col { 
    padding: 40px 30px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}
.tb-border { border-right: 1px solid var(--border); }

/* NEU: Das Profilbild */
.tb-profile-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tb-icon { 
    width: 56px; 
    height: 56px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px; 
    color: var(--blue); 
}

.tb-col h4 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text-color); }
.tb-col p { margin: 0 0 20px; font-size: 0.95rem; color: var(--light-text); line-height: 1.5; }
.tb-col p strong { color: var(--text-color); }

.tb-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tb-btn { 
    padding: 8px 14px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    font-weight: 500; 
    text-decoration: none; 
    transition: all 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}
.tb-btn-mail { background: #e8f2fc; color: #005bb5; }
.tb-btn-tel { background: #f5f5f7; color: #1d1d1f; border: 1px solid #d2d2d7; }
.tb-btn-wa { background: #e6f4ea; color: #1e8e3e; }
.tb-btn:hover { filter: brightness(0.95); transform: translateY(-1px); }

/* NEU: Flex-Container für Logos */
.payment-logos, .shipping-logos {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
}

/* Logos skalieren */
.payment-logos img { height: 24px; object-fit: contain; }
.shipping-logos img { height: 20px; object-fit: contain; }

/* NEU: Badge für persönliche Übergabe */
.personal-delivery-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e6f4ea;
    color: #1e8e3e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .trust-banner { grid-template-columns: 1fr; }
    .tb-border { border-right: none; border-bottom: 1px solid var(--border); }
    .tb-col { padding: 30px 20px; }
}

/* Rechtssicherer Checkout: Zahlungsauswahl & Finaler Button */
.payment-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    background: white;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.payment-radio-card input[type="radio"] {
    margin-top: 3px;
    cursor: pointer;
}
.payment-radio-card.active {
    border-color: var(--blue);
    background: #f0f7ff;
    box-shadow: 0 0 0 1px var(--blue);
}
.btn-checkout-final {
    width: 100%;
    background: var(--blue);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-checkout-final:hover {
    background: var(--blue-hover);
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(251, 251, 253, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: #1d1d1f;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1999; /* Bleibt unter dem Warenkorb-Overlay (2000) */
    
    /* Animation für das Einblenden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Klasse, die per JavaScript hinzugefügt wird */
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #1d1d1f;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px); /* Schwebt leicht nach oben */
}

/* --- MOBILE OPTIMIERUNGEN (Smartphone) & Fallback für Inline-Styles --- */
@media (max-width: 768px) {
    /* 1. Header & Hamburger-Menü Platz schaffen */
    header { padding: 0 15px; }
    .logo { 
        font-size: 0.95rem; 
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis; 
        max-width: 175px; 
    }
    .nav-container { gap: 12px; }
    .cart-btn { font-size: 0.9rem; white-space: nowrap; }

    /* 2. Hero-Schrift & Abstände auf Handy-Größe anpassen */
    .hero-text { padding: 0 15px; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text p { font-size: 1.15rem; }
    .section-title { font-size: 2rem; margin: 50px 0 30px 0; }

    /* 3. Photo-Grid & Karten gegen Überbreite absichern */
    .photo-grid {
        grid-template-columns: 1fr !important;
        margin: 60px auto !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    .premium-action-card {
        aspect-ratio: auto !important;
        min-height: 260px !important;
        box-sizing: border-box !important;
    }

    /* 4. Formular-Zeilen & Modal-Paddings auf Handy anpassen */
    #custom-form div[style*="display:flex"],
    #team-form div[style*="display:flex"] {
        flex-direction: column;
        gap: 12px !important;
    }
    #custom-modal .product-modal-content,
    #team-modal .product-modal-content,
    #widerruf-modal .product-modal-content,
    #legal-modal .product-modal-content {
        padding: 25px 20px !important;
    }

    /* 5. Footer auf dem Smartphone komplett zentrieren */
    footer { padding: 50px 20px 30px; margin-top: 60px; }
    .footer-grid,
    footer > div:first-child { 
        flex-direction: column !important; 
        align-items: center !important; 
        text-align: center !important; 
        gap: 35px !important; 
    }
    .footer-col-left, 
    .footer-col-center, 
    .footer-col-right,
    footer > div:first-child > div { 
        min-width: 100% !important; 
        text-align: center !important; 
        align-items: center !important; 
    }

    /* 6. Scroll to Top Button etwas kleiner auf mobilen Geräten */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
/* ==========================================
   MOBILE PAGINATION BUTTONS
   ========================================== */
.pagination-container {
    display: none; /* Auf Desktop standardmäßig ausblenden */
    justify-content: center;
    gap: 8px;
    margin: 10px 0 30px 0;
}

.pagination-container.is-active {
    display: flex; /* Wird durch JS auf dem Smartphone aktiviert */
}

.pagination-container button {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-container button.active {
    background-color: var(--blue);
    color: #ffffff;
}

.pagination-container button:hover:not(.active) {
    background-color: #e8e8ed;
}