/* ——— SITE HEADER ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #ececec;
}
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 84px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* — Logo (echtes Firmenlogo) — */
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { display: block; height: 40px; width: auto; }

/* — Navigation — */
.site-nav { display: none; align-items: center; gap: 32px; }
.site-nav__link {
  position: relative;
  padding: 8px 0;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1;
  color: var(--ink); text-decoration: none;
}
.site-nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.site-nav__link:hover { color: var(--accent); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link.is-active { color: var(--accent); }
.site-nav__link.is-active::after { transform: scaleX(1); }

/* — Rechter Cluster: Tagline / Telefon / CTA — */
.site-header__right { display: none; align-items: center; }
.site-header__meta { display: flex; align-items: center; gap: 20px; }
.site-header__tagline { display: none; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.site-header__divider { display: none; width: 1px; background: #ececec; }
.site-header__divider--tagline { height: 18px; }
.site-header__divider--cta { display: block; height: 22px; margin: 0 24px; }
.site-header__phone { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-header__cta.btn { width: auto; flex-shrink: 0; }

/* — Mobil-Menü-Button — */
.site-header__burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.site-header__burger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
}
.site-header.is-menu-open .site-header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .site-header__burger span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .site-header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* — Mobile Klapp-Navigation — */
.site-nav-mobile {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ececec;
  background: #fff;
  max-width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}
.site-nav-mobile a:not(.btn) {
  padding: 16px 24px;
  font-size: 15px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid #ececec;
}
.site-nav-mobile a.is-active { color: var(--accent); }
.site-nav-mobile a:not(.btn):last-child { border-bottom: 0; }
.site-nav-mobile .btn { width: calc(100% - 48px); margin: 16px 24px; box-sizing: border-box; }
.site-header.is-menu-open .site-nav-mobile {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-header__right { display: flex; }
  .site-header__burger { display: none; }
  .site-nav-mobile { display: none !important; }
}
@media (min-width: 1280px) {
  .site-nav { gap: 40px; }
  .site-header__tagline { display: block; }
  .site-header__divider--tagline { display: block; }
}
@media (max-width: 860px) {
  .site-header__inner { padding: 0 20px; }
  .site-header__logo img { height: 32px; }
}
