/*
 * Safari-Kompatibilität
 * Wird nach styles.css geladen und hat deshalb eindeutig Vorrang.
 */
html,
body,
main {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.hero-home,
.hero-home .hero-carousel {
  width: 100%;
  max-width: none;
}

.hero-home {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: auto;
}

.hero-home .hero-carousel {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-home .hero-carousel .hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: safari-hero-image-change 9s linear infinite;
  -webkit-animation: safari-hero-image-change 9s linear infinite;
}

.hero-home .hero-carousel .hero-slide:nth-child(1) {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}

.hero-home .hero-carousel .hero-slide:nth-child(2) {
  animation-delay: 3s;
  -webkit-animation-delay: 3s;
}

.hero-home .hero-carousel .hero-slide:nth-child(3) {
  animation-delay: 6s;
  -webkit-animation-delay: 6s;
}

@keyframes safari-hero-image-change {
  0%,
  30% {
    opacity: 1;
  }

  33.333%,
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes safari-hero-image-change {
  0%,
  30% {
    opacity: 1;
  }

  33.333%,
  100% {
    opacity: 0;
  }
}

.hero-home::before {
  z-index: 1;
}

.hero-home .hero-copy {
  position: relative;
  z-index: 2;
}

.blog-page {
  padding-top: 180px;
}

@media (max-width: 900px) {
  .blog-page {
    padding-top: 170px;
  }
}

@media (max-width: 600px) {
  .blog-page {
    padding-top: 145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-carousel .hero-slide {
    display: none;
    animation: none;
    -webkit-animation: none;
  }

  .hero-home .hero-carousel .hero-slide:first-child {
    display: block;
    opacity: 1;
  }
}
