/* ============================================
   Ausstellung — vertikale Bildergalerie
   ============================================ */

.ausstellung-page {
  margin: 0 auto;
  padding: 0 0 4rem;
  position: relative;
}

.ausstellung-page.main-content {
  position: relative;
  overflow-x: clip;
}

/* fewer plants */
body[data-template="ausstellung"] .parallax-plant--extra,
body[data-template="ausstellung"] .parallax-plant--footer-minze,
body[data-template="ausstellung"] .parallax-plant--minze,
body[data-template="ausstellung"] .parallax-plant--akelei {
  display: none !important;
}

body[data-template="ausstellung"] main.ausstellung-page {
  position: relative;
  z-index: 1;
  background-color: transparent;
}

/* The 4 SVG background plants (.main-content::before) and JS-injected plants
   must sit BEHIND the yellow header circle. */
body[data-template="ausstellung"] .main-content::before {
  z-index: 0 !important;
}

body[data-template="ausstellung"] .page-plants,
body[data-template="ausstellung"] .parallax-plant {
  z-index: 0 !important;
}

/* --- Hero --- */
.ausstellung-header {
  position: relative;
  text-align: left;
  /* Same vertical rhythm as Programm / Booklet hero */
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 6rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}

.ausstellung-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  padding-left: clamp(1.25rem, 4vw, 3rem) !important;
  padding-right: clamp(1.25rem, 4vw, 3rem) !important;
}

.ausstellung-label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.ausstellung-title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8.5vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.ausstellung-header__rule {
  display: block;
  width: clamp(4rem, 8vw, 7rem);
  height: 2px;
  background: var(--fill-0, #000);
}

.ausstellung-intro {
  max-width: 60ch;
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
}

.ausstellung-header__circle {
  position: absolute;
  top: clamp(-9rem, -9vw, -4rem);
  left: clamp(-14rem, -12vw, -6rem);
  width: clamp(18rem, 34vw, 32rem);
  height: clamp(18rem, 34vw, 32rem);
  background: #d6df70;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 720px) {
  /* keep desktop padding clamp — mobile already shrinks via clamp lower bound */
  .ausstellung-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    max-width: 100%;
  }
}

/* --- Gallery (vertical stack) ---
   Padding matches the home-page hero video so the images keep a small
   breathing space to the viewport edge on mobile + desktop. */
.ausstellung-gallery {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: clamp(800px, 65vw, 1200px);
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.ausstellung-image {
  margin: 0;
}

.ausstellung-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ausstellung-caption {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
}

.ausstellung-caption-credit {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}
