/* LOOKING? Barcelona – schwarz/weiß, eckig, eine Schriftfamilie in zwei Breiten. */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --dim: #6f6f6f;
  --line: #000000;
  --soft: #e4e4e4;
  --breit: "Archivo", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --fg: #ffffff;
    --dim: #8f8f8f;
    --line: #ffffff;
    --soft: #262626;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --fg: #ffffff;
  --dim: #8f8f8f;
  --line: #ffffff;
  --soft: #262626;
}

* { box-sizing: border-box; border-radius: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.45 var(--breit);
  font-variation-settings: "wdth" 100;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, select:focus-visible, label:focus-within { outline: 2px solid var(--fg); outline-offset: 2px; }
main { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--bg); border-bottom: 2px solid var(--line);
}
.logo {
  display: flex; align-items: center; padding: 10px 16px;
  text-decoration: none; font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em;
  font-variation-settings: "wdth" 62;
}
.logo b { font-weight: 900; }
.logo small { font-weight: 400; color: var(--dim); margin-left: 6px; font-variation-settings: "wdth" 100; font-size: .85rem; }
.kopf nav { display: flex; }
.kopf nav a {
  display: flex; align-items: center; padding: 0 14px;
  text-decoration: none; font-weight: 600; border-left: 1px solid var(--soft);
}
.kopf nav a.an { background: var(--fg); color: var(--bg); }

/* Wochentage: sieben gleiche Zellen, der gewählte invertiert */
.tage { display: grid; grid-template-columns: repeat(7, 1fr); border: 2px solid var(--line); border-top: 0; margin: 0 -16px; }
.tage a {
  padding: 10px 0; text-align: center; text-decoration: none; font-weight: 700;
  border-right: 1px solid var(--soft);
}
.tage a:last-child { border-right: 0; }
.tage a.an { background: var(--fg); color: var(--bg); }

/* Der eine große Moment: der Tag */
.tag-titel {
  margin: 28px 0 4px;
  font-weight: 900; font-variation-settings: "wdth" 62;
  font-size: clamp(4rem, 19vw, 9.5rem); line-height: .82; letter-spacing: -.02em;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.tag-datum { margin: 0 0 32px; color: var(--dim); font-size: 1.05rem; }

h1 {
  margin: 28px 0 16px; font-weight: 900; font-variation-settings: "wdth" 62;
  font-size: clamp(3rem, 12vw, 5.5rem); line-height: .85; letter-spacing: -.02em; text-transform: uppercase;
}
h2 {
  margin: 40px 0 0; padding-bottom: 6px; border-bottom: 2px solid var(--line);
  font-size: 1.1rem; font-weight: 800;
}
h3 { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.2; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }

/* Listenzeilen statt Karten */
.zeile { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0 14px; padding: 14px 0; border-bottom: 1px solid var(--soft); }
.zeile.ohne-zeit { grid-template-columns: 1fr; }
.zeit {
  font-weight: 800; font-variation-settings: "wdth" 75; font-size: 1.35rem; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.zeit small { display: block; font-weight: 400; font-size: .8rem; color: var(--dim); font-variation-settings: "wdth" 100; }
.ort { margin: 2px 0 0; color: var(--dim); }
.ort a { color: var(--fg); }
.leer { padding: 16px 0; color: var(--dim); }
.ticket {
  display: inline-block; margin-top: 8px; padding: 4px 10px;
  border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .85rem;
}
.ticket:hover { background: var(--fg); color: var(--bg); }

/* Einschätzungen als Quadrat-Skala */
.werte { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .85rem; }
.werte li { display: flex; align-items: center; gap: 6px; }
.skala { display: inline-flex; gap: 2px; }
.skala i { width: 9px; height: 9px; border: 1px solid var(--fg); }
.skala i.voll { background: var(--fg); }

.tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; }
.tag { padding: 1px 7px; font-size: .78rem; text-decoration: none; border: 1px solid var(--fg); }
.tag.vibe { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.tag:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag.vibe:hover { background: var(--bg); color: var(--fg); }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 8px; border: 2px solid var(--line); }
.filter label {
  display: flex; align-items: center; padding: 8px 12px; cursor: pointer; font-weight: 600; font-size: .9rem;
  border-right: 1px solid var(--soft);
}
.filter label:has(input:checked) { background: var(--fg); color: var(--bg); }
.filter input { position: absolute; opacity: 0; pointer-events: none; }
.filter select {
  flex: 1 1 160px; min-width: 0; padding: 8px 10px; font: 600 .9rem var(--breit);
  color: var(--fg); background: var(--bg); border: 0; border-right: 1px solid var(--soft); appearance: none;
}
.filter select:last-child { border-right: 0; }

/* Detailseite */
.fakten { margin: 0 0 16px; color: var(--dim); }
.warnung { display: inline-block; padding: 4px 10px; background: var(--fg); color: var(--bg); font-weight: 700; }
.text { max-width: 62ch; }
.klein { font-size: .88rem; color: var(--dim); max-width: 62ch; }
.liste { margin: 0; padding: 0; list-style: none; }
.liste li { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.liste b { font-weight: 700; }
.links { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; border: 2px solid var(--line); }
.links a { flex: 1; padding: 12px; text-align: center; text-decoration: none; font-weight: 700; border-right: 1px solid var(--soft); }
.links a:last-child { border-right: 0; }
.links a:hover { background: var(--fg); color: var(--bg); }

.reihe-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }

@media (max-width: 420px) {
  .zeile { grid-template-columns: 4.2rem 1fr; }
  .zeit { font-size: 1.15rem; }
  .kopf nav a { padding: 0 10px; }
  .logo small { display: none; }
}

/* Türsteher: Frage, Modus als Segmente, Stimmungen als Schalter */
.tuer { margin: 0 0 8px; }
.tuer-frage {
  margin: 0 0 12px; font-weight: 800; font-variation-settings: "wdth" 75;
  font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: .95; letter-spacing: -.01em;
}
.modus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--line); }
.modus label { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 700; cursor: pointer; border-right: 2px solid var(--line); }
.modus label:last-child { border-right: 0; }
.lust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lust label { display: flex; align-items: center; min-height: 40px; padding: 0 14px; font-weight: 600; font-size: .92rem; cursor: pointer; border: 1px solid var(--line); }
.modus label:has(input:checked), .lust label:has(input:checked) { background: var(--fg); color: var(--bg); }
.modus input, .lust input { position: absolute; opacity: 0; pointer-events: none; }

.kopfzeile { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--line); margin-top: 40px; }
.kopfzeile h2 { margin: 0; border: 0; }
.kopfzeile span { color: var(--dim); font-size: .9rem; }

.tipp { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); margin-top: 10px; border: 1px solid var(--line); text-decoration: none; }
.tipp-zeit { display: flex; flex-direction: column; justify-content: space-between; padding: 10px; background: var(--fg); color: var(--bg); min-height: 7rem; }
.tipp-zeit b { font-weight: 800; font-size: 1.8rem; line-height: 1; font-variation-settings: "wdth" 75; }
.tipp-zeit small { font-size: .78rem; font-weight: 600; }
.tipp-text { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; }
.tipp-text b { font-size: 1.15rem; line-height: 1.15; }
.tipp-text small { color: var(--dim); font-size: .85rem; }
.tipp-text .tags { margin-top: auto; }
a.tipp[href]:hover .tipp-text b { text-decoration: underline; }

/* Sprachumschalter im Fuß */
.fuss { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; border-top: 2px solid var(--line); }
.sprache { display: inline-flex; border: 2px solid var(--line); }
.sprache a {
  min-width: 48px; min-height: 44px; padding: 0 14px; border: 0; border-right: 1px solid var(--soft);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font: 700 .95rem var(--breit); color: var(--fg); background: var(--bg);
}
.sprache a:last-child { border-right: 0; }
.sprache a.an { background: var(--fg); color: var(--bg); }
.weg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Karte: eckig, schwarz/weiß, Pins als Quadrate */
.karte { border: 2px solid var(--line); background: var(--soft); }
.karte.gross { height: min(70vh, 640px); margin: 8px -16px 0; border-left: 0; border-right: 0; }
.karte.klein { height: 220px; margin-top: 24px; }
.karte-anzahl { margin: 16px 0 0; color: var(--dim); font-size: .9rem; }
.pin { background: var(--bg); border: 2px solid var(--fg); box-shadow: 0 0 0 2px var(--bg); }
.pin.an { background: var(--fg); }
.leaflet-container { font: inherit; background: var(--soft); }
/* OSM-Kacheln sind bunt: hell als Graustufen, dunkel invertiert – ergibt die Schwarz-Weiß-Optik. */
.leaflet-tile-pane { filter: grayscale(1) contrast(1.05); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.9) contrast(.9); }
}
:root[data-theme="dark"] .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.9) contrast(.9); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { border-radius: 0; background: var(--bg); color: var(--fg); box-shadow: none; border: 2px solid var(--fg); }
.leaflet-popup-tip-container { display: none; }
.leaflet-popup-content { margin: 12px 14px; line-height: 1.35; }
.popup b { display: block; font-size: 1.05rem; }
.popup .ort { display: block; color: var(--dim); margin: 2px 0 0; }
.popup .ticket { color: var(--fg); }
.leaflet-bar, .leaflet-bar a { border-radius: 0 !important; }
.leaflet-bar { border: 2px solid var(--fg) !important; box-shadow: none !important; }
.leaflet-bar a { background: var(--bg); color: var(--fg); border-bottom-color: var(--soft); }
.leaflet-bar a:hover { background: var(--fg); color: var(--bg); }
.leaflet-control-attribution { background: var(--bg) !important; color: var(--dim); font-size: 11px; }
.leaflet-control-attribution a { color: var(--fg); }
@media (min-width: 792px) { .karte.gross { margin-left: 0; margin-right: 0; border: 2px solid var(--line); } }

/* Schmale Bildschirme: Menü als eigene Zeile mit vier gleichen Zellen */
@media (max-width: 560px) {
  .kopf { flex-wrap: wrap; }
  .logo { padding: 10px 16px; }
  .kopf nav { width: 100%; border-top: 1px solid var(--soft); }
  .kopf nav a { flex: 1; justify-content: center; min-height: 44px; padding: 0 4px; font-size: .92rem; }
  .kopf nav a:first-child { border-left: 0; }
}

/* Fotos: waagrechte Reihe, schwarz/weiß, Farbe bei Hover oder Tippen */
.fotos { display: flex; gap: 8px; margin: 16px -16px 0; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.foto { flex: 0 0 min(80%, 420px); margin: 0; scroll-snap-align: start; }
.foto-knopf { display: block; width: 100%; padding: 0; border: 2px solid var(--line); background: var(--soft); cursor: pointer; }
.foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .25s; }
.foto-knopf:hover img, .foto-knopf[aria-pressed="true"] img { filter: none; }
.foto figcaption { margin-top: 4px; font-size: .78rem; color: var(--dim); }
@media (prefers-reduced-motion: reduce) { .foto img { transition: none; } }
@media (min-width: 792px) { .fotos { margin-left: 0; margin-right: 0; padding: 0; } }

/* Instagram: Hinweis vor dem Laden, danach Instagrams eigene Karten */
.insta-hinweis { padding: 16px 0; border-bottom: 1px solid var(--soft); }
.insta-hinweis p { margin: 0 0 4px; color: var(--dim); font-size: .9rem; max-width: 62ch; }
.insta-posts { display: grid; gap: 16px; margin-top: 16px; }
.insta-posts .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: 540px !important; width: 100% !important; }
.insta-fehler { margin: 16px 0 0; color: var(--dim); font-size: .9rem; max-width: 62ch; }
.insta-posts.nur-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.insta-posts.nur-links .instagram-media { all: unset; }

/* Typografisches Publikum: Gewicht 3 groß und fett, 2 mittel, 1 klein und gedimmt */
.publikum { margin: 8px 0 0; line-height: .9; font-variation-settings: "wdth" 62; overflow-wrap: anywhere; }
.publikum span { display: inline-block; margin-right: .18em; }
.publikum .g3 { font-weight: 900; font-size: 1.6rem; }
.publikum .g2 { font-weight: 800; font-size: 1.15rem; }
.publikum .g1 { font-weight: 500; font-size: .95rem; color: var(--dim); }
.publikum.gross { margin-top: 12px; line-height: .82; }
.publikum.gross .g3 { display: block; font-size: clamp(3.6rem, 20vw, 8.25rem); letter-spacing: -.02em; }
.publikum.gross .g2 { font-size: clamp(2.2rem, 11vw, 4.2rem); margin-right: .25em; }
.publikum.gross .g1 { font-size: clamp(1.4rem, 6vw, 2rem); }
.wer { margin-top: 8px; }

/* Farbschema-Schalter im Fuß, gleiche Optik wie die Sprachwahl */
.fuss { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.thema { display: inline-flex; border: 2px solid var(--line); }
.thema button {
  min-height: 44px; padding: 0 14px; border: 0; border-right: 1px solid var(--soft);
  font: 700 .95rem var(--breit); color: var(--fg); background: var(--bg); cursor: pointer;
}
.thema button:last-child { border-right: 0; }
.thema button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
