@font-face {
  font-family: 'Open Sans';
  src: url('assets/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
.home {
  --gutter: clamp(1.25rem, 6.55vw, 9rem);
  background: black url('assets/nachtglas.webp') center / cover no-repeat;
}
.home .mast, .home footer {
  background: rgba(25, 26, 27, .93);
  position: relative;
}
.home .mast { min-height: clamp(5rem, 11.2svh, 8rem); }
.home .mast::after, .stage::after {
  content: '';
  position: absolute;
  inset-inline: var(--gutter);
  bottom: 0;
  height: 1px;
  background: rgba(215, 225, 224, .38);
}
.home .brand img { display: block; width: clamp(7rem, 11.9vw, 13rem); height: auto; }
.home .hero {
  position: relative;
  align-items: flex-end;
  padding: 4rem var(--gutter) clamp(1.3rem, 2.5svh, 2rem);
  background: transparent;
}

.home .hero h1 {
  font: 300 clamp(1.7rem, 2.5vw, 3.6rem)/1.17 'Open Sans', 'Segoe UI', sans-serif;
  letter-spacing: .005em;
  text-wrap: balance;
}
.hero-details {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.35vw, 2.8rem);
  margin-top: .85rem;
  font-size: clamp(1rem, 1.12vw, 1.35rem);
  line-height: 1.45;
}
.home .hero-details p { margin: 0; font: inherit; }
.product-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.product-link::before {
  content: '';
  height: 1.6em;
  margin-right: clamp(1.1rem, 2.35vw, 2.8rem);
  border-left: 1px solid #717779;
}
.product-link:hover, .product-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .24em;
}
.home footer { border-top: 1px solid #303539; padding-block: clamp(.85rem, 2.5svh, 2.2rem); }
.home .legal a { font-size: clamp(.875rem, 1vw, 1.05rem); }
.home {
  height: 100vh;
  height: 100svh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.stage {
  position: relative;
  margin-bottom: clamp(2rem, 5.2svh, 4rem);
  min-height: 0;
}
.stage::after { pointer-events: none; }
.stage > section { height: 100%; overflow: auto; }
.catalogue, .skip-catalogue { display: none; }
.catalogue:target { display: block; background: #070a0b; }
.catalogue:target ~ .hero { display: none; }
.home:has(.catalogue:target) > .skip:first-child { display: none; }
.home:has(.catalogue:target) > .skip-catalogue { display: block; }
.catalogue-content {
  max-width: 85rem;
  padding: clamp(1.25rem, 4svh, 3rem) var(--gutter);
  margin: auto;
}
.catalogue h1 {
  font: 300 clamp(2rem, 3.2vw, 3.5rem)/1.2 'Open Sans', sans-serif;
  margin: .6em 0;
}
.catalogue h2 { font-size: clamp(1.4rem, 2vw, 2rem); margin: 0; }
.catalogue p { max-width: 42ch; line-height: 1.5; }
.catalogue .detail img { max-height: 40svh; object-fit: contain; }
@media (max-width: 720px) {
  .home { background-size: auto 71svh; background-position: right 36% top 4rem; }
  .home .mast { padding-block: .65rem; gap: .75rem; }
  .home .mast nav { gap: clamp(.7rem, 3vw, 1.3rem); }
  .home .hero {
    padding-block: 2rem 1.8rem;
    background: linear-gradient(to top, #000 0%, #000f 15%, #000d 36%, transparent 67%);
  }
  .stage { margin-bottom: 1.7rem; }
  .home .hero h1 { font-size: clamp(1.85rem, 6.6vw, 2.5rem); }
  .hero-details { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .product-link::before { display: none; }
  .home .hero-details p { max-width: 32ch; }
}
