/* Max Prokopp — overrides on Neubau theme layout */

#header {
  background: transparent;
}

#header .topleft a.home {
  opacity: 0;
  transition: opacity 600ms ease;
}

body.inspiration-in-view #header .topleft a.home {
  opacity: 1;
}

.hero {
  min-height: 80vh;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 48px;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  padding-top: 12vh;
}

.hero-heading {
  margin-bottom: 56px;
}

.hero-name {
  font-family: helvetica, sans-serif;
  font-size: 52px;
  line-height: 1.1;
  font-weight: normal;
  margin: 0;
  letter-spacing: -0.3px;
  cursor: default;
}

.hero-name:hover span.neu {
  border-bottom: 1px solid #000;
}

.hero-name:hover span.bau {
  opacity: 0;
}

.hero-name span.bau,
a.home span.bau {
  transition: none;
}

.hero-body p {
  font-family: helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.3px;
  margin: 0 0 32px;
}

.hero-body p:last-child {
  margin-bottom: 0;
}

.hero-mark {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  text-underline-position: from-font;
  border: none !important;
  border-bottom: none !important;
}

.hero-trigger {
  cursor: pointer;
}

.hero-dune {
  cursor: pointer;
}

.dune-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.dune-modal[hidden] {
  display: none;
}

body.dune-modal-open {
  overflow: hidden;
}

.dune-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.97);
  cursor: pointer;
  opacity: 0;
  transition: opacity 600ms ease;
}

.dune-modal.is-open .dune-modal-backdrop {
  opacity: 1;
}

.dune-modal-content {
  position: relative;
  z-index: 1;
  width: min(80vw, 80vh, 640px);
  aspect-ratio: 1 / 1;
}

.dune-modal-frame {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  filter: blur(100px);
  transform: scale(0.9);
  transition: opacity 600ms ease, filter 600ms ease, transform 600ms ease;
}

.dune-modal.is-open .dune-modal-frame {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.dune-modal-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  background: transparent;
}

.dune-modal-frame img.is-active {
  opacity: 1;
}

.hero-link {
  color: #000;
  font: inherit;
}

.hero-link:hover,
.hero-link:focus {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  border-bottom: none !important;
}

.hero-expand {
  margin: 0 0 32px;
  font-family: helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.3px;
}

.hero-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-tree li {
  margin: 0;
}

.hero-tree a {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  border-bottom: none !important;
  font: inherit;
}

@media screen and (max-width: 700px) {
  .hero {
    min-height: 80vh;
    margin-bottom: 32px;
  }

  .hero-name {
    font-size: 36px;
  }

  .hero-heading {
    margin-bottom: 40px;
  }

  .hero-inner {
    padding-top: 8vh;
  }

  .hero-body p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-expand {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
  }
}

.inspiration {
  position: relative;
}

.inspiration-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 24px;
  box-sizing: border-box;
  pointer-events: none;
  font-family: "nb_akademieregular", helvetica, sans-serif;
  font-size: 25px;
  line-height: 30px;
  letter-spacing: -0.3px;
  font-weight: normal;
  text-align: center;
  color: #000;
  opacity: 0;
  transition: opacity 600ms ease;
}

@media screen and (max-width: 1280px) {
  .inspiration-overlay {
    font-size: 18px;
    line-height: 24px;
  }
}

body.inspiration-in-view .inspiration-overlay {
  opacity: 1;
}

.product .thumb,
.product img,
.grid-item .thumb,
.grid-item img {
  background: transparent;
}

.media-placeholder {
  display: block;
  width: 100%;
  background: transparent;
  min-height: 60px;
}
