.acf-referenz-slider {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index:2;
    position: relative;
    margin-bottom: -20px;
  }
  
  .slider-btn {
    background: var(--wp--preset--color--custom-rot-pink);
    color: white;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition-duration: 0.3s;
  }

  .slider-btn:hover {
    background: var(--wp--preset--color--custom-anthrazit);
  }
  
  /* Neue Wrapper für Maskierung */
  .slider-row-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    
  }
  
  .slider-wrapper {
    display: flex;
    flex-direction: column;
    z-index: 0;
    position: relative;
    overflow: hidden;
  }
  
  /* Der bewegliche Bereich */
  .slider-row {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
  }

  @media (max-width: 600px) {
    .slider-row {
      transform: none !important;
    }
  }  
  
  
  .slide {
    flex: 0 0 auto;
    width: 1000px; /* Ausgangsbreite Desktop, wird per Media Query angepasst */
    padding: 0 5px;
  }

  
  .slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1.1;
    object-fit: cover;
    pointer-events: none;

  }
  
  /* === BREAKPOINTS === */
  
  /* DESKTOP */
  @media (min-width: 1025px) {
    .top-row .slide {
      width: 50vw; /* mittleres sichtbar */
    }
    .bottom-row .slide {
      width: 35vw;
    }
  
    .top-row-wrapper {
      padding: 0 25vw; /* 25% links & rechts abschneiden */
    }
  
    .bottom-row-wrapper {
      padding: 0 15vw;
    }
  }
  
  /* TABLET */
  @media (min-width: 601px) and (max-width: 1024px) {
    .top-row .slide {
      width: 80vw;
    }
    .bottom-row .slide {
      width: 50vw;
    }
  
    .top-row-wrapper {
      padding: 0 10vw;
    }
    .bottom-row-wrapper {
      padding: 0;
    }
  }
  
  /* MOBILE */
  @media (max-width: 600px) {
  
    .slide {
      width: 100vw;
    }
  
    .top-row-wrapper,
    .bottom-row-wrapper {
      padding: 0;
    }
  
  }  