/* Startseite für Gäste (Paket 9, Mockup „A+ · Arena mit Spieltag und FAQ“). Hell „Eisfläche“, dunkel „Arena bei Nacht“. */
:root {
    --l-bg: #F2F7FC; --l-surface: #FFFFFF; --l-surface2: #E9F1F8; --l-line: #C6D4E3; --l-text: #0D1B2E; --l-muted: #4A5D78;
    --l-accent: #0B5CAD; --l-btn-text: #FFFFFF; --l-amber: #B25E00; --l-red: #C8102E; --l-blue: #1D5FC2;
    --l-hero: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(11, 92, 173, 0.10), transparent 70%), linear-gradient(180deg, #FFFFFF, #DCEBF7);
    --l-hero-line: rgba(200, 16, 46, 0.22);
    --l-band: linear-gradient(180deg, #E4EFF9, #F2F7FC); --l-cta: linear-gradient(135deg, #E3EEF8, #FFFFFF);
}
:root[data-theme="dark"] {
    --l-bg: #070B14; --l-surface: #0F1729; --l-surface2: #0B1222; --l-line: #1F2B44; --l-text: #E6EDF7; --l-muted: #9AABC6;
    --l-accent: #7FD4FF; --l-btn-text: #04101F; --l-amber: #FFB000; --l-red: #D33A4A; --l-blue: #2E6FD1;
    --l-hero: radial-gradient(ellipse 40% 60% at 15% -10%, rgba(255, 255, 255, 0.14), transparent 70%), radial-gradient(ellipse 40% 60% at 85% -10%, rgba(255, 255, 255, 0.14), transparent 70%), radial-gradient(ellipse 60% 70% at 50% 0%, rgba(127, 212, 255, 0.20), transparent 70%), linear-gradient(#0A1222, #04070D);
    --l-band: linear-gradient(90deg, rgba(127, 212, 255, 0.10), transparent 60%); --l-cta: linear-gradient(135deg, #10203d, #070B14); --l-hero-line: transparent;
}
@media (prefers-color-scheme: dark) {
    :root[data-theme="system"] {
        --l-bg: #070B14; --l-surface: #0F1729; --l-surface2: #0B1222; --l-line: #1F2B44; --l-text: #E6EDF7; --l-muted: #9AABC6;
        --l-accent: #7FD4FF; --l-btn-text: #04101F; --l-amber: #FFB000; --l-red: #D33A4A; --l-blue: #2E6FD1;
        --l-hero: radial-gradient(ellipse 40% 60% at 15% -10%, rgba(255, 255, 255, 0.14), transparent 70%), radial-gradient(ellipse 40% 60% at 85% -10%, rgba(255, 255, 255, 0.14), transparent 70%), radial-gradient(ellipse 60% 70% at 50% 0%, rgba(127, 212, 255, 0.20), transparent 70%), linear-gradient(#0A1222, #04070D);
        --l-band: linear-gradient(90deg, rgba(127, 212, 255, 0.10), transparent 60%); --l-cta: linear-gradient(135deg, #10203d, #070B14); --l-hero-line: transparent;
    }
}

.landing-body { margin: 0; background: var(--l-bg); background-image: none; color: var(--l-text); font-size: 17px; line-height: 1.5; }
.landing { min-height: 100vh; display: flex; flex-direction: column; }
.landing main { flex: 1; }
.landing a { color: inherit; }
.landing h1, .landing h2, .landing h3 { color: var(--l-text); text-transform: none; letter-spacing: 0; }
.landing-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.landing-muted { color: var(--l-muted); }
.landing-amber { color: var(--l-amber); }

/* Kopf */
.landing-head { max-width: 1240px; width: 100%; margin: 0 auto; padding: 18px 24px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.landing-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.landing-brand-shield { color: var(--l-accent); }
.landing-brand-sticks { stroke: var(--l-amber); }
.landing-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; font-weight: 600; color: var(--l-muted); }
.landing-nav a { text-decoration: none; }
.landing-nav a:hover { color: var(--l-text); }
.landing-account { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.landing-options { display: flex; gap: 2px; font-size: 0.8rem; font-weight: 600; }
.landing-options a { padding: 3px 7px; border-radius: 4px; color: var(--l-muted); text-decoration: none; }
.landing-options a.active { background: var(--l-surface2); color: var(--l-text); }
.landing-login { font-weight: 600; text-decoration: none; }

/* Knöpfe */
.landing-button { display: inline-block; padding: 14px 26px; border-radius: 8px; background: var(--l-accent); color: var(--l-btn-text) !important; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 1px solid var(--l-accent); }
.landing-button:hover { filter: brightness(1.08); }
.landing-button-small { padding: 9px 16px; font-size: 0.95rem; }
.landing-button-ghost { background: transparent; color: var(--l-text) !important; border-color: var(--l-line); font-weight: 600; }

/* Hero */
.landing-hero { background: linear-gradient(90deg, transparent calc(50% - 2px), var(--l-hero-line, transparent) calc(50% - 2px), var(--l-hero-line, transparent) calc(50% + 2px), transparent calc(50% + 2px)), var(--l-hero); border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.landing-hero-grid { padding-top: 72px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; align-items: center; }
.landing-hero-text { display: flex; flex-direction: column; gap: 20px; }
.landing-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--l-accent); }
.landing-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; line-height: 0.95; }
.landing-lead { margin: 0; font-size: 1.2rem; color: var(--l-muted); max-width: 32em; }
.landing-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }

/* Anzeigetafel (in beiden Designs dunkel) */
.landing-board { background: #04070D; border: 2px solid #26324A; border-radius: 10px; padding: 22px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9); color: #E6EDF7; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 6px 6px; }
.landing-board-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; text-align: center; }
.landing-kit { display: flex; justify-content: center; }
.landing-kit svg { width: 110px; height: 110px; }
.landing-board-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
.landing-board-mini .landing-board-name { font-size: 1.5rem; }
.landing-board-name.is-home { color: #F5C800; }
.landing-board-small { font-family: var(--font-mono); font-size: 0.75rem; color: #9AABC6; text-transform: uppercase; }
.landing-board-center { padding: 10px 18px; border: 1px solid #26324A; border-radius: 6px; background: #020409; text-align: center; }
.landing-board-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; color: #9AABC6; text-transform: uppercase; }
.landing-board-clock { font-family: var(--font-mono); font-size: 3.4rem; font-weight: 600; line-height: 1.05; color: #FFB000; text-shadow: 0 0 18px rgba(255, 176, 0, 0.6); white-space: nowrap; }
.landing-board-clock strong { font-weight: 600; }
.landing-board-link { color: #7FD4FF !important; font-weight: 600; font-size: 0.9rem; }
.landing-board-penalty { margin-top: 10px; font-family: var(--font-mono); font-size: 0.8rem; color: #FF5A50; }
.landing-ticker { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px dashed #26324A; font-size: 0.92rem; }
.landing-ticker li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 4px 0; font-style: italic; }
.landing-ticker li .num-mono { color: #9AABC6; font-style: normal; }
.landing-ticker li.is-away { grid-template-columns: minmax(0, 1fr) 58px; text-align: right; }
.landing-board-mini { padding: 18px; }
.landing-board-mini .landing-board-clock { font-size: 2.8rem; }

/* Zahlen */
.landing-stats { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; text-align: center; }
.landing-stats strong { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--l-amber); }
.landing-stats span { color: var(--l-muted); }

/* Abschnitte */
.landing-section { padding-top: 40px; padding-bottom: 40px; }
.landing-section h2, .landing-day h2, .landing-faq h2 { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.05; }
.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.landing-card { background: var(--l-surface); border: 1px solid var(--l-line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.landing-card h3 { margin: 0; font-size: 1.35rem; }
.landing-card p { margin: 0; color: var(--l-muted); }
.landing-icon { color: var(--l-accent); }
.landing-icon-amber { stroke: var(--l-amber); }
.landing-icon-amber-fill { fill: var(--l-amber); }
.landing-icon-red { stroke: var(--l-red); }
.landing-icon-blue { stroke: var(--l-blue); }
.landing-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.landing-step { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--l-surface2); border-radius: 0 10px 10px 0; border-left: 4px solid var(--l-red); }
.landing-step-2 { border-left-color: var(--l-blue); }
.landing-step-3 { border-left-color: var(--l-amber); }
.landing-step strong { font-size: 1.2rem; }
.landing-step-number { font-family: var(--font-mono); font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--l-amber); }

/* So sieht dein Spieltag aus */
.landing-band { background: var(--l-band); border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.landing-day { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 36px; }
.landing-day h2 { margin: 0; }
.landing-day-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.landing-day-row-reverse { flex-wrap: wrap-reverse; flex-direction: row-reverse; }
.landing-day-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.landing-day-text h3 { margin: 0; font-size: 1.75rem; }
.landing-day-text p { margin: 0; }
.landing-day-time { font-family: var(--font-mono); color: var(--l-amber); font-weight: 600; }
.landing-day-shot { flex: 1.4 1 min(460px, 100%); min-width: 0; }
.landing-mini-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; }
.landing-mini-head strong { letter-spacing: 0.18em; text-transform: uppercase; color: var(--l-accent); }
.landing-mini-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; text-align: center; gap: 10px; }
.landing-mini-teams > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.landing-mini-teams .landing-muted { font-size: 0.8rem; }
.landing-vs { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--l-muted); }
.landing-mini-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px 12px; align-items: center; font-size: 0.88rem; border-top: 1px solid var(--l-line); padding-top: 10px; }
.landing-mini-compare > :nth-child(3n + 1) { justify-self: end; }

/* Playoff-Baum */
.landing-playoffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; align-items: center; }
.landing-playoffs p { margin: 0; }
.landing-tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: center; font-size: 0.85rem; }
.landing-tree-col { display: flex; flex-direction: column; gap: 10px; }
.landing-tree-match { border: 1px solid var(--l-line); border-radius: 6px; background: var(--l-surface); }
.landing-tree-match > div { padding: 6px 10px; display: flex; justify-content: space-between; gap: 6px; color: var(--l-muted); }
.landing-tree-match > div + div { border-top: 1px solid var(--l-line); }
.landing-tree-match > div.is-win { color: var(--l-text); font-weight: 700; }
.landing-tree-champion { border: 2px solid var(--l-amber); border-radius: 8px; padding: 12px; text-align: center; display: flex; flex-direction: column; }
.landing-tree-champion span:first-child { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--l-muted); }
.landing-tree-champion strong { font-family: var(--font-display); font-size: 1.6rem; }

/* FAQ */
.landing-faq { max-width: 900px; margin: 0 auto; padding: 24px 24px 56px; box-sizing: border-box; }
.landing-faq details { border-bottom: 1px solid var(--l-line); padding: 14px 0; }
.landing-faq summary { font-weight: 700; font-size: 1.15rem; cursor: pointer; }
.landing-faq details p { margin: 8px 0 0; }

/* Abschluss */
.landing-final { position: relative; overflow: hidden; margin: 40px 0 0; background: var(--l-cta); border: 1px solid var(--l-line); border-radius: 14px; padding: 48px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.landing-final-lines { position: absolute; inset: 0; opacity: 0.18; }
.landing-final h2 { position: relative; margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.05; }
.landing-final p, .landing-final a { position: relative; margin: 0; }

/* Fuß */
.landing-foot { max-width: 1240px; width: 100%; margin: 0 auto; padding: 36px 24px; box-sizing: border-box; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--l-muted); font-size: 0.85rem; }
.landing-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 640px) {
    .landing-head { padding: 14px 16px; }
    .landing-wrap { padding-left: 16px; padding-right: 16px; }
    .landing-hero-grid { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
    .landing-hero { background: var(--l-hero); }
    .landing-kit svg { width: 64px; height: 64px; }
    .landing-board { padding: 14px; }
    .landing-board-teams { gap: 8px; }
    .landing-board-center { padding: 8px 10px; }
    .landing-board-clock { font-size: 1.7rem; }
    .landing-board-label { font-size: 0.6rem; letter-spacing: 0.12em; }
    .landing-board-name { font-size: 0.9rem; }
    .landing-board-mini .landing-board-clock { font-size: 2rem; }
    .landing-tree { grid-template-columns: 1fr 1fr; }
    .landing-tree-champion { grid-column: 1 / -1; }
    .landing-final { padding: 36px 18px; }
}
