.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 26, 48, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

.galerie-item {
  aspect-ratio: 1;
  overflow: hidden;
  border: 0.5px solid var(--border);
  cursor: pointer;
  position: relative;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.galerie-item:hover img {
  transform: scale(1.05);
}

.proben-row.vergangen {
  opacity: 0.4;
}

/* Fix for disabled button styling */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
