@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050505;
  --ink: #f1f1e8;
  --acid: #d9f20f;
  --flyer: #ffe100;
  --muted: #8c8c80;
  --line: #2b2b26;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px; --s7: 104px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

.skip { position: absolute; left: var(--s3); top: -48px; background: var(--acid); color: var(--bg); padding: var(--s2) var(--s3); z-index: 10; }
.skip:focus { top: var(--s3); }

.display, .hero-title, .block-title, .lineup-name, .dates-vol, .archive-vol, .btn {
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top { flex-wrap: wrap; }
.top-logo { margin-right: auto; }
.top-logo img { width: clamp(132px, 22vw, 220px); }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.menu a { text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; padding: var(--s1) 0; }
.menu a:hover { color: var(--acid); }
.menu a[aria-current="page"] { color: var(--acid); box-shadow: inset 0 -2px 0 var(--acid); }
.menu-btn { display: none; font: inherit; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; background: none; color: var(--ink); border: 1px solid var(--line); padding: var(--s2) var(--s3); cursor: pointer; }
.menu-btn[aria-expanded="true"] { border-color: var(--acid); color: var(--acid); }
@media (max-width: 860px) {
  /* Ohne JS: Links als Zeile unter dem Logo. Mit JS: aufklappbar. */
  .menu { order: 3; width: 100%; }
  .js .menu-btn { display: block; }
  .js .menu { display: none; flex-direction: column; align-items: stretch; gap: 0; padding-top: var(--s2); }
  .js .menu.is-open { display: flex; }
  .js .menu a { font-size: 20px; padding: var(--s3) 0; border-top: 1px solid var(--line); }
  .js .menu a[aria-current="page"] { box-shadow: none; }
}

.btn {
  display: inline-block;
  padding: var(--s3) var(--s4);
  background: var(--bg); color: var(--flyer);
  border: 2px solid var(--bg);
  text-decoration: none; font-size: 16px; line-height: 1;
}
.btn:hover { background: var(--flyer); color: var(--bg); }
.btn-small { padding: var(--s2) var(--s3); font-size: 14px; background: var(--flyer); color: var(--bg); border-color: var(--flyer); }
.btn-small:hover { background: var(--bg); color: var(--flyer); }

/* Hero: wie das Plakat Vol. 13 */
.hero {
  position: relative; overflow: hidden;
  background: var(--flyer); color: var(--bg);
  padding: var(--s5) var(--gutter) var(--s5);
}
.hero-kicker { margin: 0 0 var(--s3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.hero-title {
  display: block; margin: 0;
  font-size: clamp(52px, 19vw, 240px); line-height: 0.82;
  white-space: nowrap;
}
.hero-info {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4);
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 2px solid var(--bg);
}
.hero-date { margin: 0; display: grid; gap: var(--s1); font-size: 20px; }
.hero-date strong { font-size: clamp(28px, 4vw, 44px); line-height: 1; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.hero-count { margin: 0; font-size: 20px; font-weight: 700; }
.hero-count:empty { display: none; }
.hero :focus-visible { outline-color: var(--bg); }

/* Laufband */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); color: var(--acid); }
/* 8 gleiche Teile, Animation um genau 4 Teile (3440 px) = nahtlos, auch auf breiten Bildschirmen */
.ticker-track { display: flex; width: max-content; animation: ticker 160s linear infinite; will-change: transform; }
.ticker span { padding: var(--s2) 0; white-space: pre; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* Abschnitte */
.block { max-width: var(--max); margin: 0 auto; padding: var(--s7) var(--gutter) 0; }
.block-title { margin: 0 0 var(--s3); font-size: clamp(32px, 6vw, 64px); line-height: 0.95; max-width: 18ch; }
.lead { margin: 0 0 var(--s5); max-width: 62ch; color: var(--muted); font-size: 20px; }
ol { list-style: none; margin: 0; padding: 0; }

/* Line-up */
.lineup li {
  display: grid; grid-template-columns: 1fr; gap: var(--s2);
  padding: var(--s4) 0; border-top: 1px solid var(--line);
}
.lineup li:last-child { border-bottom: 1px solid var(--line); }
.lineup-name { margin: 0; font-size: clamp(44px, 11vw, 128px); line-height: 0.9; }
.lineup-name a { text-decoration: none; }
.lineup-name a:hover { color: var(--acid); }
.lineup-handle { margin: 0; color: var(--acid); font-weight: 600; }
.lineup-text { margin: 0; max-width: 52ch; color: var(--muted); }
@media (min-width: 900px) {
  .lineup li { grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: var(--s5); }
  .lineup-name { grid-row: span 2; }
}

/* Season-Daten */
.dates li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s4); align-items: baseline;
  padding: var(--s4) 0; border-top: 1px solid var(--line);
}
.dates li:last-child { border-bottom: 1px solid var(--line); }
.dates-vol { font-size: clamp(28px, 5vw, 44px); line-height: 1; grid-row: span 2; white-space: nowrap; }
.dates-when { display: flex; flex-wrap: wrap; gap: 0 var(--s3); align-items: baseline; font-size: 20px; }
.dates-when span, .dates-where { color: var(--muted); }
.dates-where a { color: var(--ink); }
.dates-tag { grid-column: 2; justify-self: start; background: var(--acid); color: var(--bg); padding: var(--s1) var(--s2); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.dates .is-next .dates-vol { color: var(--acid); }
.dates .is-next { border-top: 2px solid var(--acid); }
.dates .is-past { opacity: 0.7; }
.dates .dates-tag-past { background: var(--line); color: var(--ink); }
@media (min-width: 900px) {
  .dates li { grid-template-columns: 220px 300px 1fr auto; }
  .dates-vol { grid-row: auto; }
  .dates-tag { grid-column: auto; }
}

/* Archiv */
.archive li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s4);
  padding: var(--s3) 0; border-top: 1px solid var(--line);
}
.archive-vol { font-size: 28px; line-height: 1; grid-row: span 3; color: var(--muted); white-space: nowrap; }
.archive-motto { font-weight: 700; }
.archive-meta, .archive-artists { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .archive li { grid-template-columns: 220px 260px 220px 1fr; align-items: baseline; }
  .archive-vol { grid-row: auto; }
}

/* Infos */
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 0; font-size: 20px; }
.facts a { color: var(--acid); }
@media (min-width: 700px) { .facts div { grid-template-columns: 220px 1fr; align-items: baseline; } }

/* Fusszeile */
.foot { max-width: var(--max); margin: 0 auto; padding: var(--s7) var(--gutter) var(--s5); }
.foot img { width: 100%; opacity: 0.12; }
.foot p { margin: var(--s4) 0 var(--s3); font-size: 20px; font-weight: 700; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s4); font-size: 14px; color: var(--muted); }
.foot nav a { display: inline-block; padding: var(--s2) 0; }
.foot nav a:hover { color: var(--acid); }

/* Unterseite */
.page { max-width: 62ch; margin: 0 auto; padding: var(--s6) var(--gutter); }
.page h1 { font-size: clamp(32px, 6vw, 64px); line-height: 0.95; margin: 0 0 var(--s5); }
.page h2 { font-size: 20px; margin: var(--s5) 0 var(--s2); }
.page p { margin: 0 0 var(--s3); color: #c9c9bf; }
.page a { color: var(--acid); }

/* Season-4-Banner (3 Instagram-Kacheln zusammengesetzt) */
.banner { margin: 0 0 var(--s5); }
.banner img { width: 100%; }
.banner figcaption { margin-top: var(--s2); font-size: 14px; color: var(--muted); }
.banner figcaption a { color: var(--muted); }
.banner figcaption a:hover { color: var(--acid); }

/* Über uns */
.story { display: grid; gap: var(--s5); }
.story-text p { margin: 0 0 var(--s3); max-width: 62ch; font-size: 20px; }
.word { margin: 0; padding: var(--s4); border: 2px solid var(--acid); align-self: start; }
.word .word-term { margin: 0; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(32px, 5vw, 44px); line-height: 1; color: var(--acid); }
.word p { margin: var(--s2) 0 0; }
.word .word-meta { color: var(--muted); font-size: 14px; }
.word .word-example { color: var(--muted); font-style: italic; }
@media (min-width: 900px) { .story { grid-template-columns: 1.4fr 1fr; } }

/* Mitmachen */
.crew-ask { margin: 0 0 var(--s4); font-size: 20px; font-weight: 700; }
.btn-acid { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.btn-acid:hover { background: var(--bg); color: var(--acid); }

/* Partner */
.partners { list-style: none; margin: 0; padding: 0; }
.partners li { display: grid; gap: var(--s2); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.partners li:last-child { border-bottom: 1px solid var(--line); }
.partner-name { margin: 0; font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 5vw, 44px); line-height: 1; }
.partner-name a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--acid); }
.partner-name a:hover { color: var(--acid); }
.partners p { margin: 0; max-width: 62ch; color: var(--muted); }
@media (min-width: 900px) { .partners li { grid-template-columns: 1fr 1.4fr; align-items: baseline; column-gap: var(--s5); } }

/* Seitenkopf der Unterseiten */
.page-head { background: var(--flyer); color: var(--bg); padding: var(--s6) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) var(--s5); }
.page-kicker { margin-top: 0; margin-bottom: var(--s3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.page-title { margin-top: 0; margin-bottom: 0; font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(40px, 9vw, 120px); line-height: 0.88; }
.page-lead { margin-top: var(--s4); margin-bottom: 0; font-size: 20px; font-weight: 600; max-width: 62ch; }
.page-head :focus-visible { outline-color: var(--bg); }
.block-first { padding-top: var(--s6); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* Weiter-Link */
.more { margin: var(--s4) 0 0; }
.more a { color: var(--acid); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.more a::after { content: " →"; }
.more a:hover { text-decoration: underline; }

/* Kacheln auf der Startseite */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.tiles a { display: grid; gap: var(--s2); height: 100%; padding: var(--s4); border: 1px solid var(--line); text-decoration: none; }
.tiles a:hover { border-color: var(--acid); }
.tile-num { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(44px, 7vw, 72px); line-height: 0.9; color: var(--acid); }
.tile-title { font-weight: 800; font-size: 20px; text-transform: uppercase; }
.tile-text { color: var(--muted); }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }


/* Line-up: schon gespielt */
.lineup-before { margin: 0; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Archiv-Zahlen */
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.stats div { border-top: 2px solid var(--acid); padding-top: var(--s3); }
.stats dt { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.stats dd { margin: var(--s1) 0 0; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(44px, 10vw, 120px); line-height: 0.9; }
@media (max-width: 480px) { .stats dt { font-size: 12px; } }

/* Artists und Locations */
.artists, .venues { display: grid; }
.artists li, .venues li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); align-items: baseline; }
.artists li:last-child, .venues li:last-child { border-bottom: 1px solid var(--line); }
.artists-name, .venues-name { font-weight: 800; font-size: 20px; }
.artists-vols, .venues-count { color: var(--muted); }
.artists .is-repeat .artists-name { color: var(--acid); }
@media (min-width: 900px) { .artists { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } .artists li:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

/* Schritte und Zeitleiste */
.steps li { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding: var(--s4) 0; border-top: 1px solid var(--line); font-size: 20px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps-when { font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; color: var(--acid); font-size: 28px; line-height: 1; }
@media (min-width: 760px) { .steps li { grid-template-columns: 220px 1fr; align-items: baseline; } }

/* Aufgaben in der Crew */
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.roles li { padding: var(--s4); border: 1px solid var(--line); }
.role-name { margin: 0 0 var(--s2); font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1; color: var(--acid); }
.roles p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(3, 1fr); } }

.partners p a { color: var(--acid); }
.lead a { color: var(--acid); }

/* Kleine Handys: Logo, Menü und Tickets in einer Zeile */
@media (max-width: 480px) {
  .top { gap: var(--s2); padding-left: var(--s3); padding-right: var(--s3); }
  .top-logo img { width: 112px; }
  .menu-btn, .top .btn-small { padding: var(--s2) 12px; font-size: 13px; }
}

/* Das ist TECHNOBAR: Fotos Vol. 12 */
.crowd { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.crowd img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.crowd-credit { margin: var(--s3) 0 0; font-size: 14px; color: var(--muted); }
.crowd-credit a { color: var(--muted); }
@media (min-width: 760px) { .crowd { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }

/* Kopfzeile im Gelb: erste Party und diese */
.hero-kicker { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }

/* Handy (Luca 11.11.: «Mobile ist sehr wichtig») */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .block { padding-top: var(--s6); }
  .lead { font-size: 18px; margin-bottom: var(--s4); }
  /* Grautext besser lesbar */
  .lineup-text, .roles p, .archive-meta, .archive-artists, .word .word-meta, .crowd-credit, .banner figcaption { font-size: 16px; }
  .stats dt, .facts dt, .lineup-before { font-size: 13px; }
  /* Daten: Datum fett, darunter Wochentag und Ort, Spalten bei allen gleich */
  .dates li, .archive li { grid-template-columns: 7.2em 1fr; }
  .dates-vol { font-size: 26px; }
  .archive-vol { font-size: 24px; }
  .dates-when { flex-direction: column; gap: 2px; font-size: 18px; }
  /* Grössere Tippflächen für Text-Links */
  .more a, .dates-where a, .crowd-credit a, .banner figcaption a, main p a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .foot nav a { display: inline-block; padding: 8px 0; }
}

.film { display: grid; gap: var(--s4); align-items: start; }
.film video { width: 100%; height: auto; max-width: 360px; aspect-ratio: 9 / 16; background: #000; }
@media (min-width: 900px) { .film { grid-template-columns: 360px 1fr; gap: var(--s5); } }


/* Startseite oben: Plakat des nächsten Events (main.js renderPoster, Daten in SEASON) */
.hero { background: var(--poster-bg, var(--flyer)); display: grid; grid-template-columns: 1fr; }
.hero-poster { margin: calc(-1 * var(--s5)) calc(-1 * var(--gutter)) var(--s4); }
.hero-poster img { display: block; width: 100%; height: auto; }
.hero .hero-title { font-size: clamp(48px, 14vw, 150px); margin-top: var(--s1); }
.hero.no-poster .hero-title { font-size: clamp(64px, 19vw, 240px); }
.hero-info { margin-top: var(--s4); }
@media (min-width: 900px) {
  .hero { grid-template-columns: auto 1fr; column-gap: var(--s6); align-items: end; padding-top: var(--s5); }
  .hero-poster { grid-row: 1 / span 3; margin: 0; }
  .hero { grid-template-columns: min(40vw, 540px) 1fr; }
  .hero .hero-title { font-size: clamp(48px, 8.5vw, 150px); }
  .hero-poster img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; object-position: left bottom; }
  .hero.no-poster { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .hero-kicker { font-size: 12px; gap: 2px var(--s3); } }
.hero-poster { order: -1; }
@media (min-width: 900px) {
  .hero-poster { order: 0; grid-column: 1; }
  .hero > :not(.hero-poster) { grid-column: 2; }
  .hero.no-poster > * { grid-column: 1; }
}

/* Farben vom Plakat (posterBg/posterInk in SEASON). Vol. 13: dunkel mit Plakat-Gelb */
.hero { --poster-bg: #0c0c09; --poster-ink: #ecea8c; background: var(--poster-bg); color: var(--poster-ink); }
.hero .hero-info { border-top-color: var(--poster-ink); }
.hero .btn { background: var(--poster-ink); color: var(--poster-bg); border-color: var(--poster-ink); }
.hero .btn:hover { background: transparent; color: var(--poster-ink); }
.hero :focus-visible { outline-color: var(--poster-ink); }
.hero-poster picture { display: block; }

/* Clips und Fotos gemischt, alles 4:5 (Luca 11.11.: «Format anpassen und mit den Fotos mixen») */
.mix { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.mix .tile { position: relative; margin: 0; overflow: hidden; background: #1a1a17; }
.mix img, .mix video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mix video { cursor: pointer; }
.tile-label { position: absolute; left: var(--s2); bottom: var(--s2); padding: 2px 6px; background: rgba(5, 5, 5, 0.7); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; pointer-events: none; }
@media (min-width: 760px) { .mix { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }

/* Ton-Anzeige auf den Clips */
.tile-sound { position: absolute; right: var(--s2); top: var(--s2); padding: 2px 6px; background: rgba(5, 5, 5, 0.7); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; pointer-events: none; }
.tile-sound.is-on { background: var(--flyer); color: var(--bg); }
.mix video:focus-visible { outline: 3px solid var(--flyer); outline-offset: -3px; }
@media (max-width: 899px) { .film video { margin: 0 auto; display: block; } }

/* Archiv als Flyer-Wand (Luca 11.11.: «Flyer im Archiv integrieren») */
.nights { list-style: none; margin: 0; padding: 0; display: grid; align-items: start; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s3); }
.nights li.night { display: flex; flex-direction: column; gap: var(--s2); padding: 0; border: 0; grid-template-columns: none; }
.nights li.night:last-child { border: 0; }
.night-flyer { display: block; overflow: hidden; }
.night-flyer img { display: block; width: 100%; height: auto; transition: transform 0.2s ease; }
.night-flyer:hover img { transform: scale(1.02); }
.night-text { display: grid; gap: 2px; }
.night .archive-vol { font-size: 22px; color: var(--ink); }
.night .archive-motto { font-size: 16px; }
.night .archive-meta, .night .archive-artists { font-size: 14px; }
.night-by { font-size: 12px; color: var(--muted); }
@media (min-width: 760px) { .nights { grid-template-columns: repeat(3, 1fr); gap: var(--s5) var(--s4); } }
@media (min-width: 1100px) { .nights { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .nights .archive-meta, .nights .archive-artists { font-size: 14px; } }

/* Überschriften: Wortgruppen bleiben zusammen (Luca 11.11.: «Season 4: / vier Raves bis Ostern») */
.ph { display: inline-block; }
@media (max-width: 600px) {
  .page-title, .page-head .display { font-size: 36px; }
  .block-title { font-size: 30px; }
}

/* Mitmachen: Crew-Foto */
.crew-photo { max-width: var(--max); margin: var(--s6) auto 0; padding: 0 var(--gutter); }
.crew-photo img { display: block; width: 100%; height: auto; }
.crew-photo figcaption { margin-top: var(--s2); font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .crew-photo { padding: 0; margin-top: 0; } .crew-photo figcaption { padding: 0 var(--gutter); } }

/* Archiv: Flyer gross */
.flyer-box { padding: 0; border: 0; background: transparent; max-width: min(94vw, 720px); max-height: 94vh; overflow: visible; }
.flyer-box::backdrop { background: rgba(5, 5, 5, 0.9); }
.flyer-box img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; margin: 0 auto; }
.flyer-close { display: block; margin: 0 0 var(--s2) auto; background: var(--flyer); color: var(--bg); border: 0; padding: var(--s2) var(--s3); font: inherit; font-weight: 700; text-transform: uppercase; font-size: 13px; cursor: pointer; }

/* Galerie: Film-Bereich zentriert (Luca 11.11.) */
#film .block-title { text-align: center; margin-left: auto; margin-right: auto; }
#film .film { justify-content: center; align-items: center; }
#film .film-text { text-align: center; }
#film .film-text .lead { margin-left: auto; margin-right: auto; max-width: 34ch; }
@media (min-width: 900px) {
  #film .film { grid-template-columns: 360px minmax(0, 420px); }
  #film .film-text { text-align: left; }
  #film .film-text .lead { margin-left: 0; }
}

/* ===== Alles mittig (Luca 11.11.: «alles mehr einmitten, mobile sowie desktop») ===== */
.page-head { text-align: center; }
.page-head .page-lead, .page-head .page-title { margin-left: auto; margin-right: auto; }
.block-title, .lead, .more, .crowd-credit, .early-title { text-align: center; margin-left: auto; margin-right: auto; }
.block > .lead { max-width: 46ch; }
.cta { text-align: center; }
/* Line-up: ein Block pro Artist, mittig */
.lineup li { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.lineup-name { grid-row: auto !important; }
.lineup-text { margin-left: auto; margin-right: auto; }
/* Kacheln, Aufgaben, Zahlen, Schritte, Fakten, Partner */
.tiles a, .roles li, .stats div, .steps li, .facts div, .partners li { text-align: center; justify-items: center; }
.steps li, .facts div, .partners li { grid-template-columns: 1fr !important; }
.partners p, .story-text p { margin-left: auto; margin-right: auto; }
.story { justify-items: center; }
.word { text-align: center; max-width: 560px; justify-self: center; }
/* Archiv-Listen bleiben zweispaltig, aber als Block mittig und nicht zu breit */
.artists, .venues, .dates, .archive:not(.nights) { max-width: 820px; margin-left: auto; margin-right: auto; }
.night-text { text-align: center; justify-items: center; }
/* Fotos, Bildunterschriften, Fusszeile */
.crew-photo figcaption, .banner figcaption { text-align: center; }
.foot { text-align: center; }
.foot nav { justify-content: center; }
/* Startseite oben: auf dem Handy alles mittig */
@media (max-width: 899px) {
  .hero { text-align: center; justify-items: center; }
  .hero-kicker { justify-content: center; }
  .hero-info { flex-direction: column; align-items: center; justify-content: center; width: 100%; text-align: center; }
  .hero-date { justify-items: center; }
}

/* Über uns: Fotos */
@media (min-width: 760px) { .mix-4 { grid-template-columns: repeat(4, 1fr); } }
.partner-photo { margin: 0 auto var(--s3); max-width: 560px; }
.partner-photo img { display: block; width: 100%; height: auto; }
.partner-photo-tall img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 70%; }

/* Jeder Satz auf eine eigene Zeile (Luca 11.11.), nur in kurzen Texten */
.s { display: block; }

/* Über uns: grosses Foto unter der Geschichte, darunter 3er-Reihe */
.feature-photo { margin: 0 auto var(--s4); max-width: 640px; }
.feature-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.feature-photo figcaption { margin-top: var(--s2); font-size: 14px; color: var(--muted); text-align: center; }
.mix-3 { grid-template-columns: repeat(3, 1fr); }
.crew-photo figcaption a { color: var(--acid); }
.block + .crew-photo { margin-top: var(--s6); }

/* Über uns: Gründungsteam gross, direkt darunter das Team */
.feature-photo { max-width: 520px; }
.team-photo { margin: var(--s5) auto 0; max-width: 1120px; }
.team-photo img { display: block; width: 100%; height: auto; }
.team-photo figcaption { margin-top: var(--s2); font-size: 14px; color: var(--muted); text-align: center; }
.team-photo figcaption a { color: var(--acid); }

/* Über uns: Zeitleiste mit Datum */
.steps-date { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Archiv-Flyer (Luca 11.11.: «nicht alles eingemittet», «mobile 3 nebeneinander»): alle Flyer gleich hoch (4:5, ganz sichtbar, mittig), Texte darunter auf gleicher Höhe */
.nights li.night { align-items: center; text-align: center; }
.night-flyer { width: 100%; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.night-flyer picture { display: contents; }
.night-flyer img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.night-text { width: 100%; }
@media (max-width: 759px) {
  .nights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) 10px; }
  .nights li.night { gap: 6px; }
  .night .archive-vol { font-size: 15px; }
  .night .archive-motto { font-size: 12px; line-height: 1.25; }
  .nights .archive-meta, .nights .archive-artists { font-size: 11px; line-height: 1.3; }
  .night-by { font-size: 10px; }
}

/* Line-up kompakt (Luca 11.11.: «die drei in einem Frame ersichtlich»): alle drei Artists auf einen Blick */
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lineup li, .lineup li:last-child { border: 0; padding: var(--s4) var(--s3); gap: var(--s1); align-content: start; }
.lineup li + li, .lineup li + li:last-child { border-left: 1px solid var(--line); }
.lineup-name { font-size: clamp(30px, 3.6vw, 60px); overflow-wrap: anywhere; } /* lange Namen (LINCHEN) passen in die Spalte */
.lineup-handle { margin-top: var(--s1); }
.lineup-text { font-size: 17px; margin-top: var(--s2); }
.lineup-before { margin-top: var(--s2); text-wrap: balance; }
@media (max-width: 759px) {
  .lineup { grid-template-columns: 1fr; }
  .lineup li, .lineup li:last-child { padding: 14px 0; gap: 2px; }
  .lineup li + li, .lineup li + li:last-child { border-left: 0; border-top: 1px solid var(--line); }
  .lineup-name { font-size: 34px; }
  .lineup-handle { font-size: 15px; margin-top: 2px; }
  .lineup-text { display: none; } /* Handy: Beschreibung weg, damit alle drei in einen Bildschirm passen */
  .lineup-before { font-size: 11px; margin-top: 4px; }
  #lineup .lead { margin-bottom: var(--s3); }
}

/* ===== Spiel «Technobär springt» (spiel.html, spiel.js) ===== */
.game-wrap { display: flex; justify-content: center; padding: var(--s3) var(--gutter) var(--s5); }
.game {
  position: relative; width: min(100%, 480px);
  height: clamp(460px, calc(100svh - 72px - 32px), 780px);
  border: 1px solid var(--line); overflow: hidden; background: #050505;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.game canvas { display: block; width: 100%; height: 100%; outline: none; }
.game-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s2); padding: var(--s4) var(--s3); text-align: center;
  background: rgba(5, 5, 5, 0.82); overflow-y: auto;
}
.game-screen[hidden] { display: none; }
.game-bear { width: auto; height: clamp(150px, 30svh, 260px); margin-bottom: var(--s1); filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--acid) 22%, transparent)); }
.game-kicker { margin: 0; color: var(--acid); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; }
.game-title { margin: 0; font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(30px, 9vw, 44px); line-height: 0.95; }
.game-text { margin: var(--s1) 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.game-text .s { display: block; }
.game-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-top: var(--s3); }
.game-btns .btn { cursor: pointer; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost:disabled { opacity: 0.5; cursor: default; }
.game-small { margin: var(--s2) 0 0; font-size: 14px; color: var(--muted); }
.game-small strong { color: var(--ink); }
.game-link { background: none; border: 0; padding: 4px 2px; color: var(--acid); font: inherit; text-decoration: underline; cursor: pointer; }
.game-score { margin: 0; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(64px, 20vw, 112px); line-height: 1; color: var(--ink); }
.game-newbest { margin: 0; color: var(--flyer); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.game-icon {
  position: absolute; top: 10px; right: 10px; z-index: 2; display: none;
  width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(5, 5, 5, 0.6);
  color: var(--ink); font: 800 15px/1 "Archivo", sans-serif; cursor: pointer;
}
.game.is-playing .game-icon { display: block; }
@media (pointer: coarse) { .game-keys { display: none; } }
@media (max-width: 600px) {
  .game-page .game-wrap { padding: 0 0 var(--s4); }
  .game { width: 100%; border-left: 0; border-right: 0; height: calc(100svh - 72px); min-height: 460px; }
}

/* Mitmachen «Bock?»: zwei Wege mit vorbereitetem WhatsApp-Text (Helfer / DJ) */
.ask { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: var(--s3); max-width: 820px; }
.ask li { display: grid; justify-items: center; gap: var(--s2); padding: var(--s4) var(--s3); border: 1px solid var(--line); text-align: center; }
.ask .role-name { margin: 0; }
.ask p { margin: 0 0 var(--s2); color: var(--muted); }
.ask .s { display: block; }
@media (min-width: 760px) { .ask { grid-template-columns: 1fr 1fr; } }
/* Spiel: Figurenwahl und Ticket-Hinweis nach dem Absturz */
.game-picker { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s2); }
.game-char {
  display: grid; justify-items: center; gap: 4px; min-width: 104px; padding: var(--s2) var(--s3);
  background: transparent; border: 2px solid var(--line); color: var(--muted);
  font: 700 13px/1.1 "Archivo", sans-serif; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer;
}
.game-char img { height: 56px; width: auto; }
.game-char[aria-pressed="true"] { border-color: var(--acid); color: var(--ink); }
.game-bear-small { height: clamp(80px, 13svh, 120px); margin-bottom: 0; }
.game-screen[data-screen="over"] { justify-content: flex-start; padding-top: var(--s4); gap: 6px; }
.game-screen[data-screen="over"] .game-score { font-size: clamp(56px, 16vw, 96px); }
.game-prize { margin-top: var(--s2); padding: var(--s3); border: 2px solid var(--flyer); max-width: 340px; }
.game-prize p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.game-prize .s { display: block; }
.game-prize-title { font-style: italic; font-weight: 900 !important; font-stretch: 125%; text-transform: uppercase; color: var(--flyer) !important; font-size: 20px !important; margin-bottom: 6px !important; }
.game-deadline { margin-top: 6px !important; color: var(--muted) !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.04em; }
.game-deadline:empty { display: none; }
/* Spiel-Screens: mittig, aber bei wenig Höhe von oben scrollbar statt oben abgeschnitten */
.game-screen, .game-screen[data-screen="over"] { justify-content: flex-start; }
.game-screen > :first-child { margin-top: auto; }
.game-screen > :last-child { margin-bottom: auto; }
.game-screen[data-screen="start"] .game-bear { height: clamp(110px, 22svh, 240px); }
@media (max-height: 720px) {
  .game-bear-small { display: none; }
  .game-prize { padding: 10px 12px; }
  .game-prize p { font-size: 14px; }
}
.game-icon { width: auto; height: 44px; padding: 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; touch-action: manipulation; }
.game-char { min-width: 0; flex: 1 1 0; max-width: 120px; padding: var(--s2) 6px; font-size: 12px; }
.game-picker { width: 100%; max-width: 380px; }
.game-screen[data-screen="over"] { background: rgba(5, 5, 5, 0.92); }

/* Spiel auf dem Handy (20.11.): Vollbild beim Spielen, Start-/Ende-Screens wieder scrollbar */
.game-screen { touch-action: pan-y; overscroll-behavior: contain; }
.game.is-full {
  position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; min-height: 0;
  border: 0; max-width: none;
}
html.game-full, html.game-full body { overflow: hidden; overscroll-behavior: none; }
.game.is-full .game-icon { top: max(10px, env(safe-area-inset-top)); }

/* WhatsApp-Knopf unten rechts (main.js initChat). Im Spiel-Vollbild ausgeblendet */
.chat-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px 0 14px; border-radius: 28px;
  background: #25d366; color: #05140a; text-decoration: none; font: 800 15px/1 "Archivo", sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); transition: transform 0.15s ease;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
html.game-full .chat-fab, body:has(.game-page) .chat-fab { display: none; }
@media (prefers-reduced-motion: reduce) { .chat-fab { transition: none; } }
