/* No96 — mobiles Vollbild-Menü (≤ 1024 px). Fährt von rechts herein, Einträge folgen gestaffelt. */

/* Elementors eigene Klappliste wird nicht mehr gebraucht */
@media (max-width: 1024px) {
  .elementor-element-hdrnav01 .elementor-nav-menu--dropdown { display: none !important; }
}

.no96-mm {
  --mm-green: #39ff7a;
  --mm-cyan: #00e5ff;
  --mm-ease: cubic-bezier(.77, 0, .18, 1);
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
}
.no96-mm[hidden] { display: none; }
.no96-mm.is-open { pointer-events: auto; }
html.no96-mm-offen, html.no96-mm-offen body { overflow: hidden; }

/* Fläche: Seitenblau mit feinem Raster, fährt per clip-path von rechts auf */
.no96-mm-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0 16px max(24px, env(safe-area-inset-bottom));
  color: #e8e8f0;
  background:
    linear-gradient(rgba(140, 140, 200, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(140, 140, 200, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(120% 70% at 100% 0%, rgba(30, 56, 140, .9), transparent 60%),
    #1a1a2e;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .65s var(--mm-ease);
}
.no96-mm.is-open .no96-mm-panel { clip-path: inset(0 0 0 0); }
.no96-mm.is-closing .no96-mm-panel { clip-path: inset(0 0 0 100%); transition-duration: .45s; }

/* Neon-Kante, die vor der Fläche herläuft */
.no96-mm::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 3px;
  z-index: 2;
  background: var(--mm-green);
  box-shadow: 0 0 18px var(--mm-green), 0 0 42px rgba(57, 255, 122, .45);
  opacity: 0;
}
.no96-mm.is-open::before { animation: no96-mm-kante .65s var(--mm-ease); }
@keyframes no96-mm-kante {
  0% { left: 100%; opacity: 1; }
  85% { opacity: 1; }
  100% { left: 0; opacity: 0; }
}

/* Kopf: Logo + Schließen an derselben Stelle wie in der Kopfzeile */
.no96-mm-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid rgba(140, 140, 200, .18);
}
.no96-mm-logo {
  font: 800 17px/1 'Barlow', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none;
}
.no96-mm-logo span { color: var(--mm-cyan); }
.no96-mm-zu {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(140, 140, 200, .35);
  border-radius: 8px;
  cursor: pointer;
}
.no96-mm-zu span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 50%;
  height: 2px;
  background: #fff;
  transform: rotate(0);
  transition: transform .45s var(--mm-ease) .2s;
}
.no96-mm.is-open .no96-mm-zu span:first-child { transform: rotate(45deg); }
.no96-mm.is-open .no96-mm-zu span:last-child { transform: rotate(-45deg); }
.no96-mm-zu:hover, .no96-mm-zu:focus-visible { border-color: var(--mm-green); outline: none; }

/* Einträge */
.no96-mm-nav { flex: 1; padding: 18px 0; }
.no96-mm-nav ol { list-style: none; margin: 0; padding: 0; }
.no96-mm-item {
  border-bottom: 1px solid rgba(140, 140, 200, .12);
  opacity: 0;
  transform: translateX(48px);
}
.no96-mm.is-open .no96-mm-item {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .6s var(--mm-ease);
  transition-delay: calc(.28s + var(--i, 0) * .055s);
}
.no96-mm.is-closing .no96-mm-item { opacity: 0; transition: opacity .2s ease; transition-delay: 0s; }
.no96-mm-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: 0;
  text-align: left;
  font: 800 clamp(26px, 8vw, 40px)/1.05 'Barlow', sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s, transform .3s var(--mm-ease);
}
.no96-mm-link:hover, .no96-mm-link:focus-visible { color: var(--mm-green) !important; transform: translateX(6px); outline: none; }
.no96-mm-item.is-current .no96-mm-link { color: var(--mm-green) !important; }
.no96-mm-nr {
  min-width: 2.2em;
  font: 500 12px/1 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: .1em;
  color: var(--mm-cyan);
  transform: translateY(-.6em);
}
.no96-mm-plus {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: auto;
  align-self: center;
}
.no96-mm-plus::before, .no96-mm-plus::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--mm-green);
  transition: transform .35s var(--mm-ease);
}
.no96-mm-plus::after { transform: rotate(90deg); }
.no96-mm-link[aria-expanded="true"] .no96-mm-plus::after { transform: rotate(0); }

/* Sortiment: Kategorien aufklappen */
.no96-mm-sub { padding: 0 0 16px; }
.no96-mm-sub[hidden] { display: none; }
.no96-mm-sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.no96-mm-sub li { opacity: 0; transform: translateY(8px); animation: no96-mm-sub .4s var(--mm-ease) forwards; animation-delay: calc(var(--j, 0) * .03s); }
@keyframes no96-mm-sub { to { opacity: 1; transform: none; } }
.no96-mm-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(140, 140, 200, .2);
  border-radius: 8px;
  background: rgba(10, 10, 20, .35);
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
  font: 700 12px/1.2 'Barlow', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #e8e8f0 !important;
  text-decoration: none;
}
.no96-mm-sub a:hover, .no96-mm-sub a:focus-visible { border-color: var(--mm-green); color: var(--mm-green) !important; outline: none; }
.no96-mm-thumb { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 5px; background: #fff center / contain no-repeat; }
.no96-mm-alle { display: inline-block; margin-top: 12px; font: 600 14px/1.3 'Source Sans 3', sans-serif; color: var(--mm-cyan) !important; text-decoration: none; }

/* Fuß: Anfrage, Telefon, Adresse */
.no96-mm-fuss {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(140, 140, 200, .18);
  opacity: 0;
  transform: translateY(16px);
}
.no96-mm.is-open .no96-mm-fuss { opacity: 1; transform: none; transition: opacity .5s ease .6s, transform .6s var(--mm-ease) .6s; }
.no96-mm-cta {
  display: block;
  padding: 15px 18px;
  border-radius: 8px;
  background: var(--mm-green);
  font: 800 15px/1 'Barlow', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  color: #0a0a14 !important;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(57, 255, 122, .35);
}
.no96-mm-tel { font: 700 20px/1.2 'Barlow', sans-serif; letter-spacing: .04em; color: #fff !important; text-decoration: none; }
.no96-mm-adresse { margin: 0; font: 400 14px/1.4 'Source Sans 3', sans-serif; color: #a5a5bc; }

@media (min-width: 600px) {
  .no96-mm-panel { padding-left: 30px; padding-right: 30px; }
  .no96-mm-sub ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Weniger Bewegung: ohne Animation */
@media (prefers-reduced-motion: reduce) {
  .no96-mm-panel, .no96-mm-item, .no96-mm-fuss, .no96-mm-zu span { transition: none !important; }
  .no96-mm::before, .no96-mm-sub li { animation: none !important; opacity: 1; transform: none; }
}
