/* Startseitenvideo */
body.home .ac-sky {
  height: 850px;
  background: #0b1719;
}

.ac-hero-video {
  isolation: isolate;
  min-height: 680px;
  overflow: hidden;
  padding-bottom: 70px;
  background: #0b1719;
}

.ac-hero-video::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background:
    linear-gradient(180deg, rgba(6, 18, 21, .38) 0%, rgba(6, 18, 21, .22) 42%, rgba(6, 18, 21, .72) 100%),
    linear-gradient(90deg, rgba(6, 18, 21, .2), transparent 48%, rgba(6, 18, 21, .18));
  pointer-events: none;
}

.ac-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.ac-hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ac-hero-video .container {
  z-index: 2;
}

.ac-hero-video .ac-kicker,
.ac-hero-video h1,
.ac-hero-video > .container > p:not(.ac-kicker) {
  position: relative;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .42);
  animation: acHeroCopyIn .8s ease-out both;
}

.ac-hero-video h1 {
  animation-delay: .08s;
}

.ac-hero-video > .container > p:not(.ac-kicker) {
  animation-delay: .16s;
}

.ac-choice-label {
  display: block;
  width: max-content;
  margin: 34px auto 0;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: acHeroCopyIn .8s ease-out .24s both;
}

.ac-hero-video .ac-audience {
  margin-top: 18px;
}

/* Beide Kundenauswahlen kommen sichtbar aufeinander zu. */
.ac-hero-video .ac-audience a:first-child {
  animation: acChoiceFromLeft .9s cubic-bezier(.2, .8, .2, 1) .28s both;
}

.ac-hero-video .ac-audience a:last-child {
  animation: acChoiceFromRight .9s cubic-bezier(.2, .8, .2, 1) .36s both;
}

.ac-hero-video .ac-audience a:hover,
.ac-hero-video .ac-audience a:focus-visible {
  z-index: 3;
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .3);
}

.ac-hero-video .ac-audience a:focus-visible {
  outline: 3px solid #b8d4db;
  outline-offset: 4px;
}

/* Im großen Leistungs-Slider ist nur die gewählte Karte farbig. */
.services .swiper-main .swiper-slide figure img {
  opacity: .48;
  filter: grayscale(1) brightness(.62) contrast(.9);
  mix-blend-mode: normal;
  transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}

.services .swiper-main .swiper-slide:not(.swiper-slide-active):hover figure img {
  opacity: .62;
  filter: grayscale(.82) brightness(.72) contrast(.95);
}

.services .swiper-main .swiper-slide.swiper-slide-active figure img {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.services .swiper-main .swiper-slide.swiper-slide-active:hover figure img {
  transform: scale(1.025);
}

@keyframes acHeroCopyIn {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes acChoiceFromLeft {
  from { opacity: 0; transform: translateX(-90px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes acChoiceFromRight {
  from { opacity: 0; transform: translateX(90px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 991px) {
  .ac-hero-video {
    min-height: 720px;
    padding-bottom: 55px;
  }

  .ac-hero-media video {
    object-position: center;
  }
}

@media (max-width: 680px) {
  .ac-hero-video {
    min-height: 760px;
  }

  .ac-hero-video::after {
    background: linear-gradient(180deg, rgba(6, 18, 21, .48), rgba(6, 18, 21, .76));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ac-hero-video .ac-kicker,
  .ac-hero-video h1,
  .ac-hero-video > .container > p:not(.ac-kicker),
  .ac-choice-label,
  .ac-hero-video .ac-audience a {
    animation: none;
  }

  .ac-hero-media video {
    display: none;
  }
}
