.header {
  --swiper-pagination-color: #ffffff;
  --swiper-pagination-bullet-inactive-color: #ffffff;
  --swiper-pagination-bullet-inactive-opacity: 0.4;
  --swiper-navigation-color: #ffffff;
}

.header__slider {
  display: flex;
  align-items: stretch;
}

.header__text {
  position: absolute;
  left: 50%;
  bottom: 96px;
  width: 800px;
  max-width: 90%;
  transform: translateX(-50%);
  text-align: center;
  color: rgb(var(--c-neutral-lightest));
  z-index: 20;
}

.header__title {
  display: none;
  font-size: 200%;
  font-weight: var(--f-weight-sb);
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 2px 2px 5px rgba(var(--c-neutral-darkest), 0.3);
}

.header__description {
  display: none;
  font-size: 110%;
  font-style: italic;
  line-height: 1.4;
  max-width: 650px;
  margin: 0 auto;
  text-shadow: 1px 1px 5px rgba(var(--c-neutral-darkest), 0.5);
}

@media (min-width: 801px) {

  .header__title {
    font-size: 437%;
  }

  .header__description {
    font-size: 156%;
  }
}

@media (min-width: 1101px) {

  .header__title {
    display: block;
  }
}

@media (min-width: 1481px) {

  .header__description {
    display: block;
  }
}

.header__image {
  overflow: hidden;
  display: block;

  picture {
    height: 100%;
    width: 100%;
  }

  & video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &.-left {
    & video,
    & img {
      object-position: left center;
    }
  }

  &.-right {
    & video,
    & img {
      object-position: right center;
    }
  }

  &.-top {
    & video,
    & img {
      object-position: center top;
    }
  }

  &.-bottom {
    & video,
    & img {
      object-position: center bottom;
    }
  }

  &.-bottom.-left {
    & video,
    & img {
      object-position: left bottom;
    }
  }

  &.-bottom.-right {
    & video,
    & img {
      object-position: right bottom;
    }
  }

  &.-top.-left {
    & video,
    & img {
      object-position: left top;
    }
  }

  &.-top.-right {
    & video,
    & img {
      object-position: right top;
    }
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 800px) {
  div.header__text.-bottom {
    display: block;
  }
}

/* Pagination / Navigation: mobil ausgeblendet (Live: .cycle-pager bis 500px display:none) */

.header__slider .swiper-pagination,
.header__slider .swiper-button-prev.-header,
.header__slider .swiper-button-next.-header {
  display: none;
}

@media (min-width: 501px) {

  .header__slider .swiper-pagination {
    display: block;
  }

  .header__slider .swiper-button-prev.-header,
  .header__slider .swiper-button-next.-header {
    display: flex;
  }
}

.header__slider .swiper-pagination {
  bottom: 63px;
  z-index: 30;
}

.header__slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 7px 0 0 !important;
  border-radius: 0;
  background: rgb(var(--c-neutral-lightest));
  opacity: 1;
}

.header__slider .swiper-pagination-bullet-active {
  background: rgb(var(--c-neutral-darker));
}

/* Height chain: slider, slides and images follow the capped header height */

.header__slider {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  max-height: var(--header-max, 100vh);
}

.header__slider .swiper-wrapper,
.header__slide,
.header__slide > a,
.header__image {
  height: 100%;
  min-height: var(--header-min, 0px);
  max-height: var(--header-max, 100vh);
}

.header__image img {
  width: 100%;
  height: 100%;
  min-height: var(--header-min, 0px);
  max-height: var(--header-max, 100vh);
  object-fit: cover;
}
