/* =========================================
   TARTAN ATHLETICS – HEADER + NAVIGATION
   Mega-Menü Vollbreite – Silvio Edition
========================================= */

:root {
    --tartan: #b22222;
    --tartan-dark: #7f1d1d;
    --tartan-light: #fef2f2;
    --bg: #f7f7fb;
    --card: #ffffff;
    --shadow: 0 4px 12px rgba(127, 29, 29, 0.15);
    --border: #e5e7eb;
    --text: #111827;
}

/* ------------------------------
   BILDWECHSLER
--------------------------------*/
#bildwechsler {
    background: linear-gradient(135deg, var(--tartan-dark), var(--tartan));
    padding: 1rem 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

/* Maincontent */
#maincontent {
    margin: 0 50px;
    padding: 10px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ------------------------------------
   BREAKPOINT: unter 900px → stacked
------------------------------------ */
@media (max-width: 900px) {

    #maincontent {
        flex-direction: column;   /* untereinander */
        margin: 0 50px;           /* etwas kompakter */
    }

    #leftcontent,
    #rightcontent {
        width: 100% !important;
        /* margin: 10px 50px; */
        max-width: none;
    }
}

/* Left und Right Content */
/* Hauptbereich */
#leftcontent {
    flex: 2;
}

/* Moderne Überschriften */
#leftcontent h2 {
    margin-top: 0;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--tartan);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Sidebar rechts */
#rightcontent {
    flex: 1;
}

#leftcontent,
#rightcontent {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}


/* Abstand zwischen Boxen */
#rightcontent>*+* {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {

    #leftcontent,
    #rightcontent {
        /* margin-bottom: 20px; */
    }
}

/* ------------------------------
   HEADER
--------------------------------*/
#header {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 24px;
    box-shadow: var(--shadow);
    color: var(--tartan-light);
    position: relative;
}

/* Allgemeines */
h2 {
    display: none;
}

a {
    color: #444;
    text-decoration: none;
    /* margin: 0 10px; */
    transition: 0.2s ease;
    text-align: center;
}

a:hover {
    color: var(--tartan-dark);
}

/* Logo */
#logo {
    width: auto;
    margin-right: 1rem;
}

/* Menü-Container */
#menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

/* Titel */
h1 {
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 a {
    color: var(--tartan-light);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 999px;
}

h1 a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* =========================================
   MEGA-MENÜ – VOLLBREITE
========================================= */

/* Navbar */
.navbar {
    position: relative;
    z-index: 99999;

    background: var(--tartan-dark);
    padding: 0.6rem 1rem;
    border-radius: 999px;

    display: flex;
    gap: 0.5rem;
}

/* Normale Links */
.navbar a {
    color: var(--tartan-light);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.2s ease;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Dropdown-Buttons */
.divnavbar {
    color: var(--tartan-light);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s ease;

    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.divnavbar:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Aktiver Menüpunkt */
.divnavbar.open {
    background: rgba(255, 255, 255, 0.15);
}

/* Mega-Dropdown */
.submenu_link {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 1200px;

    display: none;
    flex-direction: row;
    justify-content: flex-start;
    gap: 3rem;

    background: var(--tartan-dark);
    padding: 2rem;
    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border: none;

    z-index: 100000;
}

/* Sichtbar */
.submenu_link.open {
    display: flex;
}

/* UL im Mega-Menü */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Links im Mega-Menü */
.submenu a {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    background: var(--tartan);
    color: var(--tartan-light);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
    white-space: nowrap;
}

.submenu a:hover {
    background: #c63a3a;
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 800px) {
    #header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    #menu {
        align-items: center;
    }

    .navbar {
        justify-content: center;
        flex-wrap: wrap;
    }

    .submenu_link {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================================
   HEADER + UNTERPUNKT-ZEILE – KOMPAKT
========================================= */

#headerbar {
    background: var(--tartan);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Hauptnavigation */
.mainnav {
    display: flex;
    gap: 1.5rem;
}

.mainnav a,
.mainnav .nav-item {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    /* schwarz */
    text-decoration: none;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}

.mainnav a:hover,
.mainnav .nav-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Unterpunkt-Zeile */
.subnav {
    display: flex;
    gap: 2rem;
}

/* Jede Gruppe ist standardmäßig unsichtbar */
.sub-group {
    display: none;
    gap: 0.8rem;
}

/* Unterpunkte */
.sub-group a {
    font-size: 0.85rem;
    color: var(--tartan-light);
    text-decoration: none;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
}

.sub-group a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Sichtbare Gruppe */
.sub-group.active {
    display: flex;
}


/* =========================================
   LAYOUT: HEADER + LINKER SIDEBAR
========================================= */

#page {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
    gap: 0;
}

/* HEADER OBEN */
#topheader {
    grid-column: 1 / 3;
    background: var(--tartan);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 10px 50px;
}

#topheader img {
    height: 60px;
}

#topheader h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--tartan-light);
}

/* Unter 900px → 1.3rem */
@media (max-width: 900px) {
    #topheader h1 {
        font-size: 1.2rem;
    }
}

/* Unter 800px → 1rem */
@media (max-width: 800px) {
    #topheader h1 {
        font-size: 1rem;
    }
}

/* Uhrzeit und Datum */
.uberschrift.right.ueberschrift_right {
    font-weight: 100;
    font-size: 0.9rem;
}

.uberschrift {
    font-weight: 700;
    color: var(--tartan-dark);
    border-bottom: 2px solid var(--tartan);
    padding: 8px 0 5px 0;
    margin-bottom: 10px;
}

.uberschrift a {
    color: inherit;
    text-decoration: none;
}

.uberschrift a:hover {
    color: #FFF;
    background-color: var(--tartan);
    padding: 5px;
    border-radius: 80px;
}

/* Links Rechter Content */
.site_link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--tartan-light);
    padding-bottom: 2px;
}

.site_link:hover {
    color: #FFF;
    background-color: var(--tartan);
    padding: 5px;
    border-radius: 80px;
}

/* Vorstand */
/* Vorstand-Card */
.vorstand-box {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Hauptüberschrift */
.vorstand-box h2 {
    margin-top: 0;
    padding-left: 12px;
    font-size: 1.6rem;
    font-weight: 700;
}

/* Abschnittsüberschriften */
.vorstand-box .section-title {
    /* margin-top: 30px; */
    font-size: 1.2rem;
    font-weight: 700;
    padding-left: 20px;
    /* Platz für linken Balken */
    position: relative;
    padding-bottom: 8px;
    /* Platz für unteren Strich */
}

/* Unterer Tartan-Strich */
.vorstand-box .section-title::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--tartan);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(127, 29, 29, 0.3);
}

/* Beschreibungstext */
.vorstand-box p {
    padding-left: 12px;
    line-height: 1.6;
    margin: 10px;
}

/* Rollenliste */
.vorstand-box ul {
    list-style: none;
    padding-left: 12px;
    margin: 10px 5px;
}

.vorstand-box ul li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.vorstand-box ul li strong {
    color: var(--tartan-dark);
}

/* NEWS */
/* NEWS-CARD */
.news-item {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

/* Linker Tartan-Balken */
.news-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 6px;
    border-radius: 10px;
    background: linear-gradient(to bottom, var(--tartan), var(--tartan-dark));
}

/* Überschrift */
.news-item .uberschrift2 a {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    display: inline-block;
    padding-left: 10px;

}

/* Überschrift */
.news-item .uberschrift2 a:hover {
    color: #FFF;
    padding: 5px;
}

/* Link-Dekoration im Fließtext */
.news-item a.site_link {
    font-weight: 600;
    border-bottom: 2px solid var(--tartan-light);
    padding-bottom: 2px;
}

/* Datum + Kategorien */
.news-item small {
    display: block;
    margin: 5px 0 10px;
    color: #666;
    padding-left: 10px;
}

/* Text */
.news-item p {
    text-align: justify;
    padding-left: 10px;
    margin: 0;
}

/* Moderner HR-Trennstrich */
.news-item hr {
    border: none;
    height: 3px;
    background: var(--tartan);
    margin: 20px 0;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(127, 29, 29, 0.3);
}

.start-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.news-teaser {
    background: #fff;
    border-left: 6px solid var(--tartan);
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news-teaser .weiter {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--tartan);
}

/* Gesamte Tabelle als moderne Card */
.medaille {
    display: grid;
    grid-template-columns: 60px 1fr 80px 80px 80px;
    background: #fff;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    align-items: center;
}

/* Kopfzeile – Tartanrot wie deine moderne Tabelle */
.medaille_item_head {
    background: var(--tartan);
    color: #fff;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 1.05rem;
}

/* Standardzellen */
.medaille_item {
    padding: 8px 12px;
    font-size: 1rem;
}

/* Abwechselnde Zeilen – leichtes Grau */
.medaille_item2 {
    background: #f7f7f7;
    border-radius: 6px;
}

/* Links */
.medaille_item a.site_link {
    font-weight: 600;
    color: var(--tartan-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--tartan-light);
    padding-bottom: 2px;
    transition: 0.2s;
}

/* Hover-Effekt */
.medaille_item a.site_link:hover {
    color: #fff;
    background: var(--tartan);
    padding: 3px 8px;
    border-radius: 6px;
}

/* News-Card */
.result {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

/* Linker Tartan-Balken – optional */
.result::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 6px;
    background: linear-gradient(to bottom, var(--tartan), var(--tartan-dark));
    border-radius: 10px;
}

/* Ergebnis-Box */
.ergebnis-box {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Linker Tartan-Balken – optional */
.ergebnis-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 6px;
    background: linear-gradient(to bottom, var(--tartan), var(--tartan-dark));
    border-radius: 10px;
}

/* Hauptkategorien (Landesmeisterschaften, Crosslaufserie, …) */
.ergebnis-box > ul {
    padding: 0;
}

/* Hauptkategorien (Landesmeisterschaften, Crosslaufserie, …) */
.ergebnis-box > ul > li {
    /* font-size: 1.2rem; */
    font-weight: 700;
    /* margin-top: 25px; */
    padding-left: 12px;
    position: relative;
    padding-bottom: 10px;
    list-style: none;
}

/* Roter Strich unter jeder Hauptkategorie */
.ergebnis-box > ul > li::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--tartan);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(127, 29, 29, 0.3);
}

/* Unterlisten */
.ergebnis-box ul ul {
    list-style: none;
    margin: 10px 0 20px 0;
    padding-left: 25px;
}

/* Unterlisten-Einträge */
.ergebnis-box ul ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Links modern */
.ergebnis-box ul ul li a.site_link {
    font-weight: 600;
    color: var(--tartan-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--tartan-light);
    padding-bottom: 2px;
    transition: 0.2s;
}

/* Hover-Effekt */
.ergebnis-box ul ul li a.site_link:hover {
    color: #fff;
    background: var(--tartan);
    padding: 3px 8px;
    border-radius: 6px;
}

/* Überschrift */
.result .uberschrift2 {
 /*   font-size: 1.3rem;*/
    font-weight: 700;
    /* padding-left: 12px; */
    margin-bottom: 8px;
}

/* Datum */
.result .source {
    padding-left: 12px;
    font-size: 0.9rem;
    color: #666;
}

/* Text */
.result p {
    padding-left: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Details-Link */
.result a.site_link {
    padding-left: 12px;
    font-weight: 600;
}


/* Termin- und Orts-Box */
.termine-box {
    background: #fff;
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.section-title.toggle {
    cursor: pointer;
    transition: color 0.2s ease;
}

.section-title.toggle:hover {
    color: #FFF;
    background-color: var(--tartan);
    padding: 5px 12px;
    /* links etwas mehr, damit es nicht überlappt */
    border-radius: 80px;
    position: relative;
    /* wichtig */
    z-index: 1;
    /* Hover-Hintergrund unter dem Strich */
}

/* Linker Tartan-Balken */
/* .termine-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 6px;
    border-radius: 10px;
    background: linear-gradient(to bottom, var(--tartan), var(--tartan-dark));
} */

/* Hauptüberschrift */
.termine-box h2 {
    margin-top: 0;
    padding-left: 12px;
    font-size: 1.6rem;
    font-weight: 700;
}

/* Abschnittsüberschriften */
.termine-box .section-title {
    margin-top: 10px;
    /* Abstand nach oben */
    margin-bottom: 10px;
    /* Abstand nach unten -> verhindert Kleben */
    font-size: 1.2rem;
    font-weight: 700;
    padding-left: 20px;
    position: relative;
    padding-bottom: 10px;
    /* WICHTIG: mehr Platz für Hover-Padding */
}

.section-title.toggle:hover {
    color: #FFF;
    /*margin-top: 10px;
    margin-bottom: 10px;*/
    margin: 10px 0px 10px 20px;
    background-color: var(--tartan);
    /* padding: 5px 20px; */
    border-radius: 80px;
    position: relative;
    z-index: 1;
}

/* Unterer Tartan-Strich */
.termine-box .section-title::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--tartan);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(127, 29, 29, 0.3);
    z-index: 2;
}

/* Listen */
.termine-box ul {
    list-style: none;
    padding-left: 20px;
    margin: 10px 0 20px;
}

.termine-box ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Ansprechpartner */
.termine-box .kontakt {
    padding-left: 12px;
    margin: 10px;
    line-height: 1.6;

}

/* Startkacheln */
.start {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-item {
    /* width: calcs(50% - 20px); */
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    padding: 15px 10px 15px 30px;
    border-radius: 10px;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
}

.flex-item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 20px;
    bottom: 20px;
    width: 6px;
    border-radius: 10px;
    background: linear-gradient(to bottom,
            var(--tartan),
            var(--tartan-dark));
    transition: 0.25s ease;
}

.flex-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

/* Hover-Effekte */
.flex-item:hover {
    background: #f7f7f7;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.flex-item:hover img {
    transform: scale(1.04);
}

.flex-item:hover::before {
    background: linear-gradient(to bottom,
            var(--tartan-dark),
            var(--tartan));
}

/* SIDEBAR LINKS */
#sidebar {
    background: var(--tartan-dark);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow-y: auto;
}

/* NAVIGATION */
.side-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hauptpunkte */
.nav-head {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    background: var(--tartan-light);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.nav-head:hover {
    background: #fff;
}

/* Unterpunkte */
.nav-sub {
    font-size: 0.85rem;
    color: var(--tartan-light);
    padding: 0.25rem 0.6rem;
    text-decoration: none;
    display: block;
    border-radius: 6px;
}

.nav-sub:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-sub:hover,
.nav-sub:visited {
    color: white;
}

/* Content rechts */
#content {
    padding: 1.5rem;
}

/* =========================================
   MODERNES SUCHFORMULAR – TARTAN STYLE
========================================= */

.sucheingabe {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.sucheingabe .search {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--tartan);
    border-radius: 999px;
    outline: none;
    transition: 0.2s ease;
    background: #fff;
}

.sucheingabe .search:focus {
    border-color: var(--tartan-dark);
    box-shadow: 0 0 6px rgba(178, 34, 34, 0.4);
}

.sucheingabe .search_button {
    padding: 0.6rem 1rem;
    font-size: 1.1rem;
    background: var(--tartan);
    color: var(--tartan-light);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sucheingabe .search_button:hover {
    background: var(--tartan-dark);
}

/* Unter 1200px: untereinander */
@media (max-width: 1200px) {
    .sucheingabe {
        flex-direction: column;
        align-items: stretch;
    }

    .sucheingabe .search,
    .sucheingabe .search_button {
        /* width: 100%; */
        max-width: 100%;
    }
}

/* Footer */
#footer {
    margin: 10px 50px 0 50px;
    padding: 20px 10px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 2px solid var(--tartan);
    background: #f7f7f7;
}

#footermenu a {
    color: #444;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

#footermenu a:hover {
    color: var(--tartan-dark);
}

#footermenu {
    margin-bottom: 8px;
}

/* Altersklasse */
/* Gesamtcontainer als Grid */
.alter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
}

/* Kopfzeile */
.alter_item_head {
    background: var(--tartan);
    color: #fff;
    font-weight: 700;
    padding: 12px 10px;
    /* text-align: left; */
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--tartan-dark);
    font-size: 1rem;
}

/* Normale Zellen */
.alter_item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

/* Zebra-Streifen */
.alter_item2 {
    background: #f7f7f7;
    align-items: center;
    justify-content: center;
}

/* Mobile Ansicht */
@media (max-width: 700px) {
    .alter {
        grid-template-columns: 1fr 1fr;
    }

    /* Jahrgang unter die Bezeichnung schieben */
    .alter_item:nth-child(3n) {
        grid-column: span 2;
        border-bottom: 2px solid #ddd;
    }
}