.product-header {
  background: #002641;
  color: #fff;
}

.product-header-row {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, calc(16.6667vw - 9.333rem), 4rem);
  padding: clamp(.75rem, .651rem + .379vw, 1rem) 1.5rem;
  max-width: 1524px;
  width: 100%;
  box-sizing: border-box;
}

.product-brand {
  display: block;
  flex: 0 0 auto;
  width: 164px;
}
.product-brand img { width: 100%; height: auto; }

.product-main-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(.65rem, 2.5vw, 2rem);
}
.product-category {
  display: flex;
  align-content: center;
  min-width: 0;
}
.product-header summary {
  list-style: none;
  cursor: pointer;
}
.product-header summary::-webkit-details-marker { display: none; }
.product-category summary {
  display: flex;
  align-items: center;
  min-height: 2.8125rem;
  max-width: 11rem;
  font-size: clamp(.875rem, .825rem + .189vw, 1rem);
  line-height: 1.5;
}
.product-category[open] > summary,
.product-header a:hover,
.product-category > summary:hover {
  text-decoration: underline;
  text-underline-offset: .27em;
}

.product-header :is(a, button, summary, input):focus-visible {
  outline: 2px solid #009ee0;
  outline-offset: .25rem;
}
.product-header-actions {
  display: flex;
  align-items: center;
  gap: clamp(.1rem, 1.85vw, 1.4rem);
}
.product-header-actions > a,
.product-header-actions > button,
.product-header-actions summary {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 2rem;
  border-radius: .45rem;
}
.product-header-actions > button { cursor: pointer; }
.product-header-actions svg { width: 1.5rem; height: 1.5rem; }
.product-header-actions > a:hover,
.product-header-actions summary:hover,
.product-header-actions details[open] > summary,
.product-header-actions button:hover {
  background: #ffffff16;
}

.product-header-actions .product-burger { display: none; }
.product-panel {
  position: absolute;
  z-index: 1;
  top: 100%;
  inset-inline: 0;
  padding-block: 2rem;
  max-height: calc(100dvh - 5.25rem);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #002641;
  border-bottom: 1px solid #e8e7f5;
  box-shadow: 0 12px 30px #00264124;
}
.product-menu-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem;
  max-width: 1476px;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 1.5rem;
}
.product-menu-panel {
  border-radius: 1.5rem;
  background: #fcfdfd;
  padding-block: 7.5rem 3rem;
  max-height: calc(100dvh - var(--product-header-height, 77px) - 77px);
}
.product-header:has(.product-category[open])::after {
  content: "";
  position: fixed;
  inset: var(--product-header-height, 77px) 0 0;
  background: #002641cc;
  pointer-events: none;
  z-index: 0;
}
.product-menu-dismiss {
  display: grid;
  place-items: center;
  position: absolute;
  top: 2.5rem;
  right: var(--page-space, 2rem);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
}
.product-menu-group p {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2rem;
}
.product-menu-group p svg {
  height: 2rem;
  width: 2rem;
  flex: 0 0 auto;
}
.product-menu-group li:not(:last-child) a {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  background: #f3f5f7;
  font-size: clamp(1rem, .901rem + .379vw, 1.25rem);
  line-height: 1.5;
  hyphens: auto; /* 2026-12-04: trennt lange Produktnamen mit Bindestrich statt hart („…versicherun/g“) */
  overflow-wrap: break-word;
}
.product-menu-group li:not(:last-child) a:hover {
  background: #e9e6fb;
}
.product-search-box label {
  margin-bottom: .75rem;
  font-weight: 500;
  font-size: 1.2rem;
}
.product-menu-group p {
  font-weight: 500;
  font-size: clamp(1rem, .901rem + .379vw, 1.25rem);
  line-height: 1.5;
}
.product-menu-group li + li { margin-top: 1rem; }
#product-search-results li + li { margin-top: .45rem; }
.product-menu-group li:last-child { margin-top: .8rem; color: #005681; }

.product-search-box,
.product-contact-box {
  max-width: 42rem;
  margin-inline: auto;
  display: grid;
  gap: .6rem;
}
.product-search-box input {
  border: 1px solid #7c8f9b;
  border-radius: .7rem;
  padding: .7rem .9rem;
  background: #fff;
}
.product-search-box > a,
.product-contact-box a { color: #005681; }
.product-contact-box strong { font-size: 1.35rem; font-weight: 500; }

@media (max-width: 1100px) {
  .product-header-row {
    min-height: 4rem;
    justify-content: space-between;
    gap: .7rem;
    padding: .75rem 1rem;
  }
  .product-brand { width: 112px; }
  .product-header-actions { gap: .25rem; }
  .product-header-actions .product-burger { display: grid; }
  .product-main-nav {
    position: absolute;
    z-index: 1;
    inset-inline: 0;
    top: 100%;
    display: none;
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .65rem var(--page-space, 1rem) 1.25rem;
    background: #fff;
    color: #002641;
    box-shadow: 0 12px 30px #00264124;
  }
  [data-product-header][data-menu-open] .product-main-nav { display: block; }
  .product-category { display: block; border-bottom: 1px solid #e8e7f5; }
  .product-category summary {
    min-height: 3.25rem;
    justify-content: space-between;
    max-width: none;
    padding-block: .45rem;
    font-size: 1.05rem;
  }
  .product-category summary::after { content: "+"; margin-inline-start: 1rem; }
  .product-category[open] > summary::after { content: "−"; }
  .product-panel { max-height: calc(100dvh - 4rem); }
  .product-category .product-panel {
    position: static;
    max-height: none;
    padding: .45rem 0 1.25rem;
    box-shadow: none;
    border: 0;
  }
  .product-header:has(.product-category[open])::after,
  .product-menu-dismiss { display: none; }
  .product-menu-columns { grid-template-columns: 1fr; gap: 1.75rem; padding-inline: 0; }
  .product-menu-group p { margin-bottom: .8rem; }
}
@media (max-width: 420px) {
  .product-header-actions > a,
  .product-header-actions > button,
  .product-header-actions summary { width: 2.3rem; }
  .product-header-actions svg { width: 1.3rem; height: 1.3rem; }
}

