/* ====================================================================
   KAFFEEMITTE — Galerie (Übersicht + Detailseiten)
   Ergänzt karte.css (Header, Footer, Sektionen, Schrift).
   ==================================================================== */

/* ---------- Übersicht: Raster der Ausstellungen ----------
   Masonry über CSS-Spalten — Cover bleiben unbeschnitten (Originalformat). */
.galerie-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin-top: 48px;
  align-items: start;     /* zeilenweise links→rechts, chronologisch lesbar */
}
.aus-karte {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.aus-karte-bild {
  position: relative;
  overflow: hidden;
  background: #ececec;
}
.aus-karte-bild img {
  width: 100%;
  height: auto;                 /* unbeschnitten — Cover behält sein Format */
  display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.aus-karte:hover .aus-karte-bild img { transform: scale(1.04); }
/* Platzhalter, solange kein Bild hinterlegt ist */
.aus-karte-platzhalter {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-family: var(--serif);
  font-size: 20px;
  color: #999;
  background: repeating-linear-gradient(45deg,#efefef,#efefef 12px,#e7e7e7 12px,#e7e7e7 24px);
}
.aus-karte-status {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--schwarz);
  color: var(--weiss);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.aus-karte-meta { margin-top: 14px; }
.aus-karte-titel {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.14;
}
.aus-karte-sub {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .55;
}

/* ---------- Detailseite ---------- */
.aus-kopf { padding: 56px 24px 52px; }
/* Zurück-Link: klar abgesetzt über dem Titelblock */
.aus-kopf .zurueck {
  display: inline-block;
  margin: 0 0 40px;
  opacity: .75;
}
.aus-kopf .typ {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 12px;
}
.aus-kopf h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.04;
}
.aus-kopf .kuenstler {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 21px);
  opacity: .85;
  padding-right: .18em;
}

/* Eckdaten-Zeile — dezent */
.eckdaten {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
}
.eckdaten li { padding: 5px 0; }
.eckdaten .k {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .45;
  margin-bottom: 3px;
}
.eckdaten .v { font-size: 14px; line-height: 1.45; }
.eckdaten .v a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.eckdaten .v a:hover { opacity: .7; }
.eckdaten .v .zeile { display: block; }

/* Kontext / Interview */
.kontext { max-width: 62ch; }
.kontext p { font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; }
.kontext p + p { margin-top: 18px; }
.kontext em { font-style: italic; }

/* Werke: unbeschnittene Thumbnails, Masonry über CSS-Spalten */
.werke {
  margin-top: 8px;
  column-count: 3;
  column-gap: 20px;
}
.werk {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: zoom-in;
}
.werk img {
  width: 100%;
  height: auto;                 /* unbeschnitten — Seitenverhältnis bleibt */
  display: block;
  background: #f0f0f0;
}
.werk figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.werk .werk-name { font-weight: 600; }
.werk .werk-detail { opacity: .6; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.985);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* herausgewischtes Bild sauber abschneiden */
  touch-action: pan-y; /* horizontales Wischen steuert die Bilder */
}
.lightbox.offen { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  will-change: transform; /* fluessiges Wischen */
}
.lb-cap {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  color: var(--weiss);
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.5;
  letter-spacing: .03em;
  padding: 0 22px;
}
.lb-cap .werk-name { font-weight: 600; }
/* Desktop: alle Segmente in einer Zeile, durch „·" getrennt, sauber unterm Bild */
.lb-cap .lb-seg { font-weight: 400; opacity: .82; font-size: .92em; }
.lb-cap .lb-sep { opacity: .5; }

/* CV-/Lebenslauf-Liste (z.B. Taglietti-Bio) */
.cv-liste { list-style: none; padding: 0; margin: 20px 0 0; }
.cv-liste li {
  padding: 11px 0;
  border-top: 1px solid rgba(0,0,0,.12);
  font-weight: 300;
  line-height: 1.5;
}
.cv-liste li:first-child { border-top: none; font-weight: 600; }
.lb-x, .lb-pfeil {
  position: absolute;
  background: none;
  border: none;
  color: var(--weiss);
  cursor: pointer;
  opacity: .8;
}
.lb-x { top: 18px; right: 24px; font-size: 34px; line-height: 1; }
/* Lightbox-Pfeile: derselbe nackte Pfeil wie ueberall (Glyph versteckt, SVG-Maske) */
.lb-pfeil {
  top: 50%;
  transform: translateY(-50%);
  font-size: 0;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lb-pfeil .pf-ic { width: 30px; height: 30px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-prev:hover .pf-ic { transform: translateX(-3px); }
.lb-next:hover .pf-ic { transform: translateX(3px); }
.lb-x:hover, .lb-pfeil:hover { opacity: 1; }

/* Zurück-Link — nur Pfeil (Text steht ueberfluessig daneben), mit Animation */
.zurueck {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px 6px 0;
  text-decoration: none;
  color: inherit;
  opacity: .7;
}
.zurueck .pf-ic { width: 26px; height: 26px; }
.zurueck:hover { opacity: 1; }
.zurueck:hover .pf-ic { transform: translateX(-4px); }

/* ====================================================================
   REDESIGN Ausstellungs-Detailseite (ab Lou Held, Juni 2026)
   Kompakter Kopf · Hero (Bild + About) · Werke · Kontext 1:1 · Back
   ==================================================================== */

/* ---------- Kompakter Kopf (schwarz, schmal) ---------- */
.aus-kopf--kompakt { padding: 26px 24px 24px; }
.aus-kopf--kompakt .zurueck { margin: 0 0 18px; }
.aus-kopf--kompakt .kopf-zeile {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.aus-kopf--kompakt h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.02;
}
.aus-kopf--kompakt .kuenstler {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 20px);
  opacity: .8;
}
/* Meta als eine kompakte Zeile statt Block */
.aus-kopf--kompakt .meta-zeile {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .8;
}
.aus-kopf--kompakt .meta-zeile .sep { opacity: .4; }
.aus-kopf--kompakt .meta-zeile a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aus-kopf--kompakt .meta-zeile a:hover { opacity: .7; }

/* ---------- Hero: großes Hauptbild + About ---------- */
.hero { padding: 44px 24px 8px; }
.hero .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .45;
  margin-bottom: 22px;
}
/* Zweispaltig: Bild links in fester Spalte, Text rechts als eigener Block —
   der Text bricht nicht mehr unter das Bild um. */
.hero-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 40px;
  align-items: start;
}
.hero-bild {
  height: min(76vh, 720px);
  margin: 0;
  cursor: zoom-in;
  background: #f0f0f0;
}
.hero-bild img { height: 100%; width: auto; display: block; }
.hero-text { font-weight: 300; }
.hero-text .about-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 12px;
}
.hero-text p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; }
.hero-text p + p { margin-top: 16px; }
.hero-text em { font-style: italic; }

/* ---------- Werke (Hauptarbeiten, Originalformat) ---------- */
.s-werke { padding-top: 36px; }

/* ---------- Kontext: AT KAFFEEMITTE (grafisch abgesetzt) ---------- */
.s-kontext {
  background: var(--schwarz);
  color: var(--weiss);
  margin-top: 64px;
  padding: 56px 24px 60px;
}
.s-kontext .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 26px;
}
/* Feste 1:1-Squares, 4 pro Reihe, Bilder gecropped */
.kontext-raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kontext-raster .k-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: zoom-in;
  background: #1a1a1a;
}
.kontext-raster .k-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* mittiger Beschnitt aufs Quadrat */
  display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.kontext-raster .k-square:hover img { transform: scale(1.05); }

/* ---------- Back to Archive ---------- */
.back-archive {
  text-align: center;
  padding: 64px 24px;
}
.back-archive a {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  color: inherit;
  opacity: .9;
  transition: opacity .25s;
}
.back-archive a .pf-ic { width: .85em; height: .85em; }
.back-archive a:hover { opacity: 1; }
.back-archive a:hover .pf-ic { transform: translateX(-5px); }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .galerie-raster { grid-template-columns: repeat(2, 1fr); }
  .werke { column-count: 2; }
  .kontext-raster { grid-template-columns: repeat(3, 1fr); }
  /* Hero stapelt: Bild oben volle Breite, Text darunter */
  .hero-block { grid-template-columns: 1fr; }
  .hero-bild {
    float: none;
    height: auto;
    width: 100%;
    max-width: 520px;
    margin: 0 0 24px;
  }
  .hero-bild img { width: 100%; height: auto; }
}
@media (max-width: 600px) {
  .galerie-raster { grid-template-columns: 1fr; }
  .werke { column-count: 1; }
  /* Lightbox-Caption mobil gestapelt: Titel + Künstler / Technik / Ort·Jahr.
     Erstes Segment bleibt mit dem Titel in Zeile 1, „·"-Trenner verschwinden. */
  .lb-cap .lb-seg { display: block; }
  .lb-cap .lb-seg--first { display: inline; }
  .lb-cap .lb-seg--first::before { content: " "; }
  .lb-cap .lb-sep { display: none; }
  .kontext-raster { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .aus-kopf { padding: 44px 24px 40px; }
  .aus-kopf--kompakt { padding: 28px 22px 24px; }
  /* Meta mobil gestapelt: Künstler / Daten / Links je eigene Zeile,
     Trennpunkte ausblenden (kein hängendes „·" am Zeilenanfang). */
  .aus-kopf--kompakt .meta-zeile { flex-direction: column; align-items: flex-start; gap: 7px; }
  .aus-kopf--kompakt .meta-zeile .sep { display: none; }
  .eckdaten { gap: 0 32px; }
  .hero-bild { max-width: 100%; }
}

/* ====================================================================
   TEXT-VARIANTE Ausstellungs-Detailseite (ab Tony Federico, Juni 2026)
   Für Ausstellungen mit viel Text: je Werk ein langer Begleittext,
   Bild und Text alternierend links/rechts. Baut auf dem Lou-Held-Look auf.
   ==================================================================== */

.s-text-werke { padding: 40px 24px 8px; }
.s-text-werke .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .45;
  margin-bottom: 8px;
}

/* Ein Werkblock: Bild | Text (Standard: Bild links) */
.tw-werk {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6.5vw, 88px) 0;
  border-top: 1px solid rgba(0,0,0,.1);
}
.tw-werk:first-of-type { border-top: none; padding-top: 24px; }

/* Jede zweite Reihe: Bild rechts, Text links */
.tw-werk--rechts .tw-bild { order: 2; }
.tw-werk--rechts .tw-text { order: 1; }

/* Bild (Polaroid, Hochformat) — zentriert, dezent begrenzt */
.tw-bild {
  justify-self: center;
  width: 100%;
  max-width: 460px;
  cursor: zoom-in;
}
.tw-bild img {
  width: 100%;
  height: auto;
  display: block;
  background: #f0f0f0;
}

/* Platzhalter, solange kein Hi-Res-Polaroid vorliegt (Polaroid-Format 1392:1692) */
.tw-bild--leer {
  cursor: default;
  aspect-ratio: 1392 / 1692;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #9a9a9a;
  background: repeating-linear-gradient(45deg,#f1f1f1,#f1f1f1 12px,#e9e9e9 12px,#e9e9e9 24px);
}
.tw-bild--leer .pf-label { font-family: var(--serif); font-style: italic; font-size: 19px; }
.tw-bild--leer .pf-sub {
  margin-top: 8px; font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; opacity: .7;
}

/* Text */
.tw-text .tw-nummer {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  opacity: .4; margin-bottom: 10px;
}
.tw-titel {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.06;
}
.tw-meta {
  margin-top: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; opacity: .5;
}
.tw-fliess { margin-top: 20px; max-width: 60ch; font-weight: 300; }
.tw-fliess p { font-size: clamp(14.5px, 1.15vw, 17px); line-height: 1.68; }
.tw-fliess p + p { margin-top: 15px; }
.tw-fliess em { font-style: italic; }

/* Panorama-Werk (sehr breites Bild): Bild volle Breite, Text darunter
   statt schmal daneben (z.B. Sammlung — Black Market, Berlin = Casablanca). */
.tw-werk--panorama { display: block; }
.tw-werk--panorama .tw-bild { max-width: 100%; width: 100%; }
.tw-werk--panorama .tw-text { margin-top: 26px; }

/* Interview-Flow-Layout (z.B. Stop Look Go): eine Spalte, breiterer Text,
   Bilder laufen im Textfluss mit — statt Bildblock neben schmalem Text. */
.s-interview-flow .tw-werk {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.s-interview-flow .tw-fliess { max-width: none; }
/* Trennlinie zwischen About-Block und Interviewteil */
.abschnitt-trenner { border: none; border-top: 1px solid rgba(0,0,0,.18); margin: 8px 0 40px; }
.s-interview-flow .slg-bild { margin: 30px 0; text-align: center; }
.s-interview-flow .slg-bild img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  display: inline-block;
  background: #f0f0f0;
}

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .tw-werk {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 40px 0;
  }
  /* Bild immer zuerst, Text darunter — Reihenfolge zurücksetzen */
  .tw-werk--rechts .tw-bild,
  .tw-bild { order: 0; }
  .tw-werk--rechts .tw-text,
  .tw-text { order: 0; }
  .tw-bild { max-width: 380px; justify-self: start; }
}

/* ====================================================================
   GALERIE-ÜBERSICHT — Kategorien-Laufband + Kuratoren-Notiz (Juni 2026)
   ==================================================================== */

/* Laufband: dicke Typo, läuft seitlich durch ("Ticker") */
.kategorien {
  background: var(--weiss);
  color: var(--schwarz);
  border-top: 2px solid var(--schwarz);
  border-bottom: 2px solid var(--schwarz);
  overflow: hidden;
  padding: 0;
}
.kat-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: kat-lauf 48s linear infinite;
  will-change: transform;
}
.kategorien:hover .kat-track { animation-play-state: paused; }
.kat-track span {
  font-family: var(--sans);
  font-weight: 400;                 /* wie Zeile 2 „Exhibitions at Kaffeemitte" */
  text-transform: uppercase;
  font-size: clamp(28px, 6vw, 70px);
  line-height: 1;
  letter-spacing: 0.18em;
  padding: 20px 0;
  white-space: nowrap;
}
.kat-wort { padding-left: 0.4em; padding-right: 0.4em; }
.kat-trenner { opacity: 0.32; }
@keyframes kat-lauf {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .kat-track { animation: none; transform: none; }
}

/* Kuratoren-Notiz (Blog-Text von Gregor) — editorial:
   schmale Spalte (Label + Signatur) links, Fließtext rechts */
.kurator-grid {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 640px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.kurator-rail .label { margin-bottom: 14px; }
.kurator-epigraph {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  margin-bottom: 28px;
}
.kurator-text p {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.65;
}
.kurator-text p + p { margin-top: 18px; }
.signatur {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
}
.kurator-rail .signatur { margin-top: 0; }
.signatur .rolle {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

@media (max-width: 820px) {
  .kurator-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Reihenfolge mobil: Text -> Signatur (Gregor Hutz / Datum) -> Get in touch.
     display:contents loest den Body auf, sodass Text + Kontakt zu Geschwistern
     der Rail werden und frei sortierbar sind. */
  .kurator-body { display: contents; }
  .kurator-text { order: 1; }
  .kurator-rail {
    order: 2;
    margin-top: 24px;
    /* Reihenfolge im Quelltext: Datum (label) dann Name (signatur).
       Umkehren -> Name oben, Datum darunter */
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .kurator-rail .label { margin-bottom: 0; margin-top: 4px; }
  .kurator-rail .signatur { margin-top: 0; }
  .kurator-kontakt { order: 3; }
}

/* Archive-Überschrift über dem Raster */
.archiv-titel {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

/* Kontakt-Einladung — ruhige Zeile mit Haarlinie statt lautem schwarzen Block */
.kurator-kontakt {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  max-width: 56ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}
.kurator-kontakt .kk-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.kurator-kontakt a {
  color: var(--schwarz);
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.kurator-kontakt a:hover { opacity: 0.6; }

/* ---------- Archive: Index + Suche ---------- */
.archiv-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 26px 0 2px;
}
.archiv-suche {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
}
.archiv-suche .lupe {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--schwarz);
  pointer-events: none;
}
.archiv-suche input {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--schwarz);
  background: var(--weiss);
  color: var(--schwarz);
  border-radius: 999px;
  outline: none;
}
.archiv-suche input::placeholder { color: #999; }
.archiv-suche input:focus { box-shadow: 0 0 0 2px var(--schwarz) inset; }
.archiv-index {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-width: 0;
  max-width: 100%;
  padding: 13px 44px 13px 20px;
  border: 1px solid var(--schwarz);
  background-color: var(--weiss);
  color: var(--schwarz);
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
}
.archiv-index:focus { outline: none; box-shadow: 0 0 0 2px var(--schwarz) inset; }
.archiv-leer {
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  opacity: 0.6;
}
@media (max-width: 600px) {
  .archiv-tools { flex-direction: column; align-items: stretch; }
  /* flex-basis 260px gilt im Column-Modus als Höhe → zurücksetzen,
     sonst wird das Label 260px hoch und die Lupe rutscht nach unten */
  .archiv-suche { max-width: none; flex: 0 0 auto; min-width: 0; }
  .archiv-suche input { min-width: 0; }
  /* Das Dropdown würde sich sonst so breit wie der längste Künstlername machen
     und über den Bildschirm ragen → fest auf Container-Breite begrenzen. */
  .archiv-index { width: 100%; min-width: 0; max-width: 100%; }
}

/* Stop Look Go — Interview-Elemente */
.slg-q { margin-top: 22px; }
.slg-work { margin-top: 22px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; }
.slg-cap { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .5; }

/* Mehrere Werkbilder neben dem Text (Toni-Variante, Gruppenausstellung) */
.tw-bilder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
  align-self: start;
}
.tw-werk--rechts .tw-bilder { order: 2; }
.tw-bild-mini { margin: 0; cursor: zoom-in; }
.tw-bild-mini img { width: 100%; height: auto; display: block; background: #f0f0f0; }
.tw-bilder .lead { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .tw-werk--rechts .tw-bilder, .tw-bilder { order: 0; }
}

/* Corona Art Weeks — Kuratoren-Kommentar unter dem Haupttext */
.caw-comment {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}
.caw-comment .lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 10px;
}
.caw-comment p { font-style: italic; }

/* ---------- Text-Bild-Blöcke: Bild oben auf Höhe des Künstlernamens ---------- */
.tw-werk { align-items: start; }
.tw-text .tw-nummer { line-height: 1; }
/* Bild um die Höhe der Nummern-/Disziplin-Zeile nach unten, damit die Oberkante
   mit dem Namen fluchtet (nicht mit der kleinen Zeile darüber) */
.tw-werk > .tw-bild,
.tw-werk > .tw-bilder { margin-top: 21px; }
@media (max-width: 820px) {
  .tw-werk > .tw-bild,
  .tw-werk > .tw-bilder { margin-top: 0; }
}

/* Eros & Thanatos — Interview-Spaziergang (Leseteil) */
.vk-interview { max-width: 70ch; }
.vk-teil { margin-top: 40px; }
.vk-teil:first-of-type { margin-top: 8px; }
.vk-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.5; margin-bottom: 14px;
}
.vk-szene { font-style: italic; opacity: 0.8; }

/* Eingebettetes Video (responsiv 16:9) */
.video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; margin: 8px 0 16px; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { font-size: 13px; line-height: 1.5; opacity: .7; }

/* Taglietti — älterer Referenzfilm, klar abgesetzt */
.film-ref {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}
.film-ref-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.5; margin-bottom: 14px;
}

/* Matus Toth — Interview leicht abgesetzt */
.interview-box { background: transparent; padding: 0; }
.interview-box .label { opacity: 0.55; }
.matus-portrait { float: right; width: clamp(120px, 18vw, 180px); margin: 4px 0 18px 28px; }
.matus-portrait img { width: 100%; height: auto; display: block; }
.matus-portrait figcaption { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin-top: 6px; }
.matus-fazit { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.16); }
.matus-fazit .lbl { display:block; font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; opacity:.5; margin-bottom:10px; }
@media (max-width:600px){ .matus-portrait { float:none; width:140px; margin:0 0 18px; } }

/* Zwei Videos nebeneinander */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video-grid .video-cap { margin-top: 8px; }
@media (max-width: 700px){ .video-grid { grid-template-columns: 1fr; } }

/* --- YouTube 2-Klick-Consent (kein Google-Request vor dem Klick) --- */
.yt-facade{position:absolute;inset:0;width:100%;height:100%;border:0;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  background:#000;color:#fff;font-family:var(--sans);text-align:center;padding:20px;}
.yt-facade:hover .yt-play{transform:scale(1.08);}
.yt-play{width:62px;height:62px;border-radius:50%;background:rgba(255,255,255,.12);
  border:2px solid #fff;display:flex;align-items:center;justify-content:center;transition:transform .2s;}
.yt-play svg{width:26px;height:26px;margin-left:3px;fill:#fff;}
.yt-hint{font-size:12px;line-height:1.55;letter-spacing:.03em;max-width:34ch;opacity:.85;}
.yt-hint a{color:#fff;text-decoration:underline;text-underline-offset:2px;}
/* Video als anklickbare Vorschau, öffnet auf YouTube (kein Embed) */
.video-wrap .yt-poster-link{position:absolute;inset:0;display:block;overflow:hidden;}
.video-wrap .yt-poster-link img{width:100%;height:100%;object-fit:cover;display:block;}
.video-wrap .yt-poster-link::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.18);transition:background .2s;}
.video-wrap .yt-poster-link:hover::after{background:rgba(0,0,0,.32);}
.video-wrap .yt-poster-link .yt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;}
.video-wrap .yt-poster-link:hover .yt-play{transform:translate(-50%,-50%) scale(1.08);}

/* Touch-Geraete: Lightbox-Richtungspfeile nur waehrend des Wischens zeigen.
   Desktop (Hover/feiner Zeiger) bleibt unveraendert. */
@media (hover: none) and (pointer: coarse) {
  .lb-pfeil { opacity: 0; pointer-events: none; transition: opacity .15s ease; }
  .lightbox.wischt-prev .lb-prev,
  .lightbox.wischt-next .lb-next { opacity: .8; }
}

/* ====================================================================
   Galerie-Startseite: aktueller Ausstellungs-Block (WPG4) + Button
   ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-top: 32px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
}
.btn .pf-ic { transition: transform .2s ease; }
.btn:hover .pf-ic { transform: translateX(4px); }
/* Icon statt grossem Foto: nicht hochskalieren, kein Zoom-Cursor, kein grauer Hintergrund.
   Breite wie eine Archiv-Kachel (3 Spalten in 1200px, 28px Luecke). */
.hero-bild--wpg4 {
  height: auto;
  max-width: 200px;
  background: none;
  cursor: default;
}
.hero-bild--wpg4 img { height: auto; width: 100%; }
/* Aktuelle Ausstellung: heller Block, hervorgehoben durch Farbakzent (Logo-Farben) + Kicker */
.aktuell { padding: 48px 24px 72px; }
.aktuell-akzent {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    #FC624A 0 25%, #0253FB 25% 50%, #FDC107 50% 75%, #A78BE8 75% 100%);
  margin-bottom: 22px;
}
.aktuell-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--schwarz);
  opacity: 0.55;
  margin-bottom: 30px;
}
.aktuell-datum {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.aktuell-body { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.aktuell-body a { color: var(--schwarz); text-decoration: underline; text-underline-offset: 3px; }
/* Mobile: Logo 20% kleiner (200 -> 160px), mittig, sauberer Abstand zum Datum */
@media (max-width: 900px) {
  .aktuell .hero-bild--wpg4 {
    max-width: 160px;
    margin: 0 auto 24px;
  }
}
/* About-Sektion unter dem schwarzen Ausstellungs-Block: eigener oberer Abstand */
.kurator { padding-top: 72px; }
/* "About"-Ueberschrift: gleicher Abstand zum Text wie Trennstrich -> About */
.kurator .archiv-titel { margin-bottom: 40px; }
