/* City Church – Rueckblick Einweihung / Neuanfang (08.08.2026) */

.einweihung-band {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 74px) 0;
  background: linear-gradient(135deg, #061b3f 0%, #0b2c60 55%, #061b3f 100%);
  color: #fff;
}

.einweihung-band::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -55%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 160, 22, .22) 0, rgba(241, 160, 22, 0) 70%);
  pointer-events: none;
}

.einweihung-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.einweihung-band .eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
}

.einweihung-band h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.einweihung-band h2 em {
  color: var(--gold);
}

.einweihung-band-text {
  margin: 0 0 24px;
  max-width: 62ch;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.7;
}

.einweihung-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.einweihung-band-meta {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .04em;
}

/* Bildraster – nutzt .gallery-item aus der Haupt-CSS (Lightbox) */
.einweihung-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}

.einweihung-grid .gallery-item {
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}

.einweihung-grid .gallery-item figcaption {
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.einweihung-grid .gallery-item figcaption strong {
  font-size: clamp(16px, 1.5vw, 20px);
}

.einweihung-grid .eg-wide {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.einweihung-grid .eg-tall {
  grid-column: span 2;
  min-height: 220px;
}

.einweihung-grid .eg-tall img {
  object-position: 50% 32%;
}

.einweihung-grid .eg-third {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .einweihung-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .einweihung-grid .eg-wide {
    grid-column: span 2;
  }

  .einweihung-grid .eg-tall {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .einweihung-grid .eg-third {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .einweihung-grid {
    grid-template-columns: 1fr;
  }

  .einweihung-grid .eg-wide,
  .einweihung-grid .eg-tall,
  .einweihung-grid .eg-third {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .einweihung-band-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .einweihung-grid .gallery-item img {
    transition: none;
  }

  .einweihung-grid .gallery-item:hover img {
    transform: none;
  }
}
