/* Variant A: isolated navigation styles; Webflow does not control this header. */
.nav-v2 {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee9e6;
  color: #29272a;
  font-family: "WW Type", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition: box-shadow .2s ease, transform .25s ease;
}
.nav-v2.is-scrolled { box-shadow: 0 5px 24px rgb(41 39 42 / 9%); }
.nav-v2 *, .nav-v2 *::before, .nav-v2 *::after { box-sizing: border-box; }
.nav-v2 a { color: inherit; text-decoration: none; }
.nav-v2 button { color: inherit; font: inherit; cursor: pointer; }
.nav-v2 :focus-visible { outline: 2px solid var(--colororangeww, #e95a22); outline-offset: 4px; }
.nav-v2__inner { display: flex; align-items: center; gap: 28px; min-height: 96px; max-width: 1600px; margin: 0 auto; padding: 16px 32px; }
.nav-v2__logo { display: block; flex: 0 0 210px; border-radius: 4px; }
.nav-v2__logo img { display: block; width: 100%; height: auto; }
.nav-v2__menu { display: flex; flex: 1; align-items: center; gap: 28px; min-width: 0; }
.nav-v2__links { display: flex; flex: 1; justify-content: center; align-items: center; gap: clamp(4px, .7vw, 14px); }
.nav-v2__link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 7px; border: 0; background: transparent; white-space: nowrap; }
.nav-v2__link::after { content: ""; position: absolute; bottom: 4px; left: 7px; right: 7px; height: 2px; border-radius: 2px; background: var(--colororangeww, #e95a22); transform: scaleX(0); transition: transform .18s ease; }
.nav-v2__link[aria-current="page"]::after, .nav-v2__link:hover::after { transform: scaleX(1); }
.nav-v2__service { position: relative; }
.nav-v2__service-toggle svg { transition: transform .2s ease; }
.nav-v2__service-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-v2__dropdown { position: absolute; top: calc(100% + 10px); left: -12px; width: 250px; padding: 8px; border: 1px solid #eee9e6; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgb(41 39 42 / 12%); }
.nav-v2__dropdown[hidden] { display: none; }
.nav-v2__dropdown a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 9px; }
.nav-v2__dropdown a:hover { background: #fdf1eb; color: #b04318; }
.nav-v2__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-v2 .nav-v2__cta { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 12px; background: var(--colororangeww, #e95a22); color: #fff; font-family: "WW Type Bold", Arial, sans-serif; white-space: nowrap; transition: background .18s ease, box-shadow .18s ease; }
.nav-v2__cta:hover { background: #d14f1d; box-shadow: 0 4px 12px rgb(233 90 34 / 18%); }
.nav-v2__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; white-space: nowrap; font-size: 14px; }
.nav-v2__phone svg { flex: 0 0 18px; color: var(--colororangeww, #e95a22); }
.nav-v2__phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.nav-v2__burger { display: none; }
@media (min-width: 992px) and (max-width: 1250px) {
  .nav-v2__inner { gap: 20px; padding: 12px 24px; }
  .nav-v2__logo { flex-basis: 185px; }
  .nav-v2__menu { gap: 16px; }
  .nav-v2__links { gap: 2px; }
  .nav-v2__link { padding-inline: 6px; font-size: 14px; }
  .nav-v2__actions { flex-direction: column; gap: 2px; }
  .nav-v2__phone { min-height: 28px; }
}
@media (max-width: 991px) {
  .nav-v2__inner { min-height: 80px; padding: 14px 24px; justify-content: space-between; gap: 16px; }
  .nav-v2__logo { flex: 0 1 195px; }
  .nav-v2__burger { display: flex; flex: 0 0 46px; width: 46px; height: 46px; padding: 12px; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid #eee9e6; border-radius: 12px; background: #fff; }
  .nav-v2__burger span { display: block; height: 2px; width: 20px; border-radius: 2px; background: #29272a; transition: transform .2s ease, opacity .2s ease; }
  .nav-v2__burger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-v2__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-v2__burger[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-v2__menu { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #eee9e6; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgb(41 39 42 / 12%); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav-v2.is-open .nav-v2__menu { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-v2__links { flex: none; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-v2__link { justify-content: flex-start; min-height: 48px; width: 100%; padding: 12px; font-size: 17px; border-radius: 10px; }
  .nav-v2__link:hover { background: #fff5f0; }
  .nav-v2__link::after { left: 12px; right: auto; width: 24px; bottom: 5px; }
  .nav-v2__service-toggle { justify-content: space-between; }
  .nav-v2__dropdown { position: static; width: auto; padding: 4px 8px; margin: 4px 0 8px 12px; border: 0; border-left: 2px solid #f8d3c4; border-radius: 0; box-shadow: none; }
  .nav-v2__dropdown a { min-height: 48px; font-size: 16px; }
  .nav-v2__actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 12px; border-top: 1px solid #eee9e6; }
  .nav-v2__phone { order: -1; min-height: 48px; font-size: 16px; }
  .nav-v2 .nav-v2__cta { min-height: 50px; font-size: 16px; }
}
@media (max-width: 479px) {
  .nav-v2__inner { padding-inline: 16px; }
  .nav-v2__logo { flex-basis: 180px; }
  .nav-v2__menu { left: 10px; right: 10px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-v2, .nav-v2 *, .nav-v2 *::after { transition: none; }
}

/* Service aktiv (Unterseite) */
.nav-v2__service-toggle.is-active::after { transform: scaleX(1); }
.nav-v2__service-toggle.is-active { color: #e95a22; }
.nav-v2__dropdown a[aria-current="page"] { color: #e95a22; font-weight: 700; }
.nav-v2.is-hidden { transform: translateY(-100%); box-shadow: none; }
