/* Mobile-Menü v2 (Test-Optik, 29.07.) — Shop-Grid + Burger, über den das
   Lastenrad fährt und ihn zum X macht. Nur ≤991px aktiv. */

@media (min-width: 992px) {
  .vlm-overlay, .vlm-btn { display: none !important; }
}

/* ── Menü-Button: 3 Striche ⇄ X, Lastenrad fährt drüber ─── */
.vlm-btn {
  cursor: pointer;
  position: relative;
  width: 60px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vlm-lines {
  position: relative;
  width: 22px;
  height: 14px;
  display: block;
}
.vlm-lines span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #1a1a17;
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1) .7s, opacity .2s ease .7s;
}
.vlm-lines span:nth-child(1) { top: 0; }
.vlm-lines span:nth-child(2) { top: 6px; }
.vlm-lines span:nth-child(3) { top: 12px; }

html.vlm-open .vlm-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
html.vlm-open .vlm-lines span:nth-child(2) { opacity: 0; }
html.vlm-open .vlm-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.vlm-bike {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 59px;
  height: auto;
  color: #1a1a17;
  transform: translate(-152%, -50%);
  transition: transform 2s cubic-bezier(.1, .5, .5, 1);
  pointer-events: none;
}
html.vlm-open .vlm-bike { transform: translate(105%, -50%); }
/* Rückfahrt: horizontal gespiegelt, damit das Rad vorwärts zurückfährt.
   Flip ohne Transition — passiert nur, wenn das Rad außerhalb sichtbar ist. */
.vlm-flip .vlm-bike path {
  transform: scaleX(-1);
  transform-origin: center;
  transform-box: fill-box;
}

/* ── Overlay ────────────────────────────────────────────── */
.vlm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9; /* unter der Topbar (10) — Button bleibt bedienbar */
  background: #fff;
  padding: calc(var(--vlm-nav-h, 64px) + 34px) 20px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
html.vlm-open .vlm-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity .28s ease;
}
html.vlm-open, html.vlm-open body { overflow: hidden; }
/* Bei offenem Menü Topbar immer oben fixieren — egal wie weit gescrollt war
   (sonst wird der Overlay-Abstand aus einer weggescrollten Nav berechnet) */
html.vlm-open .topbar-module {
  position: fixed !important;
  top: var(--vlm-bar-h, 0px);
  left: 0;
  right: 0;
  z-index: 10;
}

/* Stagger-Einblendung */
.vlm-overlay .vlm-anim {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
}
html.vlm-open .vlm-overlay .vlm-anim { opacity: 1; transform: none; }
html.vlm-open .vlm-overlay .vlm-anim:nth-child(1) { transition-delay: .05s; }
html.vlm-open .vlm-overlay .vlm-anim:nth-child(2) { transition-delay: .1s; }
html.vlm-open .vlm-overlay .vlm-anim:nth-child(3) { transition-delay: .18s; }
html.vlm-open .vlm-overlay .vlm-anim:nth-child(4) { transition-delay: .24s; }
html.vlm-open .vlm-overlay .vlm-anim:nth-child(5) { transition-delay: .32s; }
html.vlm-open .vlm-overlay .vlm-anim:nth-child(6) { transition-delay: .4s; }

.vlm-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #75756e;
  margin: 0 0 12px;
}

/* Shop-Grid 2×2 */
.vlm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}
.vlm-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e4de;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #1a1a17;
  text-decoration: none;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.vlm-card:active { transform: scale(.98); }
.vlm-card-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.vlm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vlm-card-img img.vlm-zoom { transform: scale(1.3); }
.vlm-card-body { display: block; padding: 10px 12px 12px; }
.vlm-card-title {
  display: block;
  font-family: 'Lane Narrow', Lane, sans-serif;
  font-size: 21px;
  line-height: 1.1;
  margin: 0 0 3px;
}
.vlm-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.45;
  color: #75756e;
}

/* Blog-Banner */
.vlm-blog {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 26px;
  color: #fff;
  text-decoration: none;
  min-height: 110px;
}
.vlm-blog img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.vlm-blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 26, 23, .72) 0%, rgba(26, 26, 23, .25) 70%, rgba(26, 26, 23, .05) 100%);
}
.vlm-blog-body {
  position: relative;
  z-index: 1;
  display: block;
  padding: 18px 16px;
}
.vlm-blog-title {
  display: block;
  font-family: 'Lane Narrow', Lane, sans-serif;
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 4px;
}
.vlm-blog-sub { display: block; font-size: 12px; opacity: .85; }

/* Linkliste */
.vlm-links { border-top: 1px solid #e4e4de; }
.vlm-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  border-bottom: 1px solid #e4e4de;
  color: #1a1a17;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.vlm-links a::after {
  content: "\2192";
  color: #75756e;
  font-weight: 400;
}

/* Altes Ausklapp-Menü kann nie parallel aufgehen */
html.vlm-open .ui-nav-menu { display: none !important; }
@media (max-width: 991px) { .ui-nav-menu.ui--open { display: none !important; } }
