/* PRINTHOUSE Webseite, Design Konzept C „Zeitung“: Schwarz, Weiß und ein Blau.
   Kopf wie eine Titelseite, dicke und dünne Linien wie im Zeitungssatz, Events als Zeilen. Keine Schatten, keine Rundungen. */

/* Hausschrift The Future (Klim Type Foundry, Webfont Lizenz liegt vor), Jost nur als Ersatz */
@font-face { font-family: "The Future"; src: url("/site/fonts/the-future-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "The Future"; src: url("/site/fonts/the-future-500.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/website/fonts/jost.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ink: #000;
  --paper: #fff;
  --blue: #0011de;
  --blue-hover: #000c9e;
  --muted: #555;
  --font: "The Future", "Jost", "Futura", "Century Gothic", sans-serif;
  --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gutter: 48px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
p { margin: 0; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.label { font-size: 11px; line-height: 1.6; letter-spacing: 0.14em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
@media (max-width: 899px) { .hide-s { display: none; } }

/* Knöpfe */
.btn-blue, .btn-line {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 18px;
  transition: background-color 150ms, color 150ms;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-line { border: 1px solid currentColor; justify-content: center; }
.is-sold { cursor: default; opacity: 0.7; }

/* Titelkopf */
.mast-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
.mast-logo { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0 16px; }
.mast-logo img { width: 100%; height: auto; }
.mast-nav { display: flex; gap: 12px 40px; align-items: center; flex-wrap: wrap; padding: 14px 0; border-bottom: 3px solid var(--ink); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.mast-nav a:not(.btn-blue) { text-decoration: none; }
.mast-nav a[aria-current="page"]:not(.btn-blue) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.mast-tickets { margin-left: auto; padding: 11px 22px; }
/* Am Handy ohne Tickets Knopf im Kopf: „Events“ führt auf dieselbe Seite, dort hat jedes Event seinen eigenen Knopf. */
@media (max-width: 599px) { .mast-nav { gap: 10px 18px; font-size: 12px; justify-content: space-between; } .mast-tickets { display: none; } }

/* Titelseite: Aufmacher links, Spalte rechts */
.front { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; padding-top: 40px; }
.lead { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kicker { display: flex; gap: 12px; align-items: center; }
.sq { width: 10px; height: 10px; background: var(--blue); display: inline-block; }
.lead-title { margin: 0; font-weight: 500; font-size: clamp(44px, 6.4vw, 96px); line-height: 0.92; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.lead-sub { display: block; font-size: 0.42em; line-height: 1.1; margin-top: 0.3em; }
.lead-when { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
.lead-lineup { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4; list-style: none; margin: 0; padding: 0; }
.lead-lineup.floors li + li { margin-top: 4px; }
.floor { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: block; }
.lead-fig { margin: 8px 0 0; }
.lead-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-fig figcaption { margin-top: 10px; font-size: 12px; line-height: 1.5; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }

.side { border-left: 1px solid var(--ink); padding-left: 40px; display: flex; flex-direction: column; gap: 24px; font-size: 15px; }
.ticketbox { background: var(--ink); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 16px; align-self: start; }
.ticketbox-date { font-size: 28px; font-weight: 500; line-height: 1.1; text-transform: uppercase; }
.ticketbox-text { font-size: 15px; }
.ticketbox-sale { opacity: 0.85; }
.ticketbox .btn-blue { overflow-wrap: anywhere; }
.ticketbox-note { font-size: 14px; color: #bbb; }
.ticketbox-note a { color: #fff; }
.ticketbox-note a:hover { color: #fff; text-decoration-thickness: 2px; }
.also-head { border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.also-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink); text-decoration: none; }
.also-row > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.also-no { font-size: 22px; font-weight: 500; }
.also-lineup { font-size: 15px; line-height: 1.35; }
.also-more { display: inline-block; margin-top: 12px; }
.drop::first-letter { float: left; font-size: 58px; line-height: 0.85; font-weight: 500; margin: 4px 8px 0 0; }

/* Druckliste: alle Events auf Schwarz */
.queue { background: var(--ink); color: #fff; margin-top: 72px; }
.queue .wrap { padding-top: 56px; padding-bottom: 64px; }
.queue-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 3px solid #fff; padding-bottom: 12px; }
.queue-head h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 4vw, 44px); text-transform: uppercase; line-height: 1; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 150px 170px minmax(0, 1fr) 100px 190px; gap: 24px; align-items: center; padding: 24px 12px; border-bottom: 1px solid #fff; transition: background-color 200ms; }
.row:hover, .row:focus-within { background: var(--blue); }
.row-no { font-size: 56px; font-weight: 500; line-height: 0.9; }
.row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-lineup { font-size: 20px; line-height: 1.3; list-style: none; margin: 0; padding: 0; overflow-wrap: anywhere; }
.row-lineup .floor { margin-top: 6px; }
.row-when-s { display: none; }
.row-buy { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
.row-sale.sold { border: 1px solid #fff; padding: 6px 10px; }
.row .btn-line:hover { background: #fff; color: var(--blue); }
.queue a:hover { color: inherit; }
.queue-note { margin-top: 24px; font-size: 15px; max-width: 60ch; }
.empty { padding: 28px 0; font-size: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: transparent; color: #fff; border: 1px solid #fff; border-radius: 0; padding: 7px 12px; cursor: pointer; transition: background-color 150ms, color 150ms; }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (max-width: 899px) {
  .row { grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; padding: 20px 0; align-items: start; }
  .row-no { font-size: 36px; grid-row: 1 / 3; }
  .row-when, .row-genre { display: none; }
  .row-when-s { display: block; margin-top: 6px; }
  .row-buy { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
}

/* Abschnitte mit Linie oben wie im Zeitungssatz */
.rule-head { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0; display: flex; justify-content: space-between; gap: 16px; }
.big-head { margin: 28px 0 0; font-weight: 500; font-size: clamp(38px, 5vw, 64px); line-height: 0.95; text-transform: uppercase; max-width: 18ch; text-wrap: balance; }
.hall { padding-top: 72px; }
.page-head { padding-top: 40px; }
.page-head .lead-when { margin-top: 24px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 32px; font-size: 16px; line-height: 1.6; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.article { padding-top: 32px; }
.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: 40px; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos .ph-big { aspect-ratio: 4 / 3; }
/* Fotos von Abenden: schwarzweiß wie alle Fotos, mit der Maus darüber in Farbe. */
img.farbig { filter: grayscale(1) contrast(1.15); transition: filter 150ms; }
@media (hover: hover) { img.farbig:hover { filter: none; } }
/* Am Handy färbt site.js das Foto, das gerade in der Mitte des Bildschirms steht. */
img.farbig.in-farbe { filter: none; }
.lead-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
/* Play Knopf über dem Standbild, nur wenn das Video nicht von selbst läuft: blauer Block mit Dreieck, beim Laden blinkt das Dreieck */
.lead-media { position: relative; }
.lead-media[data-state="playing"] .lead-video { cursor: pointer; }
.lead-play {
  position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  border: 0; border-radius: 0; cursor: pointer; background: var(--blue); color: #fff; font-family: inherit;
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 18px;
}
.lead-play:hover { background: var(--blue-hover); }
.lead-play:focus-visible { outline-color: #fff; outline-offset: -4px; }
.lead-play-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.lead-media[data-state="loading"] .lead-play { cursor: progress; }
.lead-media[data-state="loading"] .lead-play-icon { animation: lead-blink 900ms steps(2, jump-none) infinite; }
@keyframes lead-blink { to { opacity: 0.25; } }
.lead-fig img.square { object-position: center 55%; }
.lead-fig img.floor-wide { object-position: center 70%; }
.floors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.floors img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lead-fig img.hero { aspect-ratio: 16 / 7; object-position: center 60%; }
.nights-fig { margin: 0; }
.nights-fig figcaption, .lead-fig figcaption a { font-size: 12px; }
.nights-fig figcaption { margin-top: 10px; }
.news { padding-top: 72px; }
.news h2 { margin: 0; font-weight: 400; }
.news-body { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding: 24px 0 28px; border-bottom: 1px solid var(--ink); }
.news-text { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; max-width: 30ch; }
.news-form { display: grid; gap: 10px; flex: 1 1 380px; max-width: 560px; }
.news-row { display: flex; gap: 0; }
.news-row input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid var(--ink); border-right: 0; border-radius: 0; background: var(--paper); color: var(--ink); }
.news-row input:focus-visible { outline-offset: -3px; }
.news-row .btn-blue { flex: none; border: 0; cursor: pointer; font-family: inherit; }
.news-note { font-size: 14px; line-height: 1.45; }
.news-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-status { font-size: 15px; min-height: 1.4em; }
.news-status.is-error { color: #b00005; }
.know { padding-top: 72px; }
.know h2 { margin: 0; font-weight: 400; }
.know-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid var(--ink); font-size: 15px; }
.know-grid > div { padding: 20px 24px 24px; border-left: 1px solid var(--ink); }
.know-grid > div:first-child { padding-left: 0; border-left: 0; }
.know-grid dt { margin: 0 0 8px; }
.know-grid dd { margin: 0; }
.lead-fig img.night { object-position: center 62%; }
.nights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.nights img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; padding-top: 32px; align-items: start; }

/* Besuch, Vermietung, Jobs */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 72px 0; font-size: 14px; }
.visit > div { padding: 24px 24px 28px; border-left: 1px solid var(--ink); }
.visit > div:first-child { padding-left: 0; border-left: 0; }
.visit-big { margin: 12px 0 10px; font-size: 22px; line-height: 1.3; }

/* Impressum */
.legal dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin: 32px 0 72px; border-top: 1px solid var(--ink); }
.legal dt, .legal dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.legal dt { padding-top: 18px; }
.legal dd { font-size: 18px; }
.prose { max-width: 760px; margin: 32px 0 72px; font-size: 16px; line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.prose code { font-size: 0.9em; }
.legal-lead { font-size: 20px; line-height: 1.45; }
.legal-h { font-size: 22px; font-weight: 500; margin: 36px 0 10px; padding-top: 12px; border-top: 1px solid var(--ink); }
.legal-stand { margin-top: 32px; color: var(--muted); }

/* Fuß */
.foot { background: var(--ink); color: #fff; }
.foot .wrap { padding-top: 48px; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 28px; }
.foot img { width: 100%; height: auto; }
.foot-line { border-top: 1px solid #fff; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.foot a:hover { color: #fff; text-decoration-thickness: 2px; }
.foot-social { display: inline-flex; align-items: center; gap: 8px; }
.foot-icon { flex: none; }
.foot-note { font-size: 13px; color: #bbb; }

@media (max-width: 899px) {
  .front, .split { grid-template-columns: minmax(0, 1fr); }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); padding-top: 24px; }
  .cols, .cols-2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos .ph-big { grid-column: 1 / -1; }
  .photos img:not(.ph-big) { aspect-ratio: 4 / 3; }
  .nights { grid-template-columns: 1fr 1fr; gap: 12px; }
  .floors { grid-template-columns: 1fr 1fr; gap: 12px; }
  .know, .news { padding-top: 48px; }
  .know-grid { grid-template-columns: 1fr 1fr; }
  .know-grid > div { padding: 16px 16px 20px 0; border-left: 0; }
  .know-grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ink); }
  .know-grid > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .know-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lead-fig img.hero { aspect-ratio: 4 / 3; }
  .floors img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .visit { grid-template-columns: minmax(0, 1fr); margin: 48px 0; }
  .visit > div { padding: 20px 0; border-left: 0; }
  .visit > div + div { border-top: 1px solid var(--ink); }
  .legal dl { grid-template-columns: minmax(0, 1fr); }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
  .queue { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Gästeseite (persönlicher Gästelink): Kopf ohne Navigation, Text links, Ticketkasten rechts */
.mast-logo-end { border-bottom: 3px solid var(--ink); padding-bottom: 20px; }
.guest { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 900px) { .guest { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } }
.guest .big-head { margin-top: 20px; max-width: none; overflow-wrap: anywhere; }
.guest-text { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4; max-width: 38ch; margin: 20px 0 0; }
.p-guest { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.p-guest main { flex: 1; }
.p-guest > * { width: 100%; }
.guest-btn { width: 100%; border: 0; font-family: inherit; cursor: pointer; min-height: 52px; }
.guest-note { font-size: 14px; line-height: 1.5; margin: 0; opacity: 0.85; }
.guest-note a { color: #fff; }
.guest-code { font-weight: 500; letter-spacing: 0.12em; }
.guest-stamp { align-self: start; border: 2px solid #fff; padding: 4px 10px; margin: 0; }
