/* Künstlergruppe Unikate */

:root {
  --text: #1f1f1f;
  --text-gedaempft: #4d4d4d;
  --akzent: #6f1d2b; /* dunkles Bordeaux, passend zur Druckmaschine */
  --linie: #dcdcdc;
  --platzhalter-bg: #ebebeb;
  --platzhalter-text: #595959;
  --fokus: #ffd54a;

  /* TODO: "EB Garamond" bzw. "Cormorant Garamond" lokal einbinden (@font-face, Dateien selbst hosten).
     Bewusst NICHT per Google-CDN geladen (sendet Besucher-IP an Google, Datenschutz).
     Bis dahin greifen die Ersatzschriften. */
  --serif: "EB Garamond", "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --breite: 60rem;
  --lesebreite: 36rem;
  --rand: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 112.5%; /* 1rem = 18px, kleinste Schrift auf der Seite */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }

figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }

a {
  color: var(--akzent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 3px;
}

.zentriert { text-align: center; }

/* Seitenwechsel mit sanfter Überblendung. Browser ohne Unterstützung (z. B. Firefox)
   wechseln einfach normal die Seite. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(*) { animation-duration: 0.5s; }

/* Copyright-Angabe unter Fotos */
.bildnachweis,
.bildunterschrift {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-gedaempft);
}

/* Unter Galeriebildern: Titel links, „© Name“ ganz klein und dezent rechtsbündig */
.bildunterschrift {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.75rem;
}
.bildunterschrift__copyright {
  margin-left: auto;
  font-size: 0.75rem; /* bewusst kleiner als die übliche Mindestgröße */
  letter-spacing: 0.02em;
  color: #767676; /* hellstes Grau, das auf Weiß noch gut lesbar ist */
  white-space: nowrap;
}

/* ---------- Hero: Überschrift + Maschine mit drehendem Rad ---------- */

.hero {
  padding: clamp(1.5rem, 4vw, 3rem) var(--rand) 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 11.5vw, 3.3rem);
  line-height: 1.08;
}

/* Ab Tablet-Breite so groß, dass die zweite Zeile ("Künstlergruppe Unikate") in eine Zeile passt */
@media (min-width: 700px) {
  .hero h1 { font-size: min(5.5rem, 8.5vw); }
}

.hero__unterzeile {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: var(--text-gedaempft);
  line-height: 1.5;
}

/* Maschine + Copyright-Zeile darunter */
.maschine-figur {
  max-width: 54rem;
  /* Oberer Abstand: wie weit die Maschine unter der Überschrift beginnt.
     Das Rad ragt oben über das Bild hinaus – dafür Luft lassen. */
  margin: clamp(4rem, 12vw, 8rem) auto 0;
}

.maschine {
  /* Rad justieren (Prozent relativ zum Container; "?debug" in der URL zeigt das Rad rot umrandet):
     --rad-left     Abstand links, in % der Containerbreite
     --rad-top      Abstand oben, in % der Containerhöhe (negativ = ragt nach oben heraus)
     --rad-size     Breite des rad.png, in % der Containerbreite
     --rad-drehpunkt  Drehpunkt im rad.png (die Nabe, nicht ganz die Bildmitte) */
  --rad-left: 22.8%;
  --rad-top: -11.9%;
  --rad-size: 62.4%;
  --rad-drehpunkt: 48.6% 49.8%;

  position: relative;
}

.maschine__bild { width: 100%; height: auto; }

.maschine__rad {
  position: absolute;
  left: var(--rad-left);
  top: var(--rad-top);
  width: var(--rad-size);
  height: auto;
  transform-origin: var(--rad-drehpunkt);
  pointer-events: none;
}

/* Copyright rechtsbündig unter dem Foto. Das Rad ragt unten um ca. 11 % der Breite
   über das Bild hinaus – der Abstand (in % der Breite) hält die Zeile frei davon. */
.maschine-figur .bildnachweis {
  margin-top: 12%;
  text-align: right;
}

/* Justier-Hilfe (nur mit ?debug in der URL) */
.maschine--debug .maschine__rad {
  outline: 2px solid red;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .maschine__rad { transform: none !important; }
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6rem) var(--rand) 0;
}

.lesespalte {
  max-width: var(--lesebreite);
  margin: 0 auto;
}

.abschnitt h2 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.abschnitt h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto 1.1rem;
  background: var(--akzent);
}

.film-link { margin-top: 1.5rem; margin-bottom: 0; }
.film-link a { font-weight: 600; }

/* ---------- Künstler: Karten mit rundem Werk-Ausschnitt (Startseite) ---------- */

#kuenstler h2 { margin-bottom: 2.75rem; }

.karten {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 7 Karten: die letzte Reihe steht mittig */
  gap: 2.75rem 1.5rem;
}

/* Breite einer Karte: auf großen Bildschirmen passen 4 nebeneinander */
.karten__eintrag { flex: 0 1 13rem; }

.karte {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: var(--text);
  text-align: center;
  text-decoration: none;
}

/* Kreis mit Werk-Ausschnitt; der doppelte Ring wirkt wie ein Passepartout */
.karte__kreis {
  position: relative;
  display: grid;
  place-items: center;
  width: 11rem;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 9px 0 1.25rem; /* Platz für den Ring */
  border-radius: 50%;
  overflow: hidden;
  background: var(--akzent);
  box-shadow: 0 0 0 1px var(--linie), 0 0 0 7px #fff, 0 0 0 8px var(--linie);
  transition: box-shadow 0.3s ease;
}
.karte__kreis img {
  position: absolute; /* füllt den Kreis exakt aus, damit vorschauPosition greift */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Initialen, solange kein Werk vorliegt */
.karte__initialen {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
}

.karte__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--akzent);
}

.karte__techniken {
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-gedaempft);
}

.karte:hover .karte__kreis,
.karte:focus-visible .karte__kreis {
  box-shadow: 0 0 0 1px var(--linie), 0 0 0 6px #fff, 0 0 0 9px var(--akzent);
}
.karte:hover .karte__kreis img,
.karte:focus-visible .karte__kreis img { transform: scale(1.08); }
.karte:hover .karte__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 599px) {
  .karten { gap: 2.25rem 1rem; }
  .karten__eintrag { flex-basis: calc(50% - 0.5rem); }
  .karte__kreis { width: calc(100% - 18px); max-width: 9.5rem; }
  .karte__initialen { font-size: 2.6rem; }
  .karte__name { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .karte__kreis img { transition: none; }
  .karte:hover .karte__kreis img,
  .karte:focus-visible .karte__kreis img { transform: none; }
}

.ist-platzhalter { color: var(--platzhalter-text); }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--akzent);
  border-radius: 4px;
  background: var(--akzent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.knopf:hover { background: #561522; border-color: #561522; }

.knopf--zweit { background: #fff; color: var(--akzent); }
.knopf--zweit:hover { background: #f6eced; border-color: var(--akzent); }

/* Größerer, einladender Knopf (z. B. „Bisherige Ausstellungen“ auf der Startseite):
   Bordeaux gefüllt, leichter Schatten, hebt sich beim Darüberfahren an */
.knopf--einladend {
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.7rem 2rem;
  font-size: 1.15rem;
  box-shadow: 0 3px 0 #4a1320;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.knopf--einladend:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #4a1320;
}
.knopf--einladend:active { transform: translateY(1px); box-shadow: 0 2px 0 #4a1320; }
.knopf__pfeil { font-size: 1.3em; line-height: 1; transition: transform 0.2s ease; }
.knopf--einladend:hover .knopf__pfeil { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .knopf--einladend,
  .knopf__pfeil { transition: none; }
  .knopf--einladend:hover,
  .knopf--einladend:active,
  .knopf--einladend:hover .knopf__pfeil { transform: none; }
}

.nur-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Galerie (Künstler-Unterseite) ---------- */

.galerie {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.galerie__eintrag { min-width: 0; }

/* Bilder im eigenen Seitenverhältnis – Kunstwerke werden nicht beschnitten */
.bild-knopf {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--platzhalter-bg);
  cursor: zoom-in;
}
.bild-knopf img {
  width: 100%;
  height: auto;
  color: transparent; /* kein Alt-Text-Blitzer, falls ein Bild fehlt */
}

.platzhalter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0.5rem;
  background: var(--platzhalter-bg);
  color: var(--platzhalter-text);
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 599px) {
  .galerie { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Nächste Ausstellung ---------- */

.ausstellung {
  max-width: var(--lesebreite);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 2rem;
  border: 2px solid var(--akzent);
  text-align: center;
}
.ausstellung h2::before { display: none; }
.ausstellung h2 { margin-bottom: 1.25rem; }

.ausstellung p { margin-bottom: 0.4rem; }
.ausstellung__datum {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.ausstellung__link { margin-top: 1rem; margin-bottom: 0; }

/* ---------- Footer ---------- */

.fuss {
  margin-top: clamp(4rem, 10vw, 7rem);
  padding: 1.75rem var(--rand) 2.5rem;
  border-top: 1px solid var(--linie);
  text-align: center;
}
.fuss nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 2rem;
}
.fuss a { display: inline-block; padding: 0.4rem 0; }

.fuss__copyright {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-gedaempft);
}

/* ---------- Lightbox ---------- */

html:has(dialog[open]) { overflow: hidden; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(20, 20, 20, 0.93); }

.lightbox figure {
  margin: auto;
  padding: 4.5rem 1rem 1.25rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
}
.lightbox figcaption { margin-top: 0.75rem; font-size: 1rem; text-align: center; }

.lightbox__schliessen {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  min-height: 3rem;
  padding: 0.4rem 1.1rem;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.lightbox__schliessen:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }

.lightbox__text { display: block; }
.lightbox__zaehler { display: block; margin-top: 0.2rem; opacity: 0.75; }
.lightbox__zaehler:empty { display: none; }

/* Blättern: Pfeile links/rechts, Punkte unten */
.lightbox__pfeil {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0 0 0.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox__pfeil[hidden] { display: none; }
.lightbox__pfeil--zurueck { left: 1rem; }
.lightbox__pfeil--weiter { right: 1rem; }
.lightbox__pfeil:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.lightbox__pfeil:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }

.lightbox__punkte {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  pointer-events: none;
}
.lightbox__punkt {
  width: 1.75rem; /* große Klickfläche, kleiner Punkt */
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}
.lightbox__punkt::before {
  content: "";
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.lightbox__punkt[aria-current="true"]::before { background: #fff; }
.lightbox__punkt:focus-visible { outline: 3px solid var(--fokus); border-radius: 50%; }

/* Platz für Pfeile und Punkte, wenn geblättert werden kann */
.lightbox--galerie figure { padding: 4.5rem 5rem 3.5rem; }
.lightbox--galerie img {
  max-height: calc(100vh - 12rem);
  max-height: calc(100dvh - 12rem);
}

@media (max-width: 599px) {
  /* Handy: Pfeile unten neben den Punkten, damit sie das Bild nicht verdecken */
  .lightbox--galerie figure { padding: 4.5rem 0.75rem 5rem; }
  .lightbox__pfeil { top: auto; bottom: 0.6rem; width: 3rem; height: 3rem; transform: none; }
  .lightbox__pfeil:hover { transform: none; }
  .lightbox__punkte { bottom: 1.25rem; }
}

@keyframes lightbox-einblenden {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}
.lightbox__bild--neu { animation: lightbox-einblenden 0.3s ease; }

@media (prefers-reduced-motion: reduce) {
  .lightbox__bild--neu { animation: none; }
}

/* ---------- Unterseiten (Impressum, Datenschutz, Künstler, Ausstellungen) ---------- */

.unterseite main {
  max-width: var(--lesebreite);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--rand) 0;
}
.unterseite--breit main { max-width: var(--breite); }

.unterseite h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin: 1.5rem 0 1rem; }
.unterseite h2 { font-size: 1.6rem; margin: 2.25rem 0 0.75rem; }

.zurueck { margin: 0 0 2rem; }

.hinweis {
  margin: 0 0 2rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--linie);
  background: #f7f7f7;
  color: var(--text-gedaempft);
  text-align: center;
}

/* ---------- Künstler-Unterseite ---------- */

.profil__kopf {
  margin-bottom: 2.5rem;
  text-align: center;
}
.unterseite .profil__kopf h1 { margin: 0; font-size: clamp(2.1rem, 7vw, 3rem); }

.techniken {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--text-gedaempft);
}

.profil__text > h2:first-child { margin-top: 0; }

.liste { margin: 0 0 1.1em; padding-left: 1.2em; }
.liste li + li { margin-top: 0.3rem; }

.kontakt { font-style: normal; }
.kontakt__zeile { margin: 0; }
.kontakt__name { font-weight: 600; }

/* Knopf zur eigenen Website des Künstlers */
/* steht direkt unter der Galerie, mittig */
/* Ein oder mehrere Knöpfe nebeneinander, auf schmalen Bildschirmen untereinander */
.profil__website {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: -1rem 0 3rem;
}
.profil__website .website-knopf { text-align: left; }

.website-knopf {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 100%;
  padding: 0.85rem 1.4rem 0.85rem 1.6rem;
  border-radius: 4px;
  background: var(--akzent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 0 #4a1320;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.website-knopf:hover {
  background: #561522;
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #4a1320;
}

.website-knopf__text { display: flex; flex-direction: column; min-width: 0; }

.website-knopf__titel {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
}

.website-knopf__adresse {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.website-knopf__pfeil {
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.website-knopf:hover .website-knopf__pfeil { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .website-knopf,
  .website-knopf__pfeil { transition: none; }
  .website-knopf:hover,
  .website-knopf:hover .website-knopf__pfeil { transform: none; }
}

/* ---------- Ausstellungsseite ---------- */

/* Oben: bisherige Ausstellungen als Kacheln (Foto/Flyer, darunter Titel und Datum) */
.ausstellungs-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 2.75rem 1.5rem;
  align-items: start;
}

.ausstellungs-eintrag h3 { margin: 1rem 0 0.3rem; font-size: 1.5rem; }
.unterseite .ausstellungs-eintrag h3.ist-platzhalter { color: var(--platzhalter-text); }
.ausstellungs-eintrag__wann { margin-bottom: 0.6rem; color: var(--text-gedaempft); }
.ausstellungs-eintrag p { margin-bottom: 0.4rem; }

/* Einheitliche Bildfläche: Flyer werden ganz gezeigt (nicht beschnitten) */
.ausstellungs-eintrag__flyer {
  aspect-ratio: 4 / 3;
  background: #f1efec; /* leicht warmes Papiergrau */
  overflow: hidden;
}
.ausstellungs-eintrag__flyer .platzhalter { aspect-ratio: auto; height: 100%; }

/* Flyer als Stapel: Seite 1 vorne, Seite 2 schaut leicht gedreht dahinter hervor.
   Beim Darüberfahren fächern die Seiten etwas auf. */
.flyer-stapel {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.flyer-stapel img {
  position: absolute;
  left: 11%;
  top: 50%;
  width: 78%;
  height: auto;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.flyer-stapel__vorne { z-index: 1; transform: translateY(-50%) rotate(-1.5deg); }
.flyer-stapel__hinten { transform: translate(5%, -64%) rotate(4deg); filter: brightness(0.97); }

.flyer-stapel:hover .flyer-stapel__vorne,
.flyer-stapel:focus-visible .flyer-stapel__vorne {
  transform: translate(-5%, -44%) rotate(-4deg) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.flyer-stapel:hover .flyer-stapel__hinten,
.flyer-stapel:focus-visible .flyer-stapel__hinten { transform: translate(9%, -72%) rotate(7deg); }

/* Abzeichen „2 Seiten“ */
.flyer-stapel__abzeichen {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--akzent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .flyer-stapel img { transition: none; }
}

/* Runder Knopf „Flyer ansehen · 2 Seiten →“ unter dem Text */
.ausstellungs-eintrag__flyer-zeile { margin-top: 0.75rem; }
.pillen-knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border: 2px solid var(--akzent);
  border-radius: 999px;
  background: #fff;
  color: var(--akzent);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pillen-knopf__zusatz { font-weight: 400; opacity: 0.8; }
.pillen-knopf__zusatz:empty { display: none; }
.pillen-knopf__zusatz::before { content: "· "; }
.pillen-knopf__pfeil { transition: transform 0.2s ease; }
.pillen-knopf:hover { background: var(--akzent); color: #fff; }
.pillen-knopf:hover .pillen-knopf__pfeil { transform: translateX(3px); }

/* Ohne Flyer: das Jahr groß, wie ein Stempel */
.ausstellungs-eintrag__jahr {
  display: grid;
  place-items: center;
  height: 100%;
  background: #f6eced;
  color: var(--akzent);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
}

@media (max-width: 599px) {
  /* minmax(0, …): lange Wörter dürfen die Spalte nicht über den Rand drücken */
  .ausstellungs-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; }
  .ausstellungs-eintrag { hyphens: auto; overflow-wrap: break-word; }
  .ausstellungs-eintrag h3 { font-size: 1.25rem; }
}

/* Sehr schmale Handys: eine Spalte */
@media (max-width: 380px) {
  .ausstellungs-raster { grid-template-columns: minmax(0, 1fr); }
}

/* Unten: Kasten „Nächste Ausstellung“ */
.bisherige + .ausstellung { margin-top: clamp(4rem, 9vw, 6rem); }
.unterseite .ausstellung h2 { margin-top: 0; font-size: clamp(1.9rem, 5vw, 2.3rem); }
