/* ============================================================
   HJS — Work gallery (Vorher / Nachher)
   ============================================================ */
.hjs-gallery {
  font-family: "Inter", system-ui, sans-serif;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 3vw, 2rem);
}
.hjs-gallery__head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.hjs-gallery__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #4d8b2e; margin-bottom: .7rem; display: block;
}
.hjs-gallery__title {
  font-family: "Manrope", sans-serif;
  font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: #15321a; line-height: 1.1; margin: 0 0 .8rem;
}
.hjs-gallery__sub { color: #5a6b54; font-size: 1.05rem; line-height: 1.6; margin: 0; }

.hjs-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.hjs-gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: #e8ede4;
  box-shadow: 0 2px 10px rgba(20,40,20,.07);
}
.hjs-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.hjs-gallery__item:hover img { transform: scale(1.06); }
.hjs-gallery__item--wide { grid-column: span 2; }
.hjs-gallery__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(4px);
}
.hjs-gallery__badge--vorher { background: rgba(180,60,40,.88); }
.hjs-gallery__badge--nachher { background: rgba(76,140,46,.92); }

@media (max-width: 900px) {
  .hjs-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hjs-gallery__grid { grid-template-columns: 1fr; }
  .hjs-gallery__item--wide { grid-column: span 1; }
}
