/* Oeffentliche Webseite von Blink 180 (Entwurf "Webseite", Okt. 2026):
   App-Stil, dunkel, blauer Schein. Oben der naechste Spieltag, am Spieltag
   der Live-Stand; darunter Ligatermine, Ergebnisse und Tabelle. */
@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url('../fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-600.woff2') format('woff2'); }

:root {
  --bg: #0d0a0b; --karte: #141011; --karte2: #1c1718; --knopf: #241d1f; --aktiv: #2a2224;
  --linie: #1f191b; --linie2: #2a2224;
  --text: #f2eeee; --hell: #ffffff; --grau: #c9c0c0; --leise: #9a8f90; --leiser: #857a7b; --platzhalter: #5a5052;
  --rot: #e5484d; --blau: #a9e4ff;
  --schein: rgba(70, 170, 215, 0.35); --schein-weich: rgba(70, 170, 215, 0.22); --schein-zart: rgba(70, 170, 215, 0.12);
  --display: 'Anton', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --eng: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --schrift: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--schrift); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100dvh;
  background:
    radial-gradient(60% 40% at 75% 0%, rgba(64, 150, 195, 0.16), transparent 62%),
    radial-gradient(50% 30% at 10% 60%, rgba(64, 150, 195, 0.06), transparent 60%),
    var(--bg);
}
a { color: var(--blau); text-decoration: none; }
a:hover { color: var(--hell); }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
a, .knopf { touch-action: manipulation; }
input::placeholder { color: var(--platzhalter); }
.hidden { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Kopfzeile */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(13, 10, 11, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.nav-innen { max-width: 1240px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 16px; }
.marke { flex: none; display: flex; align-items: center; gap: 12px; color: var(--text); }
.marke img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 20px var(--schein); }
.marke-text { display: flex; flex-direction: column; gap: 1px; }
.marke-name { font-family: var(--display); font-size: 24px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; }
.marke-name em { font-style: normal; color: var(--rot); }
.marke-sub { font-family: var(--eng); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--leise); }
.nav-luft { flex: 1 1 auto; }

.knopf { height: 44px; padding: 0 18px; border-radius: 12px; background: var(--knopf); border: none; color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.knopf svg { width: 22px; height: 22px; flex: none; }
.knopf.hell { background: var(--text); color: var(--bg); font-family: var(--eng); font-weight: 700; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; height: 54px; }
.knopf.gross { height: 52px; padding: 0 20px 0 16px; font-size: 16px; }
.knopf:disabled { opacity: 0.6; cursor: default; }
.link { background: none; border: none; padding: 0 4px; min-height: 44px; display: inline-flex; align-items: center; color: var(--blau); font-size: 14px; }
.link.leise { color: var(--leise); }

/* Seite */
.seite { max-width: 1240px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px) 64px; display: flex; flex-direction: column; gap: clamp(36px, 6vw, 72px); }
.kt { font-family: var(--eng); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--leise); }
.titel { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.notiz { margin: 0; padding: 6px 2px; font-size: 14px; color: var(--leiser); }

/* Naechster Spieltag */
.held { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(20px, 4vw, 48px); align-items: center; }
.held-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.held-label { font-family: var(--eng); font-weight: 700; font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blau); }
.held-datum { font-family: var(--display); font-size: clamp(52px, 9vw, 120px); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.05; }
.held-paar { font-size: clamp(18px, 2vw, 24px); color: var(--grau); }
.held-paar b { color: var(--hell); font-weight: 600; }
.held-ort { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--leise); }
.held-ort svg { flex: none; width: 20px; height: 20px; color: var(--rot); }
.held-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.held-leer { color: var(--leise); font-size: 17px; }

.zuschauen { display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 2.6vw, 30px); border-radius: 24px; background: radial-gradient(80% 90% at 50% 0%, var(--schein-zart), transparent 70%), var(--karte); }
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cd-feld { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 4px; border-radius: 14px; background: var(--karte2); }
.cd-zahl { font-family: var(--display); font-size: clamp(34px, 5vw, 64px); line-height: 1.3; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px var(--schein); }
.cd-k { font-family: var(--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--leiser); }
.cd-sub { font-size: 15px; color: var(--leise); text-align: center; margin: 0; }
.livescoring { height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; background: var(--knopf); border: none; color: var(--hell); font-family: var(--eng); font-weight: 700; font-size: 19px; letter-spacing: 0.1em; text-transform: uppercase; }
.live-marke { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 5px; background: var(--rot); color: #fff; font-family: var(--eng); font-weight: 700; font-size: 0.9em; letter-spacing: 0.1em; text-transform: uppercase; }
.live-marke .punkt { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livePulse 1.4s ease-in-out infinite; }
.live-marke.aus { background: var(--aktiv); color: var(--grau); }
.live-marke.aus .punkt { animation: none; background: var(--leise); }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } html { scroll-behavior: auto; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20; max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 12px; background: var(--aktiv); color: var(--text); font-size: 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px var(--linie2); text-align: center; }

/* Live-Stand */
.live { display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 3vw, 36px); border-radius: 24px; background: radial-gradient(70% 90% at 50% 0%, rgba(70, 170, 215, 0.14), transparent 70%), var(--karte); box-shadow: inset 0 0 0 1.5px rgba(229, 72, 77, 0.55), 0 0 50px rgba(229, 72, 77, 0.16); }
.live.vorbei { box-shadow: inset 0 0 0 1.5px var(--linie2), 0 0 50px var(--schein-zart); }
.live-kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-kopf .live-marke { padding: 5px 12px; border-radius: 7px; font-size: 18px; letter-spacing: 0.14em; box-shadow: 0 0 16px rgba(229, 72, 77, 0.5); }
.live-kopf .live-marke .punkt { width: 9px; height: 9px; }
.live-kopf .live-marke.aus { box-shadow: none; }
.live-wo { font-family: var(--eng); font-weight: 700; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leise); }
.live-luft { flex: 1 1 auto; }
.live-zahl { font-size: 15px; color: var(--leiser); }
.live-stand { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: clamp(10px, 3vw, 40px); row-gap: 4px; text-align: center; }
.live-stand .team { flex: 1 1 calc((560px - 100%) * 999); min-width: 0; overflow-wrap: anywhere; font-family: var(--eng); font-weight: 700; font-size: clamp(16px, 2.6vw, 32px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--grau); text-wrap: balance; }
.live-stand .team.wir { color: var(--text); }
.live-stand .team.b { order: 2; }
.live-stand .punkte { flex: none; order: 1; font-family: var(--display); font-size: clamp(56px, 11vw, 150px); line-height: 1.1; text-shadow: 0 0 40px rgba(70, 170, 215, 0.45); white-space: nowrap; }
.live-sub { text-align: center; font-size: 15px; color: var(--leise); margin: 0; }
.live-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.board { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--karte2); }
.board-kopf { display: flex; justify-content: space-between; gap: 10px; }
.board-kopf span { font-family: var(--eng); font-weight: 700; font-size: 15px; color: var(--leise); }
.board-kopf span:first-child { letter-spacing: 0.14em; text-transform: uppercase; }
.bs { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.bs .dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.bs.dran .dot { background: #46aad7; box-shadow: 0 0 8px rgba(70, 170, 215, 0.8); }
.bs .name { min-width: 0; font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs .name .pos { font-family: var(--eng); font-weight: 700; font-size: 0.85em; color: var(--leise); }
.bs .avg { font-size: 14px; color: var(--leise); white-space: nowrap; }
.bs .rest { min-width: 3ch; text-align: right; font-family: var(--eng); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.live-leer { color: var(--leise); font-size: 15px; margin: 0; }
.lk { display: flex; flex-direction: column; padding: 14px 18px; border-radius: 16px; background: var(--karte2); }
.lk .kt { padding-bottom: 6px; }
.he { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--linie2); font-size: 15px; }
.he span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--leise); }
.he span.w { font-weight: 700; color: var(--text); }
.he .erg { font-family: var(--eng); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--grau); overflow: visible; }
.he span:last-child { text-align: right; }
.hl { display: flex; gap: 12px; align-items: baseline; padding: 4px 0; font-size: 15px; }
.hl .k { flex: none; width: 7.5em; color: var(--leise); }
.hl .v { min-width: 0; font-weight: 600; }

/* Termine, Ergebnisse, Tabelle */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(16px, 3vw, 32px); align-items: start; }
.spalte { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.spalte-rechts { gap: clamp(28px, 4vw, 48px); }
#ergebnisse, #tabelle { display: flex; flex-direction: column; gap: 14px; }
.liste { display: flex; flex-direction: column; gap: 6px; }

.termin { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--karte); }
.termin.vorbei { opacity: 0.65; }
.termin.naechster { background: var(--aktiv); box-shadow: inset 0 0 0 1.5px var(--text), 0 0 18px var(--schein-weich); }
.termin.naechster.live { box-shadow: inset 0 0 0 1.5px var(--rot), 0 0 22px rgba(229, 72, 77, 0.2); }
.termin .wann { display: flex; flex-direction: column; line-height: 1.1; }
.termin .datum { font-family: var(--eng); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.termin .wd { font-size: 13px; color: var(--leiser); }
.termin .was { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.termin .paar { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.termin .ort { font-size: 13px; color: var(--leiser); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.termin .rechts { font-family: var(--eng); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; color: var(--grau); white-space: nowrap; }
.termin.naechster .rechts { color: var(--blau); }
.termin.naechster.live .rechts { color: var(--rot); }

.ergebnis { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-radius: 16px; background: var(--karte); }
.ergebnis .meta { font-family: var(--eng); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leiser); }
.ergebnis .paar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.ergebnis .paar span { min-width: 0; font-weight: 500; font-size: 17px; color: var(--leise); text-wrap: balance; }
.ergebnis .paar span.w { font-weight: 700; color: var(--hell); }
.ergebnis .paar span:last-child { text-align: right; }
.ergebnis .paar .stand { font-family: var(--display); font-size: 32px; line-height: 1.1; white-space: nowrap; color: var(--text); }
.mehr { align-self: flex-start; }

.tabelle-karte { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 20px; background: var(--karte); }
.tz { display: grid; grid-template-columns: 2em minmax(0, 1fr) 3.4em 3.6em 4.6em; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--linie); font-size: 16px; }
.tz-kopf { padding: 8px 0; border-top: none; font-family: var(--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leiser); }
.tz:nth-child(1) { border-top-color: transparent; }
.tz .rang { font-family: var(--eng); font-weight: 700; font-size: 18px; color: var(--leise); }
.tz .team { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz .mitte { text-align: center; color: var(--grau); }
.tz .pkt { text-align: center; font-family: var(--eng); font-weight: 700; font-size: 20px; color: var(--text); }
.tz .rechts { text-align: right; color: var(--leise); white-space: nowrap; }
.tz.wir { margin: 0 -10px; padding: 10px; border-radius: 10px; background: var(--aktiv); box-shadow: inset 0 0 0 1.5px var(--text), 0 0 18px var(--schein-weich); border-top-color: transparent; }
.tz.wir + .tz { border-top-color: transparent; }
.tz.wir .team { font-weight: 700; }

/* Fuss */
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--leiser); }
.fuss-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.fuss a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--grau); }
.fuss a.leise { color: var(--leise); }
.fuss svg { width: 14px; height: 14px; stroke-width: 2.4; }
.fuss-rechts { display: flex; gap: 18px; }

/* Anmelden */
.login { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-start; justify-content: center; padding: max(16px, 8vh) 16px 16px; background: rgba(8, 6, 7, 0.75); overflow: auto; }
.login-karte { width: min(100%, 440px); display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--karte); box-shadow: 0 0 0 1.5px var(--linie2), 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 60px var(--schein-zart); }
.login-kopf { display: flex; align-items: center; gap: 12px; }
.login-kopf img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 20px var(--schein); }
.login-titel { flex: 1 1 auto; font-family: var(--display); font-size: 30px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.login-zu { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--knopf); border: none; display: flex; align-items: center; justify-content: center; padding: 0; }
.login-zu svg { width: 18px; height: 18px; stroke-width: 2.6; }
.login-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--karte2); }
.login-tabs button { flex: 1 1 0; min-width: 0; height: 44px; border-radius: 9px; background: transparent; border: none; color: var(--grau); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-tabs button.active { background: var(--aktiv); box-shadow: inset 0 0 0 1.5px var(--text), 0 0 18px rgba(70, 170, 215, 0.25); color: var(--hell); }
.login-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.login-hinweis { margin: 0; font-size: 15px; color: var(--leise); line-height: 1.45; }
.login-form input { width: 100%; min-width: 0; height: 54px; padding: 0 16px; border-radius: 12px; background: var(--karte2); border: none; box-shadow: inset 0 0 0 1.5px var(--linie2); color: var(--text); font-family: var(--schrift); font-weight: 600; font-size: 16px; outline: none; }
.login-form input:focus { box-shadow: inset 0 0 0 1.5px var(--text); }
.login-form input.code { height: 58px; box-shadow: inset 0 0 0 1.5px var(--text), 0 0 18px rgba(70, 170, 215, 0.2); color: var(--hell); font-family: var(--eng); font-weight: 700; font-size: 22px; letter-spacing: 0.24em; text-transform: uppercase; }
.login-form .zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.login-zeile { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.login-meldung { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(229, 72, 77, 0.12); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.5); color: var(--text); font-size: 14px; }
.login-meldung.ok { background: var(--schein-zart); box-shadow: inset 0 0 0 1px var(--schein-weich); }

@media (max-width: 480px) {
  .marke-name { font-size: 20px; }
  .held-knoepfe .knopf { flex: 1 1 100%; }
  .termin { grid-template-columns: 4.2em minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .termin .datum { font-size: 20px; }
  .tz { grid-template-columns: 1.6em minmax(0, 1fr) 2.6em 3em 4em; gap: 6px; font-size: 15px; }
  .tabelle-karte { padding: 8px 12px; }
  .login-karte { padding: 22px 18px; }
}
