/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 30, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transition: opacity 0.25s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(124,58,237,.7);
}

.lightbox-close {
  position: absolute;
  top: -56px;
  right: 0;
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,.65);
  font-size: 0.85rem;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Zoom-Cursor für alle klickbaren Inhaltsbilder */
.service-detail-img img,
.about-img-main img,
.about-img-secondary img,
.team-feature-img img,
.gallery-item img {
  cursor: zoom-in;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.service-detail-img:hover img,
.about-img-main:hover img,
.team-feature-img:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; }
  .lightbox-img  { max-width: 94vw; max-height: 80vh; }
  .lightbox-content { gap: 8px; }
}
