:root {
  --ink: #111114;
  --muted: #6c7078;
  --paper: #f6f2ea;
  --accent: #f05a28;
  --blue: #0055b8;
}

* { box-sizing: border-box; }

#galerie{
	width: 75%;
}

#galerie .container {
    width: 100%;
}

.py-lg-6 { padding-block: 7rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: currentColor;
  opacity: .85;
}

.eyebrow.dark { color: var(--accent); }


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.5rem;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #222;
  cursor: pointer;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .12);
  isolation: isolate;
}

.gallery-card.large { grid-column: span 2; grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card.tall { grid-row: span 2; }

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .68));
  opacity: .9;
}

.gallery-card span {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: left;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.065);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-card:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: 4px;
}

.cta {
  background:
    linear-gradient(135deg, rgba(17,17,20,.92), rgba(0,85,184,.82)),
    url("../img/soda-duo-05-headphones.jpg") center / cover no-repeat;
}

.lightbox-image {
  max-width: min(100%, 1500px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: .8rem;
}

@media (max-width: 991.98px) {
  .hero { min-height: 58vh; }
  .py-lg-6 { padding-block: 5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .gallery-card.large, .gallery-card.wide { grid-column: span 2; }
}

@media (max-width: 575.98px) {
  .hero { min-height: 62vh; }
  .gallery-grid { display: block; }
  .gallery-card { height: 360px; margin-bottom: 1rem; border-radius: 1rem; }
  .gallery-card.large, .gallery-card.wide, .gallery-card.tall { grid-column: auto; grid-row: auto; }
}
