.lightbox-gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 0; 
  gap: .75rem;  
  justify-content: flex-start; /* oder 'flex-start', je nach Wunsch */
}

.lightbox-gallery a {
  flex: 1 1 calc(25% - 16px);
  max-width: calc(25% - 16px);
  box-sizing: border-box;
  border-radius: calc(0.25rem - 1px);
}

.lightbox-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(0.25rem - 1px);
}

@media (max-width: 768px) {
  .lightbox-gallery a {
    flex: 1 1 calc(50% - 16px);
    max-width: calc(50% - 16px); /* <- Das fehlt! */
  }
}


.lightbox-gallery a p {
  font-size: 12rem;
  color: #666;
  margin: 0;
}


.lb-data .lb-caption {
  font-size: 13px;
  font-weight: normal;
  line-height: 1em;
}
