/* ------------------------ ANCHOR Responsive Design ------------------------ */
/* Laptop + Tablet Ultra */
@media (max-width: 1400px) {
  .urkunden {
    figcaption {
      padding: 0 0px !important;
    }
  }
  /* --------------------------- ANCHOR Referenzen -------------------------- */
  /* Tabelle */
  .eckdaten-table > .e-con {
    max-width: calc(100% - 25px) !important;
  }
  .eckdaten-table > .e-con > *:nth-child(odd) {
    min-width: 11vw !important;
    max-width: 200px !important;
    flex: 0 0 11vw !important;
  }
}
@media (min-width: 1025px) {
  .elementor-lightbox .elementor-video-container .elementor-video-landscape {
    max-height: 90vh !important;
    width: fit-content !important;
    max-width: fit-content !important;
  }
}
/* Tablet normal */
@media (max-width: 1024px) {
  .eckdaten-table > .e-con > *:nth-child(odd) {
    min-width: 175px;
    max-width: 200px !important;
    flex: 0 0 175px !important;
  }

  .offcanvas ul li ul li a {
    background-color: rgba(243, 243, 243, 0.6) !important;
    color: var(--e-global-color-primary) !important;
  }
  .offcanvas a.has-submenu svg {
    position: relative;
    top: 1px;
    left: -2px;
  }
  .offcanvas a.has-submenu.highlighted svg {
    fill: var(--e-global-color-primary) !important;
    color: var(--e-global-color-primary) !important;
  }
  .cta-icon-wrapper {
    & .contact-icon-wrapper {
      .elementor-widget-icon {
        height: 50px;
        width: 50px;
      }
    }

    .border-title h2,
    .border-title h3,
    .border-title p {
      display: inline-flex;
      align-items: center;
      position: relative;
      top: 12px !important;
      padding-left: 45px;
      &::before {
        position: absolute;
        content: "";
        top: 50%;
        left: 0px;
        height: 2px;
        width: 30px;
        background-color: #87c846;
      }
    }
  }

  /* ----------------------- ANCHOR Leistungen-Fade-In ---------------------- */
  /* Dunkler Overlay über dem Bild */
  .img-box-overlay::before {
    content: "";
    position: absolute !important;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.8) 100%
    ) !important;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    z-index: 2 !important;
    opacity: 1;
    transition: all 0.4s ease-in-out;
  }
  .img-box-overlay::before {
    opacity: 0.6 !important;
    background: #143955 !important;
  }
  .img-box-overlay .fade-in-content {
    transform: translate(-50%, -75%);
    opacity: 1;
  }
  .img-box-overlay:hover .fade-in-content {
    transform: translate(-50%, -75%);
    opacity: 1;
  }
  /*Validation*/
  .step-notice {
    background: #ffebe8;
    padding: 2px 10px;
    margin-bottom: 10px;
    margin-right: 0;
    border-left: 4px solid red;
    font-size: 14px;
    border-radius: 4px;
    position: absolute;
    bottom: 85px;
    right: 15px;
    z-index: 3;
  }

  .e-form__buttons.elementor-column {
    margin-top: 20px;
  }
}
/*Filter*/
@media (max-width: 1024px) and (min-width: 768px) {
  .e-form__indicators__indicator.e-form__indicators__indicator--state-active,
  .e-form__indicators__indicator.e-form__indicators__indicator--state-inactive,
  .e-form__indicators__indicator.e-form__indicators__indicator--state-completed {
    /* Step - Indicator - Label*/
    .e-form__indicators__indicator__label {
      width: 150px !important;
    }
  }
  .steps-filter {
    .e-form__indicators.e-form__indicators--type-number_text {
      margin-bottom: 95px;
    }
  }
  /*Filter - Referenzen*/
  .filter-section .e-filter button:not(:last-child)::before {
    content: "/";
    margin: 0 20px 0 20px !important;
    display: inline-block;
    color: #ddd;
  }
}
/* Tablet small */
@media (max-width: 767px) {
  /*validation*/
  .e-form__buttons.elementor-column {
    margin-top: 0;
  }
  .border-title h2,
  .border-title h3,
  .border-title p {
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 15px !important;
    padding-left: 28px;
    &::before {
      position: absolute;
      content: "";
      top: 50%;
      left: 0px;
      height: 2px;
      width: 20px;
      background-color: #87c846;
    }
  }

  .cta-icon-wrapper {
    & .contact-icon-wrapper {
      .elementor-widget-icon {
        height: 46px;
        width: 46px;
      }
    }
  }
  .image-anime img {
    min-height: 250px !important;
  }
  .privacy p a {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /*Filter*/
  .steps-filter .e-form__indicators {
    flex-direction: column;
    gap: 12px;
  }

  .steps-filter .e-form__indicators__indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .steps-filter .e-form__indicators__indicator__label {
    width: auto;
    margin: 0;
  }

  .steps-filter .e-form__indicators__indicator__separator {
    display: none;
  }

  .steps-filter {
    .e-form__indicators__indicator.e-form__indicators__indicator--state-active,
    .e-form__indicators__indicator.e-form__indicators__indicator--state-inactive,
    .e-form__indicators__indicator.e-form__indicators__indicator--state-completed {
      display: flex;
      position: relative;
      flex-direction: row !important;
    }
  }
  /* Step - Indicator */
  .e-form__indicators__indicator.e-form__indicators__indicator--state-active,
  .e-form__indicators__indicator.e-form__indicators__indicator--state-inactive,
  .e-form__indicators__indicator.e-form__indicators__indicator--state-completed {
    display: flex;
    position: relative;
    /* Step - Indicator - Label*/
    .e-form__indicators__indicator__label {
      display: block !important;
      position: relative !important;
      top: 0 !important;
      left: 0;
      width: 100% !important;
    }
  }
  .steps-filter {
    .elementor-field-type-radio .elementor-field-subgroup {
      gap: 10px !important;
    }
  }
  .steps-filter {
    .e-form__indicators.e-form__indicators--type-number_text {
      margin-right: 0 !important;
      margin-bottom: 10px !important;
    }
  }
  .steps-filter
    .elementor-field-group.e-form__buttons__wrapper.elementor-field-type-previous,
  .steps-filter
    .elementor-field-group.elementor-field-type-submit.e-form__buttons__wrapper,
  .steps-filter
    .elementor-field-group.e-form__buttons__wrapper.elementor-field-type-next {
    padding: 0 5px !important;
  }

  .steps-filter .elementor-form-fields-wrapper .e-form__step:last-of-type {
    background: #143955;
    padding: 30px 5px !important;
    border-radius: 12px;
  }

  .steps-filter .elementor-field-option label {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  /*Filter - Referenzen*/
  .filter-section .e-filter button:not(:last-child)::before {
    margin: 0 5px 0 5px !important;
  }
  /* ------------------------------- ANCHOR TABS ------------------------------ */
  .tabs-two-fractions .service-tabs .e-n-tabs-heading {
    display: contents !important;
    grid-template-columns: auto !important;
    gap: 10px !important;
  }
  .tabs-two-fractions .service-tabs .e-n-tab-title {
    width: 100% !important;
    text-align: left !important;
  }
  /* ---------------------------- ANCHOR Timeline --------------------------- */
  .icon-list-with-line .elementor-icon svg {
    position: relative !important;
    height: 30px !important;
    top: 0px !important;
    background: #fff !important;
  }
  .icon-list-with-line .elementor-heading-title {
    &::before {
      position: absolute;
      content: "";
      top: 19px;
      height: 3px !important;
      width: 30px !important;
      left: -40px !important;
      background-color: #87c846;
      z-index: -1 !important;
    }
  }
  .icon-list-with-line::after {
    content: "";
    position: absolute;
    left: 15px !important;
    height: 100% !important;
    top: -65px !important;
    z-index: -1 !important;
    width: 3px !important;
    background-image: repeating-linear-gradient(
      to bottom,
      #143955 0,
      #143955 14px,
      transparent 14px,
      /* Strichlänge */ transparent 23px /* Abstand */
    );
  }
  /* -------------------------- ANCHOR Schwerpunkte ------------------------- */
  .schwerpunkte .image-anime img {
    height: 175px !important;
    min-height: unset !important;
  }

  /* ---------------------------- ANCHOR Referenzen --------------------------- */
  /* Tabelle */
  .eckdaten-table > .e-con {
    max-width: calc(100% - 0px) !important;
  }
  .eckdaten-table > .e-con > *:nth-child(odd) {
    min-width: 160px !important;
    max-width: 200px !important;
    flex: 0 0 160px !important;
  }
}

/* Mobile */
@media (max-width: 425px) {
  .banner-overlay h1 br {
    display: none !important;
  }
  .steps-filter {
    .elementor-field-type-radio .elementor-field-option label img {
      top: 0px !important;
    }
  }
  .steps-filter {
    .elementor-field-type-radio .elementor-field-option label img {
      width: 100%;
      height: 100%;
      max-height: calc(100% - 15px) !important;
      object-fit: contain;
      display: block;
      position: relative;
      top: 0px !important;
    }
  }
  .steps-filter {
    .elementor-field-option label div.span span {
      display: flex;
      justify-content: center;
      flex-direction: column;
      position: relative;
      top: 18px !important;
    }
  }
  .steps-filter {
    .elementor-field-option label span {
      font-size: 12px !important;
      top: -10px !important;
    }
  }

  .steps-filter {
    & .e-form__step:not(.elementor-hidden) {
      .e-form__buttons {
        width: 98% !important;
      }
    }
  }

  /*Filter - Referenzen*/
  .filter-section .e-filter button:not(:last-child)::before {
    content: "/";
    margin: 0 20px 0 20px !important;
    display: inline-block;
    color: #143955 !important;
  }
  /*Eckdatten Tabelle*/
  .eckdaten-table > .e-con > *:nth-child(odd) {
    min-width: 125px !important;
    max-width: 200px !important;
    flex: 0 0 125px !important;
  }
  .eckdaten-table > .e-con {
    padding: 3px 0 3px !important;
  }
  /*Akkordeon Raster Icons*/
  .icon-text-wrap .e-grid p {
    hyphens: auto !important;
    overflow-wrap: break-word !important;
  }
}

/* Mobile XS*/
@media (max-width: 320px) {
  .eckdaten-table p,
  .eckdaten-table .elementor-heading-title {
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .region h3 a {
    hyphens: auto !important;
    overflow-wrap: break-word !important;
  }
}
