/* ================================================================
   WM2026 Spielplan – Frontend CSS
   Stil: elegant, klassisch – passend zu Landhaus Grunewald
   Palette: Waldgrün #1c3a28 | Gold #c8a84b | Creme #faf8f5
   ================================================================ */

:root {
    --w26-green:   #1c3a28;
    --w26-gold:    #c8a84b;
    --w26-gold-lt: #f0c040;
    --w26-cream:   #faf8f5;
    --w26-border:  rgba(200, 168, 75, .22);
    --w26-text:    #1a1a1a;
    --w26-muted:   #6b7280;
    --w26-radius:  6px;
}

/* ── Wrapper ─────────────────────────────────────────────────── */
.wm2026-wrap {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--w26-text);
}
.wm2026-wrap * { box-sizing: border-box; }

/* ── Header ──────────────────────────────────────────────────── */
.wm2026-fe-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 32px 20px 28px;
    border-bottom: 2px solid var(--w26-gold);
    margin-bottom: 28px;
    text-align: center;
}
.wm2026-fe-ball .wm2026-ball {
    animation: wm26fe-spin 14s linear infinite;
    display: block;
}
.wm2026-fe-h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--w26-green);
    line-height: 1.1;
    margin: 0;
}
.wm2026-fe-h2 em {
    font-style: normal;
    font-weight: 400;
    color: var(--w26-gold);
}
.wm2026-fe-sub {
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--w26-muted);
    margin-top: 6px;
}

/* ── Spielliste ──────────────────────────────────────────────── */
.wm2026-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Spielkarte ──────────────────────────────────────────────── */
.wm2026-card {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--w26-border);
    border-radius: var(--w26-radius);
    box-shadow: 0 1px 10px rgba(0,0,0,.05);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.wm2026-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.wm2026-card:hover .wm2026-vs-block .wm2026-ball {
    animation-duration: 1.5s;
}

/* Datums-Spalte (linke Seite) */
.wm2026-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 82px;
    min-width: 82px;
    background: linear-gradient(175deg, var(--w26-green) 0%, #0e2118 100%);
    color: #fff;
    padding: 16px 8px;
    text-align: center;
    flex-shrink: 0;
}
.wm2026-dow {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--w26-gold);
    font-weight: 700;
    display: block;
}
.wm2026-day {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin: 4px 0 2px;
    display: block;
}
.wm2026-mon {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #a3c4a8;
    display: block;
}
.wm2026-year {
    font-size: .65rem;
    color: rgba(255,255,255,.45);
    margin-top: 3px;
    display: block;
}

/* Hauptbereich der Karte */
.wm2026-card-main {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Anstoß-Zeit */
.wm2026-kickoff {
    font-size: .8rem;
    color: var(--w26-muted);
    border-bottom: 1px solid rgba(200,168,75,.15);
    padding-bottom: 8px;
}
.wm2026-kickoff strong {
    color: var(--w26-text);
    font-weight: 700;
}
.wm2026-tz-note {
    font-size: .7rem;
    color: var(--w26-gold);
    margin-left: 6px;
}

/* Teams & VS */
.wm2026-matchup {
    display: flex;
    align-items: center;
    gap: 14px;
}
.wm2026-team {
    flex: 1;
    font-weight: 700;
    font-size: clamp(.95rem, 2.5vw, 1.15rem);
    color: var(--w26-green);
    letter-spacing: .02em;
}
.wm2026-heim { text-align: right; }
.wm2026-gast { text-align: left; }

.wm2026-vs-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}
.wm2026-vs-block .wm2026-ball {
    animation: wm26fe-spin 18s linear infinite;
}
.wm2026-vs-label {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--w26-muted);
}

/* Spielort */
.wm2026-venue {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--w26-muted);
    border-top: 1px solid rgba(200,168,75,.12);
    padding-top: 8px;
}
.wm2026-venue-icon { flex-shrink: 0; }

/* ── Kein Eintrag ────────────────────────────────────────────── */
.wm2026-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--w26-muted);
    background: var(--w26-cream);
    border-radius: var(--w26-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.wm2026-empty .wm2026-ball {
    opacity: .45;
    animation: wm26fe-spin 8s linear infinite;
}

/* ── Footer-Hinweis ───────────────────────────────────────────── */
.wm2026-fe-note {
    text-align: center;
    margin-top: 24px;
    font-size: .75rem;
    color: var(--w26-muted);
    letter-spacing: .04em;
}

/* ── Gold-Akzent-Linie links an der Karte (eleganter Touch) ───── */
.wm2026-card::before {
    content: '';
    display: none; /* aktiv wenn kein Datums-Block gewünscht */
}

/* ── Animationen ─────────────────────────────────────────────── */
@keyframes wm26fe-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 560px) {
    .wm2026-fe-header { gap: 12px; padding: 22px 12px 18px; }
    .wm2026-fe-ball   { display: none; } /* Ball nur auf Desktop */
    .wm2026-card-date { width: 66px; min-width: 66px; }
    .wm2026-day       { font-size: 1.9rem; }
    .wm2026-matchup   { flex-direction: column; gap: 8px; }
    .wm2026-heim,
    .wm2026-gast      { text-align: center; }
    .wm2026-vs-block  { flex-direction: row; gap: 8px; }
}
