@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700;800&family=Yantramanav:wght@300;400;500;700;900&display=swap");

:root {
  --dark: #77c5ee;
  --dark-strong: #77c5ee;
  --dark-soft: #8fcda1;
  --link-underline: #77c5ee;
  --link-underline-gap: 4px;
  --link-underline-thickness: 1.5px;
  --navy: #77c5ee;
  --navy-soft: #8fcda1;
  --orange: #8fcda1;
  --orange-strong: #77c5ee;
  --orange-soft: rgba(143, 205, 161, 0.16);
  --paper: #ffffff;
  --paper-soft: #ffffff;
  --paper-deep: #ffffff;
  --text: #000000;
  --text-soft: #000000;
  --line: rgba(119, 197, 238, 0.18);
  --line-dark: rgba(255, 255, 255, 0.42);
  --shadow-sm: 0 14px 40px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 26px 70px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 40px 110px rgba(0, 0, 0, 0.22);
  --ui-radius: 28px;
  --surface-radius: var(--ui-radius);
  --surface-radius-inner: var(--ui-radius);
  --control-radius: var(--ui-radius);
  --shell: 100vw;
  --content-shell: min(1480px, calc(100vw - 136px));
  --site-header-height: 124px;
  --shape-circle: url("https://wp.ditsolution.net/constre/wp-content/uploads/2023/12/constraction-about-circle-shape1.png");
  --shape-choose: url("https://wp.ditsolution.net/constre/wp-content/uploads/2023/12/constraction-wehy-choose-circle-shape.png");
  --shape-ruler: url("https://wp.ditsolution.net/constre/wp-content/uploads/2024/01/construction-line-shape.png");
  --shape-contact-left: url("https://wp.ditsolution.net/constre/wp-content/uploads/2023/12/constraction-contact-shape.png");
  --shape-contact-right: url("https://wp.ditsolution.net/constre/wp-content/uploads/2024/01/construction-contact-shape.png");
  --green-button-bg-hover: #7dc593;
  --green-button-shadow: 0 14px 30px rgba(143, 205, 161, 0.22);
  --green-button-shadow-hover: 0 18px 34px rgba(143, 205, 161, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  font-family: "Yantramanav", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(119, 197, 238, 0.22), transparent 24%),
    linear-gradient(180deg, #77c5ee 0, #77c5ee 640px, #ffffff 640px, #ffffff 100%);
}

body.is-nav-open {
  overflow: hidden;
}

body.is-contact-modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

:focus-visible {
  outline: 3px solid rgba(143, 205, 161, 0.95);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.page {
  overflow: visible;
}

.site-frame {
  overflow: visible;
}

.site-container {
  width: var(--content-shell);
  margin: 0 auto;
}

.site-shell,
.section-shell,
.footer-shell,
.legal-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-shell--narrow,
.legal-shell {
  width: var(--content-shell);
}

.button,
.mini-button,
.plan-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover,
.mini-button:hover,
.button:focus-visible,
.mini-button:focus-visible {
  transform: translateY(-2px);
}

.button--primary,
.mini-button,
.plan-card__button,
.button--dark,
.button--light {
  border-color: transparent;
  background: var(--orange);
  color: #ffffff;
  box-shadow: var(--green-button-shadow);
}

.button--primary:hover,
.button--primary:focus-visible,
.mini-button:hover,
.mini-button:focus-visible,
.plan-card__button:hover,
.plan-card__button:focus-visible,
.button--dark:hover,
.button--dark:focus-visible,
.button--light:hover,
.button--light:focus-visible {
  transform: translateY(-1px);
  background: var(--green-button-bg-hover);
  border-color: transparent;
  box-shadow: var(--green-button-shadow-hover);
}

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 18px;
  box-shadow: var(--green-button-shadow);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.arrow--light {
  border-color: transparent;
  background: var(--orange);
  color: #ffffff;
}

.arrow:hover,
.arrow:focus-visible,
.arrow--light:hover,
.arrow--light:focus-visible {
  transform: translateY(-1px);
  border-color: transparent;
  background: var(--green-button-bg-hover);
  color: #ffffff;
  box-shadow: var(--green-button-shadow-hover);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-transform: uppercase;
}

.section-copy {
  color: var(--text-soft);
  max-width: 620px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.skip-link {
  position: fixed;
  top: -44px;
  left: 16px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--orange);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  gap: 12px;
  padding-top: clamp(16px, 2vw, 22px);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled .header-main {
  width: min(var(--content-shell), calc(100vw - 36px));
  margin: 0 auto;
  padding: 0 26px;
  border: 1px solid rgba(119, 197, 238, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header--solid .header-main {
  width: min(var(--content-shell), calc(100vw - 36px));
  margin: 0 auto;
  padding: 0 26px;
  border: 1px solid rgba(119, 197, 238, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-top {
  width: min(var(--content-shell), calc(100vw - 36px));
  margin: 0 auto;
  border: 1px solid rgba(119, 197, 238, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
  box-shadow: 0 14px 30px rgba(119, 197, 238, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 0 22px;
}

.header-top__meta,
.header-top__social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.header-top__meta a,
.header-top__social a,
.header-top__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.header-top__meta span::before,
.header-top__social a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.header-main {
  width: min(var(--content-shell), calc(100vw - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  border: 1px solid rgba(119, 197, 238, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    padding 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    border-radius 0.22s ease;
}

.header-main::before {
  content: none;
}

.brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 0;
  background: transparent;
  clip-path: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 104px;
}

.brand img {
  width: auto;
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.nav-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.site-nav {
  justify-self: start;
}

.site-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 0 9px;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: var(--link-underline-thickness);
  text-underline-offset: var(--link-underline-gap);
  text-decoration-skip-ink: none;
  transition: color 0.2s ease, text-decoration-color 0.24s ease;
}

.site-nav a[aria-current="page"],
.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--link-underline);
}

.nav-band__side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 197, 238, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.header-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.header-social-link:hover {
  transform: translateY(-1px);
  color: var(--orange);
  border-color: rgba(143, 205, 161, 0.62);
  background: rgba(143, 205, 161, 0.16);
}

.header-social-link[aria-label="Instagram"]:hover,
.header-social-link[aria-label="Instagram"]:focus-visible {
  color: #ffffff;
  border-color: rgba(225, 48, 108, 0.78);
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, #d62976 58%, #962fbf 82%, #4f5bd5 100%);
}

.header-social-link[aria-label="Facebook"]:hover,
.header-social-link[aria-label="Facebook"]:focus-visible {
  color: #ffffff;
  border-color: #1877f2;
  background: #1877f2;
}

main a[href]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button):not(.partner-card__link),
.site-footer a[href]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button) {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: var(--link-underline-thickness);
  text-underline-offset: var(--link-underline-gap);
  text-decoration-skip-ink: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    text-decoration-color 0.24s ease;
}

main a[href^="mailto:"]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button),
main a[href^="tel:"]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button),
.site-footer a[href^="mailto:"]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button),
.site-footer a[href^="tel:"]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button) {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

main a[href]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button):not(.partner-card__link):hover,
main a[href]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button):not(.partner-card__link):focus-visible,
.site-footer a[href]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button):hover,
.site-footer a[href]:not(.button):not(.brand-mark):not(.brand-panel):not(.header-social-link):not(.floating-contact-button):focus-visible {
  text-decoration-color: var(--link-underline);
}

.nav-band__side .button {
  min-height: 46px;
  padding: 0 16px;
  font-size: 13px;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-call__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.header-call__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-call__label {
  color: var(--text-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-call__number {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.floating-contact-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 52px;
  min-width: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--dark-soft);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 1;
  box-shadow: var(--green-button-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-contact-button:hover,
.floating-contact-button:focus-visible {
  transform: translateY(-1px);
  background: var(--green-button-bg-hover);
  box-shadow: var(--green-button-shadow-hover);
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.floating-contact-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.floating-contact-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.floating-contact-button__icon--phone,
.floating-contact-button__text {
  display: none;
}

.floating-contact-button.is-mobile-call {
  width: 52px;
  min-width: 52px;
  gap: 0;
  padding: 0;
}

.floating-contact-button.is-mobile-call .floating-contact-button__icon--mail {
  display: none;
}

.floating-contact-button.is-mobile-call .floating-contact-button__icon--phone {
  display: inline-flex;
}

.floating-contact-button.is-mobile-call .floating-contact-button__text {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: #ffffff;
}

.hero-home {
  position: relative;
  padding-top: 124px;
}

.hero-home__shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  min-height: 760px;
  background: var(--dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-home__shell::before {
  content: "";
  position: absolute;
  inset: 0 34% 0 0;
  background:
    linear-gradient(90deg, rgba(119, 197, 238, 0.92), rgba(119, 197, 238, 0.78)),
    var(--hero-bg, url("../../img/sachs-heizung-startseite-hero-hintergrund.webp")) center / cover no-repeat;
}

.hero-home__shell::after {
  content: "";
  position: absolute;
  top: -12%;
  left: 50%;
  width: 120px;
  height: 124%;
  background: linear-gradient(180deg, rgba(119, 197, 238, 0.96), rgba(119, 197, 238, 0.78));
  transform: translateX(-50%) skewX(-26deg);
  transform-origin: center;
  z-index: 2;
}

.hero-home__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 760px;
}

.hero-home__copy {
  position: relative;
  padding: 158px 72px 120px 78px;
  color: #ffffff;
}

.hero-home__copy .section-kicker {
  color: #ffffff;
}

.hero-home__copy .section-kicker::before {
  background: var(--orange);
}

.hero-home__title {
  max-width: 500px;
  margin-bottom: 26px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-home__lead {
  max-width: 420px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.hero-home__visual {
  position: relative;
}

.hero-home__visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-home__controls {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 26px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-home__controls .arrow {
  pointer-events: auto;
}

.appointment-strip {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  padding: 58px 64px 62px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    linear-gradient(135deg, rgba(119, 197, 238, 0.22) 0%, rgba(143, 205, 161, 0.22) 100%);
}

.appointment-strip::before {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 20px;
  width: 96px;
  height: 188px;
  background: var(--shape-contact-left) center / contain no-repeat;
  opacity: 0.95;
}

.appointment-strip::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 38px;
  width: 78px;
  height: 92px;
  background: var(--shape-contact-right) center / contain no-repeat;
}

.appointment-strip__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.appointment-strip__copy {
  position: relative;
  padding-left: 72px;
}

.appointment-strip__copy h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

.appointment-strip__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.field,
.appointment-strip__form input,
.appointment-strip__form select,
.appointment-strip__form textarea {
  width: 100%;
}

.field input,
.field select,
.field textarea,
.appointment-strip__form input,
.appointment-strip__form select,
.appointment-strip__form textarea {
  min-height: 56px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0 18px;
}

.field textarea {
  min-height: 184px;
  padding-top: 16px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-soft);
}

.form-span-2 {
  grid-column: span 2;
}

.measure-line {
  width: var(--shell);
  height: 14px;
  margin: 0 auto;
  background:
    linear-gradient(
      90deg,
      rgba(119, 197, 238, 0.22) 0 2px,
      transparent 2px 14px,
      rgba(143, 205, 161, 0.26) 14px 16px,
      transparent 16px 28px
    );
  background-size: 28px 14px;
  background-repeat: repeat-x;
  background-color: #ffffff;
}

.home-about,
.page-section {
  position: relative;
  padding: 108px 0;
  background: #ffffff;
}

.home-about__grid,
.page-split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.about-media {
  display: grid;
  grid-template-columns: 1.25fr 0.88fr;
  gap: 14px;
  align-items: end;
}

.about-media__main,
.about-media__secondary,
.about-media__accent {
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-media__main img,
.about-media__secondary img,
.about-media__accent img,
.section-card__image img,
.project-card img,
.service-card img,
.blog-card img,
.gallery-card img,
.page-card__image img,
.contact-gallery img {
  height: 100%;
  object-fit: cover;
}

.about-media__main {
  min-height: 510px;
}

.about-media__stack {
  display: grid;
  gap: 14px;
}

.award-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 254px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(135deg, var(--orange) 0%, var(--orange-strong) 100%);
  color: #ffffff;
  text-align: center;
}

.award-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.award-card__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 42px;
}

.award-card__title {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}

.about-copy {
  position: relative;
  padding-right: 48px;
}

.about-copy::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  background: var(--shape-circle) center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.about-copy__text {
  margin-bottom: 28px;
  color: var(--text-soft);
}

.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 28px;
}

.mini-feature {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--paper-soft);
}

.mini-feature__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
}

.mini-feature h3,
.metric-card h3,
.page-card h3,
.team-card h3,
.partner-card h3,
.contact-card h3,
.legal-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
}

.progress {
  margin: 16px 0 34px;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress__track {
  overflow: hidden;
  height: 10px;
  background: rgba(119, 197, 238, 0.18);
}

.progress__bar {
  width: 90%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-strong));
}

.home-services,
.blog-section {
  padding: 108px 0;
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

.service-card img {
  height: 350px;
  opacity: 0.86;
}

.service-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(119, 197, 238, 0.94) 54%);
}

.service-card__body p,
.project-card__meta p,
.blog-card p,
.team-card p,
.partner-card p,
.page-card p,
.contact-card p,
.legal-card p,
.metric-card p {
  color: inherit;
  opacity: 0.82;
}

.dark-feature-section,
.project-section,
.testimonial-section,
.footer {
  position: relative;
  padding: 108px 0;
  background: var(--dark);
  color: #ffffff;
}

.dark-feature-section::before,
.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(143, 205, 161, 0.22), transparent 24%),
    radial-gradient(circle at right 20%, rgba(255, 255, 255, 0.12), transparent 22%);
  pointer-events: none;
}

.dark-feature-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
}

.dark-feature-section__photo {
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dark-feature-section__photo img {
  min-height: 560px;
  object-fit: cover;
}

.dark-feature-section__copy {
  position: relative;
}

.dark-feature-section__copy::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 30px;
  width: 420px;
  height: 420px;
  background: var(--shape-choose) center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.dark-feature-section .section-title,
.project-section .section-title,
.testimonial-section .section-title,
.footer .section-title {
  color: #ffffff;
}

.dark-feature-section .section-copy,
.project-section .section-copy,
.testimonial-section .section-copy,
.footer-copy {
  color: rgba(255, 255, 255, 0.72);
}

.info-box-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.info-box {
  padding: 22px 24px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
  color: var(--text);
}

.info-box__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 22px;
  font-weight: 800;
}

.project-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.project-slider {
  position: relative;
  padding: 26px;
  background: #ffffff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--dark);
}

.project-card__meta {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(119, 197, 238, 0.96));
}

.project-card__meta h3 {
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  background: var(--orange);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(143, 205, 161, 0.38);
}

.dots span.is-active {
  background: var(--orange);
}

.plan-section {
  padding: 108px 0;
  background: linear-gradient(
    180deg,
    rgba(119, 197, 238, 0.14) 0,
    rgba(143, 205, 161, 0.14) 100%
  );
}

.plan-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: end;
}

.plan-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--dark);
  color: #ffffff;
}

.plan-callout__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  font-size: 24px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  position: relative;
  padding: 30px 32px 34px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.plan-card--accent {
  background: var(--dark);
  color: #ffffff;
}

.plan-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.plan-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.plan-card__head h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-card__sub {
  color: inherit;
  opacity: 0.74;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.plan-card ul {
  list-style: none;
  margin: 0 0 24px;
}

.plan-card li {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-card--accent li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.plan-card li::before {
  content: "•";
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.plan-card__value {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-bottom: 24px;
  font-family: "Montserrat", sans-serif;
}

.plan-card__value strong {
  font-size: 44px;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.testimonial-section__wrap {
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.testimonial-card {
  position: relative;
  padding: 44px 28px 30px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
}

.testimonial-card__avatar {
  width: 78px;
  height: 78px;
  margin: -78px auto 18px;
  border: 4px solid var(--orange);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.testimonial-card__avatar img {
  height: 100%;
  object-fit: cover;
}

.testimonial-card__quote {
  min-height: 122px;
  color: var(--text-soft);
}

.testimonial-card__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 18px 0 14px;
  color: var(--orange);
  font-size: 15px;
}

.testimonial-card__name {
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  text-transform: uppercase;
}

.testimonial-card__role {
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.marquee-band {
  overflow: hidden;
  padding: 24px 0;
  background: var(--dark-strong);
  color: rgba(255, 255, 255, 0.82);
}

.marquee-band__track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.marquee-band h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.achievement-strip {
  position: relative;
  padding: 56px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(119, 197, 238, 0.16) 0%, rgba(143, 205, 161, 0.16) 100%);
}

.achievement-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.counter-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 138px;
  padding: 22px 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.counter-card--dark {
  background: var(--dark);
  color: #ffffff;
}

.counter-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.counter-card__value {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  line-height: 0.95;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.blog-card img {
  height: 250px;
}

.blog-card__body {
  padding: 28px;
}

.blog-card__meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 16px;
  background: var(--paper-soft);
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.footer {
  padding-bottom: 0;
  background: var(--section-plain);
  color: var(--text);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 34px;
  padding-bottom: 56px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 24px;
}

.footer-title {
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  color: var(--text-soft);
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  justify-self: start;
  width: fit-content;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--text);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
  font-size: 15px;
}

.footer-bottom__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-banner__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-title {
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.page-section--soft {
  background: var(--paper-soft);
}

.page-section--dark {
  background: var(--dark);
  color: #ffffff;
}

.page-section--dark .section-copy,
.page-section--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.page-card,
.team-card,
.partner-card,
.contact-card,
.legal-card,
.metric-card {
  border-radius: var(--surface-radius);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 56px 52px;
  box-shadow: var(--shadow-sm);
}

.page-section--dark .page-card,
.page-section--dark .team-card,
.page-section--dark .partner-card,
.page-section--dark .contact-card,
.page-section--dark .legal-card,
.page-section--dark .metric-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.page-card__image,
.team-card__photo,
.gallery-card {
  margin: 0;
  border-radius: var(--surface-radius-inner);
  overflow: hidden;
}

.team-grid,
.partner-grid,
.gallery-grid,
.metric-grid {
  display: grid;
  gap: 42px;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  padding: 0;
  overflow: hidden;
}

.team-card--photo-fill {
  display: flex;
  flex-direction: column;
}

.team-card--photo-fill .team-card__photo {
  flex: 1 0 auto;
}

.team-card__photo img {
  height: 290px;
  object-fit: cover;
}

.team-card--photo-fill .team-card__photo img {
  height: 100%;
  min-height: 290px;
}

.team-card__body {
  display: flex;
  flex-direction: column;
  padding: 48px 44px 50px;
}

.team-card__role,
.partner-card__role {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 16px;
  background: var(--paper-soft);
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card ul,
.page-card ul,
.partner-card ul {
  list-style: none;
  margin-top: 16px;
  flex: 1 0 auto;
}

.team-card li,
.page-card li,
.partner-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text-soft);
}

.team-card li::before,
.page-card li::before,
.partner-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.partner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
  display: grid;
  gap: 42px;
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 20px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(119, 197, 238, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.partner-card__link:hover,
.partner-card__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(143, 205, 161, 0.62);
  background: rgba(143, 205, 161, 0.14);
  text-decoration: none;
}

.partner-card__logo {
  display: grid;
  place-items: center;
  min-height: clamp(236px, 22vw, 276px);
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--surface-radius-inner);
  background: var(--paper-soft);
}

.partner-card__logo img {
  width: auto;
  max-width: 100%;
  max-height: clamp(112px, 10vw, 142px);
  object-fit: contain;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  min-height: 420px;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card__value {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 0.95;
}

.contact-grid {
  align-items: stretch;
}

.contact-card {
  min-height: 100%;
}

.contact-card--dark {
  background: var(--dark);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-card--dark p,
.contact-card--dark a,
.contact-card--dark label {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card__list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.consent {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--text-soft);
  font-size: 16px;
}

.consent input {
  margin-top: 5px;
}

.contact-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-gallery img {
  height: 260px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.contact-modal__panel {
  position: relative;
  width: min(1000px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 44px 30px 30px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 34px;
  line-height: 0.8;
  z-index: 2;
}

.contact-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
  gap: 24px;
}

.contact-modal__title {
  grid-column: 1 / -1;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.contact-modal__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-modal__field,
.contact-modal__field input,
.contact-modal__field textarea {
  width: 100%;
}

.contact-modal__field input,
.contact-modal__field textarea {
  min-height: 56px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0 18px;
}

.contact-modal__field textarea {
  min-height: 184px;
  padding-top: 16px;
  resize: vertical;
}

.contact-modal__field input:focus,
.contact-modal__field input:focus-visible,
.contact-modal__field textarea:focus,
.contact-modal__field textarea:focus-visible {
  outline: none;
  border-color: rgba(119, 197, 238, 0.28);
  box-shadow: 0 0 0 1px rgba(119, 197, 238, 0.14);
}

.contact-modal__field input::placeholder,
.contact-modal__field textarea::placeholder {
  color: var(--text-soft);
}

.contact-modal__field--full,
.contact-modal__privacy,
.contact-modal__actions {
  grid-column: 1 / -1;
}

.contact-modal__privacy {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--text-soft);
  font-size: 16px;
}

.contact-modal__privacy input {
  margin-top: 5px;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(119, 197, 238, 0.28);
  border-radius: 4px;
  background: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 9px;
  cursor: pointer;
}

.contact-modal__privacy input:checked {
  border-color: rgba(143, 205, 161, 0.72);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5 4.2 7.7 11 1' fill='none' stroke='%238fcda1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-modal__privacy input:focus,
.contact-modal__privacy input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(143, 205, 161, 0.18);
}

.contact-modal__privacy a,
.contact-modal__info a {
  display: inline-flex;
  width: fit-content;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: var(--link-underline-thickness);
  text-underline-offset: var(--link-underline-gap);
  text-decoration-skip-ink: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    text-decoration-color 0.24s ease;
}

.contact-modal__privacy a:hover,
.contact-modal__privacy a:focus-visible,
.contact-modal__info a:hover,
.contact-modal__info a:focus-visible {
  text-decoration-color: var(--link-underline);
}

.contact-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--green-button-shadow);
}

.contact-modal__info {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px 22px;
  background: var(--paper-soft);
}

.contact-modal__info-title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-modal__info-label {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-modal__info-block {
  display: grid;
  gap: 8px;
}

@media (max-width: 820px) {
  .contact-modal {
    padding: 16px;
  }

  .contact-modal__panel {
    width: min(100vw - 20px, 100%);
    max-height: calc(100vh - 20px);
    padding: 38px 18px 18px;
  }

  .contact-modal__layout,
  .contact-modal__form {
    grid-template-columns: 1fr;
  }

  .contact-modal__field--full,
  .contact-modal__privacy,
  .contact-modal__actions {
    grid-column: auto;
  }
}

.legal-main {
  padding: 100px 0;
  background: var(--paper-soft);
}

.legal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  margin-bottom: 24px;
}

.legal-card h2,
.legal-card h3 {
  margin-bottom: 16px;
}

.legal-card h3 {
  margin-top: 26px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-card p + p {
  margin-top: 12px;
}

.text-link {
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-count] {
  display: inline-block;
  min-width: 1ch;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1240px) {
  :root {
    --shell: 100vw;
    --content-shell: min(100vw - 64px, 1480px);
  }

  .header-top__row {
    padding-left: 22px;
  }

  .header-main {
    grid-template-columns: auto 1fr;
  }

  .brand-panel {
    padding: 16px 0;
  }

  .nav-band {
    padding-right: 0;
  }

  .site-nav a {
    padding: 0 12px;
  }

  .hero-home__copy {
    padding: 138px 48px 96px 54px;
  }

  .appointment-strip,
  .hero-home__shell {
    width: var(--shell);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(119, 197, 238, 0.22), transparent 24%),
      linear-gradient(180deg, #77c5ee 0, #77c5ee 520px, #ffffff 520px, #ffffff 100%);
  }

  .header-top {
    display: none;
  }

  .site-header {
    gap: 0;
    padding-top: 0;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    padding: 0 16px;
  }

  .site-header.is-scrolled .header-main,
  .site-header--solid .header-main {
    width: 100%;
    padding: 0 16px;
  }

  .brand-panel {
    clip-path: none;
    background: transparent;
    padding: 14px 0;
  }

  .brand {
    max-width: 116px;
  }

  .nav-band {
    grid-template-columns: auto auto;
    justify-content: end;
    padding: 0;
  }

  .site-nav {
    position: fixed;
    inset: 84px 16px auto;
    display: none;
    padding: 18px;
    border: 1px solid rgba(32, 32, 32, 0.08);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0;
  }

  .header-social-link {
    width: 40px;
    height: 40px;
  }

  .floating-contact-button {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-home {
    padding-top: 84px;
  }

  .hero-home__grid,
  .appointment-strip__inner,
  .home-about__grid,
  .dark-feature-section__grid,
  .plan-section__grid,
  .achievement-strip__inner,
  .page-split,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-home__shell {
    min-height: 0;
  }

  .hero-home__shell::before {
    inset: 0;
  }

  .hero-home__shell::after {
    left: auto;
    right: 22%;
    width: 94px;
  }

  .hero-home__grid {
    min-height: 0;
  }

  .hero-home__copy {
    padding: 112px 28px 56px;
  }

  .hero-home__visual {
    min-height: 420px;
  }

  .appointment-strip {
    padding: 44px 28px 48px;
  }

  .appointment-strip__copy {
    padding-left: 0;
  }

  .appointment-strip::before,
  .appointment-strip::after {
    display: none;
  }

  .service-grid,
  .project-grid,
  .testimonial-grid,
  .blog-grid,
  .page-card-grid,
  .gallery-grid,
  .metric-grid,
  .partner-grid,
  .team-grid,
  .feature-pair,
  .info-box-grid,
  .achievement-grid,
  .plan-grid,
  .footer-main,
  .contact-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
    background:
      radial-gradient(circle at top left, rgba(119, 197, 238, 0.2), transparent 24%),
      linear-gradient(180deg, #77c5ee 0, #77c5ee 460px, #ffffff 460px, #ffffff 100%);
  }

  .section-head,
  .project-section__head,
  .footer-bottom__inner {
    flex-direction: column;
    align-items: start;
  }

  .hero-home__title,
  .page-title {
    font-size: clamp(34px, 9vw, 54px);
  }

  .hero-home__copy {
    padding: 100px 24px 44px;
  }

  .hero-home__visual {
    min-height: 320px;
  }

  .hero-home__shell::after {
    right: 18%;
    width: 68px;
  }

  .appointment-strip__form,
  .contact-form,
  .service-grid,
  .project-grid,
  .testimonial-grid,
  .blog-grid,
  .page-card-grid,
  .gallery-grid,
  .metric-grid,
  .partner-grid,
  .team-grid,
  .feature-pair,
  .info-box-grid,
  .achievement-grid,
  .plan-grid,
  .footer-main,
  .contact-gallery {
    grid-template-columns: 1fr;
  }

  .form-span-2 {
    grid-column: auto;
  }

  .home-about,
  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding: 72px 0;
  }

  .about-media {
    grid-template-columns: 1fr;
  }

  .about-media__main,
  .dark-feature-section__photo img {
    min-height: 340px;
  }

  .project-slider {
    padding: 18px;
  }

  .counter-card,
  .plan-callout {
    align-items: start;
  }

}

@media (max-width: 760px) and (min-width: 520px) {
  .auftraggeber-page .gallery-grid,
  .produkte-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body {
  overflow-x: hidden;
}

.footer-map-section {
  position: relative;
  background: rgba(119, 197, 238, 0.22);
}

.footer-map__frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.footer-map__frame iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.footer-map__card {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 1;
  max-width: min(396px, calc(100vw - 64px));
  padding: 28px 30px;
  border-left: 6px solid var(--orange);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.footer-map__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-map__title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.footer-map__address {
  margin-top: 16px;
  color: var(--text-soft);
  line-height: 1.7;
}

.footer-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer-map__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--orange);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .footer-map__card {
    top: 24px;
    left: 24px;
  }
}

@media (max-width: 760px) {
  .footer-map__frame {
    min-height: 460px;
  }

  .footer-map__frame iframe {
    height: 460px;
  }

  .footer-map__card {
    top: 16px;
    left: 12px;
    right: 12px;
    max-width: none;
    padding: 20px 20px 22px;
  }

  .footer-map__actions,
  .footer-map__link {
    width: auto;
    max-width: 100%;
  }
}

:root {
  --space-3xs: 8px;
  --space-2xs: 12px;
  --space-xs: 16px;
  --space-sm: 20px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-2xl: 56px;
  --content-shell: min(1480px, calc(100vw - 136px));
}

.section-kicker {
  gap: var(--space-2xs);
  margin-bottom: var(--space-2xs);
}

.section-head {
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.button,
.mini-button {
  min-height: 48px;
  padding: 0 22px;
}

.header-top__row {
  gap: var(--space-2xs);
  padding: 0 20px 0 228px;
}

.header-top__meta,
.header-top__social {
  gap: 14px;
}

.brand-panel {
  padding: 14px 0;
}

.nav-band {
  gap: 12px;
  padding: 0;
}

.site-nav a {
  min-height: 60px;
  padding: 0 9px;
}

.nav-band__side {
  gap: 12px;
}

.page-title {
  margin-bottom: var(--space-xs);
}

main > section {
  padding-top: calc(var(--site-header-height) + var(--space-lg));
}

.page-split,
.contact-grid,
.home-about__grid,
.dark-feature-section__grid,
.plan-section__grid,
.achievement-strip__inner,
.legal-grid {
  gap: var(--space-xl);
}

.service-grid,
.project-grid,
.testimonial-grid,
.blog-grid,
.page-card-grid,
.gallery-grid,
.metric-grid,
.partner-grid,
.team-grid,
.contact-gallery {
  gap: var(--space-md);
}

.page-card,
.team-card,
.partner-card,
.contact-card,
.legal-card,
.metric-card {
  padding: 26px 24px;
}

.footer-main {
  gap: 28px;
  padding-bottom: 44px;
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

.footer-social {
  gap: 10px;
  margin-top: 18px;
}

.footer-bottom {
  padding: 16px 0 22px;
}

.footer-bottom__nav {
  gap: 18px;
}

.footer-map__frame {
  min-height: 440px;
}

.footer-map__frame iframe {
  height: 440px;
}

@media (max-width: 1080px) {
  :root {
    --content-shell: min(100vw - 56px, 1480px);
  }

  .header-top__row {
    padding-left: 20px;
  }

  .brand-panel {
    padding: 14px 0;
  }

  .nav-band {
    padding-right: 0;
  }

  main > section {
    padding-top: calc(var(--site-header-height) + var(--space-md));
  }

  .page-banner,
  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding-top: calc(var(--site-header-height) + var(--space-md));
    padding-bottom: 0;
  }

  .page-banner {
    padding: 188px 0 74px;
  }

  .page-split,
  .contact-grid,
  .home-about__grid,
  .dark-feature-section__grid,
  .plan-section__grid,
  .achievement-strip__inner,
  .legal-grid {
    gap: var(--space-lg);
  }

  .footer-main {
    gap: var(--space-md);
    padding-bottom: 36px;
  }
}

@media (max-width: 1080px) and (min-width: 901px) {
  .header-row {
    gap: 14px;
    padding-inline: 20px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .site-nav a {
    min-height: 44px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-social-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1080px) and (min-width: 721px) {
  :root {
    --screen-section-safe-bottom: 8px;
    --page-banner-safe-top: calc(var(--site-header-height) + 4px);
    --page-section-safe-top: calc(var(--site-header-height) + 4px);
    --page-section-safe-bottom: 8px;
    --tablet-section-edge-space: 28px;
    --page-section-frame-pad: 14px;
  }

  main > section {
    min-height: auto;
  }

  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding: var(--tablet-section-edge-space) 0;
  }

  .page-banner {
    padding: var(--page-banner-safe-top) 0 var(--tablet-section-edge-space);
  }

  .page-section > .section-shell,
  .dark-feature-section > .section-shell,
  .project-section > .section-shell,
  .plan-section > .section-shell,
  .testimonial-section > .section-shell,
  .blog-section > .section-shell,
  .legal-main > .legal-shell {
    min-height: 0;
    margin: 0 auto;
    align-content: start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .page-banner > .section-shell {
    min-height: 0;
    margin: 0 auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .section-head,
  .project-section__head {
    gap: 14px;
    margin-bottom: 22px;
  }

  .contact-modal {
    padding: 16px;
  }

  .contact-modal__panel {
    width: min(960px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 34px 24px 20px;
    border-radius: 28px;
  }

  .contact-modal__close {
    top: 10px;
    right: 18px;
    font-size: 30px;
  }

  .contact-modal__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.74fr);
    gap: 16px;
    align-items: start;
  }

  .contact-modal__title {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2.35vw, 1.9rem);
  }

  .contact-modal__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-modal__field input,
  .contact-modal__field textarea {
    min-height: 50px;
    padding-inline: 14px;
  }

  .contact-modal__field textarea {
    min-height: 124px;
    padding-top: 14px;
  }

  .contact-modal__privacy {
    gap: 10px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .contact-modal__privacy input {
    margin-top: 2px;
  }

  .contact-modal__submit {
    min-height: 42px;
    padding-inline: 20px;
  }

  .contact-modal__info {
    gap: 12px;
    padding: 18px 16px;
  }

  .contact-modal__info-title {
    font-size: 1.06rem;
  }

  .contact-modal__info-label {
    font-size: 0.72rem;
  }

  .contact-modal__info-block {
    gap: 6px;
  }

  .page-split,
  .contact-grid,
  .legal-grid,
  .page-card-grid,
  .gallery-grid,
  .partner-grid,
  .metric-grid,
  .contact-gallery {
    gap: 20px;
  }

  .page-card,
  .partner-card,
  .contact-card,
  .legal-card,
  .metric-card {
    padding: 28px 24px;
  }

  .partner-card {
    gap: 24px;
  }

  .partner-card__logo {
    min-height: 190px;
    padding: 24px;
  }

  .gallery-card {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .site-footer .footer-grid {
    gap: 22px 16px;
  }
}

@media (max-width: 760px) {
  :root {
    --content-shell: min(100vw - 36px, 1480px);
  }

  main > section {
    padding-top: calc(var(--site-header-height) + var(--space-sm));
  }

  .page-banner,
  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding-top: calc(var(--site-header-height) + var(--space-sm));
    padding-bottom: 0;
  }

  .section-head {
    margin-bottom: var(--space-lg);
  }

  .page-banner {
    padding: 170px 0 64px;
  }

  .page-card,
  .team-card__body,
  .partner-card,
  .contact-card,
  .legal-card,
  .metric-card {
    padding: 22px 20px;
  }

  .footer-main {
    padding-bottom: 30px;
  }

  .footer-map__frame {
    min-height: 360px;
  }

  .footer-map__frame iframe {
    height: 360px;
  }
}

/* Match the section background rhythm from the home page on all inner pages. */
:root {
  --section-plain: #ffffff;
  --section-tint:
    radial-gradient(circle at top left, rgba(119, 197, 238, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(119, 197, 238, 0.08) 0%, rgba(255, 255, 255, 0.99) 58%, #ffffff 100%);
  --hero-surface-tint:
    radial-gradient(circle at 0% 16%, rgba(119, 197, 238, 0.28), transparent 24%),
    radial-gradient(circle at 100% 14%, rgba(119, 197, 238, 0.16), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(119, 197, 238, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(119, 197, 238, 0.14) 0%, rgba(255, 255, 255, 0.98) 42%, #ffffff 100%);
}

body {
  background: var(--section-plain);
}

.page-banner {
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--text);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: calc(var(--page-banner-header-overlap) * -1) 0 -88px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 34%,
      rgba(255, 255, 255, 0.74) 58%,
      rgba(255, 255, 255, 0.44) 100%
    ),
    radial-gradient(circle at 88% 84%, rgba(119, 197, 238, 0.12), transparent 24%),
    var(--banner-image, url("../../img/sachs-heizung-impressum-banner.webp")) center / cover no-repeat,
    var(--hero-surface-tint);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
}

.page-banner::after {
  content: none;
}

.page-banner__content p:last-child {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 620px;
}

.page-section.page-section--soft,
.page-section.page-section--dark,
.legal-main {
  background: transparent;
}

.page-section.page-section--dark {
  color: var(--text);
}

.page-section.page-section--dark .section-copy,
.page-section.page-section--dark p {
  color: var(--text-soft);
}

.page-section.page-section--dark .page-card,
.page-section.page-section--dark .team-card,
.page-section.page-section--dark .partner-card,
.page-section.page-section--dark .contact-card,
.page-section.page-section--dark .legal-card,
.page-section.page-section--dark .metric-card {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.page-section.page-section--dark .button--light {
  border-color: transparent;
  background: var(--orange);
  color: #ffffff;
  box-shadow: var(--green-button-shadow);
}

.page-section.page-section--dark .button--light:hover {
  border-color: transparent;
  background: var(--green-button-bg-hover);
  box-shadow: var(--green-button-shadow-hover);
}

.legal-main {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--section-plain);
}

.legal-main .legal-shell {
  width: min(var(--content-shell), 100%);
}

.legal-document {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: clamp(42px, 5vw, 64px);
}

.legal-block {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-block h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  line-height: 1.08;
}

.legal-address,
.legal-prose p,
.legal-meta dd {
  max-width: 74ch;
}

.legal-address {
  margin: 0;
  color: var(--text-soft);
}

.legal-lead {
  margin: 0 0 14px;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-meta {
  display: grid;
  gap: 18px;
  margin: 0;
}

.legal-meta div {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.6fr);
  gap: 10px 28px;
}

.legal-meta dt {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 0;
  color: var(--text-soft);
}

.legal-prose h3 {
  margin: 30px 0 10px;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-prose p {
  margin: 0;
  color: var(--text-soft);
}

.legal-prose p + p {
  margin-top: 14px;
}

.legal-main a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.legal-main .legal-grid {
  display: block;
  margin: 0;
}

.legal-main .legal-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-main .legal-card::before {
  content: none;
}

.legal-main .legal-card > * {
  position: static;
  z-index: auto;
}

.legal-main iframe,
.legal-termly,
.legal-termly iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-termly {
  margin-top: 8px;
}

main > section {
  background: var(--section-plain);
}

main > section:nth-of-type(odd) {
  background: var(--section-tint);
}

.footer {
  background: var(--section-tint);
}

/* Match the header/menu on all inner pages to the home page header. */
:root {
  --site-header-height: 108px;
  --header-shell: min(1480px, calc(100vw - 136px));
  --page-banner-header-overlap: calc(var(--site-header-height) + clamp(28px, 3vw, 40px));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: block;
  width: 100%;
  padding: clamp(16px, 2vw, 22px) 0 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header::before {
  content: none;
}

.header-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(var(--header-shell), calc(100vw - 36px));
  margin: 0 auto;
  gap: 18px;
  padding: 14px 26px;
  border: 1px solid rgba(119, 197, 238, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
  transition:
    padding 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    border-radius 0.22s ease;
}

.header-row::before {
  content: none;
}

.site-header.is-scrolled .header-row {
  width: min(var(--header-shell), calc(100vw - 36px));
  margin: 0 auto;
  padding: 14px 26px;
  border: 1px solid rgba(119, 197, 238, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
}

.site-header,
.site-footer,
.footer-map-section,
.floating-contact-button,
.contact-modal {
  font-family: "Manrope", sans-serif;
  line-height: 1.45;
}

.site-footer {
  padding: 52px 0 0;
  background: var(--section-tint);
  color: var(--text-soft);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(150px, 1fr));
  gap: 26px;
  padding-bottom: 28px;
}

.brand-mark--footer {
  color: var(--text);
  font-size: 1.14rem;
}

.brand-mark--footer .brand-mark__logo {
  width: clamp(110px, 8vw, 146px);
}

.site-footer .footer-copy {
  max-width: 320px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-hours {
  max-width: 320px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.site-footer .footer-column .footer-hours {
  max-width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: 12px;
}

.footer-hours__group strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 600;
}

.footer-hours__group span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-column h3 {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.site-footer .footer-column a {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer .footer-column a:hover,
.site-footer .footer-column a:focus-visible {
  color: var(--text-soft);
  opacity: 1;
  text-decoration-color: var(--link-underline);
}

.site-footer .footer-bottom {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}

.site-footer .footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark__logo {
  width: clamp(86px, 7.2vw, 118px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-nav {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: var(--link-underline-thickness);
  text-underline-offset: var(--link-underline-gap);
  text-decoration-skip-ink: none;
  transition: color 0.2s ease, opacity 0.2s ease, text-decoration-color 0.24s ease;
}

.site-nav a[aria-current="page"],
.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  opacity: 1;
  text-decoration-color: var(--link-underline);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 197, 238, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.header-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.header-social-link:hover {
  transform: translateY(-1px);
  color: var(--dark);
  border-color: rgba(143, 205, 161, 0.62);
  background: rgba(143, 205, 161, 0.16);
}

.header-social-link[aria-label="Instagram"]:hover,
.header-social-link[aria-label="Instagram"]:focus-visible {
  color: #ffffff;
  border-color: rgba(225, 48, 108, 0.78);
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, #d62976 58%, #962fbf 82%, #4f5bd5 100%);
}

.header-social-link[aria-label="Facebook"]:hover,
.header-social-link[aria-label="Facebook"]:focus-visible {
  color: #ffffff;
  border-color: #1877f2;
  background: #1877f2;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0;
  border-radius: 999px;
  background: var(--text);
}

@media (max-width: 900px) {
  .site-header {
    padding-top: clamp(12px, 2vw, 18px);
  }

  .header-row {
    width: min(var(--header-shell), calc(100vw - 28px));
    margin: 0 auto;
    padding: 14px 18px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    border-radius: 28px;
    overflow: visible;
    border: 1px solid rgba(119, 197, 238, 0.14);
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
  }

  .site-header.is-scrolled .header-row {
    width: min(var(--header-shell), calc(100vw - 28px));
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 28px;
    border: 1px solid rgba(119, 197, 238, 0.14);
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
  }

  .nav-toggle {
    display: inline-flex;
    order: 4;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    order: 5;
    width: 100%;
    max-width: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(39, 58, 66, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .header-actions {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-shell: min(100vw - 64px, 1480px);
  }

  .site-header {
    padding: clamp(16px, 2vw, 22px) 0 0;
  }
}

@media (max-width: 720px) {
  .header-actions {
    gap: 10px;
  }

  .header-social-link {
    width: 40px;
    height: 40px;
  }

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

@media (max-width: 1080px) and (min-width: 901px) {
  :root {
    --header-shell: min(100vw - 64px, 1480px);
  }

  .header-row {
    gap: 14px;
    padding-inline: 20px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .site-nav a {
    min-height: 44px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-social-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1080px) and (min-width: 540px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .site-footer .footer-copy {
    max-width: 560px;
  }

  .site-footer .footer-column,
  .site-footer .footer-column .footer-hours {
    max-width: 100%;
  }

  .site-footer .footer-column h3 {
    font-size: 0.9rem;
  }

  .site-footer .footer-column a,
  .site-footer .footer-hours__group strong,
  .site-footer .footer-hours__group span {
    font-size: 0.85rem;
    line-height: 1.45;
  }
}

@media (max-width: 1080px) {
  .legal-main {
    padding: 64px 0;
  }

  .legal-meta div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Final page rhythm and modal finish. */
:root {
  --screen-section-height: 100svh;
  --screen-section-safe-bottom: clamp(14px, 1.8vh, 22px);
  --page-banner-safe-top: calc(var(--site-header-height) + clamp(10px, 1.6vh, 18px));
  --page-section-safe-top: calc(var(--site-header-height) + clamp(8px, 1.4vh, 14px));
  --page-section-space: clamp(82px, 7vw, 112px);
  --page-section-space-tight: clamp(64px, 5vw, 88px);
  --page-section-frame-pad: clamp(14px, 1.4vw, 20px);
}

/* Single source of truth for inner-page rhythm and shell sizing. */
main > section {
  min-height: var(--screen-section-height);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  scroll-margin-top: 0;
}

.page-banner,
.page-section,
.dark-feature-section,
.project-section,
.plan-section,
.testimonial-section,
.blog-section,
.legal-main {
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
}

.page-banner {
  padding: var(--page-banner-safe-top) 0 var(--screen-section-safe-bottom);
}

.page-section,
.dark-feature-section,
.project-section,
.plan-section,
.testimonial-section,
.blog-section,
.legal-main {
  padding: var(--page-section-safe-top) 0 var(--screen-section-safe-bottom);
}

.page-section > .section-shell,
.dark-feature-section > .section-shell,
.project-section > .section-shell,
.plan-section > .section-shell,
.testimonial-section > .section-shell,
.blog-section > .section-shell,
.legal-main > .legal-shell {
  min-height: calc(var(--screen-section-height) - var(--page-section-safe-top) - var(--screen-section-safe-bottom));
  margin: auto auto;
  display: grid;
  align-content: center;
  justify-content: stretch;
  justify-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
}

.page-banner > .section-shell {
  min-height: calc(var(--screen-section-height) - var(--page-banner-safe-top) - var(--screen-section-safe-bottom));
  margin: auto auto;
  display: grid;
  align-content: center;
  justify-content: stretch;
  justify-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
}

.page-section > .section-shell,
.dark-feature-section > .section-shell,
.project-section > .section-shell,
.plan-section > .section-shell,
.testimonial-section > .section-shell,
.blog-section > .section-shell,
.legal-main > .legal-shell {
  padding-inline: clamp(10px, 1vw, 18px);
  padding-top: var(--page-section-frame-pad);
  padding-bottom: var(--page-section-frame-pad);
}

.section-head {
  margin-bottom: clamp(34px, 3vw, 46px);
}

.legal-main {
  padding: var(--page-section-safe-top) 0 var(--screen-section-safe-bottom);
}

.contact-modal {
  padding: clamp(18px, 3vw, 28px);
}

.contact-modal__backdrop {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.24));
  backdrop-filter: blur(24px) saturate(132%);
  -webkit-backdrop-filter: blur(24px) saturate(132%);
}

.contact-modal__panel {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 42px 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 34px 100px rgba(31, 60, 76, 0.16);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

.contact-modal__close {
  top: 14px;
  right: 22px;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 34px;
  line-height: 0.8;
  z-index: 3;
}

.contact-modal__layout {
  gap: 18px;
}

.contact-modal__title {
  margin-bottom: 4px;
}

.contact-modal__form {
  gap: 14px 16px;
}

.contact-modal__field input,
.contact-modal__field textarea {
  border: 1px solid rgba(119, 197, 238, 0.16);
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-modal__field textarea {
  min-height: 156px;
}

.contact-modal__info {
  gap: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(119, 197, 238, 0.12);
  background: rgba(247, 251, 248, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-modal__submit {
  box-shadow: 0 14px 30px rgba(143, 205, 161, 0.22);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-modal__submit:hover,
.contact-modal__submit:focus-visible {
  transform: translateY(-1px);
  background: var(--green-button-bg-hover);
  box-shadow: var(--green-button-shadow-hover);
}

@media (max-width: 1080px) {
  .page-banner {
    padding: var(--page-banner-safe-top) 0 var(--screen-section-safe-bottom);
  }

  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding: var(--page-section-safe-top) 0 var(--screen-section-safe-bottom);
  }

  .page-section > .section-shell,
  .dark-feature-section > .section-shell,
  .project-section > .section-shell,
  .plan-section > .section-shell,
  .testimonial-section > .section-shell,
  .blog-section > .section-shell,
  .legal-main > .legal-shell {
    padding-inline: 8px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

@media (max-width: 720px) {
  main > section {
    min-height: auto;
  }

  .page-banner {
    padding: var(--page-banner-safe-top) 0 var(--screen-section-safe-bottom);
  }

  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding: var(--page-section-safe-top) 0 var(--screen-section-safe-bottom);
  }

  .page-section > .section-shell,
  .dark-feature-section > .section-shell,
  .project-section > .section-shell,
  .plan-section > .section-shell,
  .testimonial-section > .section-shell,
  .blog-section > .section-shell,
  .legal-main > .legal-shell {
    min-height: 0;
    margin: 0 auto;
    align-content: start;
    padding-inline: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .page-banner > .section-shell {
    min-height: 0;
    margin: 0 auto;
    padding-inline: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .section-head,
  .project-section__head {
    gap: 14px;
    margin-bottom: 20px;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal__panel {
    max-height: calc(100vh - 24px);
    padding: 28px 14px 14px;
    border-radius: 24px;
  }

  .contact-modal__close {
    top: 12px;
    right: 14px;
    width: auto;
    height: auto;
    font-size: 28px;
  }

  .contact-modal__field textarea {
    min-height: 144px;
  }
}

@media (max-width: 1080px) and (min-width: 721px) {
  :root {
    --screen-section-safe-bottom: 8px;
    --page-banner-safe-top: calc(var(--site-header-height) + 4px);
    --page-section-safe-top: calc(var(--site-header-height) + 4px);
    --page-section-safe-bottom: 8px;
    --tablet-section-edge-space: 28px;
    --page-section-frame-pad: 14px;
  }

  main > section {
    min-height: auto;
  }

  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main {
    padding: var(--tablet-section-edge-space) 0;
  }

  .page-banner {
    padding: var(--page-banner-safe-top) 0 var(--tablet-section-edge-space);
  }

  .page-section > .section-shell,
  .dark-feature-section > .section-shell,
  .project-section > .section-shell,
  .plan-section > .section-shell,
  .testimonial-section > .section-shell,
  .blog-section > .section-shell,
  .legal-main > .legal-shell {
    min-height: 0;
    margin: 0 auto;
    align-content: start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .page-banner > .section-shell {
    min-height: 0;
    margin: 0 auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .section-head,
  .project-section__head {
    gap: 14px;
    margin-bottom: 22px;
  }

  .contact-modal {
    padding: 16px;
  }

  .contact-modal__panel {
    width: min(960px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 34px 24px 20px;
    border-radius: 28px;
  }

  .contact-modal__close {
    top: 10px;
    right: 18px;
    font-size: 30px;
  }

  .contact-modal__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.74fr);
    gap: 16px;
    align-items: start;
  }

  .contact-modal__title {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2.35vw, 1.9rem);
  }

  .contact-modal__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-modal__field input,
  .contact-modal__field textarea {
    min-height: 50px;
    padding-inline: 14px;
  }

  .contact-modal__field textarea {
    min-height: 124px;
    padding-top: 14px;
  }

  .contact-modal__privacy {
    gap: 10px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .contact-modal__privacy input {
    margin-top: 2px;
  }

  .contact-modal__submit {
    min-height: 42px;
    padding-inline: 20px;
  }

  .contact-modal__info {
    gap: 12px;
    padding: 18px 16px;
  }

  .contact-modal__info-title {
    font-size: 1.06rem;
  }

  .contact-modal__info-label {
    font-size: 0.72rem;
  }

  .contact-modal__info-block {
    gap: 6px;
  }

  .page-split,
  .contact-grid,
  .legal-grid,
  .page-card-grid,
  .gallery-grid,
  .partner-grid,
  .metric-grid,
  .contact-gallery {
    gap: 20px;
  }

  .page-card,
  .partner-card,
  .contact-card,
  .legal-card,
  .metric-card {
    padding: 28px 24px;
  }

  .partner-card {
    gap: 24px;
  }

  .partner-card__logo {
    min-height: 190px;
    padding: 24px;
  }

  .gallery-card {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .site-footer .footer-grid {
    gap: 22px 16px;
  }
}

.team-page .page-banner__content {
  max-width: 760px;
}

.auftraggeber-page .partner-grid,
.produkte-page .partner-grid,
.auftraggeber-page .gallery-grid,
.produkte-page .gallery-grid {
  align-items: stretch;
}

.auftraggeber-page .partner-card,
.produkte-page .partner-card {
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}

.auftraggeber-page .partner-card > div:last-child,
.produkte-page .partner-card > div:last-child {
  display: grid;
  align-content: start;
  min-height: 134px;
}

.auftraggeber-page .partner-card__logo,
.produkte-page .partner-card__logo {
  min-height: auto;
  aspect-ratio: 16 / 10;
}

.auftraggeber-page .partner-card__logo img,
.produkte-page .partner-card__logo img {
  width: min(100%, 220px);
  max-width: 220px;
  max-height: 118px;
}

.auftraggeber-page .gallery-card,
.produkte-page .gallery-card {
  min-height: auto;
  aspect-ratio: 4 / 3;
}

.auftraggeber-page .gallery-card img,
.produkte-page .gallery-card img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1080px) and (min-width: 520px) {
  .auftraggeber-page .partner-grid,
  .produkte-page .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) and (min-width: 520px) {
  .auftraggeber-page .partner-card,
  .produkte-page .partner-card {
    gap: 14px;
    padding: 18px 14px;
  }

  .auftraggeber-page .partner-card__logo,
  .produkte-page .partner-card__logo {
    min-height: 120px;
    padding: 16px;
  }

  .auftraggeber-page .partner-card__link,
  .produkte-page .partner-card__link {
    margin-top: 12px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .auftraggeber-page .partner-card h3,
  .produkte-page .partner-card h3 {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .auftraggeber-page .gallery-card,
  .produkte-page .gallery-card {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .auftraggeber-page .gallery-card img,
  .produkte-page .gallery-card img {
    height: 100%;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .auftraggeber-page .gallery-card,
  .produkte-page .gallery-card {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
}

.team-grid--profiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.team-card--lead {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1fr);
}

.team-card--lead .team-card__photo {
  min-height: 100%;
}

.team-card--lead .team-card__photo img {
  height: 100%;
  min-height: 100%;
}

.team-card__visual {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 240px;
  padding: 24px;
  border-radius: var(--surface-radius-inner);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 36%),
    linear-gradient(160deg, rgba(143, 205, 161, 0.88), rgba(119, 197, 238, 0.82));
  color: #ffffff;
}

.team-card__visual::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -76px;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.team-card__visual--cool {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 36%),
    linear-gradient(160deg, rgba(119, 197, 238, 0.94), rgba(33, 54, 72, 0.88));
}

.team-card__visual-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card__initials {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.team-card__email {
  margin-top: 22px;
}

.team-card__email a {
  color: inherit;
}

.company-story-grid,
.company-service-grid,
.company-campus-grid {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
}

.company-story-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: end;
}

.company-story-copy,
.company-philosophy__intro {
  display: grid;
  gap: 18px;
}

.company-story-prose {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.company-story-prose p,
.company-campus-card--copy p,
.company-panel p,
.company-philosophy__intro p,
.company-signature {
  font-size: 1.02rem;
  line-height: 1.75;
}

.company-story-visual,
.company-service-media__primary,
.company-service-media__secondary,
.company-campus-card--image,
.company-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.company-story-visual {
  min-height: clamp(420px, 44vw, 560px);
  box-shadow: var(--shadow-md);
}

.company-story-visual img,
.company-service-media__primary img,
.company-service-media__secondary img,
.company-campus-card--image img,
.company-gallery-card img {
  height: 100%;
  transition: transform 0.45s ease;
}

.company-story-visual:hover img,
.company-service-media__primary:hover img,
.company-service-media__secondary:hover img,
.company-campus-card--image:hover img,
.company-gallery-card:hover img {
  transform: scale(1.04);
}

.company-story-visual::after,
.company-gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(9, 17, 24, 0.5));
  pointer-events: none;
}

.company-story-visual figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.company-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(26px, 3vw, 38px);
}

.company-metric,
.company-timeline__item,
.company-panel,
.company-campus-card--copy,
.company-value,
.company-closing {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.company-metric {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid rgba(119, 197, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(143, 205, 161, 0.12), rgba(255, 255, 255, 0.95)),
    #ffffff;
  box-shadow: var(--shadow-sm);
}

.company-metric strong {
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 0.95;
}

.company-metric span {
  color: var(--text-soft);
  line-height: 1.55;
}

.company-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.company-timeline__item {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 28px 24px 30px;
  border: 1px solid rgba(119, 197, 238, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.company-timeline__item h3,
.company-panel h3,
.company-campus-card--copy h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.15;
}

.company-timeline__date {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(143, 205, 161, 0.16);
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-service-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: stretch;
}

.company-service-stack {
  display: grid;
  gap: 18px;
}

.company-panel {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.company-panel .section-title,
.company-panel h3 {
  max-width: 720px;
}

.company-panel--accent {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(143, 205, 161, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.company-checklist {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.company-checklist li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.company-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}

.company-footnote {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.company-footnote a {
  color: #ffffff;
}

.company-service-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: 100%;
}

.company-service-media__primary {
  min-height: 100%;
}

.company-service-media__secondary {
  position: absolute;
  right: -16px;
  bottom: 26px;
  width: min(48%, 260px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.company-campus-head {
  align-items: end;
}

.company-campus-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr);
}

.company-campus-card--image {
  min-height: clamp(280px, 30vw, 440px);
  box-shadow: var(--shadow-sm);
}

.company-campus-card--copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(119, 197, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(143, 205, 161, 0.08)),
    #ffffff;
  box-shadow: var(--shadow-sm);
}

.company-campus-card--small {
  min-height: 260px;
}

.company-philosophy {
  display: grid;
  gap: 28px;
}

.company-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.company-value {
  display: grid;
  gap: 18px;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.company-value__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(143, 205, 161, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

.company-value p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.company-signature {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  letter-spacing: -0.01em;
}

.company-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: 18px;
}

.company-gallery-card {
  min-height: 260px;
  box-shadow: var(--shadow-sm);
}

.company-gallery-card--1 {
  grid-row: span 2;
  min-height: 100%;
}

.company-gallery-card--2,
.company-gallery-card--3,
.company-gallery-card--4 {
  aspect-ratio: 4 / 3;
}

.company-closing {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(119, 197, 238, 0.18);
  background:
    linear-gradient(135deg, rgba(119, 197, 238, 0.08), rgba(143, 205, 161, 0.12)),
    #ffffff;
  box-shadow: var(--shadow-sm);
}

.company-closing .section-copy {
  margin-top: 16px;
}

.unternehmen-page .page-title,
.unternehmen-page .section-title,
.unternehmen-page .company-timeline__item h3,
.unternehmen-page .company-panel h3,
.unternehmen-page .company-campus-card--copy h3 {
  text-wrap: balance;
  hyphens: auto;
}

.unternehmen-page .company-story-visual img,
.unternehmen-page .company-service-media__primary img,
.unternehmen-page .company-service-media__secondary img,
.unternehmen-page .company-campus-card--image img,
.unternehmen-page .company-gallery-card img {
  object-fit: cover;
}

@media (max-width: 720px) {
  .team-grid--profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card--lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .team-grid--profiles {
    grid-template-columns: 1fr;
  }

  .team-card--lead {
    grid-template-columns: 1fr;
  }

  .team-card__visual {
    min-height: 180px;
  }

  .company-story-prose,
  .company-panel,
  .company-campus-card--copy,
  .company-philosophy,
  .company-closing {
    gap: 16px;
  }

  .company-story-grid,
  .company-service-grid,
  .company-campus-grid,
  .company-gallery-grid,
  .company-metrics,
  .company-timeline,
  .company-values {
    grid-template-columns: 1fr;
  }

  .company-story-visual,
  .company-service-media,
  .company-campus-card--image,
  .company-gallery-card,
  .company-gallery-card--1 {
    min-height: auto;
  }

  .company-story-visual {
    aspect-ratio: 4 / 5;
  }

  .company-story-visual figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    font-size: 0.9rem;
  }

  .company-metric,
  .company-timeline__item,
  .company-panel,
  .company-campus-card--copy,
  .company-value,
  .company-closing {
    border-radius: 24px;
  }

  .company-service-media {
    min-height: 0;
  }

  .company-service-media__primary {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .company-service-media__secondary {
    position: relative;
    right: auto;
    bottom: auto;
    width: 78%;
    margin: -64px 0 0 auto;
  }

  .company-campus-card--image,
  .company-campus-card--small,
  .company-gallery-card,
  .company-gallery-card--1 {
    aspect-ratio: 4 / 3;
  }

  .unternehmen-page .page-banner {
    padding-bottom: clamp(20px, 6vw, 28px);
  }

  .unternehmen-page .page-section {
    padding: clamp(26px, 7vw, 40px) 0 clamp(18px, 6vw, 30px);
  }

  .unternehmen-page .page-section > .section-shell,
  .unternehmen-page .page-banner > .section-shell {
    padding-inline: clamp(16px, 5vw, 22px);
  }

  .unternehmen-page .section-head,
  .unternehmen-page .company-campus-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .unternehmen-page .section-copy {
    max-width: 100%;
  }

  .unternehmen-page .section-title {
    font-size: clamp(1.78rem, 7.4vw, 2.35rem);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .unternehmen-page .company-story-prose p,
  .unternehmen-page .company-campus-card--copy p,
  .unternehmen-page .company-panel p,
  .unternehmen-page .company-philosophy__intro p,
  .unternehmen-page .company-signature {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .unternehmen-page .company-timeline__item h3,
  .unternehmen-page .company-panel h3,
  .unternehmen-page .company-campus-card--copy h3 {
    font-size: clamp(1.02rem, 5.2vw, 1.25rem);
  }

  .unternehmen-page .company-metric {
    min-height: 0;
  }

  .unternehmen-page .company-service-media__secondary {
    width: min(82%, 280px);
    margin-top: -48px;
  }
}

@media (max-width: 1080px) and (min-width: 721px) {
  :root {
    --space-3xs: 10px;
    --space-2xs: 14px;
    --space-xs: 18px;
    --space-sm: 22px;
    --space-md: 24px;
    --space-lg: 30px;
    --space-xl: 36px;
    --content-shell: min(100vw - 56px, 1480px);
  }

  .page-banner__content {
    display: grid;
    gap: var(--space-2xs);
  }

  .page-title,
  .page-banner__content p:last-child {
    margin: 0;
  }

  .page-banner__content p:last-child {
    font-size: 0.98rem;
  }

  .section-head,
  .project-section__head {
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .page-split,
  .contact-grid,
  .legal-grid,
  .page-card-grid,
  .gallery-grid,
  .metric-grid,
  .partner-grid,
  .contact-gallery {
    gap: var(--space-xs);
  }

  .page-card,
  .partner-card,
  .contact-card,
  .legal-card,
  .metric-card {
    padding: var(--space-md);
  }

  .partner-card {
    gap: var(--space-md);
  }

  .partner-card__logo {
    min-height: 200px;
    padding: var(--space-md);
  }

  .legal-document {
    gap: var(--space-lg);
  }

  .legal-meta {
    gap: var(--space-xs);
  }

  .legal-block h2 {
    margin-bottom: var(--space-xs);
  }

  .site-footer .footer-grid {
    gap: 20px var(--space-xs);
  }

  .company-story-grid,
  .company-service-grid,
  .company-campus-grid,
  .company-gallery-grid {
    grid-template-columns: 1fr;
  }

  .company-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-service-media {
    min-height: 520px;
  }

  .company-service-media__secondary {
    right: 20px;
    bottom: 20px;
    width: min(46%, 240px);
  }

  .company-closing {
    align-items: start;
    flex-direction: column;
  }

  .company-gallery-card--1 {
    grid-row: auto;
    min-height: 420px;
  }

  .company-metrics,
  .company-timeline,
  .company-values {
    gap: var(--space-xs);
  }

  .company-metric,
  .company-timeline__item,
  .company-panel,
  .company-campus-card--copy,
  .company-value,
  .company-closing {
    padding: var(--space-md);
  }

  .unternehmen-page .page-section {
    padding: clamp(48px, 6vw, 72px) 0 clamp(24px, 4vw, 34px);
  }

  .unternehmen-page .page-section > .section-shell {
    padding-inline: clamp(18px, 4vw, 28px);
  }

  .unternehmen-page .section-head,
  .unternehmen-page .company-campus-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .unternehmen-page .section-copy {
    max-width: 100%;
  }

  .unternehmen-page .section-title {
    font-size: clamp(2.25rem, 5.4vw, 3.15rem);
  }
}

@media (max-width: 900px) {
  .site-header .header-row {
    position: relative;
  }

  .site-header .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(39, 58, 66, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 5;
  }

  .site-header .site-nav.is-open {
    display: flex;
  }

  .site-header .site-nav a {
    width: 100%;
    min-height: 48px;
  }
}

/* Final parity block: inner-page header must match the home header exactly. */
:root {
  --header-shell: min(1480px, calc(100vw - 136px));
}

.site-header .header-row {
  width: min(var(--header-shell), calc(100vw - 36px));
  gap: 18px;
  padding: 14px 26px;
}

.site-header.is-scrolled .header-row {
  width: min(var(--header-shell), calc(100vw - 36px));
  padding: 14px 26px;
}

.site-header .brand-mark__logo {
  width: clamp(86px, 7.2vw, 118px);
  height: auto;
}

.site-header .header-actions {
  gap: 14px;
}

.site-header .header-social-link {
  width: 42px;
  height: 42px;
}

.site-header .header-social-link svg {
  width: 18px;
  height: 18px;
}

.site-header .nav-toggle {
  width: 48px;
  height: 48px;
  gap: 4px;
}

.site-header .nav-toggle span {
  width: 18px;
  height: 1.5px;
}

.site-header .site-nav a {
  min-height: 48px;
}

@media (max-width: 1080px) {
  :root {
    --header-shell: min(100vw - 64px, 1480px);
  }

  .site-header {
    padding: clamp(16px, 2vw, 22px) 0 0;
  }
}

@media (max-width: 1080px) and (min-width: 901px) {
  .site-header .header-row {
    gap: 14px;
    padding-inline: 20px;
  }

  .site-header .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .site-header .site-nav a {
    min-height: 44px;
  }

  .site-header .header-actions {
    gap: 12px;
  }

  .site-header .header-social-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: clamp(12px, 2vw, 18px);
  }

  .site-header .header-row {
    width: min(var(--header-shell), calc(100vw - 28px));
    margin: 0 auto;
    padding: 14px 18px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    border-radius: 28px;
    overflow: visible;
  }

  .site-header.is-scrolled .header-row {
    width: min(var(--header-shell), calc(100vw - 28px));
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 28px;
  }

  .site-header .nav-toggle {
    display: inline-flex;
    order: 4;
  }

  .site-header .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    order: 5;
    width: 100%;
    max-width: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(39, 58, 66, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 5;
  }

  .site-header .site-nav.is-open {
    display: flex;
  }

  .site-header .site-nav a {
    width: 100%;
    min-height: 48px;
  }

  .site-header .header-actions {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-shell: min(100vw - 28px, 1560px);
  }

  .site-header .header-actions {
    gap: 10px;
  }

  .site-header .header-social-link {
    width: 40px;
    height: 40px;
  }
}

/* Unified site radius across images, surfaces, and controls. */
img {
  border-radius: var(--surface-radius);
}

.button,
.mini-button,
.plan-card__button,
.arrow,
.floating-contact-button,
.partner-card__link,
.contact-modal__submit {
  border-radius: var(--control-radius);
}

.page-card,
.team-card,
.partner-card,
.contact-card,
.legal-card,
.metric-card,
.about-media__main,
.about-media__secondary,
.about-media__accent,
.service-card,
.project-card,
.plan-card,
.testimonial-card,
.counter-card,
.blog-card,
.page-card__image,
.team-card__photo,
.gallery-card,
.partner-card__logo,
.contact-modal__panel,
.contact-modal__info,
.contact-modal__field input,
.contact-modal__field textarea,
.company-story-visual,
.company-service-media__primary,
.company-service-media__secondary,
.company-campus-card--image,
.company-gallery-card,
.company-metric,
.company-timeline__item,
.company-panel,
.company-campus-card--copy,
.company-value,
.company-closing,
.contact-gallery img {
  border-radius: var(--surface-radius);
}

.about-media__main img,
.about-media__secondary img,
.about-media__accent img,
.section-card__image img,
.project-card img,
.service-card img,
.blog-card img,
.gallery-card img,
.page-card__image img,
.team-card__photo img,
.partner-card__logo img,
.company-story-visual img,
.company-service-media__primary img,
.company-service-media__secondary img,
.company-campus-card--image img,
.company-gallery-card img {
  border-radius: inherit;
}

/* Company page cleanup */
.unternehmen-page main > section {
  min-height: 0;
}

.unternehmen-page .page-banner {
  min-height: var(--screen-section-height);
  padding: var(--page-banner-safe-top) 0 var(--screen-section-safe-bottom);
}

.unternehmen-page .page-section {
  min-height: 0;
}

.unternehmen-page .page-section {
  padding: clamp(56px, 6vw, 88px) 0;
}

.unternehmen-page .page-banner > .section-shell {
  min-height: calc(var(--screen-section-height) - var(--page-banner-safe-top) - var(--screen-section-safe-bottom));
  margin: auto auto;
  padding-top: 0;
  padding-bottom: 0;
  align-content: center;
}

.unternehmen-page .page-section > .section-shell {
  min-height: 0;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  align-content: start;
}

.unternehmen-page .page-title {
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 0.96;
}

.unternehmen-page .section-title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.unternehmen-page .company-panel h3,
.unternehmen-page .company-campus-card--copy h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
}

.unternehmen-page .page-banner__content p:last-child,
.unternehmen-page .company-story-prose p,
.unternehmen-page .company-metric span,
.unternehmen-page .company-campus-card--copy p,
.unternehmen-page .company-panel p,
.unternehmen-page .company-philosophy__intro p,
.unternehmen-page .company-value p,
.unternehmen-page .company-signature,
.unternehmen-page .company-closing .section-copy {
  font-size: 1rem;
  line-height: 1.7;
}

.unternehmen-page .section-copy {
  max-width: 620px;
}

.unternehmen-page .company-story-grid,
.unternehmen-page .company-service-grid,
.unternehmen-page .company-campus-grid {
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
}

.unternehmen-page .company-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "story-copy story-visual"
    "story-metrics story-metrics";
}

.unternehmen-page .company-story-copy,
.unternehmen-page .company-philosophy__intro {
  gap: 18px;
}

.unternehmen-page .company-story-copy {
  grid-area: story-copy;
}

.unternehmen-page .company-story-prose {
  gap: 18px;
  max-width: 760px;
}

.unternehmen-page .company-story-visual {
  grid-area: story-visual;
  display: block;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  box-shadow: none;
}

.unternehmen-page .company-story-visual::after,
.unternehmen-page .company-gallery-card::after,
.unternehmen-page .company-story-visual figcaption {
  display: none;
}

.unternehmen-page .company-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  border-radius: inherit;
  box-shadow: none;
  transition: none;
  transform: none;
}

.unternehmen-page .company-metrics,
.unternehmen-page .company-values {
  display: grid;
  gap: 24px;
  align-items: start;
}

.unternehmen-page .company-metrics {
  grid-area: story-metrics;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-top: 0;
}

.unternehmen-page .company-values {
  grid-template-columns: repeat(4, max-content);
  grid-auto-rows: max-content;
  justify-content: start;
  gap: 16px;
}

.unternehmen-page .company-metric,
.unternehmen-page .company-panel,
.unternehmen-page .company-campus-card--copy,
.unternehmen-page .company-closing {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.unternehmen-page .company-metric {
  display: grid;
  gap: 10px;
  min-height: 100%;
  height: 100%;
  padding: 26px 24px;
}

.unternehmen-page .company-metric strong {
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.unternehmen-page .company-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  grid-template-areas: "lead visual";
  gap: clamp(24px, 2.6vw, 36px);
  align-items: start;
}

.unternehmen-page .company-panel,
.unternehmen-page .company-campus-card--copy,
.unternehmen-page .company-closing {
  padding: 26px 24px;
}

.unternehmen-page .company-service-lead {
  grid-area: lead;
  display: grid;
  gap: 20px;
  align-content: start;
  max-width: 820px;
}

.unternehmen-page .company-service-lead .section-title {
  max-width: 13ch;
  text-wrap: pretty;
  hyphens: none;
  overflow-wrap: normal;
}

.unternehmen-page .company-service-intro,
.unternehmen-page .company-service-summary p {
  color: var(--text-soft);
}

.unternehmen-page .company-service-intro {
  max-width: 56ch;
}

.unternehmen-page .company-service-media {
  grid-area: visual;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
}

.unternehmen-page .company-service-visual {
  margin: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--surface-radius);
  overflow: hidden;
  box-shadow: none;
}

.unternehmen-page .company-service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
  transform: none;
}

.unternehmen-page .company-installation-list {
  margin-top: 8px;
}

.unternehmen-page .company-checklist-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 3.4vw, 52px);
  row-gap: 0;
  align-items: start;
}

.unternehmen-page .company-checklist-columns .company-checklist {
  margin: 0;
  gap: 8px;
}

.unternehmen-page .company-checklist-columns .company-checklist li {
  margin-bottom: 0;
}

.unternehmen-page .company-service-summary {
  display: grid;
}

.unternehmen-page .company-service-summary p {
  max-width: none;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
}

.unternehmen-page .company-service-support {
  display: grid;
  gap: 28px;
}

.unternehmen-page .company-service-support__intro {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.unternehmen-page .company-service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.unternehmen-page .company-service-detail {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.unternehmen-page .company-service-plain {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 4px 0;
  max-width: 58ch;
}

.unternehmen-page .company-service-detail h3,
.unternehmen-page .company-service-plain h3 {
  margin: 0;
}

.unternehmen-page .company-checklist {
  gap: 14px;
  margin-top: 0;
}

.unternehmen-page .company-checklist li {
  color: var(--text);
  line-height: 1.6;
}

.unternehmen-page .company-checklist li::before {
  color: var(--orange);
}

.unternehmen-page .company-footnote,
.unternehmen-page .company-panel p,
.unternehmen-page .company-campus-card--copy p,
.unternehmen-page .company-value p,
.unternehmen-page .company-service-detail p,
.unternehmen-page .company-service-plain p {
  color: var(--text-soft);
}

.unternehmen-page .company-footnote a {
  color: var(--text);
  font-weight: 700;
}

.unternehmen-page .company-campus-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: 16px;
  align-items: start;
}

.unternehmen-page .company-campus-head__kicker,
.unternehmen-page .company-campus-head__title,
.unternehmen-page .company-campus-head__copy {
  margin: 0;
}

.unternehmen-page .company-campus-head__kicker {
  margin-bottom: 0;
}

.unternehmen-page .company-campus-head__title {
  grid-column: 1;
}

.unternehmen-page .company-campus-head__copy {
  grid-column: 2;
  grid-row: 2;
  max-width: none;
}

.unternehmen-page .company-campus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.unternehmen-page .company-campus-card--copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.unternehmen-page .company-campus-card--copy.company-campus-card--copy-inline {
  padding-top: clamp(12px, 1.6vw, 18px);
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.unternehmen-page .company-philosophy {
  display: grid;
  gap: 28px;
}

.unternehmen-page .company-value {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  row-gap: 0;
  min-height: 0;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.unternehmen-page .company-value:last-child {
  grid-column: auto;
}

.unternehmen-page .company-value__icon {
  display: inline-block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--orange);
  line-height: 1;
}

.unternehmen-page .company-value p {
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.unternehmen-page .company-signature {
  margin: 0;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
}

.unternehmen-page .gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.unternehmen-page .gallery-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.unternehmen-page .cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  padding: 72px 74px;
  border: 0;
  border-radius: var(--surface-radius);
  background: var(--dark-soft);
  color: #ffffff;
  box-shadow: 0 26px 66px rgba(143, 205, 161, 0.18);
}

.unternehmen-page .cta-banner > div {
  flex: 1 1 auto;
  min-width: 0;
}

.unternehmen-page .cta-banner h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.75rem, 2.25vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.unternehmen-page .cta-banner p {
  max-width: 760px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.unternehmen-page .cta-banner .button {
  min-height: 40px;
  padding: 0 18px;
  border-color: transparent;
  background: #ffffff;
  color: var(--dark-soft);
  box-shadow: none;
  flex-shrink: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.unternehmen-page .cta-banner .button:hover,
.unternehmen-page .cta-banner .button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-soft);
  border-color: transparent;
  box-shadow: none;
}

.unternehmen-page .company-story-visual:hover img,
.unternehmen-page .company-service-visual:hover img,
.unternehmen-page .company-campus-card--image:hover img,
.unternehmen-page .gallery-card:hover img {
  transform: none;
}

@media (max-width: 1080px) {
  .unternehmen-page .company-story-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "story-copy"
      "story-metrics"
      "story-visual";
    gap: clamp(24px, 4vw, 36px);
  }

  .unternehmen-page .company-metrics {
    grid-template-columns: repeat(auto-fit, minmax(302px, 302px));
    justify-content: start;
  }

  .unternehmen-page .company-story-visual {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .unternehmen-page .company-story-visual img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .unternehmen-page .company-values {
    grid-template-columns: repeat(2, max-content);
  }

  .unternehmen-page .company-service-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "visual";
  }

  .unternehmen-page .company-checklist-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .unternehmen-page .company-service-detail-grid {
    grid-template-columns: 1fr;
  }

  .unternehmen-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unternehmen-page .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 26px;
  }
}

@media (max-width: 1080px) and (min-width: 721px) {
  .unternehmen-page .cta-banner {
    gap: 14px;
    padding: 22px 24px;
  }
}

@media (max-width: 720px) {
  .unternehmen-page .page-section {
    padding: 40px 0;
  }

  .unternehmen-page .company-story-grid,
  .unternehmen-page .company-service-grid,
  .unternehmen-page .company-campus-grid,
  .unternehmen-page .company-metrics,
  .unternehmen-page .gallery-grid {
    grid-template-columns: 1fr;
  }

  .unternehmen-page .company-values {
    grid-template-columns: 1fr;
  }

  .unternehmen-page .company-service-lead .section-title {
    max-width: none;
    text-wrap: balance;
  }

  .unternehmen-page .page-title {
    font-size: clamp(2.45rem, 11vw, 3.35rem);
  }

  .unternehmen-page .section-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .unternehmen-page .company-campus-head {
    grid-template-columns: 1fr;
  }

  .unternehmen-page .company-campus-head__copy {
    grid-column: 1;
    grid-row: auto;
  }

  .unternehmen-page .company-panel h3,
  .unternehmen-page .company-campus-card--copy h3 {
    font-size: 1.24rem;
  }

  .unternehmen-page .page-banner__content p:last-child,
  .unternehmen-page .company-story-prose p,
  .unternehmen-page .company-metric span,
  .unternehmen-page .company-campus-card--copy p,
  .unternehmen-page .company-panel p,
  .unternehmen-page .company-philosophy__intro p,
  .unternehmen-page .company-value p,
  .unternehmen-page .company-signature,
  .unternehmen-page .company-closing .section-copy {
    font-size: 0.98rem;
  }

  .unternehmen-page .company-metric,
  .unternehmen-page .company-panel,
  .unternehmen-page .company-campus-card--copy,
  .unternehmen-page .company-closing {
    padding: 24px 20px;
  }

  .unternehmen-page .company-value {
    padding: 0;
  }

  .unternehmen-page .company-story-visual img,
  .unternehmen-page .company-service-visual,
  .unternehmen-page .company-campus-card--image,
  .unternehmen-page .gallery-card {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .unternehmen-page .company-checklist-columns {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .unternehmen-page .company-checklist-columns .company-checklist {
    gap: 8px;
  }

  .unternehmen-page .company-closing {
    flex-direction: column;
    gap: 20px;
  }

  .unternehmen-page .company-value {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    padding: 0;
  }

  .unternehmen-page .company-value__icon {
    width: auto;
    height: auto;
    font-size: 1rem;
  }

  .unternehmen-page .company-value p {
    font-size: clamp(0.9rem, 3.7vw, 0.96rem);
  }

  .unternehmen-page .cta-banner {
    gap: 12px;
    padding: 18px 16px;
  }

  .unternehmen-page .cta-banner h2 {
    font-size: clamp(1.42rem, 6vw, 1.82rem);
    line-height: 1.08;
  }

  .unternehmen-page .cta-banner p {
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .unternehmen-page .cta-banner .button {
    width: auto;
    max-width: 100%;
  }
}

@media (min-width: 520px) and (max-width: 720px) {
  .unternehmen-page .company-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep every inner-page shell flush with the shared header/footer edge on all devices. */
body.inner-page .page-banner > .section-shell,
body.inner-page .page-section > .section-shell,
body.inner-page .dark-feature-section > .section-shell,
body.inner-page .project-section > .section-shell,
body.inner-page .plan-section > .section-shell,
body.inner-page .testimonial-section > .section-shell,
body.inner-page .blog-section > .section-shell,
body.inner-page .legal-main > .legal-shell,
body.inner-page main > section > .site-container {
  width: var(--content-shell);
  margin: 0 auto;
  padding-inline: 0px !important;
}

/* Keep all inner-page heroes at a full first viewport across breakpoints. */
.inner-page main > .page-banner {
  min-height: var(--screen-section-height);
}

.inner-page .page-banner {
  padding: var(--page-banner-safe-top) 0 var(--screen-section-safe-bottom);
}

.inner-page .page-banner > .section-shell {
  min-height: calc(var(--screen-section-height) - var(--page-banner-safe-top) - var(--screen-section-safe-bottom));
  margin: auto auto;
  display: grid;
  align-content: center;
  box-sizing: border-box;
}

/* Keep the first content section after every inner-page hero aligned with the homepage rhythm. */
body.inner-page main > .page-banner + :is(
  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main
) {
  min-height: auto;
  padding: calc(clamp(56px, 6vw, 88px) + 30px) 0 clamp(56px, 6vw, 88px);
}

body.inner-page main > .page-banner + :is(
  .page-section,
  .dark-feature-section,
  .project-section,
  .plan-section,
  .testimonial-section,
  .blog-section,
  .legal-main
) > :is(.section-shell, .legal-shell) {
  min-height: 0;
  margin: 0 auto;
  padding-top: var(--page-section-frame-pad);
  padding-bottom: var(--page-section-frame-pad);
  align-content: start;
}

@media (max-width: 1080px) and (min-width: 721px) {
  body.inner-page main > .page-banner + :is(
    .page-section,
    .dark-feature-section,
    .project-section,
    .plan-section,
    .testimonial-section,
    .blog-section,
    .legal-main
  ) {
    padding: 58px 0 28px;
  }

  body.inner-page main > .page-banner + :is(
    .page-section,
    .dark-feature-section,
    .project-section,
    .plan-section,
    .testimonial-section,
    .blog-section,
    .legal-main
  ) > :is(.section-shell, .legal-shell) {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 720px) {
  body.inner-page main > .page-banner + :is(
    .page-section,
    .dark-feature-section,
    .project-section,
    .plan-section,
    .testimonial-section,
    .blog-section,
    .legal-main
  ) {
    padding: 54px 0 24px;
  }

  body.inner-page main > .page-banner + :is(
    .page-section,
    .dark-feature-section,
    .project-section,
    .plan-section,
    .testimonial-section,
    .blog-section,
    .legal-main
  ) > :is(.section-shell, .legal-shell) {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 1080px) and (min-width: 721px) {
  body.inner-page.unternehmen-page main > .page-banner + .company-story-section {
    padding-bottom: 54px;
  }
}

@media (max-width: 720px) {
  body.inner-page.unternehmen-page main > .page-banner + .company-story-section {
    padding-bottom: 30px;
  }
}

/* Accessibility typography pass */
body {
  font-size: 18px;
  line-height: 1.6;
}

.site-nav,
.site-nav a {
  font-size: 1rem;
  line-height: 1.45;
}

.header-top__meta a,
.header-top__meta span,
.header-top__social a,
.header-call__number {
  font-size: 0.96rem;
  line-height: 1.5;
}

.button,
.mini-button,
.plan-card__button,
.floating-contact-button,
.nav-band__side .button {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-kicker,
.skip-link,
.legal-eyebrow,
.legal-meta dt,
.legal-lead,
.header-call__label,
.footer-hours__label {
  font-size: 0.9rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.section-copy,
.dark-feature-section .section-copy,
.project-section .section-copy,
.testimonial-section .section-copy,
.site-footer .footer-copy,
.legal-address,
.legal-prose p,
.legal-meta dd {
  font-size: 1.05rem;
  line-height: 1.72;
}

.page-title,
.section-title,
.unternehmen-page .page-title {
  text-wrap: balance;
}

.page-title,
.unternehmen-page .page-title {
  line-height: 1.02;
}

.site-footer .footer-copy,
.footer-hours__group strong,
.footer-hours__group span,
.site-footer .footer-column h3,
.site-footer .footer-column a {
  font-size: 1rem;
}

.site-footer .footer-copy,
.footer-hours__group span,
.site-footer .footer-column a {
  line-height: 1.65;
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .site-nav,
  .site-nav a,
  .button,
  .mini-button,
  .plan-card__button,
  .floating-contact-button,
  .nav-band__side .button,
  .site-footer .footer-copy,
  .footer-hours__group strong,
  .footer-hours__group span,
  .site-footer .footer-column h3,
  .site-footer .footer-column a,
  .header-top__meta a,
  .header-top__meta span,
  .header-top__social a,
  .header-call__number {
    font-size: 0.98rem;
  }

  .page-title {
    line-height: 1.01;
  }

  .section-kicker,
  .skip-link,
  .legal-eyebrow,
  .legal-meta dt,
  .legal-lead,
  .header-call__label,
  .footer-hours__label {
    font-size: 0.86rem;
  }

  .section-copy,
  .dark-feature-section .section-copy,
  .project-section .section-copy,
  .testimonial-section .section-copy,
  .site-footer .footer-copy,
  .legal-address,
  .legal-prose p,
  .legal-meta dd,
  .unternehmen-page .page-banner__content p:last-child,
  .page-banner__content p:last-child {
    font-size: 1.02rem;
    line-height: 1.68;
  }
}
@media (max-width: 1240px) and (min-width: 1081px) {
  :root {
    --content-shell: min(100vw - 64px, 1480px);
  }
}

.project-card img[src$="sachs-heizung-badezimmer-sanierung-waschtisch-spiegel-fenster.webp"],
.gallery-card img[src$="sachs-heizung-badezimmer-sanierung-waschtisch-spiegel-fenster.webp"] {
  object-position: 50% 78%;
}

.project-card img[src$="sachs-heizung-badezimmer-doppelwaschtisch-runder-led-spiegel.webp"],
.gallery-card img[src$="sachs-heizung-badezimmer-doppelwaschtisch-runder-led-spiegel.webp"] {
  object-position: 44% 58%;
}

.project-card img[src$="sachs-heizung-badezimmer-waschtisch-dusche-holzmoebel.webp"],
.gallery-card img[src$="sachs-heizung-badezimmer-waschtisch-dusche-holzmoebel.webp"] {
  object-position: 50% 68%;
}

.project-card img[src$="sachs-heizung-gaestebad-waschtisch-wc-spiegel.webp"],
.gallery-card img[src$="sachs-heizung-gaestebad-waschtisch-wc-spiegel.webp"] {
  object-position: 50% 74%;
}

.project-card img[src$="sachs-heizung-badezimmer-badewanne-duscharmatur-wandnische.webp"],
.gallery-card img[src$="sachs-heizung-badezimmer-badewanne-duscharmatur-wandnische.webp"] {
  object-position: 50% 66%;
}

.project-card img[src$="sachs-heizung-badezimmer-badewanne-glasabtrennung-duschloesung.webp"],
.gallery-card img[src$="sachs-heizung-badezimmer-badewanne-glasabtrennung-duschloesung.webp"] {
  object-position: 52% 34%;
}

.project-card img[src$="sachs-heizung-badezimmer-dusche-regendusche-wandnische.webp"],
.gallery-card img[src$="sachs-heizung-badezimmer-dusche-regendusche-wandnische.webp"] {
  object-position: 54% 22%;
}
