/* Start custom CSS */@scope(.mrkt-pls-software-hero) {
  :scope .e-div-block-base,
  .elementor :scope {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .elementor :scope {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding-inline: var(--mrkt-section-padding-inline);
    padding-block: var(--mrkt-section-padding-block);
    padding-top: calc(var(--mrkt-section-padding-block) + var(--mrkt-header-height));
    color: var(--mrkt-color-text-secondary);
    clip-path: inset(0 0 0 0);
    max-height: 80vh;
    overflow: hidden;
    gap: var(--mrkt-space-xl);
  }

  :scope::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: color-mix(in oklch, var(--mrkt-color-primary-900) 75%, var(--mrkt-color-transparent));
  }

  :scope .demo-image img {
    border-radius: var(--mrkt-border-radius-m);
    box-shadow: 0px 0px 31px 3px var(--mrkt-color-primary-700);
  }

  :scope .video {
    /* Reset Elementor Default Styling */
    padding: 0;
    min-width: 0;
    min-height: 0;
    position: fixed;
    inset: 0;
    z-index: -3 !important;
  	width: 100vw;
  	height: 100%;
    object-fit: cover;
    object-position: center bottom;
    filter: saturate(0.95) contrast(1.1) brightness(0.72);
    pointer-events: none;
  }

  :scope .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    gap: var(--mrkt-space-s);
    max-width: 40%;
  }

  
  @media only screen and (max-width: 1300px) and (min-width: 768px) {
    :scope .content {
      max-height: auto;
    }
  }


  @media only screen and (max-width: 767px) {
    .elementor :scope {
      flex-direction: column;
      gap: var(--mrkt-space-m);
    }

    :scope .content {
      max-height: auto;
      max-width: 100%;
    }
  }
}


@scope(.mrkt-historie) {
  :scope .e-div-block-base,
  .elementor :scope {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .elementor :scope {
    padding-block: var(--mrkt-section-padding-block);
    padding-inline: var(--mrkt-section-padding-inline);
    position: relative;
    overflow: hidden;
  }

  :scope .content {
    min-height: 30vh;
    max-height: 60vh;
    display: flex;
    flex-direction: row;
    gap: var(--mrkt-space-l);
    max-width: 80%;
    margin-left: 20%;
  }

  :scope .pls-plus {
    width: 35rem;
    height: 35rem;

    /* Die Ausstechform als PNG oder SVG */
    mask-image: url('/wp-content/uploads/2026/09/PLS-Icon_ohne_Schrift.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;

    /* Safari-Unterstützung */
    -webkit-mask-image: url('/wp-content/uploads/2026/09/PLS-Icon_ohne_Schrift.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
  }

  @media only screen and (max-width: 1300px) and (min-width: 768px) {
    :scope .content {
      height: auto;
    }
  }

  @media only screen and (max-width: 767px) {
    :scope .content {
      height: auto;
      flex-direction: column;
      max-height: auto;
      max-width: 100%;
      margin-left: 0;
    }

      :scope .pls-plus {
      width: 15rem;
      height: 15rem;
      }
  }
}


@scope(.mrkt-ueber-uns) {
  :scope .e-div-block-base,
  .elementor :scope {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  /* SVG Backdrop Pseudo-element */
  :scope .content::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    background-color: var(--backdrop-stroke-color);

    /* Use the warehouse SVG as a mask */
    -webkit-mask-image: url("/wp-content/uploads/2026/07/warehouse.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    
    mask-image: url("/wp-content/uploads/2026/07/warehouse.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  :scope .content {
    --backdrop-stroke-color: var(--mrkt-color-primary-900);
     clip-path: inset(0);

    display: flex;
    flex-direction: row;
    height: calc(80vh - var(--mrkt-header-height));
  }

  :scope .content:nth-child(even) {
    --backdrop-stroke-color: var(--mrkt-color-primary-50);
    
    background-color: var(--mrkt-color-section-alt-bg);
    color: var(--mrkt-color-text-secondary);
  }

  :scope .content .text-content {
    display: flex;
    flex-direction: column;
    width: 50%;
    box-sizing: border-box;
    height: fit-content !important;
    align-self: center;
    gap: var(--mrkt-space-s);
    padding-block: var(--mrkt-section-padding-block);
    padding-inline: var(--mrkt-section-padding-inline);
  }

  :scope .content .image {
    width: 50%;
    background-size: cover;
    background-position: center;
  }

  @media only screen and (max-width: 1300px) and (min-width: 768px) {
    :scope .content {
      height: auto;
      min-height: calc(50vh - var(--mrkt-header-height));
    }
  }

  @media only screen and (max-width: 767px) {
     :scope .content {
      flex-direction: column;
      height: auto;
    }

    :scope .content .text-content {
      width: auto;
    }

    :scope .content .image {
      min-height: 150px;
      width: auto;
    }

    :scope .content:nth-child(even) {
      flex-direction: column-reverse;
    }
  }
}

@scope(.mrkt-partner) {
  :scope .e-div-block-base,
  .elementor :scope {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .elementor :scope {
    background-color: var(--mrkt-color-primary-900);
    clip-path: inset(0);

    display: flex;
    flex-direction: row;
    padding-block: var(--mrkt-section-padding-block);
    padding-inline: var(--mrkt-section-padding-inline);
    justify-content: center;
    align-items: center;
    gap: var(--mrkt-space-xxl);
    color: var(--mrkt-color-text-secondary);
  }

  :scope .content {
    display: flex;
    flex-direction: column;
    max-width: 75ch;
    gap: var(--mrkt-space-s);
  }

  @media only screen and (max-width: 1300px) and (min-width: 768px) {
    .elementor :scope {
      gap: var(--mrkt-space-l);
    }
  }

  @media only screen and (max-width: 767px) {
    .elementor :scope {
      flex-direction: column;
      gap: var(--mrkt-space-m);
    }

    .elementor :scope .content {
      align-items: center;
      text-align: center;
    }
  }
}/* End custom CSS */