.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  justify-items: center;
}

.gallery-item {
  width: 100%;
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 3px; /* kleiner Radius */
}

.gallery-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 3px; /* Radius auf Bild */
}

.gallery-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FF6F6199;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 3px; /* Radius auf Overlay */
}

.gallery-image-wrapper:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-image-wrapper:hover::after {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 700px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}
