/*
 * Faisal Kawusi – "Alman mit Migrationshintergrund". Minimal: black, white
 * type and the poster's town-sign yellow as the only colour.
 */
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/sofia-sans-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;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/sofia-sans-latin-ext.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: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/sofia-sans-condensed-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;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/sofia-sans-condensed-latin-ext.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;
}

:root {
  --yellow: #ffd200;
  --black: #0b0b0b;
  --ink: #111111;
  --paper: #f4f2ec;
  --paper-80: rgba(244, 242, 236, 0.8);
  --paper-70: rgba(244, 242, 236, 0.7);
  --paper-45: rgba(244, 242, 236, 0.45);
  --sign: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: "Sofia Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2 {
  margin: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Layout: one column on phones, a calm 560 px column on tablets, two columns
   with a sticky poster on wide screens. */
.layout {
  margin: 0 auto;
  max-width: 560px;
}
.poster img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.content {
  padding: 20px 16px calc(56px + env(safe-area-inset-bottom));
}
@media (min-width: 600px) {
  .layout {
    padding-top: 32px;
  }
  .poster img {
    border-radius: 6px;
  }
  .content {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 1024px) {
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    max-width: 1200px;
    padding: 56px 40px;
  }
  .poster {
    position: sticky;
    top: 40px;
    align-self: start;
  }
  .content {
    padding: 8px 0 0;
  }
}
@media (min-width: 1280px) {
  .layout {
    gap: 96px;
  }
}

/* Date: a small town sign, time, venue and the ticket button. */
.plate {
  display: inline-flex;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  padding: 3px;
  font-family: var(--sign);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.plate > span {
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 0.3em 0.75em 0.25em;
}
.when {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.venue {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--paper-70);
}
.ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
  height: 60px;
  margin-top: 20px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
}
.ticket-label {
  font-family: var(--sign);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ticket-price {
  font-size: 18px;
  font-weight: 700;
}
.ticket:focus-visible,
.bar button:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}
.ticket[aria-busy="true"],
.bar button[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
@media (hover: hover) {
  .ticket:hover {
    filter: brightness(1.06);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ticket {
    transition:
      transform 160ms ease-out,
      filter 160ms ease-out;
  }
  .ticket:active {
    transform: scale(0.985);
  }
}

/* Text */
.about {
  margin-top: 56px;
}
.headline {
  font-family: var(--sign);
  font-weight: 800;
  font-size: clamp(34px, 10vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
}
.lead {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}
.body {
  margin-top: 24px;
  color: var(--paper-80);
  line-height: 1.65;
}
.body p + p {
  margin-top: 20px;
}
.quote {
  margin-top: 40px;
  padding-left: 20px;
  border-left: 3px solid var(--yellow);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}
.finale {
  margin-top: 64px;
}
.once {
  font-size: clamp(30px, 8.6vw, 48px);
  line-height: 0.98;
}
.accent {
  color: var(--yellow);
}
.finale .date {
  margin-top: 32px;
}
.map {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--paper-70);
  text-decoration: none;
  text-underline-offset: 4px;
}
.map:hover {
  color: var(--paper);
  text-decoration: underline;
}
.map svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
footer {
  margin-top: 56px;
  font-size: 13px;
  color: var(--paper-45);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--paper);
  text-decoration: underline;
}
@media (min-width: 1024px) {
  .plate {
    font-size: 26px;
  }
  .when {
    font-size: 19px;
  }
  .venue {
    font-size: 17px;
  }
  .about {
    margin-top: 80px;
  }
  .lead,
  .quote {
    font-size: 26px;
  }
  .body {
    font-size: 19px;
  }
  .finale {
    margin-top: 96px;
  }
}

/* Phones: the date stays one tap away while neither ticket block is visible. */
.bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.bar[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.bar button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 8px 8px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.bar-text {
  flex: 1;
  min-width: 0;
}
.bar-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.bar-meta {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.75;
}
.bar-pill {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--sign);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
  .bar {
    transition:
      opacity 200ms ease-out,
      transform 200ms ease-out;
  }
}
@media (min-width: 768px) {
  .bar {
    display: none;
  }
}
