/* IMPREGO.biz: einheitliche Hauptnavigation für alle aktiven Seiten */
.impb-site-header,.impb-site-header *{box-sizing:border-box}
.impb-site-header{position:relative;z-index:100;background:#fff;border-bottom:1px solid #dae4ec;color:#163650;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.impb-site-header__inner{width:min(1180px,calc(100% - 48px));margin:0 auto;min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.impb-site-header__brand{display:flex;align-items:center;flex:0 0 auto;max-width:190px}
.impb-site-header__brand img{display:block;width:190px;max-width:100%;height:auto;object-fit:contain}
.impb-site-header__nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.32vw,21px);min-width:0}
.impb-site-header__nav a{font-size:12.5px;line-height:1.35;font-weight:710;white-space:nowrap;color:#193d5c;text-decoration:none;padding:8px 0}
.impb-site-header__nav a:hover,.impb-site-header__nav a[aria-current="page"]{color:#096ea8;text-decoration:underline;text-underline-offset:5px}
.impb-site-header__nav a.impb-site-header__contact{padding:10px 13px;border:1px solid #c8d9e6;border-radius:11px;color:#104a75}
.impb-site-header__nav a.impb-site-header__contact:hover{background:#f1f8fd}
.impb-site-header__mobile{display:none}
.impb-site-header a:focus-visible,.impb-site-header summary:focus-visible{outline:3px solid #43a4c9;outline-offset:3px}
@media(max-width:1100px){.impb-site-header__inner{width:calc(100% - 36px);min-height:69px}.impb-site-header__brand{max-width:165px}.impb-site-header__brand img{width:165px}.impb-site-header__nav{display:none}.impb-site-header__mobile{display:block;position:relative;margin-left:auto}.impb-site-header__mobile>summary{display:flex;align-items:center;gap:10px;padding:10px 13px;background:#fff;border:1px solid #c6d9e6;color:#12476b;font-size:13px;font-weight:750;list-style:none;cursor:pointer;border-radius:10px;min-height:43px}.impb-site-header__mobile>summary::-webkit-details-marker{display:none}.impb-site-header__mobile[open]>summary{border-color:#78b6d7;background:#f7fbfe}.impb-site-header__mobile nav{position:absolute;z-index:120;top:calc(100% + 8px);right:0;min-width:min(300px,calc(100vw - 36px));max-height:calc(100dvh - 93px);overflow-y:auto;display:grid;gap:2px;padding:9px;background:#fff;border:1px solid #d4e4ef;border-radius:13px;box-shadow:0 18px 38px rgba(11,47,79,.16)}.impb-site-header__mobile nav a{display:block;min-height:39px;padding:10px 11px;border-radius:8px;color:#173e5a;font-size:13.5px;line-height:1.35;font-weight:670;text-decoration:none}.impb-site-header__mobile nav a:hover,.impb-site-header__mobile nav a[aria-current="page"]{background:#edf7fc;color:#0a669a}}
@media(max-width:380px){.impb-site-header__inner{width:calc(100% - 28px)}.impb-site-header__brand img{width:153px}.impb-site-header__mobile nav{min-width:min(292px,calc(100vw - 28px))}}


/* 2026-11-02: Sticky-Navigation und dezenter Zurueck-nach-oben-Zugang. */
html { scroll-padding-top: 96px; }
.impb-site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  isolation: isolate;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.impb-site-header.is-scrolled {
  border-bottom-color: #d4e4ee;
  box-shadow: 0 8px 22px rgba(13, 49, 79, .095);
}
.impb-scroll-top[hidden] { display: none !important; }
.impb-scroll-top {
  position: fixed;
  z-index: 1010;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid #bbd6e7;
  background: rgba(250, 253, 255, .97);
  color: #125584;
  box-shadow: 0 7px 23px rgba(14, 58, 85, .16);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.impb-scroll-top:hover { background: #eaf5fc; border-color: #83badb; }
.impb-scroll-top:focus-visible { outline: 3px solid #1788bb; outline-offset: 3px; }
.impb-scroll-top svg { width: 21px; height: 21px; pointer-events: none; }
@media (max-width: 1100px) { html { scroll-padding-top: 81px; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .impb-scroll-top { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(17px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) { .impb-site-header { transition: none; } }

/* Lange Rechtstext-Ueberschriften auch auf 320-px-Displays lesbar umbrechen. */
@media (max-width: 380px) { .biz-legal-body .biz-legal-page h1 { overflow-wrap: anywhere; hyphens: auto; } }
