/* Umsetzung des Artboards "Spielplan mobil" – das Design ist die Referenz. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/montserrat-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/montserrat-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/montserrat-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/montserrat-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/montserrat-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/montserrat-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:800;font-display:swap;src:url(fonts/montserrat-latin-ext-800-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:800;font-display:swap;src:url(fonts/montserrat-latin-800-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --navy: #0B1E4D;
  --blue: #1E5190;
  --sky: #39A9E0;
  --ice: #8AD6FF;
  --yellow: #FFD23F;
  --mist: #DCEEFA;
  --bg: #F3F9FD;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
button { font-family: inherit; }
[v-cloak] { display: none; }
.noscript { text-align: center; padding: 16px; font-family: system-ui, sans-serif; }

.page { position: relative; overflow: clip; width: 100%; min-height: 100vh; background: var(--bg); font-family: 'Montserrat', system-ui, sans-serif; color: var(--navy); }
main { position: relative; max-width: 520px; margin: 0 auto; padding: 0 16px 40px; }

.blob { position: absolute; border-radius: 50%; background: var(--mist); pointer-events: none; }
.blob-right { right: -70px; top: 520px; width: 170px; height: 170px; }
.blob-left { left: -80px; top: 1100px; width: 220px; height: 220px; }

.tap { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .08s ease; }
.tap:active { transform: translateY(2px); }
.tap:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.grow { flex: 1; min-width: 0; }

/* Mannschafts-Wappen mit Ring in Trikotfarbe */
.bd { display: inline-block; flex: none; border-radius: 50%; border: 3px solid var(--navy); padding: 2px; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; background-origin: content-box; box-shadow: 0 0 0 1px var(--navy); }
.r-blau { border-color: #1E5190; }
.r-weiss { border-color: #ffffff; }
.r-rot { border-color: #D62D2D; }
.r-gruen { border-color: #2E9E4F; }
.r-gelb { border-color: #F5C400; }
.lg-ds { background-image: url(assets/team-ds.png); }
.lg-kas { background-image: url(assets/team-kas.png); }
.lg-rues { background-image: url(assets/team-rues.png); }
.lg-sz { background-image: url(assets/team-sz.png); }
.lg-bik { background-image: url(assets/team-bik.png); }
.lg-vfr { background-image: url(assets/team-vfr.png); }
.lg-main { background-image: url(assets/team-main.png); }
.size-52 { width: 52px; height: 52px; }
.size-44 { width: 44px; height: 44px; }
.size-26 { width: 26px; height: 26px; }
.all-icon { flex: none; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }

/* Kopf */
.topbar { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-top: 10px; }
.brand { height: 48px; width: auto; display: block; }
.domain { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--blue); background: #fff; border-radius: 999px; padding: 6px 14px; border: 2px solid var(--blue); }

.hero { position: relative; margin-top: 12px; height: 164px; }
.hero-bg { position: absolute; inset: 0; background: var(--blue); border-radius: 28px; overflow: hidden; }
.dot { position: absolute; border-radius: 50%; }
.d1 { right: 96px; top: -40px; width: 100px; height: 100px; background: #2A62A8; }
.d2 { left: -30px; bottom: -50px; width: 120px; height: 120px; background: #2A62A8; }
.d3 { left: 150px; top: 30px; width: 12px; height: 12px; background: var(--yellow); }
.d4 { right: 30px; bottom: 18px; width: 18px; height: 7px; border-radius: 4px; background: var(--ice); transform: rotate(-30deg); }
.d5 { left: 24px; top: 62px; width: 10px; height: 10px; background: var(--sky); }
.hero-class { position: absolute; left: 20px; top: 20px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--navy); background: var(--yellow); border-radius: 999px; padding: 5px 12px; transform: rotate(-3deg); }
h1 { position: absolute; left: 20px; bottom: 22px; margin: 0; font-size: clamp(34px, 11.5vw, 46px); font-weight: 800; font-style: italic; line-height: 1; letter-spacing: -0.01em; color: #fff; transform: rotate(-2deg); transform-origin: left center; }
.hero-date { position: absolute; right: -4px; top: -12px; width: 104px; height: 104px; border-radius: 50%; background: var(--sky); border: 4px solid #fff; transform: rotate(8deg); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 5px 0 var(--ice); }
.hero-date .day { font-size: 10px; font-weight: 800; letter-spacing: 0.2em; }
.hero-date .date { font-size: 30px; font-weight: 800; font-style: italic; line-height: 1; }
.hero-date .year { font-size: 14px; font-weight: 800; line-height: 1.1; }

/* Mannschaftsauswahl */
.filter { position: sticky; top: 8px; z-index: 20; margin-top: 22px; }
.backdrop { position: fixed; inset: 0; z-index: 0; background: transparent; border: 0; padding: 0; margin: 0; cursor: default; }
.filter-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; background: #fff; border: 3px solid var(--blue); border-radius: 26px; padding: 12px 12px 12px 14px; box-shadow: 0 5px 0 var(--blue); }
.filter-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--blue); }
.filter-name { margin-top: 2px; font-size: 16px; font-weight: 800; line-height: 1.15; }
.filter-summary { margin-top: 3px; font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--blue); }
.change { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px 0 18px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 15px; font-weight: 800; }
.chevron { flex: none; transition: transform .15s ease; }
.chevron.up { transform: rotate(180deg); }
/* max-height: bei niedrigen Displays bleibt jede Mannschaft per Scrollen erreichbar */
.listbox { position: absolute; z-index: 2; left: 0; right: 0; top: 100%; margin-top: 12px; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 3px solid var(--blue); border-radius: 26px; padding: 6px; box-shadow: 0 5px 0 var(--blue), 0 18px 40px rgba(11, 30, 77, 0.22); }
.option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 10px; border: 0; border-radius: 20px; text-align: left; color: var(--navy); background: transparent; }
.option[aria-selected="true"] { background: var(--mist); }
.option:focus-visible { outline-offset: -3px; }
.option-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; line-height: 1.2; overflow-wrap: break-word; }
.check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--navy); display: flex; align-items: center; justify-content: center; }

/* Spielplan */
.plan { position: relative; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; border-radius: 999px; padding: 6px 12px; }
.chip-f1 { background: var(--sky); }
.chip-f2 { background: var(--yellow); }
.chip-time { letter-spacing: 0.04em; background: var(--blue); color: #fff; }

.auftakt { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: #fff; border: 2px solid var(--blue); border-radius: 24px; padding: 8px 14px 8px 8px; }
.auftakt-time { flex: none; font-size: 13px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.auftakt-label { font-size: 13px; font-weight: 700; line-height: 1.25; }

.row { display: flex; align-items: stretch; gap: 10px; margin-top: 12px; }
.time { width: 78px; flex: none; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; background: var(--blue); color: #fff; transform: rotate(-2deg); }
.row:nth-child(even) .time { transform: rotate(2deg); }
.start { font-size: 20px; font-weight: 800; line-height: 1.05; }
.end { font-size: 12px; font-weight: 700; }

.card { flex: 1; min-width: 0; border-radius: 20px; padding: 12px; }
.field-1 { background: #fff; border: 2px solid #C3D6EA; }
.field-2 { background: #FFF8DC; border: 2px solid #F2DC8A; }
.field-badge { width: fit-content; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; border-radius: 999px; padding: 4px 10px; }
.field-1 .field-badge, .field-1 .tag { background: var(--sky); }
.field-2 .field-badge, .field-2 .tag { background: var(--yellow); }
.opponent { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.vs-label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--blue); }
.opponent-name { font-size: 16px; font-weight: 800; line-height: 1.15; }

.games { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.game { border-radius: 18px; padding: 8px 10px; }
.line { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.15; }
.line + .line { margin-top: 4px; }
.tag, .tag-vs { width: 50px; flex: none; text-align: center; font-size: 10px; font-weight: 800; }
.tag { letter-spacing: 0.06em; border-radius: 999px; padding: 3px 0; }
.field-1 .tag-vs { color: var(--blue); }
.field-2 .tag-vs { color: #6B5200; }

/* Danach */
h2 { margin: 30px 0 0; font-size: 18px; font-weight: 800; }
.after { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.after-item { display: flex; align-items: center; gap: 12px; border-radius: 999px; padding: 8px 20px 8px 8px; transform: rotate(-1deg); }
.after-item:nth-child(1) { background: var(--ice); }
.after-item:nth-child(2) { background: var(--yellow); transform: rotate(1deg); }
.after-item:nth-child(n+3) { background: #fff; border: 2px solid #C3D6EA; padding-left: 6px; }
.after-time { font-size: 18px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 999px; padding: 7px 14px; }
.after-label { font-size: 15px; font-weight: 700; }

.outro { margin: 32px 0 0; text-align: center; font-size: 13px; font-weight: 800; line-height: 1.4; letter-spacing: 0.02em; color: var(--blue); }

.d6, .field-heads { display: none; }

/* Tablet und breiter: Inhalte fließen wie auf dem Artboard "Spielplan A4".
   Der Mannschaftsfilter bleibt zusätzlich erhalten. */
@media (min-width: 700px) {
  main { max-width: 794px; padding: 0 40px 28px; }
  .blob-right { right: -50px; top: 360px; width: 120px; height: 120px; }
  .blob-left { left: -60px; top: auto; bottom: -70px; }

  .topbar { height: 104px; padding-top: 16px; margin-left: -18px; }
  .brand { height: 80px; }
  .domain { font-size: 13px; padding: 7px 16px; }

  .hero { height: 152px; margin-top: 8px; }
  .hero-bg { border-radius: 32px; }
  .d1 { right: 130px; top: -34px; width: 110px; height: 110px; }
  .d2 { bottom: -46px; width: 130px; height: 130px; }
  .d3 { left: 372px; top: 16px; width: 14px; height: 14px; }
  .d4 { left: 342px; right: auto; top: 104px; bottom: auto; width: 20px; height: 8px; }
  .d5 { left: 30px; top: 20px; width: 12px; height: 12px; }
  .d6 { display: block; left: 420px; top: 112px; width: 12px; height: 12px; border-radius: 3px; background: var(--yellow); transform: rotate(25deg); }
  .hero-class { left: 34px; top: 22px; font-size: 14px; padding: 5px 14px; }
  h1 { left: 34px; bottom: 23px; font-size: 72px; }
  .hero-date { right: -6px; width: 142px; height: 142px; border-width: 5px; box-shadow: 0 6px 0 var(--ice); }
  .hero-date .day { font-size: 12px; }
  .hero-date .date { font-size: 44px; }
  .hero-date .year { font-size: 18px; }

  .filter, .plan { margin-top: 18px; }

  .info { display: flex; align-items: stretch; gap: 10px; }
  .auftakt { flex: 1; margin-top: 0; border-radius: 999px; padding: 7px 18px 7px 8px; }
  .auftakt-time { font-size: 14px; padding: 5px 12px; }
  .chips { order: 1; flex-wrap: nowrap; }
  .chips .chip-f1, .chips .chip-f2 { display: none; }
  .chip-time { display: flex; align-items: center; padding: 0 20px; font-size: 13px; letter-spacing: 0; white-space: nowrap; }

  .field-heads { display: flex; gap: 8px; margin-top: 12px; padding-left: 92px; }
  .field-heads span { flex: 1; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; border-radius: 999px; padding: 4px 0; }

  .row { gap: 8px; margin-top: 8px; }
  .time { width: 84px; border-radius: 16px; }
  .start { font-size: 18px; }
  .end { font-size: 11px; }

  .games { flex-direction: row; gap: 8px; }
  .game { flex: 1; min-width: 0; min-height: 66px; display: flex; flex-direction: column; justify-content: center; border-radius: 16px; padding: 5px 10px; }
  .line { font-size: 13.5px; line-height: 1.1; }
  .line + .line { margin-top: 2px; }
  .game .size-26 { width: 27px; height: 27px; }
  /* font-size 0 statt display:none, damit "FELD n" für Screenreader erhalten bleibt */
  .game .tag { width: 18px; padding: 0; font-size: 0; background: transparent; }
  .tag-vs { width: 18px; text-align: left; }
  .field-1 .tag-vs { color: #1B7FB5; }
  .field-2 .tag-vs { color: #8A6A00; }

  /* "Danach" steht auf dem A4-Blatt nicht, bleibt aber für Screenreader */
  h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .after { flex-direction: row; margin-top: 18px; }
  .after-item { flex: 1; min-height: 56px; gap: 10px; padding: 0 14px 0 8px; }
  .after-item:nth-child(n+3) { padding-left: 6px; }
  .after-time { padding: 6px 12px; }
  .after-label { font-size: 13px; }

  .outro { margin-top: 18px; }
}
