/* === LIGHTBOX OVERLAY (Apple Style) === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  transition: opacity 0.22s ease;
}

/* Aktiv */
.lightbox-overlay.show {
  display: flex;
  opacity: 1;
}

/* Bild */
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;

  border-radius: 12px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 4px 18px rgba(0,0,0,0.25);

  transform: scale(0.985);
  opacity: 0;
  transition:
    transform 0.22s cubic-bezier(.22,.61,.36,1),
    opacity 0.18s ease;
}

/* Wenn sichtbar → weich reinzoomen */
.lightbox-overlay.show img {
  transform: scale(1);
  opacity: 1;
}

/* Close Button (Apple minimal) */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #fff;
  font-size: 22px;
  font-weight: 300;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  transition: all 0.18s ease;
}

/* Hover → Apple subtle */
.lightbox-close:hover {
  background: rgba(255,255,255,0.16);
  transform: scale(1.05);
}

/* Optional: kein Scroll im Hintergrund */
body.lightbox-open {
  overflow: hidden;
}