/* ==========================================================================
   1. BASIS-STYLING & LAYOUT (Inkl. Fix gegen Seiten-Springen)
   ========================================================================= */
html {
    overflow-y: scroll; /* Erzwingt den vertikalen Scrollbalken auf allen Seiten */
    /* Anker-Puffer zielgenau für das angesprungene Element */
:target {
    scroll-margin-top: 125px; /* Hier exakt: Header-Höhe + ca. 10-15px Wunschabstand */
}

/* Weiches Scrollen fürs gesamte Dokument */
html {
    scroll-behavior: smooth;
}
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f6f9;
    color: #333333;
}

/* Dezentes Board-Wasserzeichen (nicht auf Liga-Iframe-Seiten) */
.fkl-board-bg {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(72vw, 780px);
    height: min(72vw, 780px);
    background: url('../img/fkl_board_hintergrund.png') center center / contain no-repeat;
    opacity: 0.11;
    pointer-events: none;
    z-index: 50;
}

@media (max-width: 768px) {
    .fkl-board-bg {
        left: auto;
        right: -38vw;
        top: auto;
        bottom: -6vw;
        transform: none;
        width: 155vw;
        height: 155vw;
        max-width: none;
        opacity: 0.09;
    }
}

/* ==========================================================================
   2. HEADER, LOGO & BURGER-NAVIGATION
   ========================================================================= */
.haupt-header {
    background-color: #1a1a1a;
    color: #ffffff;
    border-bottom: 3px solid #e30613; /* Rote FKL-Linie unten am Header */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
}

.logo-bild {
    display: block;
    width: auto;
    max-width: min(100%, 320px);
    max-height: 56px;
    height: auto;
    object-fit: contain;
}

.nav-admin-gruppe {
    display: flex;
    align-items: center;
}

.menu-checkbox, .drop-checkbox {
    display: none;
}

.burger-button {
    display: none;
}

/* ==========================================================================
   3. MENÜ-STRUKTUR & DROPDOWNS (Desktop-Ansicht)
   ========================================================================= */
.nav-liste {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link, .dropdown-label {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover, .dropdown-label:hover, .nav-link.aktiv, .dropdown-label.aktiv {
    color: #e30613;
}

.dropdown-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    box-shadow: 0 4px 5px rgba(0,0,0,0.2);
    list-style: none;
    min-width: 220px;
    border-top: 2px solid #e30613;
}

.dropdown-menu li a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.2s, padding-left 0.2s;
}

.dropdown-menu li a:hover, .dropdown-menu li a.aktiv {
    background-color: #2a2a2a;
    color: #e30613;
    padding-left: 20px;
}

@media (min-width: 769px) {
    .dropdown-item:hover .dropdown-menu {
        display: block;
    }
}
/* ==========================================================================
   4. INHALTS-BEREICHE & FOOTER (Nahtloser Übergang)
   ========================================================================= */
.haupt-inhalt {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

.begruessung-bereich {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.sub-titel {
    font-size: 1.1rem;
    color: #555555;
    margin-top: 10px;
    font-style: italic;
}

/* Sponsor-Leiste (Startseite, oberhalb Footer) */
.sponsor-leiste {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid #e6e6e6;
    background: rgba(255, 255, 255, 0.85);
}

.sponsor-leiste-label {
    margin: 0 0 10px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #777;
}

.sponsor-leiste-inhalt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.sponsor-leiste-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    line-height: 0;
}

.sponsor-leiste-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(284px, 92vw);
    object-fit: contain;
}

/* Wechsel: ein Logo sichtbar (.sponsor-leiste-aktiv), Umschaltung im Baustein-Script */
.sponsor-leiste-inhalt.sponsor-leiste-wechsel {
    display: block;
    position: relative;
    width: min(284px, 92vw);
    height: 52px;
    min-height: 52px;
    margin: 0 auto;
}

.sponsor-leiste-wechsel .sponsor-leiste-link {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.sponsor-leiste-wechsel .sponsor-leiste-link.sponsor-leiste-aktiv {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.haupt-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    margin-top: 0;
    border-top: 3px solid #e30613;
}

.footer-webk {
    margin: 0 auto 12px;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    font-size: 0.75rem;
}

.footer-webk a {
    color: #b0b0b0;
    font-weight: 600;
    text-decoration: none;
}

.footer-webk a:hover {
    color: #ffffff;
    text-decoration: underline;
}

body.startseite .haupt-footer {
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #e30613;
}

.footer-trennzeichen {
    color: #444444;
    margin: 0 10px;
}

.footer-admin-link {
    font-weight: bold;
}

@media (min-width: 769px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   6. EXTERNE LIGA-ANZEIGE (IFRAME)
   ========================================================================= */
.haupt-inhalt-extern {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
}

.liga-iframe {
    width: 100%;
    height: 80vh;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ==========================================================================
   7. SPEZIAL-ANPASSUNG FÜR SMARTPHONES IM QUERFORMAT (Landscape)
   ========================================================================= */
@media (max-width: 896px) and (orientation: landscape) {
    .header-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 5px 20px !important;
        gap: 0 !important;
    }

    .logo-bereich {
        width: auto !important;
        justify-content: flex-start !important;
    }

    .logo-bild {
        max-width: min(100%, 240px);
        max-height: 40px;
    }

    .nav-admin-gruppe {
        width: auto !important;
        justify-content: flex-end !important;
    }

    .haupt-inhalt, .haupt-inhalt-extern {
        margin: 5px auto !important;
    }

    .liga-iframe {
        height: 70vh !important;
    }
}
/* ==========================================================================
   8. ADMIN-BEREICH & FORMULARE (News verwalten & Login)
   ========================================================================= */
.admin-bereich-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header-zeile {
    margin-bottom: 30px;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 15px;
}

.admin-header-zeile h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.3;
}

.admin-layout-raster {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.admin-box {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 3px solid #1a1a1a;
}

.admin-box-formular {
    border-top-color: #e30613;
}

.admin-box h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #1a1a1a;
}

.formular-gruppe {
    margin-bottom: 20px;
}

.formular-gruppe label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1a1a1a;
}

.formular-gruppe input[type="text"],
.formular-gruppe input[type="password"],
.formular-gruppe textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.formular-gruppe input[type="text"]:focus,
.formular-gruppe input[type="password"]:focus,
.formular-gruppe textarea:focus {
    border-color: #e30613;
    outline: none;
}

.formular-aktionen {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-button {
    background-color: #e30613;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.admin-button:hover {
    background-color: #1a1a1a;
}

.admin-link-abbrechen {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s;
}

.admin-link-abbrechen:hover {
    color: #e30613;
}

.admin-news-liste {
    list-style: none;
}

.admin-news-liste li {
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.admin-news-liste li:last-child {
    border-bottom: none;
}

.admin-news-info small {
    color: #666666;
    display: inline-block;
    margin-top: 4px;
}

.admin-news-aktionen {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.link-bearbeiten {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.link-bearbeiten:hover {
    color: #1a1a1a;
}

.link-loeschen {
    color: #e30613;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.link-loeschen:hover {
    color: #1a1a1a;
}

.admin-loeschen-formular {
    display: inline;
    margin: 0;
    padding: 0;
}

button.link-loeschen {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.meldung-erfolg {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
}

.meldung-fehler {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
}

.admin-login-container {
    max-width: 400px;
    margin: 60px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #e30613;
}

.admin-login-container h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    color: #1a1a1a;
}

.login-formular label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.login-formular input[type="password"] {
    margin-bottom: 20px;
}

.login-formular .admin-button {
    width: 100%;
}

.login-fehler {
    color: #e30613;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}
/* Definiert das Design für alle Dropdown-Auswahlmenüs im Adminbereich */
.admin-formular select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.admin-formular select:focus {
    border-color: #e30613;
    outline: none;
}

/* ==========================================================================
   9. NEWS-KARTEN AUF DER STARTSEITE & AUTOMATISCHE LINKS
   ========================================================================= */
.news-container h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    border-bottom: 3px solid #e30613;
    padding-bottom: 8px;
}

.news-beitrag {
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #e30613;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 769px) {
    .news-beitrag:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

.news-header h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.news-datum {
    font-size: 0.9rem;
    color: #666666;
    background-color: #f4f6f9;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    font-weight: 500;
}

.news-text {
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.6;
    word-break: break-word;
}

.news-link-extern {
    color: #e30613;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}

.news-link-extern:hover {
    color: #1a1a1a;
}

.keine-news {
    text-align: center;
    font-style: italic;
    color: #666666;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px dashed #cccccc;
}

/* ==========================================================================
   10. GESAMTE RESPONSIVE SMARTPHONE-STEUERUNG (Zusammengefasst)
   ========================================================================= */
@media (max-width: 768px) {
    .header-container {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 10px 16px;
    }

    .logo-bereich {
        width: auto;
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    .logo-bild {
        max-width: min(100%, 260px);
        max-height: 44px;
    }

    .nav-admin-gruppe {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
    }

    .burger-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .burger-strich {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 2px;
    }

    .haupt-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        box-shadow: 0 4px 5px rgba(0,0,0,0.3);
        max-height: 70vh;
        overflow-y: auto;
        z-index: 1020;
    }

    .nav-liste {
        flex-direction: column;
        width: 100%;
    }

    .nav-link, .dropdown-label {
        padding: 15px 20px;
        border-top: 1px solid #2a2a2a;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background-color: #111111;
        box-shadow: none;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        border-top: 1px solid #222222;
    }

    .menu-checkbox:checked ~ .nav-admin-gruppe .haupt-nav {
        display: block;
    }

    .drop-checkbox:checked ~ .dropdown-menu {
        display: block;
    }

    .haupt-inhalt-extern {
        padding: 0;
        margin: 10px auto 0 auto;
        position: relative;
        width: 100%;
        height: 55vh;
        overflow: hidden;
        background-color: #ffffff;
    }
    
    .liga-iframe {
        width: 156.5% !important; 
        height: 156.5% !important; 
        transform: scale(0.64);
        transform-origin: top left;
        box-shadow: none;
    }

    .haupt-inhalt-extern + .haupt-footer {
        margin-top: 0 !important;
    }

    .news-beitrag {
        padding: 15px;
        margin-bottom: 20px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-header h3 {
        font-size: 1.25rem;
    }

    .news-datum {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
    
    .news-text {
        font-size: 1rem;
    }
    
    .admin-header-zeile h1 {
        font-size: 1.2rem;
    }

    .admin-layout-raster {
        flex-direction: column;
        gap: 25px;
    }
    
    .admin-news-liste li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-news-aktionen {
        width: 100%;
        justify-content: flex-end;
    }
	
}
/* ==========================================================================
   11. TEAM-KARTEN AUF DEN ÖFFENTLICHEN LIGENSEITEN
   ========================================================================== */
.liga-hauptueberschrift {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    border-bottom: 3px solid #e30613; /* Rote FKL-Linie unter der Hauptüberschrift */
    padding-bottom: 8px;
}

.liga-karten-raster {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.liga-team-karte {
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-top: 4px solid #e30613;
    border-radius: 4px;
    padding: 0;
    flex: 1 1 100%;
    max-width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.liga-team-summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
}

.liga-team-summary::-webkit-details-marker {
    display: none;
}

.liga-team-summary::before {
    content: '▸';
    color: #e30613;
    font-weight: bold;
    margin-right: 4px;
}

.liga-team-karte[open] > .liga-team-summary::before {
    content: '▾';
}

.liga-team-inhalt {
    padding: 0 20px 20px;
    border-top: 1px solid #eeeeee;
}

.liga-team-anzahl {
    color: #888888;
    font-size: 0.85rem;
    margin-left: auto;
}

.liga-team-name {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    border: none;
    padding: 0;
}

.liga-spieler-sektion {
    margin-top: 5px;
    border-top: 1px dashed #cccccc;
    padding-top: 15px;
    margin-bottom: 0;
}

.liga-spieler-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.liga-spieler-liste li {
    padding: 4px 0;
    border-bottom: 1px solid #f4f6f9;
    font-size: 0.95rem;
    color: #333333;
}

.liga-spieler-liste li.liga-spieler-neu {
    color: #1a7a34;
    font-weight: 600;
}

.liga-spieler-liste li.liga-spieler-wechsel {
    color: #c62828;
    font-weight: 600;
}

/* Die Kapitäne im gewohnten FKL-Rot */
.liga-kapitaen-rot {
    color: #e30613;
    font-weight: bold;
}

/* Ergänzende Klassen für die Textabstände in den Ligen-Karten */
.liga-label-abstand { margin-bottom: 4px; }
.liga-lokal-titel { font-size: 1.05rem; font-weight: bold; color: #1a1a1a; }
.liga-lokal-adresse { color: #555555; margin-top: 4px; font-size: 0.95rem; line-height: 1.4; margin-bottom: 15px; }
.liga-spieler-label { margin-bottom: 8px; }
.liga-spieler-legende { font-weight: normal; font-size: 0.82rem; color: #666; }
.liga-keine-daten { font-style: italic; color: #666666; padding: 20px 0; }
/* ==========================================================================
   12. ADMIN-DASHBOARD (KACHEL-STIL)
   ========================================================================== */
.admin-dashboard-raster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.admin-dashboard-raster .admin-box {
    min-width: 0;
}

@media (max-width: 992px) {
    .admin-dashboard-raster {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .admin-dashboard-raster {
        grid-template-columns: 1fr;
    }
}

.dashboard-kachel {
    text-decoration: none;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 150px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-top-color 0.2s;
}

.dashboard-kachel:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top-color: #e30613; /* Kachel wechselt beim Drüberfahren auf FKL-Rot */
}

.dashboard-kachel-titel {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.dashboard-kachel:hover .dashboard-kachel-titel {
    color: #e30613;
}

.dashboard-kachel-beschreibung {
    font-size: 0.9rem;
    color: #666666;
}
/* Ergänzende Klassen für die Listenansicht in der Team-Verwaltung */
.admin-team-klappe { margin-bottom: 15px; background: #f8f9fa; border: 1px solid #cccccc; border-radius: 4px; overflow: hidden; }
.admin-team-summary { padding: 12px 15px; font-weight: bold; background: #1a1a1a; color: #ffffff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.admin-team-badge { background: #e30613; color: #ffffff; padding: 2px 8px; border-radius: 10px; font-size: 0.8rem; }
.admin-team-liste-ul { padding: 10px 15px; background: #ffffff; margin: 0; list-style: none; }
.admin-team-liste-li { border-bottom: 1px solid #eeeeee; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; }
.admin-team-kein-lokal { color: #999999; font-style: italic; }
.admin-team-hinweis-leer { color: #666666; font-style: italic; padding: 20px 0; }

/* ==========================================================================
   13. STARTSEITE (Liga-Kacheln, News, Termine)
   ========================================================================== */

.startseite-einstieg {
    background: linear-gradient(160deg, rgba(26, 26, 26, 0.93) 0%, rgba(37, 37, 37, 0.93) 100%);
    border-radius: 6px;
    padding: 24px 20px 22px;
    margin-bottom: 28px;
    border-bottom: 4px solid #e30613;
}

.startseite-einstieg-titel {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 4px;
    text-align: center;
}

.startseite-einstieg-sub {
    color: #aaaaaa;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 20px;
}

.startseite-schnellzugriff {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 0;
}

.startseite-kachel {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-top: 4px solid #e30613;
    border-radius: 4px;
    padding: 22px 12px;
    min-height: 88px;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.startseite-kachel:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.startseite-kachel-titel {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a1a1a;
}

.startseite-kachel:hover .startseite-kachel-titel { color: #e30613; }

.startseite-kachel-sub {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
    line-height: 1.3;
}

.startseite-kachel-pokal {
    background: rgba(227, 6, 19, 0.9);
    border-top: 4px solid #ffffff;
}

.startseite-kachel-pokal .startseite-kachel-titel,
.startseite-kachel-pokal .startseite-kachel-sub {
    color: #ffffff;
}

.startseite-kachel-pokal:hover .startseite-kachel-titel {
    color: #ffffff;
    opacity: 0.9;
}

.statistik-klassen-raster {
    grid-template-columns: repeat(3, 1fr);
}

.statistik-zweit-raster {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.statistik-kachel-breit {
    min-height: 72px;
    padding: 18px 16px;
}

.statistik-bestenliste-sub {
    color: #666;
    margin: -10px 0 20px;
    font-style: italic;
}

.statistik-bestenliste-box {
    margin-bottom: 24px;
}

.statistik-bestenliste-hinweis {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.statistik-spieler-liste {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.statistik-spieler-karte {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.statistik-spieler-kopf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #1a1a1a;
    color: #fff;
}

.statistik-spieler-name {
    font-weight: bold;
    line-height: 1.3;
}

.statistik-spieler-team {
    flex-shrink: 0;
    background: #e30613;
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: bold;
}

.statistik-spieler-werte {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.statistik-spieler-wert {
    flex: 1 1 90px;
    min-width: 90px;
    padding: 10px 14px;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
}

.statistik-spieler-wert-breit {
    flex: 1 1 100%;
    border-right: none;
}

.statistik-spieler-wert dt {
    margin: 0 0 4px;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.statistik-spieler-wert dd {
    margin: 0;
    font-weight: bold;
    line-height: 1.4;
    word-break: break-word;
}

.statistik-ehrentafel-box {
    margin-bottom: 24px;
}

.statistik-zurueck {
    margin-top: 8px;
}

.admin-button-sekundaer {
    background: #555;
}

.statistik-admin-laden-box,
.statistik-admin-eingabe-box {
    margin-bottom: 24px;
}

.statistik-admin-laden-zeile {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.statistik-admin-feld {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.statistik-admin-feld label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.statistik-admin-feld input,
.statistik-admin-feld select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.statistik-admin-feld input:focus,
.statistik-admin-feld select:focus {
    border-color: #e30613;
    outline: none;
}

.statistik-admin-laden-zeile .statistik-admin-feld:nth-child(1) {
    flex: 0 0 180px;
}

.statistik-admin-laden-zeile .statistik-admin-feld:nth-child(2) {
    flex: 0 0 140px;
}

.statistik-admin-feld-knopf {
    flex: 0 0 auto;
}

.statistik-admin-spieler-kopf {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e30613;
}

.statistik-admin-spieler-kopf strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.statistik-admin-spieler-meta {
    color: #666;
    font-size: 0.92rem;
}

.statistik-admin-block {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 16px 18px 18px;
    margin: 0 0 18px;
    background: #fafafa;
}

.statistik-admin-block legend {
    font-weight: bold;
    padding: 0 6px;
    color: #1a1a1a;
}

.statistik-admin-mini-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px 16px;
    max-width: 280px;
}

.statistik-admin-checkout-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 12px 14px;
}

.statistik-admin-checkout-raster .statistik-admin-feld label {
    font-size: 0.82rem;
}

.statistik-admin-checkout-raster .statistik-admin-feld input {
    text-align: center;
    padding: 8px 6px;
}

.statistik-admin-vorhanden-box {
    margin-bottom: 24px;
}

.statistik-admin-vorhanden-hinweis {
    color: #666;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.statistik-admin-vorhanden-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.statistik-admin-vorhanden-liste li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.statistik-admin-vorhanden-liste li:last-child {
    border-bottom: none;
}

.statistik-admin-loeschen-form {
    margin: 0;
}

.statistik-admin-loeschen-knopf {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

@media (max-width: 768px) {
    .statistik-admin-laden-zeile {
        flex-direction: column;
        align-items: stretch;
    }

    .statistik-admin-laden-zeile .statistik-admin-feld:nth-child(1),
    .statistik-admin-laden-zeile .statistik-admin-feld:nth-child(2) {
        flex: 1 1 auto;
    }

    .statistik-admin-feld-knopf .admin-button {
        width: 100%;
    }
}

.startseite-mitteilung {
    background: rgba(26, 26, 26, 0.9);
    color: #fff;
    border-left: 5px solid #e30613;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.startseite-mitteilung strong {
    display: block;
    color: #e30613;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.startseite-mitteilung p { color: #eee; line-height: 1.5; margin: 0; }

.startseite-raster {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.startseite-hauptbereich {
    flex: 2;
    min-width: 300px;
}

.startseite-seitenleiste {
    flex: 1;
    min-width: 260px;
}

.startseite-abschnitt-titel {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e30613;
}

.startseite-news-top {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e6e6e6;
    border-left: 6px solid #e30613;
    border-radius: 4px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.startseite-news-top h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.25;
}

.startseite-news-top h2 a.startseite-news-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(227, 6, 19, 0.45);
}

.startseite-news-top h2 a.startseite-news-link::after {
    content: " ↗";
    font-size: 0.85em;
    text-decoration: none;
    display: inline-block;
}

.startseite-news-top h2 a.startseite-news-link:hover {
    color: #e30613;
    text-decoration-color: #e30613;
}

.startseite-news-top-datum {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.startseite-news-top-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.startseite-news-weitere {
    margin-top: 20px;
}

.startseite-news-kompakt {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
}

.startseite-news-kompakt li {
    border-bottom: 1px solid #eee;
}

.startseite-news-kompakt li:last-child { border-bottom: none; }

.startseite-news-kompakt a,
.startseite-news-kompakt span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #1a1a1a;
}

.startseite-news-kompakt a:hover {
    background: #f4f6f9;
    color: #e30613;
}

.startseite-news-kompakt small {
    color: #888;
    white-space: nowrap;
    font-size: 0.85rem;
}

body.startseite .startseite-seitenleiste .admin-box {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .startseite-schnellzugriff {
        grid-template-columns: repeat(2, 1fr);
    }
    .statistik-klassen-raster {
        grid-template-columns: 1fr;
    }
    .startseite-einstieg {
        padding: 18px 14px 16px;
    }
    .startseite-einstieg-titel {
        font-size: 1.15rem;
    }
    .startseite-einstieg-sub {
        display: none;
    }
    .startseite-kachel {
        min-height: 76px;
        padding: 16px 10px;
    }
    .startseite-news-top h2 {
        font-size: 1.25rem;
    }
    .startseite-news-kompakt a,
    .startseite-news-kompakt span {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.news-karten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.seitenleiste-box {
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.seitenleiste-box h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-bottom: 2px solid #e30613;
    padding-bottom: 6px;
}

.termin-liste-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.termin-liste-mini li {
    padding: 10px 0;
    border-bottom: 1px solid #f4f6f9;
}

.termin-liste-mini li:last-child {
    border-bottom: none;
}

.termin-mini-datum {
    display: inline-block;
    color: #e30613;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.termin-mini-titel {
    font-size: 0.95rem;
    font-weight: bold;
    color: #1a1a1a;
}
/* Container und Design für den Archiv-Button auf der Startseite */
.archiv-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 20px;
}

.archiv-button-link {
    display: inline-block;
    background-color: #e30613;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.1s;
}

.archiv-button-link:hover {
    background-color: #1a1a1a;
}
/* Standardwert für das Handy: Überschrift ist sichtbar mit knackigem Abstand */
.news-bereichs-titel {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    padding-bottom: 0;
    display: block;
}

/* KORREKTUR: Auf dem Desktop wird die Überschrift komplett ausgeblendet */
@media (min-width: 769px) {
    .news-bereichs-titel {
        display: none;
    }
}
/* Zwingt den Footer auf allen kurzen Seiten an den untersten Bildschirmrand */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.haupt-inhalt {
    flex: 1;
    width: 100%;
}

/* Startseite: Main nicht auf volle Höhe strecken — Sponsoren nah an „Aktuelles“ */
body.startseite .haupt-inhalt {
    flex: 0 1 auto;
    min-height: 0;
    margin-bottom: 12px;
}

/* Abstand für Zwischenüberschriften auf Inhaltsseiten */
.impressum-titel-abstand {
    margin-top: 20px;
}
/* Versteckt das Spam-Schutz-Feld für menschliche Benutzer */
.fkl-sicherheits-versteckt {
    display: none !important;
    visibility: hidden !important;
}

/* Rote, markante Überschrift für Module und Termine */
.fkl-titel-rot {
    color: #e30613;
    font-size: 1.05rem;
    font-weight: bold;
}
/* Verringert den Abstand zwischen Box-Titel und dem ersten Termineintrag */
.admin-box-liste h2 + .admin-news-liste {
    margin-top: 5px;
}
.admin-news-liste .admin-news-eintrag:first-child {
    padding-top: 0;
}
/* Erlaubt der roten Linie, trotz des schwarzen Kachelrands zu erscheinen */
.admin-box-liste h2.news-bereichs-titel {
    border-bottom: 2px solid #e30613 !important;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.fkl-linie-drunter {
    border-bottom: 2px solid #e30613;
    padding-bottom: 5px;
    margin-bottom: 15px;
}






/* ========================================================================== */
/* [ABSCHNITT: STARTSEITE - SEITENLEISTEN-KACHELN STANDARD]                   */
/* ========================================================================== */

/* Jede Box in der rechten Seitenleiste bekommt automatisch den schwarzen Rand */
.startseite-seitenleiste .admin-box {
    border-top: 4px solid #1a1a1a;
    background: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Jede h2-Überschrift in dieser Seitenleiste bekommt automatisch die rote Linie */
.startseite-seitenleiste .admin-box h2 {
    color: #1a1a1a;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #e30613;
    padding-bottom: 8px;
    margin-top: 0;
}
/* Stile für die optimierte Download-Liste */
.admin-news-eintrag-optimiert {
    display: flex;
    flex-direction: column; 
    align-items: stretch; 
    gap: 8px;
}

.admin-news-info-optimiert {
    width: 100%;
}

.break-all-pfad {
    word-break: break-all;
}

.admin-news-aktionen-optimiert {
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    width: 100%; 
    border-top: 1px dashed #eee; 
    padding-top: 8px;
}/* ==========================================================================
   WETTKAMPFORDNUNGEN & TEXT-SEITEN LAYOUT
   ========================================================================== */

/* Sorgt dafür, dass der Inhalt nicht am Rand klebt und schön atmen kann */
.fkl-bereich {
    width: 100%;
    margin: 30px 0;
    padding: 25px 30px;         /* 30px Innenabstand links/rechts damit nix quetscht! */
    background-color: #ffffff;  /* Sauberer weißer Hintergrund */
    border-radius: 8px;         /* Leichte, moderne Abrundung der Ecken */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Sanfter Schatten für Tiefe */
}

/* Platzierung & Styling des PDF-Download-Buttons */
.fkl-download-box {
    margin: 20px 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* Dezente Trennlinie zum Text */
}

/* Fließtext-Styling für gute Lesbarkeit */
.fkl-text-inhalt {
    line-height: 1.7;           /* Angenehmer Zeilenabstand */
    font-size: 1.05rem;          /* Leicht angehobene Schriftgröße */
    color: #333333;             /* Dunkelgrau statt hartem Schwarz */
}

.fkl-text-inhalt h1,
.fkl-text-inhalt h2,
.fkl-text-inhalt h3,
.fkl-text-inhalt h4 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.fkl-text-inhalt h1:first-child,
.fkl-text-inhalt h2:first-child,
.fkl-text-inhalt h3:first-child,
.fkl-text-inhalt h4:first-child {
    margin-top: 0;
}

.fkl-text-inhalt img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2em auto;
}

.fkl-text-inhalt table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 0.98rem;
}

.fkl-text-inhalt th,
.fkl-text-inhalt td {
    border: 1px solid #cccccc;
    padding: 0.45em 0.65em;
    text-align: left;
    vertical-align: top;
}

.fkl-text-inhalt th {
    background-color: #f5f5f5;
}

.fkl-text-inhalt blockquote {
    margin: 1em 0;
    padding: 0.5em 1em;
    border-left: 4px solid #cc0000;
    background: #fafafa;
}

.fkl-hervorhebung {
    color: #cc0000;
}

.admin-editor-hinweis {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #666666;
}

/* Datumsausgabe am Ende der Seite */
.fkl-hinweis-datum {
    display: block;
    margin-top: 30px;
    color: #777777;
    font-style: italic;
}

/* Liga-Vorschau (Optik wie LigaKompakt liga.php) */
body.fkl-liga-seite .fkl-board-bg {
    opacity: 0.05;
    z-index: 0;
}

body.fkl-liga-seite .haupt-inhalt {
    position: relative;
    z-index: 2;
}

body.fkl-liga-seite .admin-bereich-container {
    min-width: 0;
    max-width: 100%;
}

.fkl-liga-karte {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #e1e6eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(25, 35, 45, 0.05);
}

body.fkl-liga-seite .fkl-liga-karte {
    background: #ffffff;
}

body.fkl-liga-seite .fkl-liga-tabellen-scroll {
    background: #ffffff;
}

body.fkl-liga-seite .fkl-liga-tabelle tbody td,
body.fkl-liga-seite .fkl-liga-tabelle tbody th.fkl-liga-col-team {
    background: #ffffff;
}

body.fkl-liga-seite .fkl-liga-tabelle tbody tr.fkl-liga-row-aufstieg td,
body.fkl-liga-seite .fkl-liga-tabelle tbody tr.fkl-liga-row-aufstieg th.fkl-liga-col-team {
    background: #ecfdf3;
}

body.fkl-liga-seite .fkl-liga-tabelle tbody tr.fkl-liga-row-abstieg td,
body.fkl-liga-seite .fkl-liga-tabelle tbody tr.fkl-liga-row-abstieg th.fkl-liga-col-team {
    background: #fef2f2;
}

.fkl-liga-toolbar-karte {
    padding: 14px 18px;
}

.fkl-liga-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.fkl-liga-chip {
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #333333;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.25;
}

.fkl-liga-chip:hover {
    border-color: #e30613;
    color: #e30613;
}

.fkl-liga-chip-aktiv {
    color: #ffffff;
    border-color: #e30613;
    background: #e30613;
}

/* Nur Spieltag: kompakte Ziffern (unverändert zur früheren FKL-Leiste) */
.fkl-liga-chip-spieltag {
    min-width: 1.35rem;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.fkl-liga-chips-spieltag {
    flex-wrap: wrap;
    gap: 3px;
}

.fkl-liga-spieltag-chips-karte {
    padding: 10px 12px;
}

/* Tabellen-Ansicht (Gesamt / Hin / Rück): kompakt wie Spieltag-Ziffern */
.fkl-liga-ansicht-chips-karte {
    padding: 10px 12px;
}

.fkl-liga-chips-ansicht {
    flex-wrap: wrap;
    gap: 3px;
}

.fkl-liga-chip-ansicht {
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 600;
}

.fkl-liga-seiten-zweititel {
    margin: 28px 0 12px;
    font-size: 1.35rem;
    color: #1a1a1a;
}

.fkl-liga-spieltag-titel {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: #1a1a1a;
}

.fkl-liga-spieltag-datum {
    font-weight: 400;
    color: #666666;
}

.fkl-liga-standings-wrap {
    padding: 0;
    overflow: hidden;
}

.fkl-liga-spieltag-block {
    padding: 16px 18px 0;
}

.fkl-liga-spieltag-block .fkl-liga-tabellen-scroll {
    margin: 0 -18px;
}

.fkl-liga-leer-hinweis {
    margin: 0;
    padding: 16px 18px;
    color: #69737e;
    font-size: 0.9rem;
}

.fkl-liga-powered {
    margin: 16px 0 0;
    padding: 20px 18px;
    text-align: center;
}

.fkl-liga-powered-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #69737e;
    text-decoration: none;
    line-height: 1.3;
}

.fkl-liga-powered-link:hover .fkl-liga-powered-text {
    color: #e30613;
    text-decoration: underline;
}

.fkl-liga-powered img {
    width: 128px;
    max-width: 100%;
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.fkl-liga-powered-text {
    font-size: 0.78rem;
    font-weight: 600;
}

.fkl-liga-tabellen-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fkl-liga-tabelle {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    table-layout: fixed;
}

.fkl-liga-tabelle th,
.fkl-liga-tabelle td {
    padding: 10px 6px;
    border-bottom: 1px solid #bcc5cf;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.fkl-liga-tabelle tbody tr:last-child td,
.fkl-liga-tabelle tbody tr:last-child th {
    border-bottom: none;
}

.fkl-liga-w-pl { width: 2.25rem; }
.fkl-liga-w-team { width: 5.75rem; }
.fkl-liga-w-num { width: 1.85rem; }
.fkl-liga-w-pair { width: 3.75rem; }
.fkl-liga-w-datum { width: 3.4rem; }

.fkl-liga-tabelle th.fkl-liga-col-team,
.fkl-liga-tabelle td.fkl-liga-col-team,
.fkl-liga-tabelle tbody th.fkl-liga-col-team {
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    vertical-align: top;
}

.fkl-liga-tabelle thead th.fkl-liga-col-team {
    white-space: nowrap;
    vertical-align: middle;
}

.fkl-liga-tabelle th:first-child,
.fkl-liga-tabelle td:first-child {
    padding-left: 10px;
    padding-right: 4px;
}

.fkl-liga-tabelle th.fkl-liga-col-team,
.fkl-liga-tabelle td.fkl-liga-col-team {
    padding-right: 8px;
}

.fkl-liga-tabelle thead th {
    color: #3d4650;
    background: #d4dbe3;
    border-bottom: 1px solid #9aa6b3;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.fkl-liga-tabelle tbody th.fkl-liga-col-team {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.25;
}

.fkl-liga-pair {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.fkl-liga-ratio {
    font-weight: 700;
}

.fkl-liga-diff {
    margin-left: 6px;
    color: #6b7780;
    font-size: 0.82em;
    font-weight: 600;
}

.fkl-liga-row-aufstieg {
    background: #ecfdf3;
}

.fkl-liga-row-abstieg {
    background: #fef2f2;
}

.fkl-liga-termin-zelle {
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.fkl-liga-termin-verlegt {
    font-weight: 700;
}

.fkl-liga-termin-hinweis {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #666666;
}

.fkl-liga-team-link {
    color: #4f5962;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fkl-liga-team-link:hover {
    color: #e30613;
}

.fkl-mannschaft-kopf .fkl-mannschaft-kurzname {
    margin: 0 0 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #666666;
    text-transform: uppercase;
}

.fkl-mannschaft-liga {
    margin: 0 0 12px;
    color: #555555;
}

.fkl-mannschaft-adresse {
    margin: 0 0 12px;
    line-height: 1.5;
}

.fkl-mannschaft-adresse span {
    display: block;
    color: #555555;
}

.fkl-mannschaft-tabellenplatz {
    margin: 0;
    font-size: 0.95rem;
}

.fkl-mannschaft-tabellenplatz a {
    font-weight: 600;
}

.fkl-mannschaft-kopf,
.fkl-mannschaft-spielplan,
.fkl-mannschaft-spieler {
    margin-bottom: 24px;
}

.fkl-mannschaft-spieler-details {
    border: none;
    box-shadow: none;
}

body.fkl-liga-seite {
    overflow-x: clip;
}

@media (max-width: 768px) {
    .haupt-inhalt {
        padding-left: 12px;
        padding-right: 12px;
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .admin-bereich-container .admin-box {
        min-width: 0;
        padding: 14px 12px;
    }

    .admin-bereich-container .liga-hauptueberschrift {
        font-size: 1.15rem;
        margin-bottom: 16px;
        word-break: break-word;
    }

    .fkl-liga-karte {
        border-radius: 10px;
        margin-bottom: 14px;
    }

    .fkl-liga-toolbar-karte {
        padding: 12px 14px;
    }

    .fkl-liga-spieltag-chips-karte {
        padding: 8px 10px;
    }

    .fkl-liga-chips-spieltag {
        display: grid;
        grid-template-columns: repeat(11, minmax(0, 1fr));
        gap: 3px;
        overflow: visible;
    }

    .fkl-liga-chip-spieltag {
        min-width: 0;
        width: 100%;
        padding: 2px 0;
        font-size: 0.68rem;
    }

    .fkl-liga-ansicht-chips-karte {
        padding: 8px 10px;
    }

    .fkl-liga-chips-ansicht {
        gap: 3px;
    }

    .fkl-liga-chip-ansicht {
        padding: 2px 7px;
        font-size: 0.68rem;
    }

    .fkl-liga-spieltag-block {
        padding: 14px 14px 0;
    }

    .fkl-liga-spieltag-block .fkl-liga-tabellen-scroll {
        margin: 0 -14px;
    }

    .fkl-liga-tabelle {
        font-size: 0.76rem;
    }

    .fkl-liga-tabelle th,
    .fkl-liga-tabelle td {
        padding: 7px 2px;
    }

    .fkl-liga-tabelle th:first-child,
    .fkl-liga-tabelle td:first-child {
        padding-left: 8px;
        padding-right: 2px;
    }

    .fkl-liga-w-pl { width: 1.65rem; }
    .fkl-liga-w-team { width: 5rem; }
    .fkl-liga-w-num { width: 1.35rem; }
    .fkl-liga-w-pair { width: 3.1rem; }
    .fkl-liga-spielplan-tabelle .fkl-liga-w-datum { width: 2.9rem; }

    .fkl-liga-tabelle thead th {
        font-size: 0.62rem;
        letter-spacing: -0.02em;
    }

    .fkl-liga-tabelle tbody th.fkl-liga-col-team {
        font-size: 0.74rem;
        line-height: 1.2;
    }

    .fkl-liga-pair .fkl-liga-diff {
        margin-left: 2px;
        font-size: 0.9em;
    }

    .fkl-liga-termin-zelle {
        font-size: 0.7rem;
        padding-right: 4px !important;
        white-space: normal;
    }

    .fkl-mannschaft-tabellenplatz {
        font-size: 0.88rem;
        line-height: 1.45;
    }
}