:root {
  color-scheme: light;
  --funnel-bg: #f5f3ee;
  --funnel-surface: #ffffff;
  --funnel-surface-soft: #f8f8f6;
  --funnel-line: #e7e3d8;
  --funnel-line-strong: #d6dce6;
  --funnel-text: #153257;
  --funnel-text-soft: #586a80;
  --funnel-green: #77b83d;
  --funnel-green-dark: #5c9730;
  --funnel-green-soft: #eef8e5;
  --funnel-blue: #133563;
  --funnel-blue-dark: #102d54;
  --funnel-shadow: 0 18px 44px rgba(16, 37, 65, 0.09);
  --funnel-radius-lg: 22px;
  --funnel-radius-md: 14px;
  --funnel-radius-sm: 10px;
  --funnel-font: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--funnel-bg);
  color: var(--funnel-text);
  font-family: var(--funnel-font);
}

body {
  min-height: 100vh;
}

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

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

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

.funnel-page {
  padding-bottom: 56px;
}

.funnel-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.funnel-header {
  background: var(--funnel-surface);
  border-bottom: 1px solid var(--funnel-line);
}

.funnel-header__bar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.funnel-brand__logo {
  width: 210px;
  height: auto;
}

.funnel-header__trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.funnel-microtrust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--funnel-text);
  font-size: 1rem;
  font-weight: 500;
}

.funnel-microtrust svg {
  width: 18px;
  height: 18px;
  color: var(--funnel-green);
  flex: 0 0 auto;
}

.funnel-hero {
  padding: 28px 0 0;
}

.funnel-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  border: 1px solid var(--funnel-line);
  background: var(--funnel-surface);
  overflow: hidden;
}

.funnel-hero__copy {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.funnel-hero__copy h1,
.funnel-hero__copy h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.7rem, 4.1vw, 4.1rem);
  line-height: 1.1;
}

.funnel-eyebrow {
  margin: 0 0 12px;
  color: var(--funnel-green-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funnel-hero__intro {
  margin: 18px 0 0;
  max-width: 28ch;
  color: var(--funnel-text-soft);
  font-size: 1.18rem;
  line-height: 1.55;
}

.funnel-hero__checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.funnel-hero__checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.funnel-checkicon {
  width: 24px;
  height: 24px;
  color: var(--funnel-green);
  flex: 0 0 auto;
}

.funnel-checkicon svg {
  width: 100%;
  height: 100%;
}

.funnel-hero__media {
  min-height: 520px;
  background: #efe8dc;
}

.funnel-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.funnel-stage {
  padding: 28px 0 0;
}

.funnel-stage--abovefold {
  padding-top: 22px;
}

.funnel-stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.funnel-maincard,
.funnel-sidecard,
.funnel-kfwcard,
.funnel-logo-card,
.funnel-press-card,
.funnel-guide-card,
.funnel-funding__box {
  background: var(--funnel-surface);
  border: 1px solid var(--funnel-line);
  box-shadow: var(--funnel-shadow);
}

.funnel-maincard {
  border-radius: var(--funnel-radius-lg);
  padding: 28px;
}

.funnel-maincard__intro {
  margin-bottom: 26px;
}

.funnel-maincard__intro h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.35rem, 3.3vw, 3.55rem);
  line-height: 1.08;
}

.funnel-maincard__lede {
  margin: 16px 0 0;
  max-width: 54ch;
  color: var(--funnel-text-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.funnel-phase-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.funnel-phase-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6d7d92;
  white-space: nowrap;
}

.funnel-phase-rail__item.is-active,
.funnel-phase-rail__item.is-complete {
  color: var(--funnel-text);
}

.funnel-phase-rail__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9edf3;
  color: #344861;
  font-weight: 700;
  font-size: 0.95rem;
}

.funnel-phase-rail__item.is-active .funnel-phase-rail__number,
.funnel-phase-rail__item.is-complete .funnel-phase-rail__number {
  background: var(--funnel-green);
  color: #fff;
}

.funnel-phase-rail__line {
  flex: 1 1 110px;
  height: 1px;
  background: #d8dee6;
}

.funnel-panel {
  display: none;
}

.funnel-panel.is-active {
  display: block;
}

.funnel-panel__head {
  margin-bottom: 18px;
}

.funnel-stepcount {
  margin: 0 0 12px;
  color: var(--funnel-green-dark);
  font-weight: 700;
}

.funnel-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}

.funnel-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7ec23c, #67a92d);
  border-radius: inherit;
}

.funnel-panel__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.15;
}

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

.funnel-option {
  min-height: 102px;
  border: 1.5px solid var(--funnel-line-strong);
  border-radius: var(--funnel-radius-md);
  background: #fff;
  color: var(--funnel-text);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.funnel-option:hover,
.funnel-primary:hover,
.funnel-secondarycta:hover {
  transform: translateY(-1px);
}

.funnel-option.is-selected {
  border-color: var(--funnel-green);
  background: var(--funnel-green-soft);
  box-shadow: inset 0 0 0 1px rgba(119, 184, 61, 0.18);
}

.funnel-option__label {
  display: block;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
}

.funnel-panel__foot,
.funnel-panel__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.funnel-panel__hint {
  margin: 0;
  color: var(--funnel-text-soft);
  font-size: 0.96rem;
}

.funnel-linkbutton {
  border: 0;
  background: transparent;
  color: var(--funnel-blue);
  padding: 0;
  cursor: pointer;
  font-weight: 700;
}

.funnel-linkbutton.is-hidden {
  visibility: hidden;
}

.funnel-field {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.funnel-field span {
  font-size: 1rem;
  font-weight: 700;
}

.funnel-field input {
  width: 100%;
  min-height: 58px;
  border: 1.5px solid var(--funnel-line-strong);
  border-radius: var(--funnel-radius-sm);
  background: #fff;
  padding: 15px 16px;
  color: var(--funnel-text);
}

.funnel-select {
  width: 100%;
  min-height: 58px;
  border: 1.5px solid var(--funnel-line-strong);
  border-radius: var(--funnel-radius-sm);
  background: #fff;
  padding: 15px 16px;
  color: var(--funnel-text);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #48627d 50%),
    linear-gradient(135deg, #48627d 50%, transparent 50%);
  background-position:
    calc(100% - 24px) calc(50% - 3px),
    calc(100% - 18px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.funnel-helptext {
  margin: 10px 0 0;
  color: var(--funnel-text-soft);
  font-size: 0.95rem;
}

.funnel-primary,
.funnel-secondarycta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--funnel-radius-md);
  font-weight: 700;
}

.funnel-primary {
  width: 100%;
  margin-top: 20px;
  border: 0;
  background: linear-gradient(180deg, #20497f, #153862);
  color: #fff;
  padding: 16px 20px;
  cursor: pointer;
  flex-direction: column;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.funnel-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.funnel-primary--dark {
  background: linear-gradient(180deg, #193d6c, #102f55);
}

.funnel-primary--green {
  background: linear-gradient(180deg, #7dc63f, #64a92d);
}

.funnel-primary__main {
  font-size: 1.08rem;
}

.funnel-primary__sub {
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.86;
}

.funnel-privacyline {
  margin: 14px 0 0;
  display: flex;
  gap: 10px;
  color: var(--funnel-text-soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.funnel-privacyline__icon {
  flex: 0 0 auto;
}

.funnel-privacyline a {
  color: var(--funnel-blue);
  text-decoration: underline;
}

.funnel-successbanner {
  margin-bottom: 16px;
  border-radius: var(--funnel-radius-sm);
  background: #7ec23c;
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
}

.funnel-checkbox {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--funnel-text-soft);
}

.funnel-checkbox a {
  color: var(--funnel-blue);
  text-decoration: underline;
}

.funnel-message {
  min-height: 24px;
  margin: 18px 0 0;
  font-weight: 700;
}

.funnel-message[data-state="success"] {
  color: var(--funnel-green-dark);
}

.funnel-message[data-state="error"] {
  color: #b33a2c;
}

.funnel-sidebar {
  display: grid;
  gap: 18px;
}

.funnel-sidecard,
.funnel-kfwcard {
  border-radius: var(--funnel-radius-lg);
  padding: 22px 20px;
}

.funnel-sidecard h3,
.funnel-kfwcard strong,
.funnel-sectionhead h2,
.funnel-guide-card__body h3 {
  margin: 0;
}

.funnel-sidecard__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.funnel-sidecard__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--funnel-text);
  font-weight: 600;
}

.funnel-sidecard__list li::before {
  content: "✓";
  color: var(--funnel-green);
  font-weight: 700;
}

.funnel-kfwcard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(145deg, #f4fbec, #ffffff);
}

.funnel-kfwcard__badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #d2ecb8;
  color: #305d12;
  font-size: 1.28rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.funnel-kfwcard p {
  margin: 8px 0 0;
  color: var(--funnel-text-soft);
  line-height: 1.45;
}

.funnel-summary {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.funnel-summary div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--funnel-line);
}

.funnel-summary span {
  color: var(--funnel-text-soft);
  font-size: 0.9rem;
}

.funnel-summary strong {
  font-size: 1rem;
}

.funnel-stack-form {
  display: grid;
  gap: 4px;
}

.funnel-step-content {
  margin-top: 24px;
}

.funnel-address-form {
  display: grid;
  gap: 2px;
}

.funnel-maincard__lede--compact {
  max-width: 46ch;
  margin: 14px auto 0;
  text-align: center;
}

.funnel-panel__title--wide {
  max-width: 18ch;
}

.funnel-loading {
  display: grid;
  justify-items: center;
  padding: 18px 0 14px;
  text-align: center;
}

.funnel-spinner {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 6px solid rgba(119, 184, 61, 0.18);
  border-top-color: var(--funnel-green);
  animation: funnel-spin 0.9s linear infinite;
}

.funnel-hero__media--waermepumpe {
  background: #e8dfd0;
}

@keyframes funnel-spin {
  to {
    transform: rotate(360deg);
  }
}

.funnel-note,
.funnel-partners,
.funnel-press,
.funnel-guide,
.funnel-funding {
  padding-top: 34px;
}

.funnel-note p {
  margin: 0;
  border-radius: var(--funnel-radius-md);
  background: var(--funnel-surface);
  border: 1px solid var(--funnel-line);
  padding: 16px 18px;
  color: var(--funnel-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: var(--funnel-shadow);
}

.funnel-sectionhead {
  margin-bottom: 20px;
}

.funnel-sectionhead h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.18;
}

.funnel-logo-grid,
.funnel-press-grid,
.funnel-guide-grid {
  display: grid;
  gap: 20px;
}

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

.funnel-logo-card {
  border-radius: var(--funnel-radius-md);
  padding: 24px;
  text-align: center;
}

.funnel-logo-card__mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--funnel-blue);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

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

.funnel-press-card {
  border-radius: var(--funnel-radius-lg);
  padding: 24px;
}

.funnel-press-card__logo {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--funnel-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.funnel-press-card p {
  min-height: 120px;
  margin: 0 0 20px;
  color: var(--funnel-text-soft);
  line-height: 1.6;
}

.funnel-secondarycta {
  min-height: 50px;
  padding: 0 20px;
  background: #eff5fb;
  color: var(--funnel-blue);
  border: 1px solid #d4dfef;
}

.funnel-secondarycta--dark {
  background: var(--funnel-blue);
  color: #fff;
  border-color: transparent;
}

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

.funnel-guide-card {
  border-radius: var(--funnel-radius-lg);
  overflow: hidden;
}

.funnel-guide-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.funnel-guide-card__body {
  padding: 22px 22px 20px;
}

.funnel-guide-card__body p {
  margin: 12px 0 0;
  color: var(--funnel-text-soft);
  line-height: 1.6;
}

.funnel-funding__box {
  border-radius: var(--funnel-radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.funnel-funding__box p {
  margin: 12px 0 0;
  max-width: 72ch;
  color: var(--funnel-text-soft);
  line-height: 1.6;
}

.funnel-footer {
  padding-top: 34px;
}

.funnel-footer__bar {
  border-top: 1px solid var(--funnel-line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--funnel-text-soft);
}

.funnel-footer__links {
  display: flex;
  gap: 18px;
}

.funnel-footer__links a {
  text-decoration: underline;
}

.funnel-hero--support .funnel-hero__grid {
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
}

.funnel-hero--support .funnel-hero__copy {
  padding: 36px 38px 34px;
}

.funnel-hero--support .funnel-hero__copy h2 {
  font-size: clamp(2.15rem, 3.1vw, 3.2rem);
}

.funnel-hero--support .funnel-hero__intro {
  max-width: 34ch;
}

.legal-page {
  background: var(--funnel-bg);
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 40px auto;
  border-radius: var(--funnel-radius-lg);
  background: var(--funnel-surface);
  border: 1px solid var(--funnel-line);
  padding: 32px;
  box-shadow: var(--funnel-shadow);
}

.legal-shell h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-shell p,
.legal-shell li {
  color: var(--funnel-text-soft);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .funnel-hero__grid,
  .funnel-stage__grid,
  .funnel-press-grid,
  .funnel-logo-grid,
  .funnel-guide-grid {
    grid-template-columns: 1fr;
  }

  .funnel-hero__media {
    min-height: 420px;
  }

  .funnel-funding__box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .funnel-header__bar {
    padding: 16px 0;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .funnel-brand {
    justify-content: center;
  }

  .funnel-header__trust {
    justify-content: center;
    gap: 14px 18px;
  }

  .funnel-maincard {
    padding: 22px;
  }

  .funnel-options,
  .funnel-phase-rail {
    grid-template-columns: 1fr;
  }

  .funnel-phase-rail {
    display: grid;
    justify-content: stretch;
  }

  .funnel-phase-rail__line {
    display: none;
  }

  .funnel-panel__foot,
  .funnel-panel__actions,
  .funnel-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .funnel-loading {
    justify-items: flex-start;
    text-align: left;
  }

  .funnel-maincard__lede--compact {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .funnel-wrap,
  .legal-shell {
    width: min(100% - 24px, 100%);
  }

  .funnel-page {
    padding-bottom: 40px;
  }

  .funnel-brand__logo {
    width: 184px;
  }

  .funnel-hero__copy {
    padding: 30px 22px;
  }

  .funnel-hero__copy h1,
  .funnel-hero__copy h2,
  .funnel-maincard__intro h1,
  .funnel-panel__title,
  .funnel-sectionhead h2,
  .legal-shell h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .funnel-options {
    grid-template-columns: 1fr;
  }

  .funnel-option {
    min-height: 84px;
  }

  .funnel-maincard,
  .funnel-sidecard,
  .funnel-kfwcard,
  .funnel-logo-card,
  .funnel-press-card,
  .funnel-guide-card,
  .funnel-funding__box,
  .legal-shell {
    border-radius: 18px;
  }

  .funnel-guide-card__image {
    height: 190px;
  }
}
