/* Neues Menue (Header-Navigation) – Herbano. Alles ist auf .hn bzw. html.hn-on begrenzt.
   Desktop ab 1024 px: Leiste + Kopfzeile + Menuezeile mit Aufklappern.
   Darunter: kompakter Kopf, Menue als Schublade von links. */

:root {
  --hn-green-d: #2b4a39;
  --hn-green: #467c48;
  --hn-mint: #e5f0eb;
  --hn-cream: #F6F4EE;
  --hn-line: #e7e3d8;
  --hn-ink: #1f2b24;
  --hn-muted: #5f6c64;
  --hn-dark: #1f2b24;
  --hn-max: 1600px; /* gleiche Inhaltsbreite wie die neue Startseite */
  --hn-topbar-h: 36px;
  --hn-font: Poppins, "Open Sans", system-ui, sans-serif;
  --hn-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --hn-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 8-8 9-4.8-1-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  --hn-i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h12v10H2zM14 9h4l4 4v3h-8z'/%3E%3Ccircle cx='6.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.8'/%3E%3C/svg%3E");
  --hn-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21 7 14.2 2 9.3l6.9-1z'/%3E%3C/svg%3E");
  --hn-i-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E");
  --hn-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
@media (max-width: 1023px) { :root { --hn-topbar-h: 32px; } }

/* ---------- Einbettung in die Seite ---------- */
/* Der ganze Kopf klebt oben; die gruene Leiste scrollt weg, Kopf- und Menuezeile bleiben stehen. */
html.hn-on body .page-wrapper header.page-header {
  height: auto !important;
  position: sticky;
  top: calc(var(--hn-topbar-h) * -1);
  z-index: 50;
  background: #fff;
}
html.hn-on #header.hn { position: static !important; top: auto !important; }
/* Startseite: alte Leiste (hp_topbar) entfaellt, der neue Kopf bringt seine eigene mit */
html.hn-on .hp-topbar { display: none !important; }
html.hn-on:not(.vipcd-on) body.cms-index-index { padding-top: 0 !important; }
/* VIP-Countdown: dessen Leiste ersetzt unsere, der Kopf klebt direkt darunter */
html.hn-on.vipcd-on .hn-topbar { display: none; }
html.hn-on.vipcd-on body .page-wrapper header.page-header { top: var(--vipcd-h, 40px); }
html.hn-drawer-open { overflow: hidden; }

/* ---------- Grundlagen ---------- */
.hn, .hn * { box-sizing: border-box; }
.hn { font-family: var(--hn-font); color: var(--hn-ink); background: #fff; }
.hn ul { list-style: none; margin: 0; padding: 0; }
.hn p { margin: 0; }
.hn a { text-decoration: none; }
.hn button { font-family: inherit; }
.hn a, .hn button { -webkit-tap-highlight-color: transparent; }
.hn picture { display: contents; }
.hn svg { flex: none; }
.hn :focus { outline: none; }
.hn :focus-visible { outline: 2px solid var(--hn-green); outline-offset: 3px; border-radius: 6px; }
.hn-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Raender wie die Startseite: mindestens 24 px, ab 1650 px Bildschirm waechst der Rand, Inhalt max. 1600 px */
.hn-wrap { max-width: none; margin: 0; padding: 0 max(24px, calc((100% - var(--hn-max)) / 2)); }
.hn-locale-src > div > button { display: none !important; }

/* ---------- Leiste oben (Block nav_topbar) ---------- */
.hn-topbar { background: var(--hn-green-d); color: #fff; height: var(--hn-topbar-h); overflow: hidden; }
.hn-topbar .hn-wrap { height: 100%; }
.hn-topbar ul {
  height: var(--hn-topbar-h); display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start;
  justify-content: center; column-gap: clamp(24px, 3vw, 60px); overflow: hidden;
}
.hn-topbar li {
  height: var(--hn-topbar-h); display: inline-flex; align-items: center; gap: 8px;
  font: 600 clamp(12px, .7vw, 13.5px)/1 var(--hn-font); white-space: nowrap; color: #fff;
}
.hn-topbar a, .hn-trustbox a { color: inherit; }
@media (hover: hover) { .hn-topbar a:hover { text-decoration: underline; } }
.hn-topbar li::before, .hn-trustbox li::before {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: var(--hn-i, var(--hn-i-check)) center / contain no-repeat; mask: var(--hn-i, var(--hn-i-check)) center / contain no-repeat;
}
.hn .hn-usp--garantie { --hn-i: var(--hn-i-shield); }
.hn .hn-usp--versand { --hn-i: var(--hn-i-truck); }
.hn .hn-usp--sterne { --hn-i: var(--hn-i-star); }
.hn .hn-usp--sterne::before { background: #D9A441; }

/* ---------- Kopfzeile ---------- */
.hn-bar { background: #fff; border-bottom: 1px solid var(--hn-line); }
.hn-bar__inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions";
  align-items: center; column-gap: clamp(24px, 3.2vw, 72px); min-height: clamp(72px, 4.8vw, 92px);
}
.hn-burger { display: none; }
.hn-logo { grid-area: logo; display: block; line-height: 0; }
.hn-logo img { height: clamp(40px, 2.9vw, 54px); width: auto; max-width: none; display: block; }
.hn-search { grid-area: search; position: relative; width: 100%; max-width: clamp(340px, 38vw, 780px); justify-self: center; }
.hn-search__icon {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; color: var(--hn-muted); pointer-events: none;
}
.hn-search__field > div { position: static !important; inset: auto !important; width: auto !important; margin: 0 !important; display: block !important; }
.hn-search .aa-Autocomplete { width: 100% !important; }
.hn-search .aa-Form {
  margin: 0 !important; height: clamp(44px, 2.8vw, 52px); display: flex; align-items: center; padding: 0 14px 0 46px;
  background: var(--hn-cream); border: 1px solid #e1ddd1; border-radius: 999px; transition: border-color .15s, box-shadow .15s;
}
.hn-search .aa-Form:focus-within { border-color: var(--hn-green); box-shadow: 0 0 0 3px rgba(70, 124, 72, .14); }
.hn-search .aa-InputWrapper { flex: 1; min-width: 0; height: 100%; }
.hn-search .aa-Input {
  width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; box-shadow: none !important; outline: none !important; text-align: left !important; text-indent: 0 !important;
  font: 400 clamp(14px, .8vw, 15.5px)/1 var(--hn-font) !important; color: var(--hn-ink) !important;
}
.hn-search .aa-Input::placeholder { color: #7c867f; opacity: 1; }
.hn-search .aa-InputWrapperPrefix { display: none !important; }
.hn-search .aa-Panel { width: min(860px, calc(100vw - 360px)) !important; max-width: none; }

.hn-actions { grid-area: actions; display: flex; align-items: center; gap: clamp(16px, 1.9vw, 36px); }
.hn-act { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--hn-ink); font: 500 clamp(13.5px, .85vw, 15.5px)/1 var(--hn-font); white-space: nowrap; }
.hn-act__count {
  position: absolute; top: -8px; left: 12px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--hn-green); color: #fff; font: 700 10px/17px var(--hn-font); text-align: center;
}
.hn-act__count[hidden] { display: none; }
@media (hover: hover) { .hn-act:hover { color: var(--hn-green); } }
.hn-cart {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: clamp(42px, 2.7vw, 50px); padding: 0 clamp(16px, 1.4vw, 26px);
  background: var(--hn-dark); color: #fff; border-radius: 999px; font: 600 clamp(13.5px, .85vw, 15.5px)/1 var(--hn-font); white-space: nowrap;
  transition: background .15s;
}
@media (hover: hover) { .hn-cart:hover { background: var(--hn-green-d); color: #fff; } }

/* ---------- Menuezeile ---------- */
.hn-nav { position: relative; background: #fff; border-bottom: 1px solid var(--hn-line); }
.hn-nav__inner { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; gap: 24px; }
/* Eine Zeile, immer: Abstaende und Schrift wachsen mit dem Bildschirm und schrumpfen bis 1024 px mit */
.hn-menu { display: flex; flex-wrap: nowrap; align-items: stretch; gap: clamp(18px, 2.8vw, 60px); min-width: 0; }
.hn-item { display: flex; align-items: center; }
.hn-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: clamp(48px, 3.3vw, 60px); padding: 2px 0 0;
  color: var(--hn-ink); font: 500 clamp(13.5px, calc(.4vw + 9.5px), 16.5px)/1 var(--hn-font); white-space: nowrap; border-bottom: 2px solid transparent;
}
@media (hover: hover) { .hn-link:hover { color: var(--hn-green); } }
.hn-item.is-open > .hn-link, .hn-item.is-current > .hn-link { color: var(--hn-green); }
.hn-item.is-open > .hn-link { border-bottom-color: var(--hn-green); }
.hn-toggle {
  display: inline-flex; align-items: center; justify-content: center; align-self: center; width: 22px; height: 26px; margin: 0 0 0 3px; padding: 0;
  background: none; border: 0; color: var(--hn-ink); cursor: pointer;
}
.hn-toggle svg { transition: transform .2s; }
.hn-item.is-open > .hn-toggle { color: var(--hn-green); }
.hn-item.is-open > .hn-toggle svg { transform: rotate(180deg); }
/* Laenderwahl: runde Flagge ganz rechts neben dem Warenkorb (wie im alten Kopf) */
.hn-locale { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--hn-ink); font: 500 15px/1 var(--hn-font); }
.hn-flag { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(20, 28, 23, .18); transition: box-shadow .15s; }
@media (hover: hover) { .hn-locale--top:hover .hn-flag { box-shadow: 0 0 0 2px var(--hn-green); } }
/* Pfeil neben der Flagge: zeigt, dass man das Land wählen kann */
.hn-locale--top { gap: 5px; }
.hn-locale--top > svg:last-child { flex: none; width: 14px; height: 14px; color: var(--hn-ink); transition: transform .2s; }
@media (hover: hover) { .hn-locale--top:hover > svg:last-child { transform: translateY(2px); color: var(--hn-green); } }

.hn-badge {
  display: inline-flex; align-items: center; padding: 5px 9px 4px; border-radius: 999px;
  background: var(--hn-mint); color: var(--hn-green-d); font: 700 9.5px/1 var(--hn-font); letter-spacing: .1em; text-transform: uppercase;
}
.hn-badge--dark { background: var(--hn-green); color: #fff; }

/* ---------- Aufklapper (Bloecke nav_aufklapper_N) ---------- */
.hn-panel {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: #fff; border-top: 1px solid var(--hn-line); box-shadow: 0 22px 40px -12px rgba(31, 43, 36, .16);
}
.hn-item.is-open > .hn-panel { display: block; }
.hn-panel__inner { padding-top: clamp(26px, 2.2vw, 40px); padding-bottom: clamp(30px, 2.4vw, 44px); }
.hn-mega { display: grid; gap: 22px clamp(28px, 3vw, 64px); align-items: stretch; }
.hn-mega--produkte { grid-template-columns: repeat(3, minmax(0, 1fr)) clamp(270px, 21vw, 360px); } /* Karte so breit wie bei Beschwerden/Vorteilspakete */
.hn-mega--beschwerden, .hn-mega--pakete, .hn-mega--ratgeber { grid-template-columns: minmax(0, 1fr) clamp(270px, 21vw, 360px); }
.hn-eyebrow { margin: 0 0 12px; font: 600 11.5px/1.3 var(--hn-font); letter-spacing: .12em; text-transform: uppercase; color: var(--hn-green); }
/* Spalten-Ueberschriften (Produkte): kraeftiger, mit Linie und Abstand zum ersten Punkt */
.hn-col > .hn-eyebrow {
  margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--hn-green);
  font: 700 13px/1.3 var(--hn-font); letter-spacing: .1em; color: var(--hn-green-d);
}
.hn-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid #eeebe3; color: var(--hn-ink); font: 400 14px/1.35 var(--hn-font);
}
@media (hover: hover) { .hn-list a:hover { color: var(--hn-green); } }
.hn-list a { justify-content: flex-start; }
.hn-list a .hn-badge, .hn-list a::after { margin-left: auto; }
.hn-list a:has(.hn-badge)::after { margin-left: 0; }
.hn-more { margin-top: 12px; }
.hn-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--hn-green); font: 500 13.5px/1.3 var(--hn-font); }
.hn-more a::after, .hn-promo__cta::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--hn-i-arrow) center / contain no-repeat; mask: var(--hn-i-arrow) center / contain no-repeat;
}
@media (hover: hover) { .hn-more a:hover { text-decoration: underline; } }
.hn-group__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--hn-green);
}
.hn-group__head .hn-eyebrow { margin: 0; font: 700 13px/1.3 var(--hn-font); letter-spacing: .1em; color: var(--hn-green-d); }
.hn-group__head .hn-more { margin: 0; }
/* Beschwerden/Vorteilspakete: Liste in Spalten (von oben nach unten), gleiche Optik wie die Produkt-Spalten */
.hn-tiles { columns: 3; column-gap: clamp(28px, 3vw, 64px); }
@media (min-width: 1500px) { .hn-tiles { columns: 4; } }
.hn-tiles li { break-inside: avoid; }
.hn-tiles a {
  display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eeebe3;
  color: var(--hn-ink); font: 400 14px/1.35 var(--hn-font);
}
.hn-tiles a::after, .hn-list a::after {
  content: ""; width: 14px; height: 14px; flex: none; background: #8a948d;
  -webkit-mask: var(--hn-i-right) center / contain no-repeat; mask: var(--hn-i-right) center / contain no-repeat;
}
.hn-tiles a::after, .hn-list a::after { display: none; }
@media (hover: hover) { .hn-tiles a:hover { color: var(--hn-green); } }

/* Beratungs-Karte */
.hn-card { border-radius: 16px; min-width: 0; }
/* Karten so hoch wie ihr Inhalt (nicht auf Spaltenhoehe gestreckt), alle drei gleich aufgebaut */
.hn-card--beratung { display: flex; flex-direction: column; align-self: start; padding: clamp(22px, 1.8vw, 30px); background: var(--hn-mint); }
.hn-card--beratung .hn-eyebrow { margin-bottom: 12px; }
.hn .hn-card__title { margin: 0 0 16px; font: 400 clamp(21px, 1.5vw, 26px)/1.2 var(--hn-font); color: var(--hn-ink); }
.hn-card__title em { font-style: italic; }
.hn-card__text { color: var(--hn-muted); font: 400 13px/1.55 var(--hn-font); }
.hn-card__btn { padding-top: 24px; }
.hn-card__btn a {
  display: block; padding: 14px 18px; border-radius: 999px; background: var(--hn-green); color: #fff; text-align: center;
  font: 600 14px/1 var(--hn-font); transition: background .15s;
}
@media (hover: hover) { .hn-card__btn a:hover { background: var(--hn-green-d); color: #fff; } }

/* Bild-Karte (z. B. Bestseller) */
.hn-card--promo { position: relative; overflow: hidden; min-height: 240px; background: var(--hn-green-d); }
.hn-promo { position: absolute; inset: 0; display: block; color: #fff; }
.hn-promo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; transition: transform .4s; }
.hn-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 24, 0) 35%, rgba(20, 30, 24, .78) 100%); }
@media (hover: hover) { .hn-promo:hover img { transform: scale(1.03); } }
.hn-promo__tag, .hn-promo__title, .hn-promo__cta { position: absolute; left: 18px; right: 18px; z-index: 1; }
.hn-promo__tag {
  bottom: 96px; right: auto; padding: 5px 10px 4px; border-radius: 999px; background: #fff; color: var(--hn-ink);
  font: 700 9.5px/1 var(--hn-font); letter-spacing: .1em; text-transform: uppercase;
}
.hn-promo__title { bottom: 42px; font: 500 22px/1.15 var(--hn-font); color: #fff; }
.hn-promo__title em { display: block; font-style: italic; font-weight: 400; }
.hn-promo__cta { bottom: 16px; display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--hn-font); }

/* Schublade und zweite Ebene: nur Handy */
.hn-drawer__head, .hn-drawer__extra, .hn-overlay, .hn-panel__head, .hn-panel__title, .hn-panel__all { display: none; }

/* ---------- Handy und Tablet ---------- */
@media (max-width: 1023px) {
  .hn-wrap { padding: 0 16px; }
  .hn-topbar ul { column-gap: 16px; }
  .hn-topbar li { font-size: 11px; gap: 6px; }
  .hn-topbar li::before { width: 13px; height: 13px; }
  /* Kurzfassung am Handy: data-kurz="…" am Listenpunkt (im Quelltext des Blocks) */
  .hn-topbar li[data-kurz] { font-size: 0; }
  .hn-topbar li[data-kurz]::after { content: attr(data-kurz); font-size: 11px; }

  .hn-bar__inner {
    grid-template-columns: 1fr auto 1fr; grid-template-areas: "burger logo actions" "search search search";
    column-gap: 12px; row-gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 12px;
  }
  .hn-burger {
    grid-area: burger; justify-self: start; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px;
    background: #fff; border: 1.5px solid var(--hn-ink); border-radius: 999px; color: var(--hn-ink); font: 600 13px/1 var(--hn-font); cursor: pointer;
  }
  .hn-logo { justify-self: center; }
  .hn-logo img { height: 34px; }
  .hn-search { max-width: none; }
  .hn-search .aa-Form { height: 42px; }
  .hn-search .aa-Panel { width: calc(100vw - 32px) !important; }
  .hn-search .aa-Input { font-size: 16px !important; } /* verhindert Zoom auf iPhone */
  .hn-actions { justify-self: end; gap: 16px; }
  .hn-act--beratung { display: none; }
  /* Abmelden (nur bei angemeldeten Kunden) steht am Handy/Tablet in der Menü-Schublade. Als fünftes Symbol in der
     Kopfzeile machte es die Seite auf schmalen Handys breiter als das Fenster (gemessen 01.12.: 411/400, 366/360, 332/320 px). */
  .hn-act--logout { display: none; }
  .hn-act__count { top: -7px; left: 13px; }
  .hn-act span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hn-act svg { width: 23px; height: 23px; }
  .hn-cart { height: auto; padding: 0; background: none; color: var(--hn-ink); }
  .hn-cart:hover { background: none; color: var(--hn-green); }
  .hn-cart svg { width: 23px; height: 23px; }
  .hn-cart__label, .hn-cart__sep { display: none; }
  .hn-cart__count {
    position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
    background: var(--hn-green); color: #fff; font: 700 10px/17px var(--hn-font); text-align: center;
  }
  .hn-cart[data-count="0"] .hn-cart__count { display: none; }

  /* Menue als Schublade */
  .hn-nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(400px, calc(100% - 56px)); /* rechts bleibt ein Streifen zum Schliessen */
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    border: 0; box-shadow: 8px 0 30px rgba(0, 0, 0, .12);
    transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
  }
  html.hn-drawer-open .hn-nav { transform: none; visibility: visible; transition: transform .25s ease; }
  .hn-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(20, 28, 23, .45); }
  html.hn-drawer-open .hn-overlay { display: block; }
  .hn-drawer__head {
    position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center;
    padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--hn-line);
  }
  .hn-logo--drawer { grid-area: 1 / 2; justify-self: center; }
  .hn-logo--drawer img { height: 46px; }
  .hn-close { grid-area: 1 / 3; }
  .hn-close {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
    background: #fff; border: 1px solid var(--hn-line); border-radius: 50%; color: var(--hn-ink); cursor: pointer;
  }
  .hn-nav__inner { display: block; width: 100%; margin: 0; padding-top: 4px; }
  html.hn-drawer-open .page-footer a.fixed { display: none !important; } /* WhatsApp-Blase nicht ueber der Schublade */
  .hn-menu { display: block; }
  .hn-item { display: block; position: relative; border-bottom: 1px solid var(--hn-line); }
  .hn-link { display: flex; min-height: 56px; padding: 0 40px 0 0; border: 0; font: 600 17px/1.2 var(--hn-font); }
  .hn-item.is-open > .hn-link { border: 0; }
  .hn-toggle {
    position: absolute; top: 0; left: 0; right: 0; width: auto; height: 56px; margin: 0; justify-content: flex-end; color: #8a948d;
  }
  .hn-toggle svg { width: 18px; height: 18px; transform: rotate(-90deg); }
  .hn-item.is-open > .hn-toggle svg { transform: rotate(-90deg); }
  .hn-item.is-open > .hn-link, .hn-item.is-open > .hn-toggle { color: inherit; }
  .hn-locale--top .hn-flag { width: 23px; height: 23px; }
  .hn-service .hn-flag { width: 19px; height: 19px; }

  /* Zweite Ebene: eigene Seite, schiebt sich von rechts ueber die Schublade */
  .hn-panel {
    display: block; position: fixed; top: 0; bottom: 0; left: 0; right: auto; z-index: 5; width: min(400px, calc(100vw - 56px));
    overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 0; box-shadow: none;
    transform: translateX(100%); visibility: hidden; transition: transform .26s ease, visibility 0s linear .26s;
  }
  .hn-item.is-open > .hn-panel { transform: none; visibility: visible; transition: transform .26s ease; }
  .hn-panel__head {
    position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
    padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--hn-line);
  }
  .hn-back {
    justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 6px 4px; background: none; border: 0; cursor: pointer;
    color: var(--hn-green); font: 500 14.5px/1 var(--hn-font);
  }
  .hn-back svg { width: 18px; height: 18px; transform: rotate(90deg); }
  .hn-panel__logo { height: 40px; width: auto; max-width: none; }
  .hn-panel__head .hn-close { justify-self: end; }
  .hn-panel__title { display: block; padding: 22px 16px 4px; font: 600 24px/1.2 var(--hn-font); color: var(--hn-ink); }
  .hn-panel__inner { padding: 0 16px 8px; }
  .hn-panel__all { display: block; padding: 18px 16px 32px; }
  .hn-panel__all a {
    display: block; padding: 15px 18px; border-radius: 999px; background: var(--hn-green); color: #fff; text-align: center;
    font: 600 15px/1 var(--hn-font);
  }
  .hn-panel .hn-more { display: none; } /* "Alle ..." steht als Knopf unten */
  .hn-mega { display: block; }
  .hn-card { display: none; }
  .hn-eyebrow { margin: 14px 0 2px; font-size: 10.5px; }
  /* Untergruppen (Produkte): deutlicher Abstand, eigene Ueberschrift mit Linie */
  .hn-col > .hn-eyebrow {
    margin: 0 0 2px; padding: 0 0 10px; border-bottom: 2px solid var(--hn-green);
    font: 700 12px/1.3 var(--hn-font); letter-spacing: .1em; color: var(--hn-green-d);
  }
  .hn-col:first-child > .hn-eyebrow { margin-top: 20px; }
  .hn-group__head { display: none; } /* Nach Beschwerde braucht es am Handy nicht */
  .hn-tiles { display: block; columns: auto; }
  .hn-list a, .hn-tiles a {
    height: auto; padding: 14px 0; border: 0; border-bottom: 1px solid #e6e1d5; border-radius: 0; background: none;
    font: 400 14.5px/1.35 var(--hn-font); color: var(--hn-ink);
  }
  .hn-tiles a:hover { background: none; }
  .hn-list a::after, .hn-tiles a::after { display: block; margin-left: auto; }
  .hn-more { margin: 10px 0 8px; }
  .hn-col + .hn-col { margin-top: 34px; }
  .hn-list li:last-child a { border-bottom: 0; }

  .hn-drawer__extra { display: block; padding: 14px 16px 30px; }
  .hn-service a, .hn-service button {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; background: none; border: 0; cursor: pointer;
    color: var(--hn-ink); font: 400 14.5px/1.3 var(--hn-font); text-align: left;
  }
  .hn-service svg { color: var(--hn-green); width: 19px; height: 19px; }
  .hn-service button svg:last-child { width: 15px; height: 15px; color: #8a948d; margin-left: -4px; }
  .hn-trustbox { margin-top: 14px; padding: 12px 16px; background: var(--hn-mint); border-radius: 14px; }
  .hn-trustbox ul { display: block; }
  .hn-trustbox li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font: 500 13px/1.35 var(--hn-font); color: var(--hn-ink); }
  .hn-trustbox li::before { background: var(--hn-green); }
  .hn-trustbox .hn-usp__extra { display: none; }
}

/* Laptop: Beratung, Favoriten, Konto nur als Symbol, damit nichts umbricht */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hn-act > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hn-act svg { width: 22px; height: 22px; }
  .hn-badge { padding: 4px 7px 3px; font-size: 9px; }
  .hn-link { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .hn *, .hn-nav { transition: none !important; }
}

/* Schmale Handys: Kopf enger, damit Menue, Logo, Favoriten, Konto, Warenkorb und Flagge in eine Zeile passen */
@media (max-width: 399px) {
  .hn-burger { height: 36px; padding: 0 11px 0 9px; gap: 6px; font-size: 12.5px; }
  .hn-logo img { height: 30px; }
  .hn-actions { gap: 12px; }
  .hn-act svg, .hn-cart svg { width: 22px; height: 22px; }
  .hn-locale--top .hn-flag { width: 22px; height: 22px; }
  .hn-locale--top { gap: 3px; }
  .hn-locale--top > svg:last-child { width: 11px; height: 11px; }
}
@media (max-width: 349px) { .hn-act--fav { display: none; } } /* Favoriten stehen in der Schublade */

/* ---------- Länderfenster (vorhandene Länderwahl des Shops, hier nur neu gestaltet) ----------
   Aufbau kommt aus Herbano/default (Alpine): .hn-locale-src > div > div.fixed (Abdunklung) > div (Fenster)
   > button (Schließen) + [role=menu] > a (img + div). Kein Eingriff ins Template, nur Stil. */
.hn-locale-src > div > div.fixed { z-index: 80; padding: 20px; background: rgba(20, 28, 23, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.hn-locale-src > div > div.fixed > div {
  width: 100%; max-width: 520px !important; margin: 0 !important; padding: 26px 26px 24px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #F6F4EE; border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .28); font-family: var(--hn-font);
}
.hn-locale-src > div > div.fixed > div::before {
  content: var(--hn-locale-titel, 'Land wählen'); display: block; margin: 0 48px 18px 2px;
  font: 600 22px/1.2 var(--hn-font); letter-spacing: -.01em; color: var(--hn-ink);
}
.hn-locale-src > div > div.fixed > div > button {
  top: 20px; right: 20px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0 0 2px;
  background: #fff; border: 1px solid var(--hn-line); border-radius: 50%; color: var(--hn-ink); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s;
}
@media (hover: hover) { .hn-locale-src > div > div.fixed > div > button:hover { border-color: var(--hn-green); color: var(--hn-green); } }
.hn-locale-src [role="menu"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; }
.hn-locale-src [role="menu"] > a {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; background: #fff; border: 1px solid var(--hn-line); border-radius: 14px;
  color: var(--hn-ink); font: 500 15px/1.2 var(--hn-font); text-decoration: none; transition: border-color .15s, box-shadow .15s, color .15s;
}
.hn-locale-src [role="menu"] > a img { flex: none; width: 28px; height: 28px; margin: 0; border: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(20, 28, 23, .16); }
.hn-locale-src [role="menu"] > a > div { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .hn-locale-src [role="menu"] > a:hover { background: #fff; border-color: var(--hn-green); color: var(--hn-green); box-shadow: 0 6px 18px rgba(0, 60, 30, .10); } }
.hn-locale-src [role="menu"] > a:focus-visible { outline: 2px solid var(--hn-green); outline-offset: 2px; }
/* Handy: Fenster kommt von unten über die ganze Breite */
@media (max-width: 599px) {
  .hn-locale-src > div > div.fixed { align-items: flex-end; padding: 0; }
  .hn-locale-src > div > div.fixed > div { max-width: none !important; max-height: 88vh; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .hn-locale-src > div > div.fixed > div::before { margin-bottom: 14px; font-size: 19px; }
  .hn-locale-src > div > div.fixed > div > button { top: 14px; right: 14px; }
  .hn-locale-src [role="menu"] > a { min-height: 48px; padding: 6px 12px; gap: 10px; font-size: 14.5px; }
  .hn-locale-src [role="menu"] > a img { width: 26px; height: 26px; }
}
@media (max-width: 339px) { .hn-locale-src [role="menu"] { grid-template-columns: 1fr; } }
/* WhatsApp-Blase nicht über dem offenen Länderfenster */
html:has(.hn-locale-src > div > div.fixed:not([style*="display: none"])) .page-footer a.fixed { display: none !important; }

/* ---------- Alle Themen des bisherigen Menues (27.11.) ----------
   Beschwerden: je Bereich eine Gruppe (Oberthema fett, Unterthemen darunter). Produkte: Unterkategorien (.hn-sub)
   eingerueckt unter dem Hauptpunkt. Handy: Unterthemen klappen je Gruppe auf (Knopf setzt nav.js). */
.hn-themen { columns: 4; column-gap: clamp(24px, 2.4vw, 48px); }
@media (max-width: 1279px) { .hn-themen { columns: 3; } }
@media (min-width: 1600px) { .hn-themen { columns: 5; } }
.hn-thema { break-inside: avoid; padding-bottom: 18px; }
.hn .hn-thema__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; padding-bottom: 7px; border-bottom: 1px solid #e6e1d5; font: 600 14px/1.3 var(--hn-font); color: var(--hn-ink); }
.hn-thema__head a { color: inherit; }
.hn-thema__list a, .hn-sub a { display: block; padding: 4px 0; color: var(--hn-muted); font: 400 13.5px/1.35 var(--hn-font); }
@media (hover: hover) { .hn-thema__head a:hover, .hn-thema__list a:hover, .hn-sub a:hover { color: var(--hn-green); } }
.hn-thema__toggle { display: none; }
.hn-list .hn-sub { margin: 0; padding: 4px 0 8px 14px; border-bottom: 1px solid #eeebe3; }
.hn-list li:has(> .hn-sub) > a { border-bottom: 0; padding-bottom: 4px; }
.hn-list .hn-sub a { border: 0; }
@media (max-width: 1023px) {
  .hn-themen { columns: auto; }
  .hn-thema { padding: 0; border-bottom: 1px solid #e6e1d5; }
  .hn .hn-thema__head { margin: 0; padding: 0; border: 0; min-height: 50px; font: 500 15px/1.3 var(--hn-font); }
  .hn-thema__head a { flex: 1; padding: 14px 0; }
  .hn-thema__toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: #8a948d; cursor: pointer; }
  .hn-thema__toggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .hn-thema.is-open .hn-thema__toggle svg { transform: rotate(180deg); }
  .hn-thema:not(.is-open):not(.hn-thema--einzeln) .hn-thema__list { display: none; }
  .hn-thema__list { padding: 0 0 12px 14px; }
  .hn-thema__list a, .hn-sub a { padding: 9px 0; font-size: 14.5px; }
  .hn-thema--einzeln .hn-thema__head { color: var(--hn-green-d); font: 700 11px/1.3 var(--hn-font); letter-spacing: .1em; text-transform: uppercase; min-height: 0; padding: 18px 0 4px; }
  .hn-thema--einzeln .hn-thema__list { padding-left: 0; }
  .hn-thema--einzeln .hn-thema__list a { padding: 13px 0; color: var(--hn-ink); border-bottom: 1px solid #e6e1d5; }
  .hn-thema--einzeln, .hn-thema--einzeln .hn-thema__list li:last-child a { border-bottom: 0; }
  .hn-list .hn-sub { padding: 0 0 10px 14px; border-bottom: 1px solid #e6e1d5; }
  .hn-list .hn-sub a { padding: 9px 0; border: 0; color: var(--hn-muted); }
  .hn-list .hn-sub a::after { display: none; }
}


/* --- Aus der Zweitpruefung 01.12.2026 ---
   (1) Aufklapper waren auf kleinen Laptops hoeher als das Fenster, der untere Teil unerreichbar (Kopf klebt, Seite
       scrollt darunter weg): Hoehe begrenzen, Rest im Aufklapper scrollen. Den genauen Wert setzt nav.js beim Oeffnen. */
@media (min-width: 1024px) {
  .hn-panel { max-height: var(--hn-panel-max, calc(100vh - 150px)); overflow-y: auto; overscroll-behavior: contain; }
}
/* (2) Shop-Meldungen (.page.messages klebt bei top 0, z-index 38) lagen komplett hinter dem neuen Kopf (z-index 50).
       Erster Versuch (z-index 52) legte sie UEBER den Kopf: Logo, Suche und Warenkorb waren verdeckt und nicht mehr
       anklickbar, bis man die Meldung schloss (dritte Pruefung 01.12.). Jetzt kleben sie direkt UNTER dem Kopf:
       sichtbar, und der Kopf bleibt bedienbar. --hn-kopf-h setzt nav.js (Hoehe des ganzen Kopfs samt gruener Leiste,
       die beim Scrollen wegrutscht - deshalb wird sie abgezogen). */
html.hn-on .page.messages { top: calc(var(--hn-kopf-h, 158px) - var(--hn-topbar-h, 36px)); z-index: 49; }
html.hn-on.vipcd-on .page.messages { top: calc(var(--hn-kopf-h, 122px) + var(--vipcd-h, 40px)); }
/* Sprungziele (Inhaltsverzeichnis im Ratgeber, Anker wie zahlungsarten#paypal, Liste der Ratgeber-Uebersicht) nicht
   unter dem klebenden Kopf verstecken. Bewusst als Abstand AM ZIEL (scroll-margin-top) und NICHT als
   scroll-padding-top an <html>: das zog die ganze Seite nach oben, sobald der Fokus in den klebenden Kopf ging
   (Menue am Handy oeffnen/schliessen, Tippen im Suchfeld, Tab durch den Kopf - vierte Pruefung 02.12.2026). */
html.hn-on { --hn-sprung: calc(var(--hn-kopf-h, 158px) - var(--hn-topbar-h, 36px) + 12px); }
html.hn-on.vipcd-on { --hn-sprung: calc(var(--hn-kopf-h, 122px) + var(--vipcd-h, 40px) + 12px); }
html.hn-on :target, html.hn-on main h2[id], html.hn-on main h3[id], html.hn-on main h4[id], html.hn-on main a[name],
html.hn-on #herbano-listing-anchor, html.hn-on #customer-reviews { scroll-margin-top: var(--hn-sprung); }
/* Tastatur: Der Link in der gruenen Leiste ist gescrollt ausserhalb des Fensters (die Leiste rutscht weg). Bekommt er
   den Fokus, faehrt der Kopf ganz herein - sonst sprang die Seite nach oben und der Link blieb trotzdem unsichtbar. */
html.hn-on:not(.vipcd-on) body .page-wrapper header.page-header:has(.hn-topbar :focus-visible) { top: 0; }
/* ... und eine gerade sichtbare Shop-Meldung rueckt so lange mit nach unten (laege sonst 36 px unter dem Kopf). */
html.hn-on:not(.vipcd-on):has(.hn-topbar :focus-visible) .page.messages { top: var(--hn-kopf-h, 158px); }
/* Such-Platzhalter, der nicht ganz ins Feld passt (schmale Handys, angemeldet bei 1280 px): mit Auslassungspunkten enden. */
.hn-search .aa-Input { text-overflow: ellipsis; }
/* (3) Handy: offene Schublade nicht vom Trusted-Shops-Abzeichen und der festen Kaufleiste der Produktseite ueberdecken;
       Platz fuer das Suchfeld freihalten, das erst mit dem Such-Skript erscheint (sonst springt der Kopf). */
@media (max-width: 1023px) {
  html.hn-drawer-open [id^="trustbadge-container"], html.hn-drawer-open [id^="minimized-trustbadge"],
  html.hn-drawer-open #bottom-add-to-cart-scroll-block { display: none !important; }
  .hn-search { min-height: 42px; }
}
