/* Container with Leistungen & Leistungs-Slider on Home */

.vce-section.cont-leistungen {
  width: 1500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(var(--gap-xl) * -0.85);
}

.vce-section.cont-leistungen .vce-section-inner > div {
  display: flex;
  gap: var(--gap-s);
  flex-direction: column;
}
.vce-section.cont-leistungen .cont-leistung {
  background-color: var(--color-weiss);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.vce-section.cont-leistungen
  .cont-leistung
  .vce-row-content
  .vce-col:first-child {
  max-width: 36.67% !important;
  margin-right: 0;
  max-height: 316px;
}
.vce-section.cont-leistungen
  .cont-leistung
  .vce-row-content
  .vce-col:first-child
  * {
  height: 100%;
}

.vce-section.cont-leistungen
  .cont-leistung
  .vce-row-content
  .vce-col:last-child {
  padding: calc(var(--gap-m) * 2 - 10px) calc(var(--gap-m) * 2);
  max-height: 316px;
}

.vce-section.cont-leistungen
  .cont-leistung
  .vce-row-content
  .vce-col:last-child
  .vce-col-content {
  display: flex;
  gap: var(--gap-s);
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

/** slider */
.vce-row-container:has(.cont-leistungen-slider) {
  margin-top: 0 !important;
}

#leistungs-slider {
  background-color: var(--color-bg);
}

#leistungs-slider .leistungs-item {
  padding-left: 1px;
}

#leistungs-slider * {
  text-decoration: none !important;
}

#leistungs-slider .leistungs-slide-image {
  --my-size: 20.5vw;
  height: calc(var(--my-size) * 0.66);
  width: 100%;
  background-size: cover;
}

#leistungs-slider .leistungs-slide-title {
  background-color: var(--color-weiss);
  padding: 12px var(--gap-s) 15px var(--gap-m);
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.11;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#leistungs-slider .leistungs-slide-title::after {
  content: "";
  display: inline-block;
  height: 35px;
  width: 35px;
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/arrow-up-right.svg);
  background-color: var(--color-anthrazit);
  border: 1px solid var(--color-anthrazit);
  border-radius: 100%;
  transition: all 0.5s ease-in-out;
  flex-shrink: 0;
}

#leistungs-slider .leistungs-slide-title:hover::after {
  background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/arrow-up-right-anthrazit.svg);
  background-color: var(--color-weiss);
  transform: rotate(90deg);
}

@media (max-width: 1600px) and (min-width: 1400px) {
  #leistungs-slider .leistungs-slide-title {
    padding: 12px var(--gap-s) 15px var(--gap-s);
    font-size: calc(var(--h4-font-size) * 0.9) !important;
  }
}

@media (max-width: 1024px) {
  .vce-section.cont-leistungen
    .cont-leistung
    .vce-row-content
    .vce-col:last-child {
    max-height: unset;
    padding: var(--gap-l) !important;
  }
  .vce-section.cont-leistungen
    .cont-leistung
    .vce-row-content
    .vce-col:first-child {
    max-height: unset !important;
  }
}

@media (max-width: 768px) {
  #leistungs-slider .leistungs-slide-image {
    --my-size: 170px;
    height: var(--my-size);
  }
  #leistungs-slider .slick-list {
    padding-right: 20% !important;
    overflow: hidden !important;
  }
  .vce-section.cont-leistungen
    .cont-leistung
    .vce-row-content
    .vce-col:first-child {
    max-width: unset !important;
  }
  .vce-section.cont-leistungen .vce-section-inner > div {
    gap: var(--gap-m);
  }

  #leistungs-slider .leistungs-slide-title::after {
    height: 22px;
    width: 22px;
    background-size: 11px;
  }
  #leistungs-slider .leistungs-slide-title {
    padding: 12px 10px 15px var(--gap-m);
  }
}
