/* ============================================================
   Dasseler Dartliga - Stylesheet
   ============================================================ */

:root {
    --blue-950: #0c1f3d;
    --blue-900: #12294e;
    --blue-800: #1a376a;
    --blue-700: #2e5ca3;
    --blue-600: #3b74c0;
    --blue-500: #528fde;
    --blue-400: #8ab8f5;
    --accent: #2dd4bf;
    --accent-dark: #14b8a6;
    --text-light: #eaf1fb;
    --text-muted: #b3c6e0;
    --card-bg: #162f57;
    --border-soft: rgba(255, 255, 255, 0.08);
    --success: #33c07a;
    --danger: #e5566d;
    --draw: #d9b23c;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --strong: #fff;
    --link: #2dd4bf;
    --link-hover: #5eead4;
    --bg-grad: radial-gradient(ellipse at top, #1a376a 0%, #0c1f3d 55%, #081a36 100%);
    --header-bg: linear-gradient(180deg, #12294e 0%, rgba(18,41,78,.88) 100%);
    --field-bg: #12294e;
    --side-bg: #12294e;
    --hover: rgba(255,255,255,.03);
    --hero-g1: #fff;
    --hero-g2: #8ab8f5;
    --zero: rgba(179,198,224,.45);
    --ok-text: #a4f0c7;
    --err-text: #ffb3bf;
    --win-bg: rgba(45,212,191,.28);
    --draw-bg: rgba(217,178,60,.32);
    --loss-bg: rgba(229,86,109,.30);
    color-scheme: dark;
}

/* ---------- Light-Modus ---------- */
html[data-theme="light"] {
    --accent: #14b8a6;
    --accent-dark: #0d9488;
    --text-light: #17325c;
    --text-muted: #5a7396;
    --card-bg: #ffffff;
    --border-soft: rgba(30, 70, 130, 0.14);
    --shadow: 0 8px 24px rgba(40, 90, 160, 0.12);
    --strong: #0f2a52;
    --link: #0b8f82;
    --link-hover: #0a6f65;
    --bg-grad: linear-gradient(180deg, #f2f9ff 0%, #e4f1fc 55%, #d9ecfa 100%);
    --header-bg: linear-gradient(180deg, #ffffff 0%, rgba(246,251,255,.92) 100%);
    --field-bg: #ffffff;
    --side-bg: #ffffff;
    --hover: rgba(46,92,163,.06);
    --hero-g1: #1a376a;
    --hero-g2: #14b8a6;
    --zero: rgba(90,115,150,.45);
    --ok-text: #14683f;
    --err-text: #a3203a;
    --win-bg: rgba(20,184,166,.22);
    --draw-bg: rgba(217,178,60,.30);
    --loss-bg: rgba(229,86,109,.20);
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-grad);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--link); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--link-hover); }

h1, h2, h3 { font-weight: 700; letter-spacing: .02em; margin-top: 0; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; color: var(--strong); border-left: 4px solid var(--accent); padding-left: .6rem; margin-bottom: 1.2rem; }

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

/* ---------- Header ---------- */
header.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: .75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.brand img { height: 46px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; color: var(--strong); }
.brand-text span { font-size: .75rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: .3rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
nav.main-nav a {
    color: var(--text-light);
    padding: .5rem .85rem;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    display: inline-block;
}
nav.main-nav a:hover,
nav.main-nav a.active {
    background: var(--blue-700);
    color: #fff;
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
    padding: 3rem 0 2rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.4rem;
    margin-bottom: .4rem;
    background: linear-gradient(90deg, var(--hero-g1), var(--hero-g2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* ---------- Trivia-Banner ---------- */
.trivia-banner {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: linear-gradient(90deg, var(--blue-700), var(--blue-600));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1rem 1.3rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}
.trivia-banner .icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}
.trivia-banner .label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: .15rem;
}
.trivia-banner p { margin: 0; color: #fff; font-weight: 500; }

/* ---------- Cards / Grid ---------- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.3rem;
    transition: transform .15s ease, border-color .15s ease;
}
.team-card:hover { transform: translateY(-3px); border-color: var(--blue-500); }
.team-card h3 { margin: 0 0 .2rem; color: var(--strong); }
.team-card .club { color: var(--text-muted); font-size: .88rem; margin-bottom: .8rem; }
.team-card ul { list-style: none; margin: 0; padding: 0; }
.team-card li {
    padding: .3rem 0;
    border-top: 1px solid var(--border-soft);
    font-size: .92rem;
    color: var(--text-light);
}
.team-card li:first-child { border-top: none; }

/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
thead th {
    background: var(--blue-700);
    color: #fff;
    text-align: left;
    padding: .7rem .6rem;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}
tbody td {
    padding: .6rem .6rem;
    border-top: 1px solid var(--border-soft);
    font-size: .93rem;
    white-space: nowrap;
}
tbody tr:hover { background: var(--hover); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.rank-1 td:first-child { color: var(--accent); font-weight: 800; }

/* ---------- Spielplan ---------- */
.matchday {
    margin-bottom: 1.8rem;
}
.matchday h3 {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .6rem;
}
.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: .8rem 1rem;
    margin-bottom: .55rem;
    flex-wrap: wrap;
}
.match-teams { font-weight: 600; }
.match-meta { color: var(--text-muted); font-size: .85rem; }
.match-score {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: var(--blue-700);
    padding: .25rem .7rem;
    border-radius: 8px;
}
div.match-link { position: relative; cursor: pointer; }
.match-detail-link { color: var(--text-muted); }
.match-detail-link::after { content: ''; position: absolute; inset: 0; border-radius: 10px; }
.match-teams a { position: relative; z-index: 1; }
div.match-link:hover {
    border-color: var(--blue-500);
    background: var(--hover);
}

.match-bye {
    color: var(--text-muted);
    font-style: italic;
    font-size: .88rem;
}
.badge-report {
    font-size: .78rem;
    background: var(--accent);
    color: #04211f;
    padding: .2rem .55rem;
    border-radius: 6px;
    font-weight: 700;
}

/* ---------- Buttons / Forms ---------- */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #04211f;
    font-weight: 700;
    padding: .6rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: .95rem;
}
.btn:hover { background: #5eead4; color: #04211f; }
.btn-secondary { background: var(--blue-700); color: #fff; }
.btn-secondary:hover { background: var(--blue-600); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .3rem; font-size: .88rem; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .6rem .7rem;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: var(--field-bg);
    color: var(--text-light);
    font-size: .95rem;
    font-family: inherit;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 160px; }

.alert {
    padding: .8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-size: .92rem;
}
.alert-success { background: rgba(51,192,122,.15); border: 1px solid var(--success); color: var(--ok-text); }
.alert-error { background: rgba(229,86,109,.15); border: 1px solid var(--danger); color: var(--err-text); }

/* ---------- Footer ---------- */
footer.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border-soft);
    padding: 1.6rem 0 2.2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
}
footer.site-footer a { color: var(--text-muted); }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer .footer-links { margin-bottom: .5rem; }
footer.site-footer .footer-links span { margin: 0 .4rem; }

/* ---------- Admin ---------- */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 230px;
    background: var(--side-bg);
    border-right: 1px solid var(--border-soft);
    padding: 1.3rem 1rem;
    flex-shrink: 0;
}
.admin-sidebar .brand { margin-bottom: 1.5rem; }
.admin-sidebar nav ul { list-style: none; padding: 0; margin: 0; }
.admin-sidebar nav a {
    display: block;
    padding: .55rem .7rem;
    border-radius: 8px;
    color: var(--text-light);
    font-size: .92rem;
    margin-bottom: .2rem;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: var(--blue-700); color: #fff; }
.admin-main { flex: 1; padding: 1.8rem 2rem; max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-box { width: 100%; max-width: 360px; }
.data-table-actions a { margin-right: .6rem; font-size: .85rem; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.2rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}

@media (max-width: 640px) {
    nav.main-nav ul { justify-content: center; }
    .header-inner { justify-content: center; text-align: center; }
    .hero h1 { font-size: 1.9rem; }
    .match-row { flex-direction: column; align-items: flex-start; }
}

.hero-logo { display: block; margin: 0 auto 1rem; width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
@media (max-width: 700px) { .hero-logo { width: 110px; height: 110px; } }

/* ---------- Vereinsübersicht (eine Zeile pro Verein, feste Spalten) ---------- */
.club-list { display: flex; flex-direction: column; gap: .9rem; }
.club-row {
    display: grid;
    grid-template-columns: 92px minmax(200px, 1fr) 11rem 19rem 1.6rem;
    align-items: center; column-gap: 1.3rem; row-gap: .6rem;
    background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius);
    padding: .9rem 1.3rem; color: var(--text-light); box-shadow: var(--shadow);
    transition: transform .15s ease, border-color .15s ease;
}
.club-row:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text-light); }
.club-row-logo {
    width: 92px; height: 92px; background: #fff; border-radius: 14px; padding: 6px;
    display: flex; align-items: center; justify-content: center;
}
.club-row-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.club-row-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.club-row-main strong { font-size: 1.3rem; color: var(--strong); }
.club-row-medals, .club-row-stats { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: .5rem; }
.club-row-medals .cell { display: flex; align-items: center; justify-content: center; gap: .4rem; }
.club-row-medals .ico { font-size: 1.25rem; }
.club-row-medals b { min-width: 1.6ch; text-align: left; font-size: 1.2rem; color: var(--strong); font-variant-numeric: tabular-nums; }
.club-row-stats .cell { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.club-row-stats b { font-size: 1.3rem; color: var(--strong); font-variant-numeric: tabular-nums; }
.club-row-stats i { font-style: normal; font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 980px) {
    .club-row { grid-template-columns: 72px 1fr 1.6rem; }
    .club-row-logo { width: 72px; height: 72px; }
    .club-row-medals, .club-row-stats { grid-column: 1 / -1; }
    .club-row-chevron { grid-column: 3; grid-row: 1; }
}

/* ---------- Ergebnisverteilung ---------- */
.dist-table { text-align: center; }
.dist-table th, .dist-table td { text-align: center; padding: .55rem .4rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dist-table th.dist-win { background: var(--win-bg); color: var(--strong); }
.dist-table th.dist-draw { background: var(--draw-bg); color: var(--strong); }
.dist-table th.dist-loss { background: var(--loss-bg); color: var(--strong); }
.dist-table td { font-weight: 700; color: var(--strong); }
.dist-table tr.dist-pct td { font-weight: 500; color: var(--text-muted); font-size: .88rem; }
.dist-table td.dist-zero { color: var(--zero); font-weight: 400; }

.footer-version { margin-top: .35rem; font-size: .78rem; opacity: .7; letter-spacing: .04em; }

/* ---------- Aufklappbare Spielerliste je Verein ---------- */
details.club-card { background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .15s ease; }
details.club-card:hover, details.club-card[open] { border-color: var(--accent); }
details.club-card .club-row { background: transparent; border: none; box-shadow: none; border-radius: var(--radius); cursor: pointer; list-style: none; }
details.club-card .club-row:hover { transform: none; }
details.club-card summary::-webkit-details-marker { display: none; }
.club-row-main strong a { color: var(--strong); }
.club-row-main strong a:hover { color: var(--accent); }
.club-row-chevron { width: 1rem; height: 1rem; border-right: 3px solid var(--text-muted); border-bottom: 3px solid var(--text-muted); transform: rotate(45deg); transition: transform .2s ease; justify-self: center; margin-bottom: .25rem; }
details.club-card[open] .club-row-chevron { transform: rotate(-135deg); margin-bottom: -.25rem; }
.club-players { padding: .2rem 1.3rem 1.2rem; border-top: 1px solid var(--border-soft); }
.club-players .table-scroll { margin-top: .9rem; }
.player-table th, .player-table td { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; padding: .5rem .55rem; }
.player-table th.left, .player-table td.left { text-align: left; }
.player-table td.left { min-width: 11rem; }
.player-table .player-team { font-size: .78rem; margin-left: .35rem; }

.club-teams span { white-space: nowrap; }
.club-teams { min-height: 1.6em; }

.player-head { display:flex; align-items:center; gap:1rem; }
.player-club-logo { width:56px; height:56px; border-radius:50%; object-fit:cover; background:#fff; flex:none; }

/* ---------- Dark/Light-Schalter ---------- */
.theme-toggle { position: relative; width: 62px; height: 32px; padding: 0; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--border-soft); background: rgba(255,255,255,.10); color: var(--text-light); flex: none; }
.theme-toggle .tt-sun, .theme-toggle .tt-moon { position: absolute; top: 50%; transform: translateY(-50%); font-size: 14px; line-height: 1; opacity: .75; }
.theme-toggle .tt-sun { left: 9px; }
.theme-toggle .tt-moon { right: 9px; }
.theme-toggle .tt-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .2s ease; }
.theme-toggle[aria-pressed="true"] .tt-knob { transform: translateX(30px); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html[data-theme="light"] .theme-toggle { background: rgba(46,92,163,.10); }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.admin-sidebar .theme-toggle { margin: 0 0 1rem; }

/* ---------- Startseite: nächster Spieltag, Vereinsleiste, Mitspielen ---------- */
.next-day { margin-bottom: 1.6rem; }
.next-day-no { font-weight: 500; color: var(--text-muted); font-size: 1.05rem; }
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.next-card { display: block; background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 1rem 1.2rem; color: var(--text-light); transition: transform .15s ease, border-color .15s ease; }
a.next-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text-light); }
.next-when { text-align: center; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--link); font-weight: 700; margin-bottom: .7rem; }
.next-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; }
.next-team { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; font-weight: 700; color: var(--strong); line-height: 1.2; }
.next-team img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.next-vs { font-weight: 800; color: var(--text-muted); font-size: .9rem; }
.next-bye { text-align: center; color: var(--text-muted); display: flex; align-items: center; justify-content: center; }
.next-bye strong { color: var(--strong); margin-left: .35rem; }

.club-strip { margin: 1.8rem 0; }
.club-strip-list { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.club-chip { display: flex; flex-direction: column; align-items: center; gap: .45rem; width: 118px; padding: .8rem .5rem;
    background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius); box-shadow: var(--shadow);
    color: var(--text-light); font-weight: 600; font-size: .85rem; text-align: center; transition: transform .15s ease, border-color .15s ease; }
.club-chip:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text-light); }
.club-chip img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 14px; padding: 5px; }

.join-cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; padding: 1.6rem 1.8rem; border-radius: var(--radius);
    background: linear-gradient(90deg, var(--blue-700), var(--blue-600)); box-shadow: var(--shadow); color: #fff; margin: 1.8rem 0 .5rem; }
.join-cta-icon { font-size: 2.6rem; line-height: 1; }
.join-cta-text { flex: 1; min-width: 260px; }
.join-cta-text h2 { color: #fff; border-left-color: var(--accent); margin-bottom: .5rem; }
.join-cta-text p { margin: 0; color: #e6f0fc; }
.join-cta-btn { white-space: nowrap; font-size: 1.05rem; padding: .8rem 1.6rem; }

/* Banner ist in beiden Modi blau: Links und Label dort immer hell türkis */
.trivia-banner a { color: #7ff3e3; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.trivia-banner a:hover { color: #ffffff; }
.trivia-banner .label { color: #7ff3e3; }

.dist-table td a { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; display: block; }
.dist-table td a:hover { color: var(--link); text-decoration-style: solid; }

/* ---------- Admin: Roadmap ---------- */
.roadmap-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; color: var(--strong); }
.roadmap-card.roadmap-top { border-color: var(--accent); }
.roadmap-star { color: #e0a800; }

/* ---------- Startseite: Stadtmeister ---------- */
.champions { margin: 1.8rem 0; }
.champions-figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border-soft); max-width: 900px; margin-inline: auto; }
.champions-figure img { display: block; width: 100%; height: auto; }
.champions-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.2rem .9rem; color: #fff;
    background: linear-gradient(0deg, rgba(8,26,54,.88) 0%, rgba(8,26,54,.55) 55%, rgba(8,26,54,0) 100%); display: flex; flex-direction: column; gap: .1rem; }
.champions-figure figcaption strong { font-size: 1.25rem; }
.champions-figure figcaption a { color: #7ff3e3; }
.champions-figure figcaption span { font-size: .92rem; color: #e6f0fc; }

.champions-figure .champions-names { margin-top: .35rem; font-size: .95rem; color: #fff; line-height: 1.5; }
.champions-figure .champions-names a { font-weight: 600; }
.champions-figure .champions-hint { font-size: .75rem; color: #b9cde6; }
@media (max-width: 600px) { .champions-figure figcaption { position: static; background: #12294e; padding: .9rem 1rem; } }

/* ---------- Wartungsmodus (Landing Page) ---------- */
.maint-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; position: relative; }
.maint-theme { position: absolute; top: 1rem; right: 1rem; }
.maint-box { width: 100%; max-width: 520px; text-align: center; background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.6rem 1.8rem; }
.maint-box h1 { font-size: 2rem; margin-bottom: .6rem; color: var(--strong); }
.maint-text { color: var(--text-muted); max-width: 40ch; margin: 0 auto 1rem; }
.maint-dart { font-size: 2.2rem; margin-bottom: 1.2rem; }
.maint-form { max-width: 280px; margin: 0 auto; padding-top: 1.1rem; border-top: 1px solid var(--border-soft); text-align: left; }
.maint-form label { display: block; font-size: .8rem; color: var(--text-muted); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .06em; }
.maint-row { display: flex; gap: .5rem; }
.maint-row input { flex: 1; min-width: 0; text-align: center; letter-spacing: .5em; font-size: 1.2rem; }
.maint-foot { margin-top: 1.2rem; color: var(--text-muted); font-size: .8rem; }
