/* Offcanvas: Scroll fix (nur Tablet + Mobile) */
@media (max-width: 1024px){

  /* Hülle: bleibt fullscreen und NICHT selbst scrollen */
  .e-off-canvas__main{
    position: fixed !important;
    inset: 0 !important;
    height: 100dvh !important;   /* besser als 100vh am Handy */
    overflow: hidden !important; /* Scroll wird an Content delegiert */
  }

  /* Content: HIER scrollt’s */
  .e-off-canvas__main .e-off-canvas__content{
    height: 100% !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch; /* iOS smooth + zuverlässig */
    overscroll-behavior: contain;      /* verhindert “durchscrollen” in die Seite */
    touch-action: pan-y;               /* erlaubt vertikales scrollen */
  }

  /* Elementor-Container dürfen schrumpfen, sonst blocken sie Overflow */
  .e-off-canvas__main .e-off-canvas__content .e-con,
  .e-off-canvas__main .e-off-canvas__content .e-con-inner{
    min-height: 0 !important;
  }
}