/* Grundlayout */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: url("logo_gross.jpg") center center no-repeat fixed;
    background-size: 60%;
    color: #222;
}

/* Header / Navigation */
.main-header {
    
    background-size: cover;
    padding: 0;
}

table.spielplan a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

table.spielplan a:hover {
    text-decoration: underline;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: brightness(0.4);
    padding: 10px 20px;
    position: relative;
}

/* Desktop-Navigation */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(0,0,0, 0.4);
}

.navbar a:hover {
    background: rgba(0,0,0,0.7);
}

.logo-small {
    height: 50px;
    width: auto;
}

/* Hamburger-Icon (nur sichtbar auf Mobilgeräten) */
.menu-toggle {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* Hauptinhalt */
.content {
    padding: 40px;
    background: rgba(255,255,255,0.85);
    margin: 40px;
    border-radius: 10px;
}

/* Tabellenstil */
table.spielplan {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table.spielplan th,
table.spielplan td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}

table.spielplan th {
    background: #333;
    color: #fff;
}

table.spielplan tr:nth-child(even) {
    background: #f2f2f2;
}
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 25px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Kopfzeile */
.table-modern th {
    background: #2c3e50;
    color: #fff;
    padding: 14px;
    text-align: left;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Zellen */
.table-modern td {
    padding: 12px 14px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

/* Zebra-Effekt */
.table-modern tr:nth-child(even) td {
    background: #f7f7f7;
}

/* Hover-Effekt */
.table-modern tr:hover td {
    background: #e8f0ff;
}

/* Download-Links */
.table-modern a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

.table-modern a:hover {
    text-decoration: underline;
}

/* ------------------------------ */
/* 📱 MOBILE OPTIMIERUNG */
/* ------------------------------ */

@media (max-width: 768px) {

    body {
        background-size: 120%;
    }

    /* Hamburger sichtbar */
    .menu-toggle {
        display: block;
    }

    /* Navigation standardmäßig versteckt */
    .navbar ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    /* Dropdown sichtbar, wenn Navbar aktiv */
    .navbar.active ul {
        display: flex;
    }

    .logo-small {
        height: 40px;
        margin-left: auto;
    }

    .content {
        margin: 10px;
        padding: 20px;
    }

    table.spielplan {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
   .table-modern {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .table-modern th,
    .table-modern td {
        padding: 16px;
        font-size: 17px;
    }

    .table-modern tr:hover td {
        background: inherit;
    }

}

/* ------------------------------ */
/* 🖥️ GROSSE DESKTOPS */
/* ------------------------------ */

@media (min-width: 1400px) {
    .content {
        max-width: 1200px;
        margin: 60px auto;
    }
}
