:root {
  --color-text: #1c1d1f;
  --color-muted: #6d7278;
  --color-line: #e4e2dd;
  --color-bg: #faf9f6;
  --color-surface: rgba(250, 249, 246, 0.8);
  --color-accent: #509858;
  --color-brand-blue: #204880;
  --color-brand-green: #509858;
  --footer-bg: #2f3030;
  --footer-line: #555858;
  --footer-text: #d6d6d1;
  --footer-muted: #aeadac;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--color-surface);
  border-bottom: 1px solid rgba(28, 29, 31, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: min-height 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  width: 202px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  transition: width 240ms ease, max-height 240ms ease;
}

.site-header.is-scrolled .brand__logo {
  width: 148px;
  max-height: 42px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(28, 29, 31, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-contact,
.main-nav a {
  position: relative;
  padding: 8px 0;
}

.nav-contact {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-contact::after,
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-contact:hover::after,
.nav-contact:focus-visible::after,
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(28, 29, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.language-switcher__option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(28, 29, 31, 0.62);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 750;
}

.language-switcher__option.is-active {
  background: var(--color-brand-blue);
  color: #fff;
  cursor: default;
}

.language-switcher__option:not(.is-active):hover {
  color: var(--color-brand-blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-text);
}

.slideshow {
  position: relative;
  height: min(400px, 58vw);
  min-height: 280px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: #d8d6cf;
}

.brand-line {
  height: 30px;
  background: var(--color-brand-blue);
}

.gw-berater-kachel {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 40px) 0;
}

.gw-berater-inner {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #f1f2ef;
  color: var(--color-text);
  box-shadow: none;
}

.gw-berater-inner::before,
.gw-berater-inner::after {
  display: none;
}

.gw-head {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.gw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
}

.gw-kicker::before {
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--color-brand-green);
  box-shadow: none;
}

.gw-head h2 {
  max-width: 980px;
  margin: 8px 0 0;
  color: var(--color-text);
  font-size: 1.2rem;
  line-height: 1.22;
  font-weight: 620;
  letter-spacing: 0;
}

.gw-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.gw-compare-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gw-card {
  padding: 16px;
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  transition: border-color 180ms ease, background 180ms ease;
}

.gw-card:hover {
  background: #fff;
}

.gw-positive {
  border-color: rgba(80, 152, 88, 0.26);
  background: #fff;
  box-shadow: 0 10px 26px rgba(80, 152, 88, 0.08);
}

.gw-neutral {
  opacity: 1;
  filter: none;
  background: #f7f7f5;
}

.gw-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.gw-card-title h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.16;
  font-weight: 620;
}

.gw-card-title span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e6e8e4;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.gw-positive .gw-card-title span {
  border: 1px solid rgba(80, 152, 88, 0.24);
  background: rgba(80, 152, 88, 0.12);
  color: #3c7744;
}

.gw-card p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

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

.gw-tags span {
  position: relative;
  overflow: hidden;
  padding: 7px 9px;
  border: 1px solid rgba(28, 29, 31, 0.06);
  border-radius: 6px;
  background: #f7f7f4;
  color: #4d5257;
  font-size: 0.78rem;
  line-height: 1.2;
}

.gw-positive .gw-tags span {
  border-color: rgba(32, 72, 128, 0.12);
  background: rgba(32, 72, 128, 0.06);
}

.gw-positive .gw-tags span::after {
  position: absolute;
  inset: 0 auto 0 -65%;
  width: 45%;
  content: "";
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  opacity: 0;
}

.gw-positive .gw-tags span:nth-child(1) {
  animation: gw-benefit-lift 12s ease-in-out infinite;
}

.gw-positive .gw-tags span:nth-child(1)::after {
  animation: gw-benefit-shine 12s ease-in-out infinite;
}

.gw-positive .gw-tags span:nth-child(2),
.gw-positive .gw-tags span:nth-child(2)::after {
  animation-delay: 2s;
}

.gw-positive .gw-tags span:nth-child(2) {
  animation-name: gw-benefit-lift;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(2)::after {
  animation-name: gw-benefit-shine;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(3),
.gw-positive .gw-tags span:nth-child(3)::after {
  animation-delay: 4s;
}

.gw-positive .gw-tags span:nth-child(3) {
  animation-name: gw-benefit-lift;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(3)::after {
  animation-name: gw-benefit-shine;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(4),
.gw-positive .gw-tags span:nth-child(4)::after {
  animation-delay: 6s;
}

.gw-positive .gw-tags span:nth-child(4) {
  animation-name: gw-benefit-lift;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(4)::after {
  animation-name: gw-benefit-shine;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(5),
.gw-positive .gw-tags span:nth-child(5)::after {
  animation-delay: 8s;
}

.gw-positive .gw-tags span:nth-child(5) {
  animation-name: gw-benefit-lift;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(5)::after {
  animation-name: gw-benefit-shine;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(6),
.gw-positive .gw-tags span:nth-child(6)::after {
  animation-delay: 10s;
}

.gw-positive .gw-tags span:nth-child(6) {
  animation-name: gw-benefit-lift;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-positive .gw-tags span:nth-child(6)::after {
  animation-name: gw-benefit-shine;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gw-cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label label"
    "bar price";
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.gw-cost strong {
  grid-area: label;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text);
  font-size: 0.82rem;
}

.gw-cost-logo {
  display: block;
  flex: 0 0 auto;
  width: 88px;
  aspect-ratio: 1142 / 325;
}

.gw-cost-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gw-cost-logo--ghost {
  visibility: hidden;
}

.gw-bar {
  grid-area: bar;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dde0db;
}

.gw-bar i {
  display: block;
  width: var(--gw-bar-target, 50%);
  height: 100%;
  border-radius: 999px;
  transition: width 4400ms cubic-bezier(0.18, 0.8, 0.18, 1);
}

.gw-berater-kachel.gw-animate-ready .gw-bar i {
  width: 0;
}

.gw-berater-kachel.gw-animate-ready.is-visible .gw-bar i {
  width: var(--gw-bar-target, 50%);
}

.gw-low .gw-bar i {
  --gw-bar-target: 50%;
  background: linear-gradient(90deg, #509858, #47a8a1 58%, #2c7fd0);
  box-shadow: none;
}

.gw-high .gw-bar i {
  --gw-bar-target: 80%;
  background: linear-gradient(90deg, #aeb4b8 0%, #c7ccd0 68%, #d7834a 84%, #c94c3c 100%);
}

.gw-cost b {
  grid-area: price;
  min-width: 58px;
  font-size: 1.24rem;
  line-height: 1;
  font-weight: 900;
  text-align: right;
}

.gw-positive .gw-cost b {
  color: #3f8648;
  text-shadow: none;
}

.gw-neutral .gw-cost b {
  color: #b94a3a;
}

@keyframes gw-benefit-lift {
  0%,
  10%,
  100% {
    transform: translateY(0) scale(1);
    border-color: rgba(32, 72, 128, 0.12);
    box-shadow: none;
  }

  4% {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(80, 152, 88, 0.26);
    box-shadow: 0 8px 18px rgba(32, 72, 128, 0.1);
  }
}

@keyframes gw-benefit-shine {
  0%,
  1%,
  11%,
  100% {
    left: -65%;
    opacity: 0;
  }

  3% {
    opacity: 0.75;
  }

  8% {
    left: 120%;
    opacity: 0;
  }
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.slide,
.slide img,
.slide video {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 700ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img,
.slide video {
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

.slide.is-active img,
.slide.is-active video {
  animation: slide-soft-zoom 5200ms ease-in-out forwards;
}

@keyframes slide-soft-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

@media (min-width: 1200px) {
  .slideshow {
    background: #e2e2de;
  }

  .slides {
    width: 1200px;
  }
}

.slide-dots {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.slide-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.slide-dots button.is-active {
  background: #fff;
}

.content-section {
  scroll-margin-top: calc(var(--header-height) + 26px);
  padding: clamp(46px, 7vw, 82px) clamp(20px, 6vw, 72px);
}

.content-section__inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.audio-intro {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.audio-intro__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(32, 72, 128, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand-blue);
  box-shadow: 0 10px 28px rgba(32, 72, 128, 0.08);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.audio-intro__button:hover,
.audio-intro__button.is-playing {
  border-color: rgba(80, 152, 88, 0.34);
  color: #2f7538;
  box-shadow: 0 12px 30px rgba(80, 152, 88, 0.12);
  transform: translateY(-1px);
}

.audio-intro__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-green), var(--color-brand-blue));
}

.audio-intro__icon::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.audio-intro__button.is-playing .audio-intro__icon::before {
  width: 8px;
  height: 10px;
  margin-left: 0;
  border-top: 0;
  border-bottom: 0;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.advisor-promo {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0 auto 22px;
  text-align: center;
}

.advisor-promo--inline {
  justify-items: start;
  margin: 20px 0 0;
  text-align: left;
}

.advisor-promo__button {
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid rgba(32, 72, 128, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-brand-blue), #2b6e91);
  color: #fff;
  box-shadow: 0 12px 28px rgba(32, 72, 128, 0.12);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
}

.advisor-promo p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.advisor-promo p button {
  border: 0;
  background: transparent;
  color: var(--color-brand-blue);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 0;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--color-brand-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0;
}

.content-section p {
  color: var(--color-muted);
  font-size: clamp(0.96rem, 1.35vw, 1.04rem);
}

.services-section {
  padding: 0 clamp(20px, 6vw, 72px) clamp(52px, 7vw, 78px);
}

.services-section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 42px);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 72, 128, 0.055), rgba(80, 152, 88, 0.035)),
    #f5f6f3;
}

.services-section__head {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 24px;
}

.services-section__head h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.14;
  font-weight: 500;
}

.services-section__head p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.35vw, 1.03rem);
}

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

.service-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(32, 72, 128, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(32, 72, 128, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(32, 72, 128, 0.2);
  box-shadow: 0 18px 42px rgba(32, 72, 128, 0.08);
  transform: translateY(-3px);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(32, 72, 128, 0.09);
  color: var(--color-brand-blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 650;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.service-card--accent {
  border-color: rgba(80, 152, 88, 0.24);
  background:
    linear-gradient(135deg, rgba(80, 152, 88, 0.08), rgba(32, 72, 128, 0.05)),
    rgba(255, 255, 255, 0.82);
}

.customer-map-section {
  padding: 0 clamp(20px, 6vw, 72px) clamp(46px, 7vw, 70px);
}

.customer-map-section__inner {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

.customer-map-section__inner h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.12;
  font-weight: 500;
}

.customer-map-card {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(32, 72, 128, 0.06);
}

.customer-map-card img {
  width: 100%;
  height: auto;
}

.customer-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  min-height: 27px;
  padding: 6px 10px;
  border: 1px solid rgba(32, 72, 128, 0.14);
  border-radius: 6px;
  background: rgba(213, 231, 242, 0.88);
  color: var(--color-brand-blue);
  box-shadow: 0 8px 22px rgba(32, 72, 128, 0.08);
  cursor: pointer;
  font-size: clamp(0.54rem, 0.78vw, 0.74rem);
  font-weight: 820;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.customer-map-pin:hover,
.customer-map-pin:focus-visible {
  background: var(--color-brand-blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(32, 72, 128, 0.18);
  transform: translate(-50%, -50%) translateY(-2px);
}

.stats-section {
  padding: 0 clamp(20px, 6vw, 72px) clamp(50px, 7vw, 74px);
}

.stats-section__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.stat-circle {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.stat-circle__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #faf9f6 0 63%, transparent 64%),
    conic-gradient(from -90deg, var(--color-brand-blue) 0%, var(--color-brand-green) 0%, #e0e2dd 0 100%);
  box-shadow: inset 0 0 0 1px rgba(28, 29, 31, 0.06), 0 18px 40px rgba(32, 72, 128, 0.08);
  transition: background 1400ms cubic-bezier(0.18, 0.8, 0.18, 1), transform 420ms ease;
}

.stats-section.is-visible .stat-circle__ring {
  background:
    radial-gradient(circle at center, #faf9f6 0 63%, transparent 64%),
    conic-gradient(from -90deg, var(--color-brand-blue) 0%, var(--color-brand-green) var(--stat-target), #e0e2dd var(--stat-target) 100%);
}

.stat-circle:hover .stat-circle__ring {
  transform: translateY(-3px);
}

.stat-circle__icon {
  position: absolute;
  top: 24px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--color-brand-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-circle strong {
  margin-top: 18px;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  font-weight: 760;
}

.stat-circle p {
  max-width: 170px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.image-gallery-section {
  padding: 0 clamp(20px, 6vw, 72px) clamp(56px, 8vw, 86px);
}

.image-gallery-section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #dedfdb;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1);
  transition: filter 220ms ease, transform 220ms ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  filter: grayscale(0);
  transform: scale(1.035);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 28px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.gallery-lightbox__image {
  position: relative;
  z-index: 1;
  max-width: min(900px, 82vw);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox__close {
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-lightbox__arrow {
  top: 50%;
  width: 48px;
  height: 64px;
  border-radius: 6px;
  font-size: 2.2rem;
  transform: translateY(-50%);
}

.gallery-lightbox__arrow--prev {
  left: 24px;
}

.gallery-lightbox__arrow--next {
  right: 24px;
}

.customer-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.customer-lightbox[hidden] {
  display: none;
}

.customer-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 29, 31, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.customer-lightbox__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1fr);
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 29, 31, 0.22);
}

.customer-lightbox__image {
  min-height: 520px;
  background-image:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.98) 94%),
    url("../assets/kunden.jpg");
  background-position: var(--focus-x, 50%) var(--focus-y, 50%);
  background-size: 245%;
  background-repeat: no-repeat;
}

.customer-lightbox__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 58px);
}

.customer-lightbox__content h2 {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
  font-weight: 620;
}

.customer-lightbox__content p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.customer-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(28, 29, 31, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.energy-advisor-lightbox,
.callback-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
}

.energy-advisor-lightbox[hidden],
.callback-lightbox[hidden] {
  display: none;
}

.energy-advisor-lightbox__backdrop,
.callback-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 29, 31, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.energy-advisor {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  width: min(1120px, 100%);
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 29, 31, 0.24);
}

.energy-advisor__close,
.callback-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(28, 29, 31, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.energy-advisor__intro {
  padding: clamp(30px, 5vw, 54px);
  background: linear-gradient(145deg, rgba(32, 72, 128, 0.08), rgba(80, 152, 88, 0.08));
  border-right: 1px solid rgba(28, 29, 31, 0.08);
}

.energy-advisor__intro h2,
.callback-lightbox__panel h2 {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  font-weight: 620;
}

.energy-advisor__intro p,
.callback-lightbox__panel p {
  color: var(--color-muted);
}

.energy-advisor__mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.energy-advisor__mini span {
  padding: 12px;
  border: 1px solid rgba(32, 72, 128, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-brand-blue);
  font-size: 0.82rem;
  font-weight: 750;
}

.energy-advisor__business {
  margin: 26px 0 0;
  font-size: 0.82rem;
}

.energy-advisor__business button {
  border: 0;
  background: transparent;
  color: var(--color-brand-blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.energy-advisor__card {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  overflow: auto;
}

.energy-advisor__top {
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--color-line);
}

.energy-advisor__top > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.energy-advisor__top strong {
  color: var(--color-brand-blue);
}

.energy-advisor__progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e8e4;
}

.energy-advisor__progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-blue));
  transition: width 220ms ease;
}

.energy-step {
  display: none;
  padding: 28px;
}

.energy-step.is-active {
  display: block;
}

.energy-step h3 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 1.45rem;
  line-height: 1.15;
}

.energy-step p {
  color: var(--color-muted);
}

.energy-fields,
.energy-options,
.energy-checks {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.energy-fields--two,
.energy-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.energy-fields label,
.energy-options label,
.energy-checks label,
.callback-lightbox__panel > label {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 750;
}

.energy-fields input,
.energy-fields select,
.energy-fields textarea,
.callback-lightbox__panel textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid rgba(28, 29, 31, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  padding: 12px;
}

.energy-options label,
.energy-checks label {
  padding: 13px 14px;
  border: 1px solid rgba(28, 29, 31, 0.09);
  border-radius: 8px;
  background: #f8f8f5;
}

.energy-options input,
.energy-checks input {
  accent-color: var(--color-brand-blue);
}

.energy-result {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(80, 152, 88, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(80, 152, 88, 0.08), #fff);
}

.energy-result__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.energy-result__metric {
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
}

.energy-result__metric span {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.energy-result__metric b {
  display: block;
  margin-top: 3px;
  color: var(--color-text);
  font-size: 1.25rem;
}

.energy-advisor__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 20px 28px 26px;
}

.energy-advisor__ghost,
.energy-advisor__main {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.energy-advisor__ghost {
  border: 1px solid rgba(28, 29, 31, 0.08);
  background: #eef0ec;
  color: var(--color-muted);
}

.energy-advisor__main {
  border: 1px solid var(--color-brand-blue);
  background: var(--color-brand-blue);
  color: #fff;
}

.energy-privacy {
  margin-top: 16px;
}

.callback-lightbox__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 29, 31, 0.24);
}

.callback-lightbox__panel > label {
  display: block;
  margin-top: 14px;
}

.video-strip {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #000;
}

.video-strip video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
}

.video-strip::before,
.video-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 40px;
  content: "";
  pointer-events: none;
}

.video-strip::before {
  left: calc(50% - 500px);
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.video-strip::after {
  right: calc(50% - 500px);
  background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.video-strip__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(28, 29, 31, 0.42);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-strip video[src] + .video-strip__fallback {
  display: none;
}

@media (min-width: 1000px) {
  .video-strip video {
    width: 1000px;
  }
}

@media (max-width: 999px) {
  .video-strip::before,
  .video-strip::after {
    display: none;
  }
}

.faq-section {
  scroll-margin-top: calc(var(--header-height) + 26px);
  padding: clamp(58px, 8vw, 92px) clamp(20px, 6vw, 72px) clamp(64px, 9vw, 100px);
}

.faq-section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.faq-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.12;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.faq-item {
  display: grid;
  gap: 10px;
}

.faq-tile {
  width: 100%;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 560;
  line-height: 1.35;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.faq-tile:hover,
.faq-tile:focus-visible {
  border-color: rgba(32, 72, 128, 0.45);
  background: #fff;
  transform: translateY(-2px);
}

.faq-tile.is-active {
  border-color: rgba(32, 72, 128, 0.32);
  background: #eeeeeb;
  transform: translateY(-2px);
}

.faq-answer {
  max-height: 0;
  margin-top: 0;
  padding: 0 clamp(17px, 2.6vw, 24px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-brand-blue);
  color: #fff;
  opacity: 0;
  transition:
    max-height 320ms ease,
    margin-top 260ms ease,
    padding-block 260ms ease,
    opacity 220ms ease;
}

.faq-answer.is-open {
  max-height: 360px;
  margin-top: 10px;
  padding-top: clamp(16px, 2.4vw, 22px);
  padding-bottom: clamp(17px, 2.6vw, 24px);
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.62;
}

.contact-form-section {
  padding: clamp(56px, 8vw, 92px) clamp(20px, 6vw, 72px);
  background: #f0f1ee;
}

.contact-form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.contact-form-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.14;
  font-weight: 500;
}

.contact-form-copy p {
  color: var(--color-muted);
}

.contact-form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(28, 29, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(28, 29, 31, 0.06);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full,
.privacy-check,
.contact-form-card button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form-card label:not(.privacy-check) {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font: inherit;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: 2px solid rgba(32, 72, 128, 0.18);
  border-color: rgba(32, 72, 128, 0.5);
}

.privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-brand-blue);
}

.contact-form-card button {
  justify-self: start;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--color-brand-blue);
  border-radius: 4px;
  background: var(--color-brand-blue);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}

.form-status {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--color-brand-blue);
  font-size: 0.92rem;
}

.address-section {
  scroll-margin-top: var(--header-height);
  padding: clamp(54px, 8vw, 86px) clamp(20px, 6vw, 72px);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background:
    linear-gradient(135deg, rgba(32, 72, 128, 0.06), rgba(80, 152, 88, 0.05)),
    #f4f5f2;
}

.address-section__inner {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(32, 72, 128, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(28, 29, 31, 0.05);
}

.address-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.14;
  font-weight: 500;
}

.address-section p {
  max-width: 680px;
  color: var(--color-muted);
}

.address-section address {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 3px solid var(--color-brand-blue);
  color: var(--color-text);
  font-style: normal;
  line-height: 1.7;
}

.cookie-button {
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--color-brand-blue);
  border-radius: 4px;
  background: var(--color-brand-blue);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-footer {
  position: relative;
  padding: clamp(44px, 7vw, 76px) clamp(20px, 6vw, 72px);
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-line);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer::before {
  position: absolute;
  top: 10px;
  right: clamp(20px, 6vw, 72px);
  left: clamp(20px, 6vw, 72px);
  height: 1px;
  content: "";
  background: var(--footer-line);
  opacity: 0.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-grid section {
  padding-inline: clamp(24px, 4vw, 48px);
}

.footer-grid section:first-child {
  padding-left: 0;
}

.footer-grid section:last-child {
  padding-right: 0;
}

.footer-grid section + section {
  border-left: 1px solid rgba(214, 214, 209, 0.22);
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.site-footer p,
.site-footer address {
  margin-bottom: 12px;
  color: var(--footer-muted);
  font-style: normal;
  font-size: 0.95rem;
}

.site-footer a,
.footer-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover,
.footer-link:hover {
  color: #fff;
}

.site-footer section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.copyright-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px clamp(20px, 6vw, 72px);
  background: var(--color-brand-blue);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
  text-align: center;
}

.copyright-links {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.copyright-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 180ms ease;
}

.copyright-links a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 18px;
  background: rgba(250, 249, 246, 0.96);
  border: 1px solid rgba(28, 29, 31, 0.12);
  box-shadow: 0 18px 48px rgba(28, 29, 31, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.cookie-banner p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-button--ghost {
  background: transparent;
  color: var(--color-brand-blue);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(32, 72, 128, 0.88);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(28, 29, 31, 0.18);
}

.contact-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}

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

.contact-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 29, 31, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-lightbox__panel {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(28px, 5vw, 44px);
  background: rgba(250, 249, 246, 0.96);
  border: 1px solid rgba(28, 29, 31, 0.1);
  box-shadow: 0 28px 80px rgba(28, 29, 31, 0.18);
  max-height: calc(100vh - 44px);
  overflow: auto;
}

.contact-lightbox__panel--wide {
  width: min(760px, 100%);
}

.contact-lightbox__panel h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.1;
  font-weight: 520;
}

.contact-lightbox__panel h3 {
  margin: 26px 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

.contact-lightbox__panel address,
.contact-lightbox__panel p {
  margin-bottom: 18px;
  color: var(--color-muted);
  font-style: normal;
}

.contact-lightbox__panel a {
  border-bottom: 1px solid rgba(109, 114, 120, 0.45);
}

.contact-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(28, 29, 31, 0.12);
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand__logo {
    width: 164px;
    max-height: 48px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 128px;
    max-height: 37px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switcher__option {
    gap: 4px;
    min-height: 26px;
    padding: 5px 7px;
    font-size: 0.68rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    background: rgba(250, 249, 246, 0.92);
    border: 1px solid rgba(28, 29, 31, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

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

  .nav-contact,
  .main-nav a {
    padding: 12px 0;
    text-align: left;
  }

  .slideshow {
    min-height: 260px;
  }

  .gw-berater-kachel {
    padding-inline: 14px;
  }

  .gw-berater-inner {
    padding: 24px;
  }

  .gw-compare-grid {
    grid-template-columns: 1fr;
  }

  .gw-tags {
    grid-template-columns: 1fr;
  }

  .gw-neutral .gw-tags {
    display: none;
  }

  .gw-cost-logo {
    width: 72px;
  }

  .gw-card-title {
    flex-direction: column;
  }

  .services-section__inner {
    padding: 22px;
  }

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

  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .customer-map-section {
    padding-inline: 12px;
  }

  .customer-map-pin {
    min-height: 22px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.45rem;
    letter-spacing: 0.03em;
  }

  .stats-section__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-circle__ring {
    width: 132px;
  }

  .gallery-lightbox__arrow--prev {
    left: 12px;
  }

  .gallery-lightbox__arrow--next {
    right: 12px;
  }

  .customer-lightbox {
    padding: 14px;
  }

  .customer-lightbox__panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .customer-lightbox__image {
    min-height: 240px;
    background-image:
      linear-gradient(180deg, transparent 0 54%, rgba(255, 255, 255, 0.98) 96%),
      url("../assets/kunden.jpg");
    background-size: 260%;
  }

  .customer-lightbox__content {
    padding: 28px;
  }

  .energy-advisor {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .energy-advisor__intro {
    border-right: 0;
    border-bottom: 1px solid rgba(28, 29, 31, 0.08);
    padding: 28px;
  }

  .energy-advisor__card {
    min-height: auto;
    overflow: visible;
  }

  .energy-fields--two,
  .energy-checks,
  .energy-result__grid {
    grid-template-columns: 1fr;
  }

  .energy-advisor__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    grid-template-columns: 1fr;
  }

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

  .footer-grid section {
    padding: 22px 0;
  }

  .footer-grid section:first-child {
    padding-top: 0;
  }

  .footer-grid section:last-child {
    padding-bottom: 0;
  }

  .footer-grid section + section {
    border-top: 1px solid rgba(214, 214, 209, 0.2);
    border-left: 0;
  }

  .cookie-banner,
  .cookie-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
