/**
 * Kopfzeile wie /umzug/ – für alle HTML-Seiten
 * CLS: Platz oben reservieren, Kopfzeile fixed (kein Sprung beim JS-Inject)
 */
:root {
  --sb-cyan: #dff5f8;
  --sb-cyan-dark: #c8e8ee;
  --sb-nav-active: #5fd4d8;
  --sb-text: #1a2f4a;
  --sb-text-muted: #3d5068;
  --sb-white: #ffffff;
  --sb-max: 1180px;
  --sb-chrome-offset: 138px;
}

@media (max-width: 899px) {
  :root {
    --sb-chrome-offset: 210px;
  }
}

/* Platz für fixed Kopfzeile – gilt sobald CSS geladen ist, vor sb-chrome.js */
body.sb-pro {
  padding-top: var(--sb-chrome-offset);
}

/* Altes Builder-/Regio-Menü sofort ausblenden (nicht erst via site-pro.css) */
body.sb-unified #wsb-mobile-header,
body.sb-unified #MobileHeader_burgerMenuIcon,
body.sb-unified #mm,
body.sb-unified #mm-overlay,
body.sb-unified .Preview_row__3Fkye.row.Preview_noSideMargin__2I-_n:has(#Header),
body.sb-unified > header.container-fluid.header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.sb-chrome {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--sb-text);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.sb-topbar {
  background: var(--sb-cyan);
  border-bottom: 1px solid var(--sb-cyan-dark);
}

.sb-topbar__tel {
  display: block;
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  text-align: right;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sb-text);
  text-decoration: none;
}

.sb-topbar__tel:hover {
  text-decoration: underline;
}

.sb-header-shell {
  background: var(--sb-white);
  border-bottom: 1px solid rgba(200, 232, 238, 0.65);
}

.sb-header {
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.sb-logo {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}

.sb-logo__img {
  display: block;
  height: 76px;
  width: auto;
  max-width: min(340px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.sb-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
}

.sb-nav__link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sb-text-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.sb-nav__link:hover {
  color: var(--sb-text);
  background: #f0f6fa;
}

.sb-nav__link--cta {
  background: var(--sb-nav-active);
  color: var(--sb-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sb-nav__link--cta:hover {
  background: #4ec8cc;
  color: var(--sb-text);
}

.sb-nav__link--active {
  background: var(--sb-nav-active);
  color: var(--sb-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sb-nav__link--cta.sb-nav__link--active {
  background: #45c4c8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sb-header-band {
  height: 6px;
  background: var(--sb-cyan);
  border-top: 1px solid var(--sb-cyan-dark);
}

@media (max-width: 899px) {
  .sb-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sb-nav__list {
    justify-content: flex-start;
  }
}
