/* Plus Jakarta Sans — self-hosted, DSGVO-safe */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-semibold.woff2') format('woff2');
}

:root {
  --ease-premium: cubic-bezier(0.32, 0.72, 0, 1);
  --anthracite-base: #1f2329;
  --trust-base: #2563eb;
  --surface-base: #f5f6f8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--surface-base);
  color: var(--anthracite-base);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-mesh {
  background-color: #f5f6f8;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(37, 99, 235, 0.04), transparent 45%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(37, 99, 235, 0.03), transparent 40%);
}

/* Light theme cards */
.card-shell {
  border-radius: 2rem;
  border: 1px solid rgba(197, 201, 207, 0.7);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.375rem;
  box-shadow: 0 4px 24px rgba(31, 35, 41, 0.04);
}

.card-inner {
  border-radius: calc(2rem - 0.375rem);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.legal-prose h2 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-anthracite-900, #1f2329);
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-anthracite-900, #1f2329);
}

.legal-prose p,
.legal-prose ul {
  margin-top: 0.5rem;
}

.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-prose li + li {
  margin-top: 0.25rem;
}

.legal-prose a {
  color: var(--color-trust, #2d6a4f);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 150ms ease-out;
}

.legal-prose a:hover {
  color: color-mix(in srgb, var(--color-trust, #2d6a4f) 80%, transparent);
}

/* Services bento — image-overlay cards */
.services-bento {
  align-items: stretch;
}

.service-card__frame {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #1a1e24;
}

.service-card__frame--portrait {
  min-height: 28rem;
  aspect-ratio: 4 / 5;
}

.service-card__frame--landscape {
  min-height: 16rem;
  aspect-ratio: 5 / 4;
}

@media (min-width: 1024px) {
  .services-bento__stack {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 36rem;
  }

  .service-card__frame--hero {
    min-height: 36rem;
    aspect-ratio: auto;
  }

  .services-bento__pv {
    display: block;
    min-height: 0;
  }

  .services-bento__pv .service-card,
  .services-bento__pv .card-shell,
  .services-bento__pv .card-inner,
  .services-bento__pv .service-card__frame--portrait {
    height: 100%;
    min-height: 20rem;
    aspect-ratio: auto;
  }

  .service-card__frame--landscape {
    aspect-ratio: 5 / 4;
    min-height: 0;
  }
}

.service-card__img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-premium);
}

.service-card:hover .service-card__img,
.service-card:focus-within .service-card__img {
  transform: scale(1.04);
}

.service-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 17, 20, 0.92) 0%,
    rgba(26, 30, 36, 0.45) 42%,
    rgba(26, 30, 36, 0.08) 100%
  );
}

.service-card__shade--kombi {
  background: linear-gradient(
    105deg,
    rgba(37, 99, 235, 0.88) 0%,
    rgba(37, 99, 235, 0.45) 38%,
    rgba(26, 30, 36, 0.12) 100%
  );
}

.service-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 2rem;
}

@media (min-width: 768px) {
  .service-card__body {
    padding: 2.5rem;
  }
}

.service-card__body--row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-card__body--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.service-card__tag {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.service-card__tag--kombi {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.service-card__cta--kombi {
  margin-top: 0;
  flex-shrink: 0;
}

.service-card:hover .service-card__cta,
.service-card:focus-within .service-card__cta {
  color: #fff;
}

.service-card__cta-icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.3s var(--ease-premium), background 0.3s var(--ease-premium);
}

.service-card:hover .service-card__cta-icon,
.service-card:focus-within .service-card__cta-icon {
  transform: translate(2px, -1px);
  background: rgba(255, 255, 255, 0.2);
}

.service-card--kombi .card-inner {
  background: #1e40af;
}

/* Harmoni-style CTA pill */
.btn-pill-light {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background: #fff;
  padding: 0.375rem 1.5rem 0.375rem 0.375rem;
  font-weight: 500;
  color: #1f2329;
  box-shadow: 0 8px 32px rgba(31, 35, 41, 0.12);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}

.btn-pill-light:hover {
  box-shadow: 0 12px 40px rgba(31, 35, 41, 0.16);
}

.btn-pill-light:active {
  transform: scale(0.98);
}

/* Header-CTA nur ab lg — auf Mobil im Hamburger-Menü */
.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.btn-pill-light .btn-pill-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #2563eb;
  color: #fff;
  transition: transform 0.3s var(--ease-premium);
}

.btn-pill-light:hover .btn-pill-icon {
  transform: translate(2px, -1px) scale(1.05);
}

/* Trust bar — gleichmäßige Logo- und Leistungs-Slots */
.trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .trust-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    align-items: center;
  }

  .trust-bar__logo:first-child {
    justify-self: end;
  }

  .trust-bar__logo:nth-child(2) {
    justify-self: start;
  }

  .trust-bar__logo:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .trust-bar__logo:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .trust-bar__item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .trust-bar__item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .trust-bar__item:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (min-width: 1024px) {
  .trust-bar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0;
  }

  .trust-bar > * {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: stretch !important;
  }

  .trust-bar > * + * {
    border-left: 1px solid rgba(197, 201, 207, 0.55);
  }
}

/* Partner-Logos (3 Slots) — z. B. Wärmepumpen #nachweis */
.trust-bar--partners {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .trust-bar--partners {
    flex-wrap: nowrap;
    gap: 3rem 4rem;
  }
}

.trust-bar--partners > * {
  flex: 0 0 auto;
  grid-column: unset !important;
  grid-row: unset !important;
  justify-self: center !important;
  border-left: none !important;
}

.trust-bar--partners .trust-bar__logo:first-child,
.trust-bar--partners .trust-bar__logo:nth-child(2) {
  justify-self: center;
}

.trust-bar__logo {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
}

.trust-bar__logo img {
  height: 2.75rem;
  width: auto;
  max-width: min(100%, 15rem);
  object-fit: contain;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-inline: 1rem;
  text-align: left;
}

@media (min-width: 1024px) {
  .trust-bar__item {
    justify-content: center;
  }
}

/* Process / Ablauf */
.process-section {
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 0% 20%, rgba(37, 99, 235, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(37, 99, 235, 0.05), transparent 50%);
}

.process-timeline__rail {
  display: none;
}

.process-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 0 1rem 0.5rem;
  margin-inline: -1rem;
}

.process-carousel__track::-webkit-scrollbar {
  display: none;
}

.process-carousel__slide {
  flex: 0 0 min(88%, 22rem);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.process-carousel__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.process-carousel__dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  border: none;
  background: #c5c9cf;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.35s var(--ease-premium),
    background 0.35s var(--ease-premium);
}

.process-carousel__dot.is-active {
  width: 1.75rem;
  background: var(--trust-base);
}

.process-carousel__dot:focus-visible {
  outline: 2px solid var(--trust-base);
  outline-offset: 3px;
}

.process-step__inner {
  position: relative;
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  background: linear-gradient(165deg, #fff 0%, #f5f8fc 100%);
  transition:
    transform 0.4s var(--ease-premium),
    box-shadow 0.4s var(--ease-premium);
}

.process-step:hover .process-step__inner,
.process-step:focus-within .process-step__inner {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.1);
}

.process-step__num {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.process-step__icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--trust-base);
}

@media (min-width: 1024px) {
  .process-timeline__rail {
    display: block;
    position: relative;
    height: 2px;
    margin-bottom: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(
      90deg,
      rgba(37, 99, 235, 0.12) 0%,
      rgba(37, 99, 235, 0.55) 50%,
      rgba(37, 99, 235, 0.12) 100%
    );
  }

  .process-carousel__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }

  .process-carousel__slide {
    flex: none;
    scroll-snap-align: none;
  }

  .process-carousel__pagination {
    display: none;
  }

  .process-step__inner {
    min-height: 18rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(4rem);
  transition:
    opacity 0.8s var(--ease-premium),
    transform 0.8s var(--ease-premium),
    filter 0.8s var(--ease-premium);
  filter: blur(4px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

.nav-link-enter {
  opacity: 0;
  transform: translateY(3rem);
  transition:
    opacity 0.6s var(--ease-premium),
    transform 0.6s var(--ease-premium);
}

.nav-open .nav-link-enter {
  opacity: 1;
  transform: translateY(0);
}

.nav-open .nav-link-enter:nth-child(1) { transition-delay: 100ms; }
.nav-open .nav-link-enter:nth-child(2) { transition-delay: 150ms; }
.nav-open .nav-link-enter:nth-child(3) { transition-delay: 200ms; }
.nav-open .nav-link-enter:nth-child(4) { transition-delay: 250ms; }

.hamburger-line {
  transition: transform 0.5s var(--ease-premium), opacity 0.3s var(--ease-premium);
}

.hamburger-open .hamburger-top {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-open .hamburger-mid {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-open .hamburger-bot {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-premium);
}

.faq-content.is-open {
  grid-template-rows: 1fr;
}

.faq-content > div {
  overflow: hidden;
}

.focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #f5f6f8, 0 0 0 4px #2563eb;
}

.nav-link-active {
  color: #2563eb;
}

/* Contact page */
.contact-hero {
  position: relative;
  display: flex;
  min-height: min(58vh, 520px);
  align-items: flex-end;
  overflow: hidden;
  border-radius: 2rem;
}

@media (min-width: 768px) {
  .contact-hero {
    min-height: min(52vh, 480px);
    border-radius: 2.5rem;
  }
}

.contact-hero__media {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 17, 20, 0.92) 0%,
    rgba(31, 35, 41, 0.55) 45%,
    rgba(31, 35, 41, 0.25) 100%
  );
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1.5rem 2.5rem;
}

@media (min-width: 768px) {
  .contact-hero__content {
    padding: 3rem 2.5rem 3rem;
  }
}

.contact-form__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(197, 201, 207, 0.5);
}

.contact-field {
  display: block;
  width: 100%;
  border-radius: 0.875rem;
  border: 1px solid rgba(197, 201, 207, 0.9);
  background: #fff;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: #1f2329;
  transition:
    border-color 0.2s var(--ease-premium),
    box-shadow 0.2s var(--ease-premium);
}

.contact-field::placeholder {
  color: rgba(107, 114, 128, 0.75);
}

.contact-field:hover {
  border-color: rgba(37, 99, 235, 0.35);
}

.contact-field:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-field--textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-interest {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .contact-interest {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-interest__option {
  position: relative;
  cursor: pointer;
}

.contact-interest__option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-interest__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(197, 201, 207, 0.9);
  background: #fff;
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  transition:
    border-color 0.25s var(--ease-premium),
    background 0.25s var(--ease-premium),
    color 0.25s var(--ease-premium),
    box-shadow 0.25s var(--ease-premium),
    transform 0.25s var(--ease-premium);
}

.contact-interest__icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  transition:
    background 0.25s var(--ease-premium),
    color 0.25s var(--ease-premium);
}

.contact-interest__option:hover .contact-interest__label {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.contact-interest__option input:focus-visible + .contact-interest__label {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-interest__option input:checked + .contact-interest__label {
  border-color: #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
  color: #1f2329;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.contact-interest__option input:checked + .contact-interest__label .contact-interest__icon {
  background: #2563eb;
  color: #fff;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(197, 201, 207, 0.6);
  background: rgba(245, 246, 248, 0.8);
  padding: 1rem 1.125rem;
}

.contact-checkbox input {
  margin-top: 0.125rem;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  border-color: rgba(197, 201, 207, 1);
  color: #2563eb;
}

.contact-checkbox input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

.contact-sidebar-card + .contact-sidebar-card {
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .contact-sidebar-card + .contact-sidebar-card {
    margin-top: 1.25rem;
  }
}

.contact-direct-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  transition:
    background 0.2s var(--ease-premium),
    transform 0.2s var(--ease-premium);
}

.contact-direct-link:hover {
  background: rgba(37, 99, 235, 0.05);
  transform: translateX(2px);
}

.contact-direct-link:active {
  transform: translateX(0);
}

.contact-direct-link__icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.contact-step {
  display: flex;
  gap: 1rem;
}

.contact-step + .contact-step {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 201, 207, 0.45);
}

.contact-step__num {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.contact-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.contact-success__icon {
  display: inline-flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
  color: #2563eb;
}

.contact-trust-strip {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact-trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(197, 201, 207, 0.6);
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem 1.25rem;
}

.contact-trust-item__icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.contact-hero--compact {
  min-height: min(36vh, 320px);
}

@media (min-width: 768px) {
  .contact-hero--compact {
    min-height: min(32vh, 280px);
  }
}

/* Lead funnel */
.funnel__meta {
  margin-bottom: 2rem;
}

.funnel__step-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7380;
}

.funnel__progress {
  height: 0.375rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(197, 201, 207, 0.45);
}

.funnel__progress-bar {
  height: 100%;
  width: 25%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  transition: width 0.5s var(--ease-premium);
}

.funnel-step {
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 0.4s var(--ease-premium),
    transform 0.4s var(--ease-premium);
}

.funnel-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.funnel-step[hidden] {
  display: none;
}

.funnel-step__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1e24;
  line-height: 1.2;
}

.funnel-step__subtitle {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4a5160;
}

.funnel-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7380;
  transition: color 0.2s var(--ease-premium);
}

.funnel-back:hover {
  color: #2563eb;
}

.funnel-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #232830;
}

.funnel-options {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.funnel-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(197, 201, 207, 0.9);
  background: #fff;
  padding: 1.25rem 1.25rem 1.25rem 4.5rem;
  text-align: left;
  transition:
    border-color 0.25s var(--ease-premium),
    background 0.25s var(--ease-premium),
    box-shadow 0.25s var(--ease-premium),
    transform 0.25s var(--ease-premium);
}

.funnel-option:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.funnel-option:active {
  transform: scale(0.99);
}

.funnel-option.is-selected {
  border-color: #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.02) 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.funnel-option__badge {
  position: absolute;
  top: -0.625rem;
  right: 1rem;
  border-radius: 9999px;
  background: #2563eb;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.funnel-option__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  transform: translateY(-50%);
  transition:
    background 0.25s var(--ease-premium),
    color 0.25s var(--ease-premium);
}

.funnel-option.is-selected .funnel-option__icon,
.funnel-option:hover .funnel-option__icon {
  background: #2563eb;
  color: #fff;
}

.funnel-option__label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1e24;
}

.funnel-option__hint {
  font-size: 0.8125rem;
  color: #6b7380;
}

.funnel-city {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2563eb;
}

.funnel-city.is-loading {
  color: #6b7380;
  font-weight: 400;
}

.funnel-error {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #dc2626;
}

.funnel-proof {
  margin-top: 0.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
  padding: 1.5rem;
  text-align: center;
}

.funnel-proof__icon {
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.funnel-proof .funnel-step__title {
  margin-top: 1rem;
}

.funnel-proof__text {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4a5160;
}

.funnel-proof__list {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #353b47;
}

.funnel-proof__list li::before {
  content: "✓ ";
  color: #2563eb;
}

.funnel-form {
  margin-top: 1.5rem;
}

.funnel-direct {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border: 1px solid rgba(197, 201, 207, 0.7);
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.125rem;
  transition:
    border-color 0.2s var(--ease-premium),
    background 0.2s var(--ease-premium),
    transform 0.2s var(--ease-premium);
}

.funnel-direct:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.funnel-direct__icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.funnel-direct__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7380;
}

.funnel-direct__value {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1e24;
}

/* Standorte map */
.locations-map {
  z-index: 0;
  width: 100%;
  height: 22rem;
  min-height: 22rem;
}

@media (min-width: 768px) {
  .locations-map {
    height: 28rem;
  }
}

.locations-map .leaflet-control-attribution {
  font-size: 0.625rem;
}

.locations-marker-wrap {
  background: transparent !important;
  border: none !important;
}

.locations-marker {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  color: #fff;
}

/* Image marquee */
.image-marquee {
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
  background: #fff;
}

.image-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.image-marquee__track {
  display: flex;
  width: max-content;
  animation: image-marquee-scroll 48s linear infinite;
}

.image-marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: 1rem;
  padding-right: 1rem;
  list-style: none;
  margin: 0;
}

.image-marquee__item {
  flex: 0 0 auto;
  width: clamp(11rem, 24vw, 15rem);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(197, 201, 207, 0.55);
  box-shadow: 0 8px 32px rgba(31, 35, 41, 0.06);
}

.image-marquee__img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes image-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Final CTA — inside footer shell */
.site-footer__cta-block {
  position: relative;
  padding: 2.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .site-footer__cta-block {
    padding: 3.5rem 0 3rem;
  }
}

.final-cta__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%, rgba(37, 99, 235, 0.12), transparent 70%);
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .final-cta__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
  }
}

.final-cta__badge {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta__title {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (min-width: 768px) {
  .final-cta__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .final-cta__title {
    font-size: 2.5rem;
  }
}

.final-cta__text {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .final-cta__text {
    font-size: 1rem;
  }
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .final-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.final-cta__aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.final-cta__point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.final-cta__point-icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}

/* Site footer — CTA + footer in one rounded-top shell */
.site-footer {
  padding: 0 1rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 5rem;
  }
}

.site-footer__shell {
  position: relative;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
  background: #0f1114;
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 768px) {
  .site-footer__shell {
    border-radius: 3rem 3rem 0 0;
  }
}

.site-footer__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'%3E%3Cpath d='M0 220c80-40 160-60 240-40s160 80 240 60 160-100 240-80 160 60 240 40' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'/%3E%3Cpath d='M0 280c100-30 200-50 300-30s200 70 300 50 200-80 300-60 200 50 300 30' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3Cpath d='M0 160c120-50 240-70 360-50s240 90 360 70 240-110 360-90 240 70 360 50' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding: 0 2rem 3rem;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .site-footer__brand {
    padding-top: 3.5rem;
  }
}

.site-footer__logo {
  display: inline-flex;
  margin-top: 0;
  border-radius: 1rem;
}

.site-footer__logo img {
  height: 4.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-footer__logo img {
    height: 5.5rem;
  }
}

.site-footer__name {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

@media (min-width: 768px) {
  .site-footer__name {
    font-size: 1.375rem;
  }
}

.site-footer__tagline {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .site-footer__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.site-footer__cta-primary {
  background: #fff;
  color: #1f2329;
}

.site-footer__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem 1.25rem 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition:
    background 0.3s var(--ease-premium),
    border-color 0.3s var(--ease-premium),
    transform 0.3s var(--ease-premium);
}

.site-footer__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-footer__cta-secondary:active {
  transform: scale(0.98);
}

.site-footer__cta-arrow {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

.site-footer__heading {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__text {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__text + .site-footer__text {
  margin-top: 0.5rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s var(--ease-premium);
}

.site-footer__link:hover {
  color: #fff;
}

.site-footer__link--underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__ext {
  display: inline-flex;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.site-footer__link:hover .site-footer__ext {
  opacity: 0.9;
  transform: translate(1px, -1px);
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.site-footer__trust img {
  height: 2rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.site-footer__nav-cols {
  display: grid;
  gap: 0.75rem 2rem;
  margin-top: 1rem;
}

@media (min-width: 480px) {
  .site-footer__nav-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav-list li + li {
  margin-top: 0.625rem;
}

.site-footer__legal-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 3rem;
  margin-left: auto;
  max-width: 100%;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 0.75rem;
  background: #f3f4f5;
  padding: 0.75rem 1.25rem;
  color: #1f2329;
}

.site-footer__credit {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__credit-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease-premium);
}

.site-footer__credit-link:hover {
  color: #fff;
}

.site-footer__legal-link {
  font-size: 0.8125rem;
  color: #353b47;
  transition: color 0.3s var(--ease-premium);
}

.site-footer__legal-link:hover {
  color: var(--trust-base);
}

.site-footer__legal-copy {
  font-size: 0.8125rem;
  color: #6b7380;
}

@media (max-width: 639px) {
  .site-footer__legal-wrap {
    margin-left: 0;
    align-items: center;
    width: 100%;
  }

  .site-footer__legal {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .image-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 1rem;
    padding-inline: 1rem;
  }
  .image-marquee__group[aria-hidden="true"] {
    display: none;
  }
  .image-marquee__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    transition-delay: 0ms;
  }
  .hamburger-line,
  .faq-content,
  .nav-link-enter,
  .btn-pill-light,
  .btn-pill-light .btn-pill-icon,
  .funnel-step,
  .funnel__progress-bar,
  .funnel-option,
  .funnel-option__icon,
  .funnel-option__label,
  .funnel-direct {
    transition: none;
  }
  .funnel-option:hover,
  .funnel-direct:hover {
    transform: none;
  }
}

/* PAS landing — Wärmepumpen */
.pas-section--dark {
  background-color: #1a1e24;
  color: #fff;
}

.pas-stake-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.25rem;
}

.pas-testimonial-badge {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px dashed rgba(197, 201, 207, 0.8);
  background: rgba(37, 99, 235, 0.06);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.pas-anfrage-block {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #1a1e24;
  padding: 2.5rem 1.5rem;
}

.pas-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .pas-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.pas-stat {
  border-radius: 1rem;
  border: 1px solid rgba(197, 201, 207, 0.45);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.5rem 1rem;
  text-align: center;
}

.pas-stat__value {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #2563eb;
}

.pas-stat__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #4b5563;
}

.pas-google-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.pas-google-review__source {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.pas-google-review__stars {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: #f59e0b;
}

@media (min-width: 768px) {
  .pas-anfrage-block {
    padding: 3rem 2.5rem;
  }
}
