/* Güde Mega Menu — Stimmungsbild mit Beschriftung | Gruppen | Bestseller-Karte (ab 1500 px)
   Theme-Regeln aus ep-mega-menu: <img> statt background-image, doppelte Klassen gegen
   Uncode-Hover, pointer-events:none auf Overlays, keine transform/min-height auf
   Layout-Containern (Uncode misst die Menühöhe selbst). */

/* Uncode-Wrapper um den Block ohne Abstände */
li.megamenu-block-wrapper:has(.gmm-root),
li.megamenu-block-wrapper:has(.gmm-root) > .vc_row,
li.megamenu-block-wrapper:has(.gmm-root) .row,
li.megamenu-block-wrapper:has(.gmm-root) .row-parent,
li.megamenu-block-wrapper:has(.gmm-root) .row-inner,
li.megamenu-block-wrapper:has(.gmm-root) .wpb_column,
li.megamenu-block-wrapper:has(.gmm-root) .uncol,
li.megamenu-block-wrapper:has(.gmm-root) .uncoltable,
li.megamenu-block-wrapper:has(.gmm-root) .uncell,
li.megamenu-block-wrapper:has(.gmm-root) .uncont,
li.megamenu-block-wrapper:has(.gmm-root) .wpb_raw_code,
li.megamenu-block-wrapper:has(.gmm-root) .wpb_text_column,
li.megamenu-block-wrapper:has(.gmm-root) .wpb_wrapper,
.gmm-shell > .vc_row,
.gmm-shell .row,
.gmm-shell .row-parent,
.gmm-shell .row-inner,
.gmm-shell .wpb_column,
.gmm-shell .uncol,
.gmm-shell .uncoltable,
.gmm-shell .uncell,
.gmm-shell .uncont,
.gmm-shell .wpb_raw_code,
.gmm-shell .wpb_text_column,
.gmm-shell .wpb_wrapper {
  margin: 0 !important;
  padding: 0 !important;
}
.gmm-shell {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.gmm-root {
  --bg: #0a0a0a;
  --line: rgba(255,255,255,0.1);
  --muted: rgba(255,255,255,0.56);
  --soft: rgba(255,255,255,0.64);
  --head: "Helvetica Neue LT W05_83 Hv Ex", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  display: block;
  width: 100%;
  margin: 0 auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
}
.gmm-root *, .gmm-root *::before, .gmm-root *::after { box-sizing: border-box; }
/* Uncode setzt im Menü Großbuchstaben und position:relative auf alle Spans */
.gmm-root, .gmm-root a, .gmm-root span {
  text-transform: none !important;
  letter-spacing: normal !important;
}
.gmm-root a, .gmm-root a:link, .gmm-root a:visited {
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: none !important;
}

.gmm-grid {
  display: grid;
  grid-template-columns: 1fr;
  height: auto !important;
  max-height: none !important;
}
@media (min-width: 960px)  { .gmm-grid { grid-template-columns: 0.6fr 2fr; } }
@media (min-width: 1300px) { .gmm-grid { grid-template-columns: 0.9fr 2fr; } }
@media (min-width: 1500px) { .gmm-grid { grid-template-columns: 0.95fr 2.2fr 0.75fr; } }

/* STIMMUNGSBILD: wechselt mit dem Link unter dem Zeiger */
.gmm-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
  display: block !important;
  background-color: #141414;
}
.gmm-hero-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.gmm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
/* GRUPPEN */
.gmm-lists {
  padding: 36px clamp(28px, 2.8vw, 48px) 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 44px;
  align-content: start;
  position: relative;
  z-index: 3;
  height: auto !important;
  max-height: none !important;
}
@media (min-width: 960px) { .gmm-lists { grid-template-columns: 2fr 1fr; } }
.gmm-group, .gmm-types, .gmm-type, .gmm-subs, .gmm-sidecol {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  height: auto !important;
  max-height: none !important;
}
.gmm-sidecol { display: grid !important; gap: 32px; align-content: start; }

.gmm-root .gmm-heading.gmm-heading {
  display: block !important;
  font-family: var(--head);
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.2 !important;
  color: #fff !important;
  padding: 0 0 12px !important;
  margin: 0 0 18px !important;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.01em !important;
  transition: color 160ms ease !important;
}
.gmm-types {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 22px 36px;
}
@media (min-width: 960px) { .gmm-group--wide .gmm-types { grid-template-columns: 1fr 1fr; } }
.gmm-types--list { gap: 11px; }
.gmm-type { display: block !important; }

.gmm-root .gmm-link.gmm-link {
  display: inline-block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #fff !important;
  padding: 0 !important;
  background: transparent !important;
  transition: color 160ms ease !important;
}
.gmm-subs {
  display: grid !important;
  gap: 1px;
  margin: 8px 0 0 !important;
  padding: 0 0 0 12px !important;
  border-left: 1px solid var(--line);
}
.gmm-root .gmm-sub.gmm-sub {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: var(--muted) !important;
  padding: 4px 0 !important;
  background: transparent !important;
  transition: color 160ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}
.gmm-root .gmm-link.gmm-link:focus-visible,
.gmm-root .gmm-sub.gmm-sub:focus-visible,
.gmm-root .gmm-heading--link.gmm-heading--link:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .gmm-root .gmm-link.gmm-link:hover,
  .gmm-root .gmm-heading--link.gmm-heading--link:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 5px;
  }
  .gmm-root .gmm-sub.gmm-sub:hover { color: #fff !important; transform: translateX(4px); }
}

/* Layout „three“ (Messerserien): drei gleich breite Spalten, keine Karte */
@media (min-width: 960px) {
  .gmm-layout--three .gmm-lists { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1500px) {
  .gmm-layout--three .gmm-grid { grid-template-columns: 1fr 2fr; }
}

/* Einträge mit Erklärung (Messerserien): Name + graue Zeile darunter */
.gmm-root .gmm-link.gmm-has-note { display: block !important; }
.gmm-root .gmm-name { display: block !important; }
.gmm-root .gmm-note {
  display: block !important;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}
.gmm-types--list:has(.gmm-has-note) { gap: 14px; }
.gmm-root .gmm-group-note.gmm-group-note {
  margin: -8px 0 18px !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: var(--muted) !important;
  max-width: 34ch;
}

/* Layout „tiles“ (Messer Ikonen): drei Bildkacheln nebeneinander */
.gmm-layout--tiles { padding: 52px clamp(28px, 2.8vw, 48px) 36px; } /* oben Luft: das Güde-Logo ragt ~45 px ins Menü */
.gmm-tiles {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 960px) { .gmm-tiles { grid-template-columns: repeat(3, 1fr); } }
.gmm-root .gmm-tile.gmm-tile { display: block !important; padding: 0 !important; background: transparent !important; }
.gmm-tile-media {
  display: block !important;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0 0 16px;
  background: #141414;
}
.gmm-tile-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
  transition: opacity 200ms ease;
}
.gmm-root .gmm-tile-name {
  display: block !important;
  font-family: var(--head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 6px;
}
.gmm-root .gmm-tile-note {
  display: block !important;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 44ch;
}
.gmm-root.gmm-layout--tiles .gmm-all.gmm-all { margin-top: 30px !important; }
@media (hover: hover) and (pointer: fine) {
  html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-tiles:hover .gmm-tile-img { opacity: 0.55 !important; }
  html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-tiles .gmm-tile:hover .gmm-tile-img { opacity: 1 !important; }
}

/* Button „Alle …“ */
.gmm-root .gmm-all.gmm-all {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-block !important;
  margin-top: 4px;
  padding: 13px 22px !important;
  background: #fff !important;
  color: #0a0a0a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 2px;
  transition: background-color 200ms ease-in-out !important;
}
.gmm-root .gmm-all.gmm-all:hover,
.gmm-root .gmm-all.gmm-all:focus-visible { background: #dcdcdc !important; color: #0a0a0a !important; }

/* BESTSELLER-KARTE (ab 1500 px): Messer schräg wie auf den Güde-Motiven */
.gmm-card {
  display: none !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 32px 30px 34px !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background: radial-gradient(110% 60% at 50% 30%, #1d1d1d 0%, #111 55%, var(--bg) 100%);
  border-left: 1px solid var(--line);
}
@media (min-width: 1500px) { .gmm-card { display: flex !important; } }
.gmm-card-media {
  display: block !important;
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 190px;
  margin: 0 0 20px;
}
.gmm-card-img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 118% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: translate(-50%, -50%) rotate(-38deg);
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.55));
}
.gmm-card > *:not(.gmm-card-media) {
  position: relative;
  z-index: 2;
  max-width: 100%;
}
.gmm-card-tag {
  display: block !important;
  font-size: 13px;
  color: var(--soft);
  margin: 0 0 6px;
}
.gmm-card-title {
  display: block !important;
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 6px;
}
.gmm-card-price {
  display: block !important;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 16px;
}
.gmm-card-price .amount, .gmm-card-price bdi { color: inherit !important; font-size: inherit !important; }
.gmm-card-price del { color: rgba(255,255,255,0.45); margin-right: 6px; }
.gmm-card-price ins { text-decoration: none; }
.gmm-card-cta {
  display: inline-block !important;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .gmm-card:hover .gmm-card-cta { border-color: #fff; }
}

@media (max-width: 959px) {
  .gmm-hero { min-height: 220px; }
}

/* Uncode färbt Menülinks beim Hover dunkel: .submenu-dark .menu-horizontal.menu-sub-enhanced .menu-smart ul a:hover
   { color:#141618 !important } hat 5 Klassen, deshalb hier .gmm-root viermal (6+ Klassen). */
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-link:hover,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-link:focus,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-heading:hover,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-heading:focus,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-sub:hover,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-sub:focus,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-card:hover,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-card:hover .gmm-card-title,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-card:hover .gmm-card-cta { color: #fff !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-card:hover .gmm-card-tag { color: rgba(255,255,255,0.64) !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-card:hover .gmm-card-price { color: rgba(255,255,255,0.85) !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-all:hover,
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-all:focus { color: #0a0a0a !important; background: #dcdcdc !important; }
/* Uncode gibt Menülinks eigene Schrift und Spans einen Hintergrund */
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-heading,
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-card-title { font-family: var(--head) !important; font-weight: 800 !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-card span { background: transparent !important; box-shadow: none !important; }
/* Unterstreichung bei Einträgen mit Erklärung nur am Namen */
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-has-note:hover { text-decoration: none !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-has-note:hover .gmm-name {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px;
}
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-has-note:hover .gmm-note { color: rgba(255,255,255,0.72) !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-note,
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-name { background: transparent !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-tile:hover { color: #fff !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-tile:hover .gmm-tile-name {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px;
}
html body .gmm-root.gmm-root.gmm-root.gmm-root a.gmm-tile:hover .gmm-tile-note { color: rgba(255,255,255,0.72) !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-tile-name { font-family: var(--head) !important; font-weight: 800 !important; }
html body .gmm-root.gmm-root.gmm-root.gmm-root .gmm-tile span { background: transparent !important; }
