/* ============ Off-Canvas: fühlt sich wie ein eigener Screen an ============ */

/* Drawer: voller Viewport, eigenes Scrolling, saubere Breite */
.ast-header-break-point .ast-mobile-popup-drawer{
  background:#fff;
  height:100vh;
  overflow-y:auto;
  width:min(360px, 88vw);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Overlay abdunkeln (Klassen können je nach Astra-Version leicht variieren) */
.ast-header-break-point .ast-mobile-popup-overlay,
.ast-header-break-point .ast-mobile-popup-overlay.active{
  background:rgba(17,24,39,.45);
}

/* Menü-Liste: kompakt, aber nicht gequetscht */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu{
  margin:0;
  padding:8px 0 16px 0; /* oben / unten */
}

/* Menü-Items: klare Tap-Flächen + ruhige Typo */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu a{
  color:#111827;
  font-size:17px;
  font-weight:500;
  line-height:1.25;
  padding:12px 18px;  /* DAS ist der wichtigste Wert */
  display:block;
}

/* Kein zusätzliches Spacing pro li */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu li{
  margin:0;
}

/* Touch-Feedback: hover ist auf Mobile egal, daher auch :focus/:active */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu a:hover,
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu a:focus,
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu a:active,
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .current-menu-item > a{
  background:rgba(0,0,0,0.04);
}

/* Optional: Falls noch Pfeile/Toggle-Icons auftauchen, die du nicht willst */
.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle{
  display:none;
}

/* ===== Off-Canvas: Drawer wirklich als Overlay + Background-Scroll lock ===== */

/* Drawer + Overlay sicher über die Seite legen */
.ast-header-break-point .ast-mobile-popup-drawer{
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  height: 100vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  z-index: 999999 !important;
}

.ast-header-break-point .ast-mobile-popup-overlay{
  position: fixed !important;
  inset: 0 !important;
  z-index: 999998 !important;
}

/* Burger: größere Tap-Fläche ohne Button-Optik */
.ast-header-break-point .ast-button-wrap .menu-toggle {
  padding: 10px 12px !important;
  border-radius: 10px;
}

/* Optional: dezentes Feedback beim Tippen */
.ast-header-break-point .ast-button-wrap .menu-toggle:active {
  background: rgba(0,0,0,0.04);
}
