:root {
  --template-blue: #009fe3;
  --template-blue-dark: #006f9e;
  --template-ink: #151c22;
  --template-steel: #202b33;
  --template-muted: #6b7780;
  --template-line: #d8e3e9;
  --template-soft: #f3f7fa;
  --template-white: #ffffff;
  --template-max: 1180px;
  --template-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.menu-open {
  overflow: hidden;
}

.site-header.template-shell {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 88px;
  padding: 0 max(24px, calc((100vw - var(--template-max)) / 2));
  color: var(--template-steel);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  box-shadow: none;
  transition: min-height 260ms var(--template-ease), box-shadow 260ms var(--template-ease), background-color 260ms var(--template-ease);
}

.site-header.template-shell::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--template-max)) / 2));
  bottom: 0;
  left: max(24px, calc((100vw - var(--template-max)) / 2));
  height: 1px;
  background: rgba(160, 178, 188, 0.34);
}

.site-header.template-shell.is-scrolled {
  min-height: 66px;
  background: rgba(248, 252, 254, 0.96);
  box-shadow: 0 16px 42px rgba(20, 29, 36, 0.08);
}

.site-header.template-shell .brand {
  grid-column: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: start;
  color: var(--template-steel);
  text-decoration: none;
}

.site-header.template-shell .brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.site-header.template-shell .brand-mark img,
.template-shell-footer .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header.template-shell .brand > span:last-child,
.template-shell-footer .brand > span:last-child {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.site-header.template-shell .brand strong,
.template-shell-footer .brand strong {
  color: var(--template-steel);
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
}

.site-header.template-shell .brand strong span,
.site-header.template-shell .brand small,
.template-shell-footer .brand strong span,
.template-shell-footer .brand small,
.template-shell-footer .footer-brand p span {
  color: var(--template-blue);
}

.site-header.template-shell .brand small,
.template-shell-footer .brand small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-header.template-shell .nav {
  grid-column: 3;
  position: static;
  display: flex;
  width: auto;
  height: auto;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  justify-self: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-header.template-shell .nav a,
.site-header.template-shell .header-link,
.site-header.template-shell .menu-toggle {
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header.template-shell .nav a:hover,
.site-header.template-shell .header-link:hover,
.site-header.template-shell .menu-toggle:hover,
.site-header.template-shell .menu-toggle:hover em {
  color: var(--template-blue);
}

.site-header.template-shell .nav-mobile-only {
  display: none;
}

.site-header.template-shell .header-actions {
  grid-column: 4;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.site-header.template-shell .header-cta,
.button.primary,
.button.large,
.button[data-accept-maps] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  color: var(--template-white);
  font-weight: 700;
  text-decoration: none;
  background: var(--template-blue);
  border: 1px solid var(--template-blue);
  border-radius: 0;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-header.template-shell .header-cta:hover,
.button.primary:hover,
.button.large:hover,
.button[data-accept-maps]:hover {
  color: var(--template-white);
  background: var(--template-blue-dark);
  border-color: var(--template-blue-dark);
}

.site-header.template-shell .menu-toggle {
  grid-column: 1;
  display: inline-flex;
  width: max-content;
  height: auto;
  gap: 10px;
  align-items: center;
  justify-self: start;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-header.template-shell .menu-toggle b {
  display: grid;
  width: 25px;
  gap: 3px;
  line-height: 0;
}

.site-header.template-shell .menu-toggle b span {
  display: block;
  height: 2px;
  margin: 0 auto;
  background: var(--template-blue);
  transition: width 180ms ease, transform 220ms ease, opacity 220ms ease;
}

.site-header.template-shell .menu-toggle b span:nth-child(1) { width: 23px; }
.site-header.template-shell .menu-toggle b span:nth-child(2) { width: 19px; }
.site-header.template-shell .menu-toggle b span:nth-child(3) { width: 25px; }
.site-header.template-shell .menu-toggle b span:nth-child(4) { width: 17px; }

.site-header.template-shell .menu-toggle em {
  color: inherit;
  font-style: normal;
}

.site-header.template-shell .menu-close,
.site-header.template-shell .menu-direct,
.site-header.template-shell .menu-social {
  display: none;
}

.site-header.template-shell.nav-open {
  color: var(--template-steel);
  background: rgba(248, 252, 254, 0.98);
}

.site-header.template-shell.nav-open::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 56%, rgba(243, 248, 250, 0.96) 56% 100%);
  box-shadow: 0 30px 70px rgba(20, 29, 36, 0.16);
}

.site-header.template-shell.nav-open .nav {
  position: fixed;
  z-index: 82;
  top: 156px;
  left: max(42px, calc((100vw - var(--template-max)) / 2 + 36px));
  display: grid;
  grid-template-columns: minmax(220px, 360px);
  gap: 18px;
  align-items: start;
  padding: 0;
  background: transparent;
}

.site-header.template-shell.nav-open .nav a {
  font-size: clamp(30px, 5vw, 76px);
  font-weight: 300;
  line-height: 0.95;
}

.site-header.template-shell.nav-open .nav-mobile-only {
  display: block;
}

.site-header.template-shell.nav-open .header-actions {
  opacity: 0;
  pointer-events: none;
}

.site-header.template-shell.nav-open .menu-toggle {
  opacity: 0;
  pointer-events: none;
}

.site-header.template-shell.nav-open .menu-close {
  position: fixed;
  top: 31px;
  right: max(24px, calc((100vw - var(--template-max)) / 2));
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(32, 43, 51, 0.22);
  cursor: pointer;
}

.site-header.template-shell.nav-open .menu-close span {
  grid-area: 1 / 1;
  width: 25px;
  height: 2px;
  background: var(--template-blue);
}

.site-header.template-shell.nav-open .menu-close span:first-child {
  transform: rotate(45deg);
}

.site-header.template-shell.nav-open .menu-close span:last-child {
  transform: rotate(-45deg);
}

.site-header.template-shell.nav-open .menu-direct {
  position: fixed;
  right: max(42px, calc((100vw - var(--template-max)) / 2 + 42px));
  bottom: 96px;
  display: grid;
  width: min(360px, calc(100vw - 84px));
  gap: 12px;
}

.site-header.template-shell.nav-open .menu-direct a {
  display: block;
  padding: 14px 0;
  color: var(--template-steel);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 43, 51, 0.16);
}

.site-header.template-shell.nav-open .menu-social {
  position: fixed;
  right: max(42px, calc((100vw - var(--template-max)) / 2 + 42px));
  bottom: 34px;
  display: flex;
  gap: 10px;
}

.site-header.template-shell.nav-open .menu-social a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--template-white);
  font-weight: 800;
  text-decoration: none;
  background: var(--template-blue);
}

.footer.template-shell-footer {
  color: var(--template-white);
  background: #0f1519;
}

.template-shell-footer .footer-join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  max-width: var(--template-max);
  margin: 0 auto;
  padding: 54px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.template-shell-footer .footer-join h2 {
  max-width: 820px;
  margin: 0;
  color: var(--template-white);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0;
}

.template-shell-footer .footer-join-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  color: var(--template-white);
  font-weight: 750;
  text-decoration: none;
  background: var(--template-blue);
}

.template-shell-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(130px, 1fr));
  gap: 42px;
  max-width: var(--template-max);
  margin: 0 auto;
  padding: 54px 24px;
}

.template-shell-footer .footer-brand {
  display: grid;
  gap: 20px;
}

.template-shell-footer .brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--template-white);
  text-decoration: none;
}

.template-shell-footer .brand-mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--template-white);
}

.template-shell-footer .brand strong {
  color: var(--template-white);
}

.template-shell-footer .footer-brand p {
  max-width: 340px;
  margin: 0;
  color: var(--template-white);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 300;
  line-height: 0.98;
}

.template-shell-footer address,
.template-shell-footer address a {
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
  line-height: 1.55;
  text-decoration: none;
}

.template-shell-footer .footer-links {
  display: grid;
  align-content: start;
  gap: 0;
}

.template-shell-footer .footer-links strong {
  margin-bottom: 12px;
  color: var(--template-white);
  font-size: 16px;
}

.template-shell-footer .footer-links a {
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.template-shell-footer .footer-links a:hover,
.template-shell-footer address a:hover {
  color: var(--template-blue);
}

.template-shell-footer .footer-bottom {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--template-max);
  margin: 0 auto;
  padding: 26px 24px;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.template-shell-footer .footer-bottom a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .site-header.template-shell {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .site-header.template-shell .brand {
    grid-column: 2;
    justify-self: start;
  }

  .site-header.template-shell .nav {
    display: none;
  }

  .site-header.template-shell .menu-toggle {
    grid-column: 1;
  }

  .site-header.template-shell .header-actions {
    grid-column: 3;
  }

  .template-shell-footer .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header.template-shell {
    min-height: 78px;
    padding: 0 20px;
  }

  .site-header.template-shell::after {
    right: 20px;
    left: 20px;
  }

  .site-header.template-shell .brand strong {
    font-size: 22px;
  }

  .site-header.template-shell .brand small {
    font-size: 12px;
  }

  .site-header.template-shell .header-link {
    display: none;
  }

  .site-header.template-shell .header-cta {
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
  }

  .site-header.template-shell .menu-toggle em {
    display: none;
  }

  .site-header.template-shell.nav-open::before {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header.template-shell.nav-open .nav {
    top: 124px;
    left: 26px;
    width: calc(100vw - 52px);
  }

  .site-header.template-shell.nav-open .nav a {
    font-size: clamp(34px, 11vw, 52px);
  }

  .site-header.template-shell.nav-open .menu-close {
    top: 18px;
    right: 20px;
  }

  .site-header.template-shell.nav-open .menu-direct,
  .site-header.template-shell.nav-open .menu-social {
    right: 26px;
    left: 26px;
    width: auto;
  }

  .site-header.template-shell.nav-open .menu-direct {
    bottom: 96px;
  }

  .template-shell-footer .footer-join,
  .template-shell-footer .footer-main,
  .template-shell-footer .footer-bottom {
    grid-template-columns: 1fr;
    padding-right: 20px;
    padding-left: 20px;
  }

  .template-shell-footer .footer-join {
    align-items: start;
  }

  .template-shell-footer .footer-join-link {
    width: max-content;
  }

  .template-shell-footer .footer-main {
    gap: 32px;
  }

  .template-shell-footer .footer-bottom {
    display: grid;
    justify-content: start;
  }
}


@media (max-width: 430px) {
  .site-header.template-shell {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .site-header.template-shell .brand {
    min-width: 0;
  }

  .site-header.template-shell .brand-mark {
    width: 30px;
    height: 30px;
  }

  .site-header.template-shell .brand > span:last-child {
    display: grid;
    gap: 2px;
  }

  .site-header.template-shell .header-actions {
    display: none;
  }
}

/* HochZWEI Engineering shell aligned with the master template */
.home-template .site-header.template-shell:not(.nav-open) {
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.home-template .site-header.template-shell:not(.nav-open) .menu-toggle {
  grid-column: 1;
}

.home-template .site-header.template-shell:not(.nav-open) .nav {
  grid-column: 2;
  justify-self: start;
}

.home-template .site-header.template-shell:not(.nav-open) .brand {
  grid-column: 3;
  justify-self: center;
}

.home-template .site-header.template-shell:not(.nav-open) .header-actions {
  grid-column: 4;
  justify-self: end;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) {
  color: var(--template-white);
  background: transparent;
  box-shadow: none;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open)::after {
  background: rgba(255, 255, 255, 0.34);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand {
  grid-column: 3;
  justify-self: center;
  color: var(--template-white);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand-mark {
  display: none;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand strong {
  color: var(--template-white);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand small {
  color: var(--template-white);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand strong span {
  color: var(--template-blue);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .nav,
.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .header-link,
.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .menu-toggle {
  color: var(--template-white);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .header-cta {
  color: var(--template-white);
  background: var(--template-blue);
}

.home-template .hero {
  min-height: min(980px, 100svh);
  display: grid;
  align-items: end;
  padding: 168px max(24px, calc((100vw - var(--template-max)) / 2)) 92px;
  overflow: hidden;
  color: var(--template-white);
}

.home-template .hero-media,
.home-template .hero-overlay {
  position: absolute;
  inset: 0;
}

.home-template .hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

.home-template .hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 31, 39, 0.88) 0%, rgba(20, 31, 39, 0.66) 44%, rgba(20, 31, 39, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 25, 31, 0.52), rgba(16, 25, 31, 0.08));
}

.home-template .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(44px, 7vw, 96px);
  align-items: end;
  width: 100%;
}

.home-template .hero-content {
  max-width: none;
}

.home-template .hero .eyebrow {
  margin: 0 0 28px;
  color: rgba(232, 247, 253, 0.92);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-template .hero .hero-title {
  position: relative;
  z-index: 2;
  width: min(990px, calc(100vw - 48px));
  max-width: none;
  margin: 0 0 26px;
  color: var(--template-white);
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-template .hero .hero-title span {
  color: var(--template-blue);
}

.home-template .hero-copy {
  width: min(604px, 100%);
  max-width: 604px;
  min-height: 202px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.42;
}

.home-template .hero-copy .hero-keyword,
.home-template .hero-card .hero-keyword {
  color: var(--template-blue);
}

.home-template .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-template .hero-card {
  width: 100%;
  padding: clamp(30px, 2.65vw, 38px);
  color: var(--template-text, #1f2930);
  background: rgba(255, 255, 255, 0.92);
  border-top: 7px solid var(--template-blue);
  box-shadow: 0 28px 90px rgba(8, 16, 22, 0.25);
}

.home-template .hero-card > span {
  display: block;
  margin-bottom: 18px;
  color: var(--template-blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-template .hero-card strong {
  display: block;
  color: var(--template-steel);
  font-size: clamp(28px, 2.2vw, 36px);
  line-height: 1.08;
}

.home-template .hero-card p {
  width: 100%;
  margin: 0;
  color: var(--template-muted);
  font-size: 18px;
  line-height: 1.55;
}

.home-template .hero-card a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  color: var(--template-blue-dark);
  font-weight: 800;
}

.home-template .access-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--template-max);
  margin: -1px auto 0;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(18, 26, 31, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-template .access-band a {
  min-height: 76px;
  padding: 24px 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 180ms ease, background-color 180ms ease;
}

.home-template .access-band a:hover {
  color: var(--template-white);
  background: rgba(0, 159, 227, 0.2);
}

.home-template .access-band a:last-child {
  padding-right: 38px;
  text-align: right;
  border-right: 0;
}

.home-template .intro.band {
  padding-top: clamp(82px, 8vw, 112px);
  padding-bottom: clamp(78px, 8vw, 108px);
  background: #f1f4f6;
}

.home-template .intro-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(58px, 7vw, 104px);
  align-items: end;
}

.home-template .intro-heading {
  max-width: 660px;
}

.home-template .intro-kicker {
  margin: 0 0 22px;
  color: var(--template-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.home-template .intro-grid .intro-heading h2 {
  margin: 0;
  color: var(--template-steel);
  font-size: clamp(46px, 4.6vw, 68px);
  font-weight: 300;
  line-height: 1.04;
}

.home-template .intro-grid .intro-lead {
  max-width: 560px;
  margin: 0 0 4px;
  color: #48545d;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.65;
  letter-spacing: 0;
}

.home-template .intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(58px, 6vw, 82px);
  border-top: 1px solid #cbd4da;
}

.home-template .intro-points article {
  min-height: 210px;
  padding: 34px clamp(24px, 3vw, 42px) 8px 0;
}

.home-template .intro-points article + article {
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid #cbd4da;
}

.home-template .intro-points article > span {
  display: block;
  margin-bottom: 32px;
  color: var(--template-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-template .intro-points h3 {
  min-height: 64px;
  margin: 0 0 14px;
  color: var(--template-steel);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.15;
}

.home-template .intro-points p {
  max-width: 330px;
  margin: 0;
  color: #5b6770;
  font-size: 16px;
  line-height: 1.55;
}

.home-template .services .section-kicker {
  color: var(--template-blue);
  font-size: 14px;
}

@media (min-width: 981px) {
  .home-template .services .section-heading {
    align-items: start;
  }
}

.home-template .services .service-card p {
  color: #4f5b64;
}

/* Why HochZWEI: calm editorial grid following the service cards. */
.why-section {
  padding: 112px max(28px, calc((100vw - var(--template-max)) / 2));
  color: var(--template-steel);
  background: #eef3f6;
}

.why-intro {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 46px;
  align-items: start;
}

.why-intro .section-kicker {
  margin: 6px 0 0;
  color: var(--template-blue);
  font-size: 14px;
}

.why-copy h2 {
  max-width: 900px;
  margin: 0;
  color: var(--template-steel);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0;
}

.why-copy > p {
  max-width: 850px;
  margin: 34px 0 0;
  color: #4f5b64;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 68px;
  border-top: 1px solid #cad7de;
  border-left: 1px solid #cad7de;
}

.why-points article {
  min-height: 260px;
  padding: 30px 32px 34px;
  border-right: 1px solid #cad7de;
  border-bottom: 1px solid #cad7de;
}

.why-points article > span {
  display: block;
  margin-bottom: 32px;
  color: var(--template-blue);
  font-size: 13px;
  font-weight: 700;
}

.why-points h3 {
  max-width: 320px;
  margin: 0 0 18px;
  color: var(--template-steel);
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.16;
}

.why-points p {
  max-width: 330px;
  margin: 0;
  color: #56636c;
  font-size: 16px;
  line-height: 1.55;
}

/* Einsatzfelder: separate project environments from client groups. */
.home-template .industries {
  background: #f5f8fa;
}

.industries-intro {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 46px;
  align-items: start;
}

.industries-intro .section-kicker {
  margin: 6px 0 0;
  color: var(--template-blue);
  font-size: 14px;
}

.industries-copy h2 {
  max-width: 880px;
  margin: 0;
  color: var(--template-steel);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0;
}

.industries-copy > p {
  max-width: 850px;
  margin: 30px 0 0;
  color: #4f5b64;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.industries-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 62px;
  border-top: 1px solid #cad7de;
  border-left: 1px solid #cad7de;
}

.industry-group {
  padding: 32px 34px 38px;
  background: rgba(255, 255, 255, 0.58);
  border-right: 1px solid #cad7de;
  border-bottom: 1px solid #cad7de;
}

.industry-group h3 {
  margin: 0 0 28px;
  color: var(--template-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.industry-group .industry-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.industry-group .industry-row span {
  display: flex;
  min-height: 60px;
  align-items: center;
  padding: 13px 16px;
  color: var(--template-steel);
  background: #ffffff;
  border-left: 4px solid var(--template-blue);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

/* Profile: stronger trust signal with a larger portrait and explicit hierarchy. */
.home-template .profile-card .profile-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--template-steel);
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 650;
  line-height: 1.25;
}

.home-template .profile-card .profile-copy {
  max-width: 760px;
  color: #4f5b64;
  font-size: 18px;
  line-height: 1.6;
}

.home-template .profile-photo {
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 700 / 656;
  margin: 32px 0 34px;
}

.home-template .experience-card h3 {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--template-steel);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 650;
  line-height: 1.18;
}

.home-template .experience-card p {
  color: #56636c;
  line-height: 1.6;
}

/* Compact contact finish directly before the footer. */
.home-template .contact {
  padding-top: 96px;
  padding-bottom: 96px;
}

.home-template .contact-details {
  font-style: normal;
  line-height: 1.7;
}

.home-template .contact-details strong {
  color: #ffffff;
  font-weight: 650;
}

.home-template .contact-actions {
  display: grid;
  min-width: 270px;
  gap: 18px;
  align-items: stretch;
}

.home-template .contact-map-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.home-template .contact-map-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .home-template .contact-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .home-template .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-template .contact-details {
    font-size: 17px;
  }
}

@media (max-width: 980px) {
  .industries-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .industries-intro .section-kicker {
    margin-top: 0;
  }

  .industries-groups {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }
}

@media (max-width: 640px) {
  .industries-copy h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .industries-copy > p {
    margin-top: 24px;
    font-size: 17px;
  }

  .industry-group {
    padding: 28px 24px 30px;
  }

  .industry-group .industry-row {
    grid-template-columns: 1fr;
  }

  .home-template .profile-card .profile-lead {
    font-size: 23px;
  }

  .home-template .profile-card .profile-copy {
    font-size: 17px;
  }

  .home-template .profile-photo {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 980px) {
  .why-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .why-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-intro .section-kicker {
    margin-top: 0;
  }

  .why-points {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .why-points article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .why-section {
    padding: 72px 20px;
  }

  .why-copy h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .why-copy > p {
    margin-top: 26px;
    font-size: 17px;
  }

  .why-points article {
    padding: 26px 24px 30px;
  }

  .why-points article > span {
    margin-bottom: 22px;
  }
}

@media (min-width: 1181px) {
  .home-template .intro-grid {
    grid-template-columns: 510px 540px;
    justify-content: space-between;
  }

  .home-template .intro-grid .intro-heading h2 {
    width: 510px;
    height: 303px;
    margin-top: -9px;
    padding-top: 20px;
  }

  .home-template .intro-grid .intro-lead {
    width: 540px;
    max-width: 540px;
    min-height: 218px;
  }
}

.site-header.template-shell.nav-open {
  color: var(--template-steel);
  background: transparent;
  box-shadow: none;
}

.site-header.template-shell.nav-open::before {
  content: "";
  position: fixed;
  z-index: 83;
  inset: 0;
  width: auto;
  background: linear-gradient(90deg, var(--template-white) 0 min(470px, 36vw), rgba(20, 32, 40, 0.86) min(470px, 36vw) 100%);
  box-shadow: none;
  animation: menuPanelIn 520ms var(--template-ease) both;
}

.site-header.template-shell.nav-open::after {
  display: none;
}

.site-header.template-shell.nav-open .brand {
  position: fixed;
  z-index: 84;
  top: 58px;
  left: max(42px, calc((100vw - var(--template-max)) / 2));
  color: var(--template-steel);
  animation: menuItemIn 540ms 90ms var(--template-ease) both;
}

.site-header.template-shell.nav-open .brand-mark {
  display: none;
}

.site-header.template-shell.nav-open .brand strong,
.site-header.template-shell.nav-open .brand small {
  color: var(--template-steel);
}

.site-header.template-shell.nav-open .brand strong span,
.site-header.template-shell.nav-open .brand small {
  color: var(--template-blue);
}

.site-header.template-shell.nav-open .menu-toggle,
.site-header.template-shell.nav-open .header-actions {
  opacity: 0;
  pointer-events: none;
}

.site-header.template-shell.nav-open .nav {
  position: fixed;
  z-index: 84;
  grid-column: auto;
  top: 158px;
  right: auto;
  left: max(72px, calc((100vw - var(--template-max)) / 2 + 48px));
  display: grid;
  width: min(310px, 28vw);
  gap: 18px;
  color: var(--template-steel);
  justify-self: start;
}

.site-header.template-shell.nav-open .nav a {
  width: 290px;
  color: #4f5b64;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 300;
  line-height: 1.28;
  opacity: 0;
  transform: translateX(-20px);
  animation: menuItemIn 620ms var(--template-ease) both;
}

.site-header.template-shell.nav-open .nav-mobile-only {
  display: block;
}

.site-header.template-shell.nav-open .menu-close {
  position: fixed;
  z-index: 85;
  top: 96px;
  right: max(58px, calc((100vw - var(--template-max)) / 2));
  width: 74px;
  height: 74px;
  background: #1d252c;
  border: 0;
  cursor: pointer;
  animation: menuItemIn 520ms 180ms var(--template-ease) both;
}

.site-header.template-shell.nav-open .menu-close span {
  position: absolute;
  top: 36px;
  left: 18px;
  width: 38px;
  height: 3px;
  background: var(--template-white);
}

.site-header.template-shell.nav-open .menu-direct {
  position: fixed;
  z-index: 84;
  right: auto;
  bottom: 84px;
  left: max(42px, calc((100vw - var(--template-max)) / 2));
  display: grid;
  width: min(330px, 30vw);
  grid-template-columns: repeat(3, auto);
  gap: 16px 38px;
  padding-top: 24px;
  border-top: 1px solid var(--template-line);
  animation: menuItemIn 620ms 480ms var(--template-ease) both;
}

.site-header.template-shell.nav-open .menu-direct a {
  padding: 0;
  color: var(--template-muted);
  font-size: 14px;
  font-weight: 650;
  border: 0;
}

.site-header.template-shell.nav-open .menu-social {
  position: fixed;
  z-index: 84;
  right: auto;
  bottom: 38px;
  left: max(42px, calc((100vw - var(--template-max)) / 2));
  display: flex;
  width: auto;
  gap: 28px;
  animation: menuItemIn 620ms 560ms var(--template-ease) both;
}

.site-header.template-shell.nav-open .menu-social a,
.site-header.template-shell.nav-open .menu-social span {
  display: inline-flex;
  width: auto;
  height: auto;
  color: var(--template-steel);
  font-size: 18px;
  font-weight: 800;
  background: transparent;
  border: 0;
}

.template-shell-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--template-steel);
}

.template-shell-footer .footer-join {
  display: flex;
  gap: 42px;
  align-items: center;
  max-width: var(--template-max);
  margin: 0 auto;
  padding: 94px 24px 64px;
}

.template-shell-footer .footer-join h2,
.template-shell-footer .footer-join-link {
  margin: 0;
  color: var(--template-white);
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.template-shell-footer .footer-main {
  grid-template-columns: 1.65fr repeat(4, minmax(150px, 1fr));
}

@keyframes menuPanelIn {
  from {
    opacity: 0;
    transform: translateX(-38px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuItemIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1180px) {
  .home-template .site-header.template-shell:not(.nav-open),
  .home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) {
    grid-template-columns: auto 1fr auto;
  }

  .home-template .site-header.template-shell:not(.nav-open) .brand,
  .home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand {
    grid-column: 2;
    justify-self: start;
  }

  .home-template .site-header.template-shell:not(.nav-open) .nav {
    display: none;
  }

  .home-template .site-header.template-shell:not(.nav-open) .header-actions {
    grid-column: 3;
  }

  .home-template .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .home-template .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-template .hero-card {
    max-width: 460px;
  }

  .home-template .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .home-template .intro-grid .intro-lead {
    max-width: 760px;
  }

  .home-template .access-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 24px;
    margin-left: 24px;
  }

  .home-template .access-band a:nth-child(2) {
    border-right: 0;
  }

  .site-header.template-shell.nav-open::before {
    background: linear-gradient(90deg, var(--template-white) 0 min(470px, 64vw), rgba(20, 32, 40, 0.86) min(470px, 64vw) 100%);
  }

  .site-header.template-shell.nav-open .nav,
  .site-header.template-shell.nav-open .menu-direct,
  .site-header.template-shell.nav-open .menu-social {
    width: min(330px, 54vw);
  }
}

@media (max-width: 760px) {
  .site-header.template-shell.nav-open {
    inset: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header.template-shell.nav-open::before {
    display: none;
  }

  .home-template .hero {
    padding: 122px 20px 56px;
  }

  .home-template .hero .hero-title {
    width: 100%;
    font-size: clamp(44px, 13vw, 66px);
  }

  .home-template .hero-copy {
    width: 100%;
    max-width: none;
    min-height: 0;
    font-size: 18px;
  }

  .home-template .hero-card {
    padding: 28px;
  }

  .home-template .intro.band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .home-template .intro-kicker {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .home-template .intro-grid .intro-heading h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .home-template .intro-grid .intro-lead {
    font-size: 17px;
    line-height: 1.58;
  }

  .home-template .intro-points {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .home-template .intro-points article,
  .home-template .intro-points article + article {
    min-height: 0;
    padding: 28px 0 30px;
    border-left: 0;
    border-bottom: 1px solid #cbd4da;
  }

  .home-template .intro-points article > span {
    margin-bottom: 18px;
  }

  .home-template .intro-points h3 {
    min-height: 0;
  }

  .home-template .access-band {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-left: 0;
  }

  .home-template .access-band a {
    min-height: 58px;
    padding: 18px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .home-template .access-band a:last-child {
    padding-right: 24px;
    text-align: left;
  }

  .site-header.template-shell.nav-open::before {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header.template-shell.nav-open .brand {
    top: 38px;
    left: 28px;
  }

  .site-header.template-shell.nav-open .nav {
    top: 124px;
    left: 54px;
    width: calc(100vw - 82px);
  }

  .site-header.template-shell.nav-open .nav a {
    width: 230px;
    font-size: 23px;
  }

  .site-header.template-shell.nav-open .menu-close {
    top: 76px;
    right: 28px;
  }

  .site-header.template-shell.nav-open .menu-direct,
  .site-header.template-shell.nav-open .menu-social {
    right: 28px;
    left: 28px;
    width: auto;
  }

  .site-header.template-shell.nav-open .menu-direct {
    grid-template-columns: repeat(2, auto);
    gap: 12px 24px;
    bottom: 92px;
  }

  .template-shell-footer .footer-join {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-top: 64px;
  }

  .template-shell-footer .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Footer matched to the HochZWEI Bau reference, with Engineering content. */
.reference-footer {
  color: #d8e0e5;
  background: #2b343c;
}

.reference-footer .footer-join {
  display: flex;
  gap: clamp(20px, 2.2vw, 38px);
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 70px;
  background: #2b343c;
}

.reference-footer .footer-join h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.45vw, 40px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.045em;
}

.reference-footer .footer-join-link {
  position: relative;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.45vw, 40px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.045em;
  white-space: nowrap;
  background: transparent;
  transition: color 180ms ease, transform 220ms var(--ease);
}

.reference-footer .footer-join-link::after {
  display: inline-block;
  color: currentColor;
  content: "\2192";
  font-size: 1.06em;
  line-height: 1;
  transition: transform 220ms var(--ease);
}

.reference-footer .footer-join-link::before {
  position: absolute;
  right: 44px;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.reference-footer .footer-join-link:hover {
  color: #009ee2;
  transform: translateX(8px);
}

.reference-footer .footer-join-link:hover::before {
  transform: scaleX(1);
}

.reference-footer .footer-join-link:hover::after {
  transform: translateX(8px);
}

.reference-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) repeat(4, minmax(145px, 0.62fr));
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 92px;
}

.reference-footer .footer-brand {
  display: block;
  padding-right: 30px;
}

.reference-footer .brand {
  position: static;
  display: inline-flex;
  grid-column: auto;
  gap: 18px;
  align-items: center;
  justify-self: start;
  color: #ffffff;
  text-align: left;
  transform: none;
}

.reference-footer .brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
}

.reference-footer .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.reference-footer .brand > span:last-child {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
  white-space: nowrap;
}

.reference-footer .brand strong {
  display: block;
  color: #ffffff;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.reference-footer .brand strong span {
  color: #009ee2;
}

.reference-footer .brand small {
  display: inline-block;
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.reference-footer address {
  margin-top: 38px;
  color: #c4ccd2;
  font-style: normal;
  line-height: 1.58;
}

.reference-footer .footer-links {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 34px 26px 0;
  border-left: 1px solid rgba(226, 234, 238, 0.36);
}

.reference-footer .footer-links strong {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 17px;
  text-transform: uppercase;
}

.reference-footer .footer-links a,
.reference-footer address a {
  padding: 0;
  color: #c4ccd2;
  border: 0;
}

.reference-footer .footer-links a:hover,
.reference-footer address a:hover {
  color: #009ee2;
}

.reference-footer .footer-area,
.reference-footer .footer-bottom {
  display: flex;
  gap: 42px;
  align-items: center;
  justify-content: flex-start;
  max-width: none;
  margin: 0;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  color: #c4ccd2;
  border-top: 1px solid rgba(226, 234, 238, 0.18);
}

.reference-footer .footer-area {
  display: block;
  padding-top: 28px;
}

/* Einsatzorte bleiben als semantischer Seiteninhalt erhalten, ohne den Footer visuell zu verlängern. */
.reference-footer .footer-area {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.reference-footer .footer-area strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.reference-footer .footer-bottom a {
  color: #d8e0e5;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reference-footer .footer-bottom a::after {
  margin-left: 10px;
  content: "\2192";
}

@media (max-width: 980px) {
  .reference-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-footer .footer-brand {
    padding-bottom: 36px;
  }
}

@media (max-width: 760px) {
  .reference-footer .footer-join {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 64px;
    padding-bottom: 60px;
  }

  .reference-footer .footer-join h2 {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: 0.04em;
  }

  .reference-footer .footer-join-link {
    width: auto;
    font-size: clamp(26px, 7vw, 34px);
    letter-spacing: 0.04em;
  }

  .reference-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reference-footer .footer-brand {
    padding-right: 0;
    padding-bottom: 36px;
  }

  .reference-footer .footer-links {
    padding: 28px 0 0;
    border-top: 1px solid rgba(226, 234, 238, 0.22);
    border-left: 0;
  }

  .reference-footer .footer-bottom {
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}

/* Header matched to the supplied HochZWEI reference. */
.site-header.template-shell:not(.nav-open) {
  grid-template-columns: auto auto minmax(40px, 1fr) auto;
  gap: 22px;
  min-height: 82px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  color: var(--steel);
  background: rgba(238, 243, 246, 0.96);
  box-shadow: none;
  backdrop-filter: none;
  transition:
    min-height 420ms var(--ease),
    color 320ms ease,
    box-shadow 420ms var(--ease),
    background-color 420ms var(--ease);
  will-change: min-height, background-color;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

.site-header.template-shell:not(.nav-open)::after {
  right: max(28px, calc((100vw - var(--max)) / 2));
  left: max(28px, calc((100vw - var(--max)) / 2));
  background: var(--line);
  transition: background-color 320ms ease;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open)::after {
  display: block;
  background: rgba(255, 255, 255, 0.35);
}

.site-header.template-shell.is-scrolled:not(.nav-open) {
  min-height: 66px;
  color: var(--steel);
  background: rgba(238, 243, 246, 0.96);
  box-shadow: 0 12px 34px rgba(21, 25, 29, 0.08);
}

.site-header.template-shell:not(.nav-open) .brand {
  position: absolute;
  left: 50%;
  display: inline-flex;
  grid-column: 1 / -1;
  grid-row: 1;
  gap: 0;
  align-items: center;
  justify-self: center;
  min-width: 0;
  color: inherit;
  text-align: center;
  transform: translateX(-50%);
}

.site-header.template-shell:not(.nav-open) .brand-mark {
  display: none;
}

.site-header.template-shell:not(.nav-open) .brand > span:last-child {
  gap: 7px;
  white-space: nowrap;
}

.site-header.template-shell:not(.nav-open) .brand strong {
  color: currentColor;
  font-size: 25px;
  font-weight: 300;
  transition: font-size 420ms var(--ease), color 320ms ease;
}

.site-header.template-shell:not(.nav-open) .brand strong span {
  color: var(--blue);
}

.site-header.template-shell:not(.nav-open) .brand small {
  margin: 0;
  color: currentColor;
  font-size: 13px;
  font-weight: 600;
  transition: font-size 420ms var(--ease), color 320ms ease;
}

.site-header.template-shell.is-scrolled:not(.nav-open) .brand strong {
  font-size: 24px;
}

.site-header.template-shell.is-scrolled:not(.nav-open) .brand small {
  font-size: 12.5px;
}

.site-header.template-shell:not(.nav-open) .nav {
  position: static;
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  gap: 22px;
  align-items: center;
  justify-content: start;
  justify-self: start;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

.site-header.template-shell:not(.nav-open) .nav a {
  position: relative;
  padding: 8px 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  transition: color 180ms ease, font-size 420ms var(--ease);
}

.site-header.template-shell.is-scrolled:not(.nav-open) .nav a {
  font-size: 13.5px;
}

.site-header.template-shell:not(.nav-open) .nav a:hover,
.site-header.template-shell.is-scrolled:not(.nav-open) .nav a:hover,
.site-header.template-shell:not(.nav-open) .header-link:hover {
  color: var(--blue);
  text-decoration: none;
  background: transparent;
  border: 0;
}

.site-header.template-shell:not(.nav-open) .nav a::before,
.site-header.template-shell:not(.nav-open) .nav a::after,
.site-header.template-shell:not(.nav-open) .header-link::before,
.site-header.template-shell:not(.nav-open) .header-link::after {
  display: none;
  content: none;
}

.site-header.template-shell:not(.nav-open) .header-actions {
  display: inline-flex;
  grid-column: 4;
  grid-row: 1;
  gap: 14px;
  align-items: center;
  justify-content: end;
  min-height: 0;
}

.site-header.template-shell:not(.nav-open) .header-link {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  transition: color 180ms ease, font-size 420ms var(--ease);
}

.site-header.template-shell.is-scrolled:not(.nav-open) .header-link {
  font-size: 13.5px;
}

.site-header.template-shell:not(.nav-open) .header-cta {
  min-height: 36px;
  padding: 0 17px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 183, 239, 0.74), rgba(0, 158, 226, 0.58));
  border-color: rgba(215, 246, 255, 0.62);
  font-size: 13px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 24px rgba(0, 88, 128, 0.12);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
  transition:
    color 180ms ease,
    min-height 420ms var(--ease),
    font-size 420ms var(--ease),
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.template-shell.is-scrolled:not(.nav-open) .header-cta {
  min-height: 36px;
  color: var(--blue-dark);
  background: rgba(0, 158, 226, 0.08);
  border-color: rgba(0, 158, 226, 0.36);
  font-size: 13px;
}

.site-header.template-shell:not(.nav-open) .header-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 190, 244, 0.88), rgba(0, 135, 199, 0.76));
  border-color: rgba(230, 250, 255, 0.78);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 158, 226, 0.28);
}

.site-header.template-shell:not(.nav-open) .menu-toggle {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  height: 34px;
  gap: 10px;
  align-items: center;
  justify-content: start;
  justify-self: start;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.site-header.template-shell:not(.nav-open) .menu-toggle b {
  display: grid;
  width: 25px;
  gap: 4px;
}

.site-header.template-shell:not(.nav-open) .menu-toggle b span {
  height: 1px;
  background: var(--steel);
  transition: width 220ms ease, transform 220ms ease, opacity 220ms ease, background-color 180ms ease;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .menu-toggle b span {
  background: #ffffff;
}

.site-header.template-shell:not(.nav-open) .menu-toggle em {
  color: currentColor;
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease, font-size 420ms var(--ease);
}

.site-header.template-shell.is-scrolled:not(.nav-open) .menu-toggle em {
  font-size: 11.5px;
}

.site-header.template-shell:not(.nav-open) .menu-toggle:hover,
.site-header.template-shell:not(.nav-open) .menu-toggle:hover em {
  color: var(--blue);
}

.site-header.template-shell:not(.nav-open) .menu-toggle:hover b span {
  background: var(--blue);
}

@media (max-width: 1180px) {
  .site-header.template-shell:not(.nav-open),
  .home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) {
    grid-template-columns: auto 1fr auto;
  }

  .site-header.template-shell:not(.nav-open) .brand,
  .home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand {
    grid-column: 2;
    justify-self: center;
  }

  .site-header.template-shell:not(.nav-open) .nav {
    display: none;
  }

  .site-header.template-shell:not(.nav-open) .header-actions {
    grid-column: 3;
  }
}

@media (max-width: 760px) {
  .site-header.template-shell:not(.nav-open) {
    min-height: 78px;
    padding: 0 20px;
  }

  .site-header.template-shell.is-scrolled:not(.nav-open) {
    min-height: 62px;
  }

  .site-header.template-shell:not(.nav-open)::after {
    right: 20px;
    left: 20px;
  }

  .site-header.template-shell:not(.nav-open) .brand strong {
    font-size: 19px;
  }

  .site-header.template-shell:not(.nav-open) .brand small {
    font-size: 10px;
  }

  .site-header.template-shell.is-scrolled:not(.nav-open) .brand strong {
    font-size: 19px;
  }

  .site-header.template-shell.is-scrolled:not(.nav-open) .brand small {
    font-size: 10px;
  }

  .site-header.template-shell:not(.nav-open) .header-link,
  .site-header.template-shell:not(.nav-open) .header-cta,
  .site-header.template-shell:not(.nav-open) .menu-toggle em {
    display: none;
  }
}

/* Keep the wordmark anchored to the viewport centre, independent of grid tracks. */
.site-header.template-shell:not(.nav-open) .brand,
.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .brand,
.site-header.template-shell.is-scrolled:not(.nav-open) .brand {
  left: 50vw;
  grid-column: auto;
  justify-self: auto;
  transform: translateX(-50%);
}

.site-header.template-shell:not(.nav-open) .menu-toggle b span {
  background-color: var(--template-steel);
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .menu-toggle b span {
  background-color: var(--template-white);
}

/* Menu icon: all four bars turn HochZWEI blue on hover. */
.site-header.template-shell:not(.nav-open) .menu-toggle:hover b span,
.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .menu-toggle:hover b span {
  background-color: var(--template-blue);
}

/* Match Karriere to the primary navigation typography and hover treatment. */
.site-header.template-shell:not(.nav-open) .header-actions .header-link {
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}

.site-header.template-shell.is-scrolled:not(.nav-open) .header-actions .header-link {
  font-size: 13.5px;
}

.site-header.template-shell:not(.nav-open) .header-actions .header-link:hover {
  color: var(--template-blue);
  text-decoration: none;
  border: 0;
}

.home-template .site-header.template-shell:not(.is-scrolled):not(.nav-open) .header-cta {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 183, 239, 0.74), rgba(0, 158, 226, 0.58));
  border-color: rgba(215, 246, 255, 0.62);
}

/* One unified transparent header over dark image heroes across the website. */
body .site-header.template-shell:not(.is-scrolled):not(.nav-open) {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

body .site-header.template-shell:not(.is-scrolled):not(.nav-open)::after {
  display: block;
  background: rgba(255, 255, 255, 0.35);
}

body .site-header.template-shell:not(.is-scrolled):not(.nav-open) .menu-toggle b span {
  background-color: #ffffff;
}

body .site-header.template-shell:not(.is-scrolled):not(.nav-open) .header-cta {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 183, 239, 0.74), rgba(0, 158, 226, 0.58));
  border-color: rgba(215, 246, 255, 0.62);
}

/* Dark photographic heroes keep the transparent header readable on every page. */
.career-hero {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 22, 29, 0.94), rgba(12, 22, 29, 0.72) 58%, rgba(12, 22, 29, 0.45)),
    url("hero-baustelle-1600.jpg") center / cover;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.career-hero h1,
.career-hero p {
  color: #ffffff;
}

.career-hero p {
  border-left-color: var(--template-blue);
}

.service-landing-hero {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 22, 29, 0.95), rgba(12, 22, 29, 0.74) 58%, rgba(12, 22, 29, 0.48)),
    url("hero-leistungen-1600.jpg") center / cover;
}

.bauprojektmanagement-hero {
  background:
    linear-gradient(90deg, rgba(12, 22, 29, 0.95), rgba(12, 22, 29, 0.74) 58%, rgba(12, 22, 29, 0.48)),
    url("hero-infrastruktur-1600.jpg") center / cover;
}

.service-hero-title .eyebrow,
.service-hero-statement {
  display: block;
}

.bauprojektmanagement-hero .service-hero-statement {
  color: #ffffff;
}

.service-hero-title .eyebrow {
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .bauprojektmanagement-hero {
    background:
      linear-gradient(90deg, rgba(12, 22, 29, 0.95), rgba(12, 22, 29, 0.74) 58%, rgba(12, 22, 29, 0.48)),
      url("hero-infrastruktur-900.jpg") center / cover;
  }
}

.download-landing-hero,
.lead-landing-hero {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 22, 29, 0.95), rgba(12, 22, 29, 0.74) 58%, rgba(12, 22, 29, 0.48)),
    url("bewehrungskontrolle-1200.jpg") center / cover;
}

.service-landing-hero .services-hero-copy p,
.download-landing-hero .services-hero-copy p,
.lead-landing-hero .services-hero-copy p,
.lead-landing-hero .lead-contact-line,
.lead-landing-hero .lead-contact-line a {
  color: rgba(255, 255, 255, 0.88);
}

/* Full-screen menu matched to the supplied HochZWEI reference. */
.site-header.template-shell .menu-primary {
  display: none;
}

.site-header.template-shell.nav-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.template-shell.nav-open::before {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    90deg,
    var(--template-white) 0 34vw,
    rgba(17, 31, 41, 0.76) 34vw 100%
  );
}

.site-header.template-shell.nav-open .brand {
  top: 56px;
  left: 64px;
}

.site-header.template-shell.nav-open .brand > span:last-child {
  gap: 8px;
}

.site-header.template-shell.nav-open .brand strong {
  font-size: 26px;
  font-weight: 300;
}

.site-header.template-shell.nav-open .brand small {
  color: #232b31;
  font-size: 15px;
  font-weight: 600;
}

.site-header.template-shell.nav-open .nav {
  display: none;
}

.site-header.template-shell.nav-open .menu-primary {
  position: fixed;
  z-index: 84;
  top: 146px;
  left: 112px;
  display: grid;
  gap: 0;
  width: min(400px, calc(34vw - 144px));
  min-width: 320px;
  animation: none;
}

.site-header.template-shell.nav-open .menu-primary a {
  display: flex;
  min-height: 52px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0;
  color: #48545d;
  font-size: clamp(23px, 1.55vw, 29px);
  font-weight: 300;
  line-height: 1.28;
  text-decoration: none;
  border: 0;
  opacity: 0;
  transform: translateX(-34px);
  animation-name: menuItemIn !important;
  animation-duration: 700ms !important;
  animation-timing-function: var(--template-ease) !important;
  animation-fill-mode: both !important;
  transition: color 180ms ease, transform 220ms var(--template-ease);
}

.site-header.template-shell.nav-open .menu-primary a:nth-child(1) { animation-delay: 260ms !important; }
.site-header.template-shell.nav-open .menu-primary a:nth-child(2) { animation-delay: 380ms !important; }
.site-header.template-shell.nav-open .menu-primary a:nth-child(3) { animation-delay: 500ms !important; }
.site-header.template-shell.nav-open .menu-primary a:nth-child(4) { animation-delay: 620ms !important; }
.site-header.template-shell.nav-open .menu-primary a:nth-child(5) { animation-delay: 740ms !important; }

.reference-footer .footer-tagline {
  margin: 0;
  color: #d8e0e5;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
}

.reference-footer .footer-tagline span {
  color: #009ee2;
}

.reference-footer .footer-tagline + address {
  margin-top: 38px;
}

.reference-footer .footer-links strong {
  font-weight: 850;
  letter-spacing: 0;
}

/* Footer typography and spacing matched to the supplied reference. */
.reference-footer {
  color: #d8e0e5;
  background: #2b343c;
}

.reference-footer .footer-join {
  gap: clamp(20px, 2.2vw, 38px);
  padding-top: 96px;
  padding-bottom: 70px;
  background: #2b343c;
}

.reference-footer .footer-join h2,
.reference-footer .footer-join-link {
  color: #ffffff;
  font-size: clamp(24px, 2.45vw, 40px);
  font-weight: 300;
  letter-spacing: 0.045em;
  line-height: 1.12;
}

.reference-footer .footer-main {
  grid-template-columns: minmax(250px, 1.05fr) repeat(4, minmax(145px, 0.62fr));
  padding-bottom: 92px;
}

.reference-footer .footer-brand {
  padding-right: 0;
}

.reference-footer .brand {
  gap: 18px;
}

.reference-footer .brand-mark {
  width: 64px;
  height: 64px;
}

.reference-footer .brand strong {
  font-size: 26px;
  font-weight: 300;
}

.reference-footer .brand small {
  font-size: 15px;
  font-weight: 600;
}

.reference-footer address {
  color: #c4ccd2;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.58;
}

.reference-footer .footer-links {
  gap: 13px;
  padding: 34px 26px 0;
  border-left-color: rgba(226, 234, 238, 0.36);
}

.reference-footer .footer-links strong {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.reference-footer .footer-links a,
.reference-footer address a {
  color: #c4ccd2;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
}

.reference-footer .footer-area {
  padding-top: 28px;
  padding-bottom: 24px;
}

.reference-footer .footer-area strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.reference-footer .footer-area span {
  color: #c4ccd2;
  font-size: 16px;
  font-weight: 300;
}

.site-header.template-shell.nav-open .menu-primary a:hover,
.site-header.template-shell.nav-open .menu-direct a:hover,
.site-header.template-shell.nav-open .menu-social a:hover {
  color: var(--template-blue);
  text-decoration: none;
  transform: translateX(5px);
}

.site-header.template-shell.nav-open .menu-close {
  top: 96px;
  right: 72px;
  width: 76px;
  height: 76px;
  background: rgba(17, 31, 41, 0.92);
}

.site-header.template-shell.nav-open .menu-close span {
  top: calc(50% - 1.5px);
  left: 17px;
  width: 42px;
  height: 3px;
}

.site-header.template-shell.nav-open .menu-close:hover span {
  background: currentColor;
}

.site-header.template-shell.nav-open .menu-close:hover {
  color: #ffffff;
  background: var(--template-blue-dark);
  transform: translateY(-2px);
}

.site-header.template-shell.nav-open .menu-direct {
  bottom: 116px;
  left: 64px;
  width: min(464px, calc(34vw - 96px));
  min-width: 360px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  padding-top: 20px;
}

.site-header.template-shell.nav-open .menu-direct a {
  color: rgba(31, 43, 53, 0.62);
  font-size: 13px;
  font-weight: 500;
  transition: color 180ms ease, transform 220ms var(--template-ease);
}

.site-header.template-shell.nav-open .menu-social {
  bottom: 54px;
  left: 64px;
  gap: 22px;
  align-items: center;
  line-height: 1;
}

.site-header.template-shell.nav-open .menu-social a,
.site-header.template-shell.nav-open .menu-social span {
  display: inline-flex;
  width: 24px;
  min-width: 24px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #232b31;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  vertical-align: top;
}

@media (max-width: 1180px) {
  .reference-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-footer .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 44px;
  }

  .site-header.template-shell.nav-open::before {
    background: linear-gradient(
      90deg,
      var(--template-white) 0 42vw,
      rgba(17, 31, 41, 0.76) 42vw 100%
    );
  }

  .site-header.template-shell.nav-open .menu-primary {
    top: 144px;
    left: 112px;
    width: min(360px, calc(54vw - 112px));
  }

  .site-header.template-shell.nav-open .menu-direct {
    width: 33vw;
  }
}

@media (max-width: 760px) {
  .reference-footer .footer-join {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-top: 72px;
    padding-bottom: 58px;
  }

  .reference-footer .footer-main {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .reference-footer .footer-brand {
    grid-column: auto;
    padding-right: 0;
  }

  .reference-footer .footer-links {
    padding: 34px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(211, 222, 228, 0.28);
  }

  .site-header.template-shell.nav-open .brand {
    top: 32px;
    left: 30px;
  }

  .site-header.template-shell.nav-open .brand strong {
    font-size: 25px;
  }

  .site-header.template-shell.nav-open .brand small {
    font-size: 14px;
  }

  .site-header.template-shell.nav-open .menu-primary {
    top: 104px;
    left: 30px;
    gap: 0;
    width: calc(100vw - 60px);
    min-width: 0;
  }

  .site-header.template-shell.nav-open .menu-primary a {
    min-height: 50px;
    font-size: 24px;
  }

  .site-header.template-shell.nav-open .menu-close {
    top: 26px;
    right: 24px;
    width: 58px;
    height: 58px;
  }

  .site-header.template-shell.nav-open .menu-close span {
    top: 28px;
    left: 13px;
    width: 32px;
    height: 2px;
  }

  .site-header.template-shell.nav-open .menu-direct {
    right: auto;
    bottom: 86px;
    left: 30px;
    width: calc(100vw - 60px);
    min-width: 0;
    padding-top: 20px;
  }

  .site-header.template-shell.nav-open .menu-direct a {
    font-size: 13px;
  }

  .site-header.template-shell.nav-open .menu-social {
    right: auto;
    bottom: 30px;
    left: 30px;
    gap: 18px;
  }
}
