/* Moderne Lightbox (ersetzt prototype.js/scriptaculous/lightbox.js) */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
}
.lb-overlay.lb-open {
  display: flex;
}
.lb-img {
  max-width: 90vw;
  max-height: 80vh;
  border: 1px solid #fff;
}
.lb-caption {
  color: #eee;
  margin-top: 10px;
  max-width: 80vw;
  text-align: center;
  font-size: 0.9em;
}
.lb-btn {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  padding: 10px 16px;
  line-height: 1;
}
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-btn:hover { color: #ccc; }
