/* Bottom-centered consent dialog, without position animation or document reflow. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  animation: none !important;
  -webkit-animation: none !important;
  position: fixed;
  top: auto !important;
  right: auto !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  width: calc(100vw - 20px) !important;
  max-height: calc(100vh - 20px);
  max-height: calc(100svh - 20px);
  overflow-y: auto;
}
/* Complianz' wide bottom-bar layout needs over 1100px for its three buttons. */
@media (max-width: 1199px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .cmplz-cookiebanner .cmplz-header,
  .cmplz-cookiebanner .cmplz-body,
  .cmplz-cookiebanner .cmplz-divider,
  .cmplz-cookiebanner .cmplz-buttons,
  .cmplz-cookiebanner .cmplz-links {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-width: 0 !important;
  }
  .cmplz-cookiebanner .cmplz-body {
    display: block !important;
  }
  .cmplz-cookiebanner .cmplz-body > div {
    width: 100% !important;
  }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    min-width: 0 !important;
  }
}
@media (max-width: 639px) {
  .cmplz-cookiebanner .cmplz-buttons {
    flex-direction: column !important;
  }
}
.cmplz-cookiebanner .cmplz-logo {
  width: 91px;
  height: 40px;
}
.cmplz-cookiebanner .cmplz-logo img {
  display: block;
  width: 91px;
  height: 40px;
  object-fit: contain;
}
.home .hero.hero-has-media {
  background-image: none;
}
.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 639px) {
  .home .hero {
    background-image: url("../img/hero/hero-immobilien-mobile-focus.webp");
  }
  .hero-media img {
    object-position: 68% center;
  }
}
