/* =====================================================
   EDITORIAL NAVIGATION v2 — nav-v2.css
   Wattbalkon.de · Unified Editorial Theme
   Geladen NACH editorial-landing.css → überschreibt ed-nav/mm-* (gleiche Spezifität)
   ===================================================== */

/* --- Header Basis --- */
body.editorial-body .ed-nav {
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--border);
}
body.editorial-body .ed-nav.scrolled {
  box-shadow: 0 4px 18px rgba(26,24,22,.07);
}
body.editorial-body .ed-nav-inner {
  height: 66px;
  gap: 24px;
}

/* --- Logo --- */
body.editorial-body .ed-logo {
  font-family: 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text) !important;
  white-space: nowrap;
}
body.editorial-body .ed-logo span { color: var(--accent); }

/* --- Desktop-Links --- */
body.editorial-body .ed-nav-links {
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}
body.editorial-body .ed-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2) !important;
  padding: 9px 15px;
  border-radius: 10px;
  position: relative;
  transition: color .2s, background .2s;
}
body.editorial-body .ed-nav-links a:hover {
  color: var(--text) !important;
  background: #f4f0e9;
}
body.editorial-body .ed-nav-links a.active {
  color: var(--text) !important;
}
body.editorial-body .ed-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 15px;
  right: 15px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
}
.ed-badge {
  display: inline-block;
  background: #f3e5dc;
  color: #b85633;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

/* --- Aktionen (Suche + CTA) --- */
body.editorial-body .ed-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.editorial-body .ed-search-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}
body.editorial-body .ed-search-btn:hover { border-color: var(--accent); }
body.editorial-body .ed-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(212,103,58,.25);
  transition: background .2s;
}
body.editorial-body .ed-cta:hover { background: #b85633; }

/* --- Inline-Suche --- */
body.editorial-body .ed-search-wrap {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}
body.editorial-body .ed-search-wrap.open { display: block; }
.ed-search-form {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.ed-search-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.ed-search-input:focus { border-color: var(--accent); }
.ed-search-go {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* --- Breadcrumb --- */
body.editorial-body .ed-breadcrumb {
  background: #fff;
  border-top: 1px solid var(--border);
}
body.editorial-body .ed-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  font-size: 12.5px;
  color: var(--text-3, #9a9690);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.editorial-body .ed-breadcrumb-inner a {
  color: var(--text-2, #6a6660);
  text-decoration: none;
}
body.editorial-body .ed-breadcrumb-inner a:hover { color: var(--accent); }
body.editorial-body .ed-breadcrumb-inner b { color: #b85633; font-weight: 700; }
body.editorial-body .ed-breadcrumb-inner .sep { color: var(--border); }

/* --- Mobile Drawer: Vollbild --- */
body.editorial-body .ed-mobile-menu {
  right: -100%;
  width: 100%;
  max-width: 100%;
  padding: 0;
  gap: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: hidden;
}
body.editorial-body .ed-mobile-menu.active { right: 0; }
body.editorial-body .ed-mobile-menu .mm-header {
  padding: 16px 20px;
  margin-bottom: 0;
  background: #fff;
  flex-shrink: 0;
}
body.editorial-body .ed-mobile-menu .mm-logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
}
body.editorial-body .ed-mobile-menu .mm-logo span { color: var(--accent); }
body.editorial-body .ed-mobile-menu .mm-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
body.editorial-body .ed-mobile-menu .mm-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 14px 20px 10px;
}
body.editorial-body .ed-mobile-menu .mm-search { margin-bottom: 6px; }
body.editorial-body .ed-mobile-menu .mm-search-input {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 13px 15px;
  font-size: 13px;
}
body.editorial-body .ed-mobile-menu .mm-search-input:focus { border-color: var(--accent); }
body.editorial-body .ed-mobile-menu .mm-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3, #9a9690);
  margin: 14px 2px 6px;
  display: block;
}
body.editorial-body .ed-mobile-menu .mm-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border);
}
body.editorial-body .ed-mobile-menu .mm-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f3e5dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex: 0 0 auto;
}
body.editorial-body .ed-mobile-menu .mm-link-text {
  flex: 1;
  font-size: 14px;
}
body.editorial-body .ed-mobile-menu .mm-link-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-3, #9a9690);
  margin-top: 1px;
}
body.editorial-body .ed-mobile-menu .mm-link-count {
  font-size: 10.5px;
  font-weight: 800;
  color: #b85633;
  background: #fbf0ea;
  padding: 3px 9px;
  border-radius: 99px;
}
body.editorial-body .ed-mobile-menu .mm-link-arrow { color: var(--text-3, #9a9690); font-size: 13px; }
body.editorial-body .ed-mobile-menu .mm-link-legal {
  border-bottom: none;
  padding: 9px 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2) !important;
}
body.editorial-body .ed-mobile-menu .mm-cta {
  display: block;
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 14px;
  border-radius: 13px;
  margin: 12px 0 10px;
  border-bottom: none;
}
body.editorial-body .ed-mobile-menu .mm-footer {
  border-top: 1px solid var(--border);
  padding: 12px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
body.editorial-body .ed-mobile-menu .mm-footer span {
  font-size: 11.5px;
  color: var(--text-3, #9a9690);
  padding: 0;
  border: none;
}

/* --- Mobile Breakpoints --- */
@media (max-width: 768px) {
  body.editorial-body .ed-nav-links { display: none; }
  body.editorial-body .ed-hamburger { display: flex; }
  body.editorial-body .ed-cta {
    font-size: 12px;
    padding: 9px 13px;
    border-radius: 11px;
  }
  body.editorial-body .ed-search-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  body.editorial-body .ed-nav-inner { height: 62px; gap: 10px; }
  body.editorial-body .ed-breadcrumb-inner {
    padding: 8px 18px;
    font-size: 11.5px;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  body.editorial-body .ed-cta { display: none; }
}
