/* Colours and type are taken from the coaching site so the two read as one
   hand, but the layout is deliberately plainer: this page is a reference, not
   a pitch. Someone checking whether they can play tonight wants the date, not
   an experience. */

@font-face { font-family: 'Cormorant Garant'; font-style: normal; font-weight: 400;
             font-display: swap; src: url('/static/fonts/cormorant-400-lat.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garant'; font-style: normal; font-weight: 600;
             font-display: swap; src: url('/static/fonts/cormorant-600-lat.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 900;
             font-display: swap; src: url('/static/fonts/dm-sans-normal-latin.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 {
  --gold: #c9a227;
  --gold-light: #e8c96c;
  --felt-950: #06060d;
  --felt-900: #0d0d1a;
  --felt-800: #141424;
  --felt-700: #1c1c30;
  --text: #f5f0e8;
  --text-muted: #9a9aad;
  --danger: #e06666;
  --ok: #6cc07a;
  --radius: 10px;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(ellipse at 50% 0%, #141424 0%, #06060d 70%) no-repeat, var(--felt-950);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  /* German compounds ("Wartungsankündigung", "Regierungspräsidium") are longer
     than a narrow card. break-word, not anywhere: anywhere also changes the
     min-content width, which lets a tight flex row chop every label mid-word
     and hides the real layout fault instead of fixing it. */
  overflow-wrap: break-word;
}

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }

header.site {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--felt-700);
}
header.site .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 0.6rem;
}
header.site h1 {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-weight: 600; font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem; line-height: 1.1;
}
header.site p.lede { color: var(--text-muted); margin: 0; max-width: var(--measure); }

main { padding: 2.5rem 0 4rem; }

h2 {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-weight: 600; font-size: 1.75rem;
  margin: 2.75rem 0 1rem; line-height: 1.2;
}
h2:first-child { margin-top: 0; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
p { max-width: var(--measure); }
a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* The answer to "can I play tonight" — the largest thing on the page. */
.next {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201,162,39,0.08), rgba(201,162,39,0.02));
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.next .label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 0.5rem;
}
.next .when {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.25; margin: 0 0 0.35rem;
}
.next .countdown { color: var(--text-muted); margin: 0; }

.none {
  border: 1px dashed var(--felt-600, #26263e);
  border-radius: var(--radius);
  padding: 1.5rem; color: var(--text-muted); margin-bottom: 2rem;
}

.windows { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.window {
  border: 1px solid var(--felt-700);
  border-radius: var(--radius);
  background: var(--felt-900);
  padding: 1.1rem 1.25rem;
}
.window.cancelled { opacity: 0.62; }
.window .when { font-weight: 600; margin: 0 0 0.25rem; }
.window.cancelled .when { text-decoration: line-through; }
.window .meta { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.window .desc { margin: 0.6rem 0 0; font-size: 0.95rem; }

.btn-cal {
  display: inline-block; padding: 0.6rem 1.2rem; border-radius: 6px;
  background: var(--felt-700); color: var(--text); font-weight: 600;
  text-decoration: none; border: 1px solid var(--gold);
}
.btn-cal:hover { background: var(--gold); color: var(--felt-950); }

.sources { color: var(--text-muted); font-size: 0.88rem; margin: 0.6rem 0 0; }
.sources a { color: var(--text-muted); }
.sources a:hover { color: var(--gold-light); }
.sources .src-count { color: var(--ok); font-weight: 600; }

.badge {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px;
  border: 1px solid currentColor; margin-left: 0.5rem; vertical-align: 0.15em;
}
.badge.cancelled { color: var(--danger); }
.badge.postponed { color: var(--gold); }
.badge.confirmed { color: var(--ok); }

.subscribe {
  border: 1px solid var(--felt-700); border-radius: var(--radius);
  background: var(--felt-800); padding: 1.5rem; margin: 2.5rem 0;
}
.subscribe h2 { margin-top: 0; }
.form-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.75rem; }
input[type=email] {
  flex: 1 1 16rem; min-width: 0;   /* flex items default to min-width:auto and
                                      otherwise refuse to shrink below their
                                      content, pushing the button off-canvas */
  padding: 0.7rem 0.9rem; font: inherit;
  background: var(--felt-950); color: var(--text);
  border: 1px solid var(--felt-700); border-radius: 6px;
}
input[type=email]:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
button {
  padding: 0.7rem 1.4rem; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--gold); color: var(--felt-950);
  border: none; border-radius: 6px;
}
button:hover { background: var(--gold-light); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { color: var(--text-muted); font-size: 0.85rem; max-width: var(--measure); }

.notice { border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1rem; margin: 1.5rem 0; }
.notice.error { border-left-color: var(--danger); }

table.facts { border-collapse: collapse; width: 100%; margin: 1rem 0; }
table.facts th, table.facts td {
  text-align: left; padding: 0.55rem 0.75rem 0.55rem 0;
  border-bottom: 1px solid var(--felt-700); vertical-align: top;
}
table.facts th { width: 12rem; color: var(--text-muted); font-weight: 400; }

footer.site {
  border-top: 1px solid var(--felt-700);
  padding: 2rem 0 3rem; color: var(--text-muted); font-size: 0.9rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; }
footer.site p { max-width: var(--measure); }

@media (max-width: 30rem) {
  table.facts th { width: auto; display: block; padding-bottom: 0; border-bottom: none; }
  table.facts td { display: block; padding-top: 0.15rem; }
}
