.u-section-1 .u-sheet-1 {
  background-color: #f3efe6;
}

.gal-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  box-sizing: border-box;
}

.gal-eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b5622e;
}

.gal-title {
  margin: 0 0 32px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #24303a;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gal-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 30, 30, 0.08);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gal-item:hover .gal-caption {
  opacity: 1;
}

.gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gal-lightbox.active {
  display: flex;
}

.gal-lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gal-lightbox-caption {
  color: #f2f2f2;
  margin-top: 16px;
  font-size: 1rem;
}

.gal-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.gal-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  padding: 10px 18px;
  user-select: none;
}

.gal-lightbox-prev {
  left: 10px;
}

.gal-lightbox-next {
  right: 10px;
}

@media (max-width: 900px) {
  .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal-title {
    font-size: 2rem;
  }
}

/* Sehr kleine Smartphones */
@media (max-width: 360px) {
  .gal-wrap {
    padding: 32px 12px 48px;
  }
  
  .gal-title {
    font-size: 1.6rem;
  }
  
  .gal-grid {
    gap: 10px;
  }
  
  .gal-lightbox-close {
    font-size: 1.8rem;
    top: 12px;
    right: 12px;
  }
}