/* Grundlegende Einstellungen */
:root {
    --primary-color: #333; 
    --accent-color: #c9302c; 
    --bg-light: #f5f5f5;
    --text-color: #444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    /* Moderne System-Schriftarten (sieht auf jedem Gerät nativ und gut aus) */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text-color);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 2000; /* Sehr hoch, damit es immer oben bleibt */
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

/* Desktop Menu Basis */
.main-nav > ul { 
    display: flex; 
    gap: 20px; 
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative; /* Wichtig für Dropdown Positionierung */
}

.main-nav a { 
    font-weight: 500; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    display: block;
    padding: 25px 0; /* Vergrößert die Klickfläche vertikal */
}

.main-nav a:hover { color: var(--accent-color); }

/* --- DROPDOWN MENÜ (Allgemein) --- */
.main-nav .dropdown {
    display: none; /* Standardmäßig unsichtbar */
    background: #fff;
    min-width: 200px;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown li { width: 100%; }
.dropdown li a { 
    display: block; 
    padding: 10px 15px; 
    text-transform: none; 
    border-bottom: 1px solid #eee;
}
.dropdown li:last-child a { border-bottom: none; }

/* --- NUR DESKTOP (Maus-Steuerung) --- */
@media (min-width: 769px) {
    .dropdown {
        position: absolute; /* Schwebt über dem Inhalt */
        top: 100%;
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 3px solid var(--accent-color);
    }

    /* Menü zeigen, wenn man mit der Maus drüber fährt */
    .has-dropdown:hover .dropdown { 
        display: flex; 
    }
}

/* --- MOBILE MENU BUTTON --- */
.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

/* --- HERO SEKTION --- */
.hero {
    /* Dein Bildpfad wurde hier beibehalten */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/img/Header_Verein.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.btn {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
}
.btn:hover { background: #a02622; }

/* --- CONTENT SEKTIONEN --- */
.section-welcome { padding: 60px 20px; text-align: center; }
.section-welcome h2 { margin-bottom: 20px; font-size: 2rem; }

.section-features { background: var(--bg-light); padding: 60px 0; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}
.feature-card h3 { margin-bottom: 15px; }
.read-more { color: var(--accent-color); font-weight: bold; display: inline-block; margin-top: 10px; }

.card-img {
    width: 100%;
    height: 200px; /* Einheitliche Höhe für alle 3 Bilder */
    object-fit: cover; /* Schneidet die Bilder sauber zu, ohne sie zu verzerren */
    border-radius: 5px; /* Optionale Abrundung */
    margin-bottom: 15px; /* Abstand zur Überschrift */
}

/* Das Raster (Grid) für die automatische Skalierung */
    .vorstand-grid {
        display: grid;
        /* minmax(250px, 1fr) bedeutet: Die Spalte ist mindestens 250px breit. 
           Wenn mehr Platz ist, passen bis zu 4 Spalten nebeneinander.
           Wird der Bildschirm kleiner, bricht es automatisch bis auf 1 Spalte um. */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px; /* Abstand zwischen den Karten */
        list-style-type: none;
        padding-left: 0;
        margin-top: 20px;
    }

    /* Das Aussehen der einzelnen Kontakt-Karten */
    .vorstand-card {
        background-color: #f8f9fa; /* Sehr helles Grau für den Hintergrund */
        padding: 20px;
        border-radius: 8px; /* Leicht abgerundete Ecken */
        border: 1px solid #e9ecef; /* Ein dezenter Rahmen */
        box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Sehr leichter Schatten für Tiefe */
    }

    /* Damit die Links in den Karten gut aussehen und nicht beim Hover stören */
    .vorstand-card a {
        text-decoration: none;
        color: #0056b3; /* Dunkelblau - ggf. an eure Vereinsfarben anpassen */
    }
    .vorstand-card a:hover {
        text-decoration: underline;
    }

    /* Styles für die Terminliste */
    .termin-liste {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Abstand zwischen den Terminen */
        margin-top: 20px;
    }

    /* Das Aussehen eines einzelnen Termins */
    .termin-eintrag {
        display: flex;
        background-color: #f8f9fa;
        border-radius: 8px;
        overflow: hidden; /* Sorgt dafür, dass die runden Ecken auch links beim Datum bleiben */
        border: 1px solid #e9ecef;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Ein leichter "Schwebe-Effekt", wenn man mit der Maus drüberfährt */
    .termin-eintrag:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    /* Der farbig abgesetzte Datums-Block auf der linken Seite */
    .termin-datum {
        background-color: #0056b3; /* Dunkelblau - passend zum Vorstandslayout */
        color: white;
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 90px;
        text-align: center;
    }

    .termin-tag {
        font-size: 1.8rem;
        font-weight: bold;
        line-height: 1;
    }

    .termin-monat {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 5px;
    }

    /* Der Bereich für die Infos auf der rechten Seite */
    .termin-details {
        padding: 15px 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .termin-titel {
        font-size: 1.2rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }

    .termin-meta {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 5px;
    }

    .termin-beschreibung {
        font-size: 0.95rem;
        color: #444;
        margin: 0;
    }

    /* Container für die Buttons, damit sie nebeneinander mit Abstand stehen */
.termin-links {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Bricht auf Handys um, falls es zu viele Buttons sind */
}

/* Das Design der Download-Buttons */
.termin-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #0056b3; /* Gleiches Blau wie das Datum */
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.termin-btn:hover {
    background-color: #004085; /* Etwas dunkler beim Drüberfahren */
    text-decoration: none;
}

/* Optional: Ein kleines Icon-Kürzel vor dem Text */
.termin-btn::before {
    content: "📄";
    margin-right: 5px;
    font-size: 0.9rem;
}

    /* Responsives Design: Auf kleinen Handy-Bildschirmen wird das Datum nach oben gesetzt */
    @media (max-width: 500px) {
        .termin-eintrag {
            flex-direction: column;
        }
        .termin-datum {
            flex-direction: row;
            gap: 10px;
            padding: 10px;
        }
        .termin-monat {
            margin-top: 0;
            font-size: 1.2rem;
            font-weight: bold;
        }
    }

/* Modernes CSS-Grid für die Bildergalerien auf den Unterseiten*/
    .galerie {
        display: grid;
        /* Die Bilder sind mind. 250px breit. Auf Handys rutschen sie untereinander, auf dem PC nebeneinander. */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin-top: 25px;
    }
    
    /* Damit alle Bilder einheitlich und ordentlich aussehen */
    .galerie img {
        width: 100%;
        height: 220px; /* Zwingt alle Bilder auf dieselbe Höhe */
        object-fit: cover; /* Schneidet überstehende Ränder ab, ohne das Bild zu verzerren */
        border-radius: 8px; /* Leicht abgerundete Ecken */
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
    }

    /* Leichter Zoom-Effekt, wenn man mit der Maus über ein Bild fährt */
    .galerie img:hover {
        transform: scale(1.03);
    }

    /* --- GALERIE STYLES --- */
    .gallery-grid {
        display: grid;
        /* Automatisch Spalten füllen, mind. 250px breit */
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        overflow: hidden;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        cursor: pointer;
        transition: transform 0.2s;
        height: 200px; /* Feste Höhe für die Vorschau */
    }

    .gallery-item:hover {
        transform: scale(1.03);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Schneidet Bilder zu Quadraten, ohne zu verzerren */
        display: block;
    }

    /* --- LIGHTBOX (Bild-Vergrößerung) --- */
    .lightbox {
        display: none; /* Versteckt */
        position: fixed;
        z-index: 5000; /* Über allem anderen */
        padding-top: 50px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.9); /* Schwarzer Hintergrund */
    }

    .lightbox-content {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 1000px;
        max-height: 85vh;
        object-fit: contain; /* Bild ganz zeigen */
        animation: zoom 0.3s;
    }

    .close-lightbox {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
    }

    @keyframes zoom {
        from {transform:scale(0)} 
        to {transform:scale(1)}
    }

    /* --- AKKORDEON GALERIE STYLES --- */
    .gallery-accordion-item {
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }

    /* Der klickbare Balken */
    .accordion-header {
        width: 100%;
        background-color: #f9f9f9;
        color: #333;
        cursor: pointer;
        padding: 18px;
        text-align: left;
        border: none;
        outline: none;
        font-size: 1.1rem;
        font-weight: bold;
        transition: background-color 0.3s;
        display: flex;
        justify-content: space-between; /* Text links, Pfeil rechts */
        align-items: center;
        border-radius: 5px;
    }

    .accordion-header:hover {
        background-color: #eee;
    }

    /* Wenn aufgeklappt, wird der Balken etwas dunkler/farbig markiert */
    .accordion-header.active {
        background-color: #e9e9e9;
        color: var(--accent-color); /* Deine rote Farbe */
    }

    /* Der Pfeil */
    .accordion-icon {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    /* Pfeil drehen bei aktiv */
    .accordion-header.active .accordion-icon {
        transform: rotate(180deg);
    }

    /* Der Inhalt (Standardmäßig versteckt!) */
    .accordion-content {
        display: none; /* WICHTIG: Versteckt die Bilder */
        padding: 20px 0;
        background-color: white;
        overflow: hidden;
        animation: fadeIn 0.5s;
    }

    /* Hilfsklasse zum Anzeigen (wird per JS gesetzt) */
    .accordion-content.show {
        display: block;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* --- REITLEHRER STYLES --- */
    .teacher-grid {
        display: grid;
        /* Automatische Spalten, mind. 300px breit */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .teacher-card {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 25px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        transition: transform 0.2s;
        display: flex;
        flex-direction: column;
    }

    .teacher-card:hover {
        transform: translateY(-5px); /* Leichter Schwebe-Effekt */
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }

    .teacher-img-container {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px auto; /* Zentriert das Bild */
        border-radius: 50%; /* Macht das Bild rund */
        overflow: hidden;
        background-color: #eee;
        border: 3px solid #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .teacher-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .teacher-card h3 {
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 15px;
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 10px;
        display: inline-block;
        align-self: center;
    }

    .teacher-details {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
        font-size: 0.95rem;
        flex-grow: 1; /* Drückt den Button nach unten */
    }

    .teacher-details li {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .teacher-details strong {
        color: #555;
        display: block; /* Macht das Label zur eigenen Zeile (optional) */
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .btn-contact {
        display: block;
        width: 100%;
        text-align: center;
        background-color: #f0f0f0;
        color: #333;
        padding: 10px;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
    }

    .btn-contact:hover {
        background-color: var(--accent-color);
        color: #fff;
    }

    /* --- ANGEBOTE SECTION STYLES --- */
    .angebote-grid {
        display: grid;
        /* Automatische Spalten, mind. 280px breit */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 50px; /* Hier ist der große Abstand, den wir wollten */
    }

    .angebot-card {
        background-color: #f8f9fa; /* Helles Grau */
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 30px 25px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%; /* Damit alle Karten gleich hoch wirken */
    }

    .angebot-card:hover {
        transform: translateY(-5px); /* Leichter Schwebe-Effekt */
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        background-color: #fff;
        border-color: var(--accent-color); /* Roter Rand beim Hover */
    }

    .angebot-icon {
        font-size: 3rem; 
        margin-bottom: 15px;
        background: #fff;
        width: 80px;
        height: 80px;
        line-height: 80px;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .angebot-card h3 {
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .angebot-card p {
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 25px;
        flex-grow: 1; /* Drückt die Buttons nach unten */
        width: 100%;
    }

    .btn-angebot {
        background-color: transparent;
        color: var(--accent-color);
        border: 2px solid var(--accent-color);
        padding: 8px 20px;
        border-radius: 4px;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.85rem;
        transition: all 0.2s ease;
        text-decoration: none !important; /* Wichtig, damit keine Unterstreichung kommt */
        display: inline-block;
    }

    .btn-angebot:hover {
        background-color: var(--accent-color);
        color: #fff;
    }

    /* --- WHATSAPP LINK STYLE --- */
    .whatsapp-link {
        color: #25D366; /* Das offizielle WhatsApp-Grün */
        font-weight: bold;
        text-decoration: none;
        display: inline-flex; /* Damit das Icon und Text schön auf einer Linie sind */
        align-items: center;
        gap: 5px; /* Abstand zwischen Icon und Text */
        background-color: #f0fdf4; /* Ganz helles Grün als Hintergrund (optional, wirkt edel) */
        padding: 2px 8px;
        border-radius: 12px; /* Runde Ecken ("Pill-Shape") */
        border: 1px solid #25D366;
        transition: all 0.2s ease;
    }

    .whatsapp-link:hover {
        background-color: #25D366;
        color: #fff; /* Beim Drüberfahren wird der Hintergrund grün und Text weiß */
        box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3); /* Leuchter Schatten */
    }

    /* --- FOOTER --- */
.main-footer { background: #222; color: #ccc; padding: 40px 0 20px; margin-top: auto; }
.footer-widgets { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px; }
.widget h3 { color: #fff; margin-bottom: 15px; }
.copyright { text-align: center; border-top: 1px solid #444; padding-top: 20px; font-size: 0.85rem; }

/* --- MODALS (Impressum, Datenschutz --- */
/* Der unsichtbare Hintergrund (Overlay) */
.modal {
    display: none; /* Standardmäßig versteckt */
    position: fixed; 
    z-index: 3000; /* Sehr hoch, damit es über allem liegt, auch über der Sticky-Nav */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow-y: auto; /* Scrollen im Modal erlauben, falls der Text (z.B. Datenschutz) lang ist */
    background-color: rgba(0,0,0,0.6); /* Dunkler, halbtransparenter Hintergrund */
    backdrop-filter: blur(4px); /* Schicker, moderner Unschärfe-Effekt für den Hintergrund */
}

/* Die weiße Box in der Mitte */
.modal-content {
    background-color: #fff;
    margin: 5vh auto; /* 5% der Bildschirmhöhe Abstand von oben, mittig ausgerichtet */
    padding: 30px 40px;
    border-radius: 8px; /* Leicht abgerundete Ecken */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 90%; 
    max-width: 800px; /* Maximale Breite für optimale Lesbarkeit */
    position: relative;
    animation: modalFadeIn 0.3s ease-out; /* Weiche Einblend-Animation */
}

/* Der Schließen-Button (X) */
.close-modal {
    color: #999;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color); /* Nutzt dein rotes Accent aus den :root Variablen */
    text-decoration: none;
}

/* Der Textbereich im Modal */
.modal-body {
    margin-top: 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.modal-body h3, 
.modal-body h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-body p {
    margin-bottom: 15px;
}

/* Einblend-Animation (Fährt leicht von oben ein) */
@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* --- RESPONSIVE / MOBILE ANPASSUNGEN --- */
@media (max-width: 768px) {
    /* Hamburger Button anpassen, damit er über dem Menü bleibt */
    .menu-toggle { 
        display: block; 
        z-index: 2002; 
        position: relative;
    }
    
    /* NEU: Das abgedunkelte Overlay */
    .menu-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Das eigentliche Mobile-Menü (Slide-In von Rechts) */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Startet unsichtbar außerhalb des rechten Randes */
        width: 280px; /* Breite des Menüs */
        height: 100vh;
        background: #fff;
        padding: 80px 0 20px 0; /* Platz oben für den X-Button lassen */
        box-shadow: -5px 0 15px rgba(0,0,0,0.2); 
        z-index: 2001; /* Über dem Overlay, unter dem Hamburger-Button */
        overflow-y: auto;
        transition: right 0.4s ease-in-out; /* Weiche Animation */
        display: flex; /* Flexbox direkt aktivieren */
        flex-direction: column;
    }

    /* Diese Klasse wird per JS hinzugefügt, um das Menü reinzufahren */
    .main-nav.active { 
        right: 0; 
    }

    .main-nav > ul { 
        flex-direction: column; 
        width: 100%; 
        gap: 0;
    }

    /* HAUPTMENÜ PUNKTE */
    .main-nav li {
        border-bottom: 1px solid #ddd;
    }

    .main-nav a {
        padding: 15px 25px; 
        font-size: 1.1rem;
        font-weight: 600; 
        display: block;
        color: #222;
    }

    /* DROPDOWN (UNTERMENÜ) DESIGN */
    .main-nav .dropdown { 
        position: static; 
        box-shadow: none; 
        border-top: none;
        background: #f9f9f9; 
        border-left: 4px solid var(--accent-color); 
        display: none; 
        padding: 0;
    }
    
    /* UNTERPUNKTE */
    .main-nav .dropdown li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav .dropdown li a {
        padding: 12px 20px 12px 40px; 
        font-size: 1rem;
        font-weight: 400; 
        color: #555; 
    }

    .main-nav .dropdown li:last-child {
        border-bottom: none;
    }

    .dropdown.show {
        display: block;
    }
    
    .btn {
        display: block;
        text-align: center;
        margin: 20px;
        padding: 15px;
    }

    .modal-content {
        margin: 5% auto;
        padding: 25px 20px; /* Etwas weniger Innenabstand auf kleinen Screens */
        width: 95%;
    }
    
    .close-modal {
        font-size: 28px;
    }

        .lightbox-content {
        width: 100%;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Kleinere Kacheln auf Handy */
    }
}