
.service-expand-btn {
  display: inline-block;
  width: 40px; height:40px;
  margin: 40px auto 0px auto;
}

.service-expand-btn.open {
  transform: rotate(180deg);
}

.service-expand-btn:hover {
  cursor: pointer;
}

.service-expand-btn:hover circle {
  fill: #FFF!important;
}

.services-wrap .views-element-container {
    position: relative;
    max-height: 100vh;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.services-wrap .views-element-container::after {
    content: '';
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    opacity: 0.8;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(39,29,24,0),
        rgba(39,29,24,1)
    );
    transition: opacity 0.3s ease;
}

.services-wrap .views-element-container.is-expanded {
    max-height: 9999px;
}

.services-wrap .views-element-container.is-expanded::after {
    opacity: 0;
}

.services-wrap h2, .services-wrap .introtext {
  text-align: center;
}

.services-wrap .introtext {
  padding-bottom: 40px;
  margin-left: auto; margin-right: auto;
  width: 750px; max-width: 100%;
}

.service-row {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.service-row:hover {
  cursor: pointer;
}

.service-row-content {
  position: relative;
  z-index: 2;
}

.service-row-content .image {
  width: 80px;
}

.service-row .name {
  color: #b9b2ab;
}

.service-row:hover .name {
  color: #e8e5e2;
}

.service-row .row-bg {
  position: absolute;
  top: 0px; left: 0px;
  width: 100%;
  height: 100%;
  background: #3d342e;
  opacity: 0.6;
  z-index: 1;
}

.service-row:hover .row-bg {
  background: #5c564f;
  opacity: 1;
}

.services-popup .accordeon .text-22px {
  color: #3d342e;
}


  #block-customize-theme-content .services-popup ul li::marker {
    color: #4fb785;
  }

.services-popup .text-MerriweatherItalic {
    line-height: 1.4em;
  }

.services-popup .close-popup-btn {
  position: fixed;
  top: 30px; right: 25px;
  padding: 8px;
  height: 52px; width: 52px;
  border-radius: 360px;
  z-index: 19999;
}

.services-popup .close-popup-btn svg {
  height: 30px; width: 30px;
}

.slick__arrow-popup {
  z-index: 19999;
  width: 100%!important;
  height: 100%!important;
  transform: translate(-50%, -30%);

}

.services-popup .slick-arrow {
  height: 65px!important;
  width: 40px !important;
  background-image: url('../img/icons/YEARS-Pfeil-Slider-right.svg') no-repeat center !important;
  background-repeat: no-repeat;
  background-size: 8px 17px!important;
}

.services-popup .close-popup-btn circle {
  fill: #7e776f!important;
}
.services-popup .close-popup-btn:hover circle {
  fill: #5c564f!important;
}

.services-popup .close-popup-btn:hover {
  cursor: pointer;
}

.services-popup .akkordeons {
  border-top: 4px solid #1f1f1f;
}

.ablauf {
  border-bottom: 1px solid #aca59e!important;
}

.services-popup .accordeon .plus path {
  fill: #373b41!important;
}

.services-popup .accordeon:hover .plus path {
  fill: #5c564f!important;
}

.services-popup .accordeonbtn {
  display: block!important;
}

.cardimg.disabled {
  opacity: 0.3!important;
  pointer-events: none!important;
  filter: grayscale(1)!important;
}

.services-popup .cardimg:hover .karte {
  display: none;
}

.services-popup .cardimg:hover .kartemobilehover {
  display: block;
}

/* ==============================
 * OVERLAY
 * ============================== */
.services-overlay {
    position: fixed;
    inset: 0;
    background: #271d17;
    opacity: 0.63;
    z-index: 9998;
    display: none;
}

/* ==============================
 * POPUP CONTAINER
 * ============================== */
.services-popup {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;

    width: 50vw;
    min-width: 750px;
    max-width: 100%;

    background: #fff;
    z-index: 9999;

    transform: translateX(100%);

    transition:
        transform 0.35s ease,
        opacity 0.25s ease;

    opacity: 0;

    display: flex;
    flex-direction: column;
}



/* ACTIVE STATE */
.services-popup.is-open {
    transform: translateX(0);
    opacity: 1;
}

/* Cover über dem Inhalt */
.services-popup::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.services-popup.is-loading::after {
    opacity: 1;
}

/* ==============================
 * INNER SCROLL AREA
 * ============================== */
.services-popup .innerpopup {
    display: none;
    flex: 1;
    overflow: auto;
    padding: 0px;
}

.services-popup .inner-padding {
    padding: 50px 50px 100px 50px;
}

.contains .grid {
  width: 400px;
  max-width: 100%;
}

/* ==============================
 * MOBILE FALLBACK
 * ============================== */

  @media (max-width: 1440px) {
    .services-popup .inner-padding {
      padding: 30px 50px 100px 50px;
    }
  }

  @media (max-width: 1024px) {

    .services-popup .inner-padding {
      padding: 20px 50px 100px 50px;
    }
    .service-row {
       padding: 18px;
     }
     .service-row-content .image {
       width: 65px;
     }
     .service-expand-btn {
       margin: 50px auto 50px auto;
     }
  }

 @media (max-width: 768px) {

   .services-popup .inner-padding {
     padding: 20px 30px 70px 30px;
   }

     body .services-popup .teamslider .slick-arrow.slick-next, body .services-popup .teamslider .slick-arrow.slick-prev {
       height: 60px!important;
       width: 40px!important;
     }

     .introtext {
       padding-bottom: 15px;
     }

     .services-popup {
         width: 100%;
         min-width: 0;
     }

 }


 @media (max-width: 480px) {

     .service-row-content .image {
       width: 50px;
     }

 }
