html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

::selection {
  background: #fff;
  color: #000;
}

a {
  color: #fff;
}

a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page {
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  display: flex;
  flex-direction: column;
}

/* Nav */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  mix-blend-mode: difference;
}

.site-nav__brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.site-nav__links {
  display: flex;
  gap: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav__links a {
  text-decoration: none;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-panel {
  display: none;
}

@media (max-width: 720px) {
  .site-nav__toggle {
    display: flex;
  }

  .site-nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav__links {
    display: none;
  }

  .mobile-nav-panel {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-nav-panel a {
    text-decoration: none;
  }

  .mobile-nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Placeholder image slot */

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
  box-sizing: border-box;
}

img.media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

img.media.contain {
  object-fit: contain;
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 55%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 48px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  box-sizing: border-box;
}

.hero__title {
  font-size: clamp(48px, 11vw, 168px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
  margin: 0;
}

.hero__tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 14px;
}

.hero__tagline-line {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__tagline-line--dim {
  opacity: 0.5;
}

.hero__tagline-line--bright {
  opacity: 0.85;
}

/* Gallery */

.gallery-section {
  min-height: 100vh;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 100px;
}

.gallery__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1760px;
  margin: 0 auto 40px;
  width: 100%;
}

.gallery__title {
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.gallery__page-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

.gallery__row {
  position: relative;
  max-width: 1760px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery__nav-btn {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  cursor: pointer;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.gallery__pages {
  flex: 1;
  min-width: 0;
}

.gallery__page {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.gallery__page.is-active {
  display: grid;
}

.gallery__page.is-fading {
  opacity: 0;
}

.gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  overflow: hidden;
  background: #1a1a1a;
}

.gallery__item img,
.gallery__item .placeholder {
  transition: transform 0.5s ease;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.gallery__dot {
  width: 36px;
  height: 4px;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
}

.gallery__dot.is-active {
  background: #fff;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 32px;
  right: 40px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  font-weight: 800;
  padding: 16px;
}

.lightbox__prev {
  left: 20px;
}

.lightbox__next {
  right: 20px;
}

.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 82vw;
  height: 78vh;
}

.lightbox__media {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.lightbox__caption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

/* Reveal sections (Ueber / Ausruestung / Social / Kontakt) */

.reveal-section {
  min-height: 100vh;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Top padding is a bit more than the nav's own height so the content
     never sits behind the fixed (background-less) nav bar. Deliberately
     NOT using a transform here (e.g. translateY for a slide-up reveal):
     declaring any transform value — even a static translateY(0) — makes
     Chromium miscalculate the scroll-snap rest position for sections
     whose height (via min-height) grows past 100vh, landing the scroll a
     bit short of the section's true top and pushing content up under the
     nav. Opacity-only avoids that entirely. */
  padding: 90px 0 60px;
  border-top: 2px solid #fff;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-section.is-visible {
  opacity: 1;
}

/* Ueber */

.ueber__wrap {
  max-width: 900px;
  padding: 0 48px;
  text-align: center;
}

.ueber__title {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 24px;
}

.ueber__text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.7;
  margin: 0;
}

/* Ausruestung */

.ausruestung__grid {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  box-sizing: border-box;
}

.ausruestung__heading {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-bottom: 2px solid #fff;
  padding-bottom: 12px;
}

.ausruestung__heading--spaced {
  margin: 32px 0 24px;
}

.ausruestung__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 22px;
  font-weight: 700;
}

/* Social */

.social__title {
  font-size: clamp(36px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 56px;
}

.social__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
}

.social__link {
  text-decoration: none;
  border: 2px solid #fff;
  padding: 24px 48px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Kontakt */

.kontakt__title {
  font-size: clamp(36px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 40px;
}

.kontakt__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
}

.kontakt__info a {
  text-decoration: none;
  margin-top: 12px;
}

.kontakt__info-line {
  font-weight: 400;
  opacity: 0.75;
}

.kontakt__footer {
  margin-top: 72px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.4;
}

.section-padded {
  padding: 60px 32px;
  text-align: center;
}

@media (max-width: 900px) {
  .ausruestung__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ausruestung__heading {
    font-size: 14px;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .ausruestung__heading--spaced {
    margin: 24px 0 16px;
  }

  .ausruestung__list {
    font-size: 17px;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 20px 24px;
  }

  .gallery-section {
    padding: 100px 16px 60px;
  }

  .gallery__row {
    gap: 10px;
  }

  .gallery__nav-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .gallery__page {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }

  .gallery__dots {
    margin-top: 24px;
  }
}
