/* Wärmepumpen-Funnel (js/wp-funnel.js) – ergänzt .funnel aus components.css */
.wp-trust { font-weight: var(--weight-medium); letter-spacing: 0; color: var(--color-neutral-400); font-size: var(--text-xs); text-align: right; }
.funnel__option[aria-pressed] { position: relative; padding-right: var(--space-7); }
.wp-check { position: absolute; right: var(--space-4); width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--color-border-strong); }
.funnel__option.is-selected .wp-check { background: var(--color-primary); border-color: var(--color-primary); }
.funnel__option.is-selected .wp-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wp-nav-right { display: flex; gap: var(--space-2); align-items: center; }
.wp-skip { color: var(--color-neutral-500); }
.wp-form { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-4); }
@media (min-width: 640px) { .wp-form { grid-template-columns: 1fr 1fr; } .wp-form .field.full { grid-column: 1 / -1; } }
.wp-form input, .wp-form textarea { font-size: 16px; } /* kein iOS-Zoom */
.wp-form input.is-invalid { border-color: var(--color-error); }
.wp-error { color: var(--color-error); font-size: var(--text-sm); margin: 0 0 var(--space-3); }
.wp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wp-consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--color-neutral-600); margin-bottom: var(--space-4); }
.wp-consent input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; accent-color: var(--color-primary); }
.wp-submit { width: 100%; justify-content: center; }
.wp-small { font-size: var(--text-xs); color: var(--color-neutral-500); text-align: center; margin-top: var(--space-3); }
.wp-link { background: none; border: 0; padding: 0; color: var(--color-primary-dark); font: inherit; font-weight: var(--weight-semibold); text-decoration: underline; cursor: pointer; }
.wp-note { background: var(--color-neutral-50); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-4); font-size: var(--text-sm); color: var(--color-neutral-600); }
.wp-geo { text-align: center; padding: var(--space-8) 0; }
.wp-geo__drop { margin: 0 auto var(--space-4); display: block; animation: wppulse 1s ease-in-out infinite; }
@keyframes wppulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.15); opacity: 1; } }
.wp-ok { display: flex; gap: var(--space-2); align-items: center; background: #ECFDF5; color: #047857; border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); font-weight: var(--weight-semibold); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.wp-ok span { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--color-success); color: #fff; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.wp-estimate { background: var(--color-primary-50); border: 1px solid var(--color-primary-light); border-radius: var(--radius-xl); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-5); }
.wp-estimate__label { font-size: var(--text-xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary-dark); margin-bottom: var(--space-2); }
.wp-estimate__row { display: flex; align-items: baseline; gap: var(--space-2); }
.wp-estimate__row strong { font-size: var(--text-2xl); font-weight: var(--weight-black); color: var(--color-neutral-900); }
.wp-estimate__row span { color: var(--color-neutral-600); }
.wp-estimate__foot { font-size: var(--text-xs); color: var(--color-neutral-500); margin-top: var(--space-2); }
.wp-photos { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .wp-photos { grid-template-columns: 1fr 1fr; } }
.wp-photo { position: relative; display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); border: 2px dashed var(--color-border-strong); border-radius: var(--radius-lg); cursor: pointer; background: #fff; transition: border-color var(--transition-fast); }
.wp-photo:hover { border-color: var(--color-primary); }
.wp-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.wp-photo__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--color-primary-50); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.wp-photo__text { display: flex; flex-direction: column; line-height: 1.25; }
.wp-photo__text small { color: var(--color-neutral-500); font-size: var(--text-sm); margin-top: 2px; }
.wp-photo.is-done { border-style: solid; border-color: var(--color-success); background: #F0FDF4; }
.wp-photo.is-done .wp-photo__icon { background: var(--color-success); color: #fff; }
.wp-photo.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 480px) {
  .funnel__body { padding: var(--space-5) var(--space-4); }
  .funnel__question { font-size: var(--text-2xl); }
  .funnel__step-meta { flex-wrap: wrap; gap: var(--space-1); }
  .funnel__option { padding: var(--space-3) var(--space-4); }
}

/* Sticky-CTA weg, solange der Funnel sichtbar ist */
.wp-funnel-visible .mobile-cta { transform: translateY(120%) !important; opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
.wp-estimate__row { flex-wrap: wrap; column-gap: var(--space-2); }
.wp-estimate__row strong { white-space: nowrap; }
/* Cookie-Banner mobil kompakt, damit der Funnel bedienbar bleibt */
@media (max-width: 640px) {
  .cookie-banner { padding: var(--space-3) var(--space-4) !important; }
  .cookie-banner h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
  .cookie-banner p { font-size: var(--text-xs); line-height: 1.45; margin-bottom: var(--space-3); }
  .cookie-banner__actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .cookie-banner__actions .btn { width: 100%; }
}

/* ---------- Kacheln (Antwortoptionen, 2/4/6) ---------- */
.wp-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
@media (min-width: 720px) { .wp-tiles { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } .wp-tiles--4 { grid-template-columns: repeat(2, 1fr); } }
.wp-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 124px; padding: var(--space-3); background: var(--color-white); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg); cursor: pointer; font-family: inherit; text-align: center; color: var(--color-neutral-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); }
@media (min-width: 720px) { .wp-tile { min-height: 168px; } }
@media (hover: hover) { .wp-tile:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); } }
.wp-tile:active { transform: scale(.98); }
.wp-tile.is-selected { border-color: var(--color-primary); border-width: 2px; background: var(--color-primary-50); }
.wp-ico { width: 64px; height: 64px; fill: none; stroke: var(--color-neutral-900); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 720px) { .wp-ico { width: 76px; height: 76px; } }
.wp-ico .a { stroke: var(--color-primary); }
.wp-ico g.a * { stroke: var(--color-primary); }
.wp-ico .af { fill: var(--color-primary); stroke: none; opacity: .85; }
.wp-ico .t { fill: var(--color-primary); stroke: none; font: 800 12px/1 var(--font-body); text-anchor: middle; }
.wp-tile__num { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); font-weight: var(--weight-black); letter-spacing: -0.02em; line-height: 1; color: var(--color-neutral-900); }
.wp-tile.is-selected .wp-tile__num { color: var(--color-primary-dark); }
.wp-tile__label { font-weight: var(--weight-semibold); font-size: var(--text-sm); line-height: 1.25; }
.wp-tile--big .wp-tile__label { font-weight: var(--weight-medium); color: var(--color-neutral-600); }
.wp-tile__sub { font-size: var(--text-xs); color: var(--color-neutral-500); line-height: 1.3; }
.wp-tile .wp-check { position: absolute; top: 10px; right: 10px; }
.wp-tile[aria-pressed] { padding-right: var(--space-3); }
.funnel__question { text-align: center; }
.funnel__hint { text-align: center; }
.wp-photo, .wp-form, .wp-estimate { text-align: left; }

/* Kopf wie thermondo: Zurück oben links, Schrittzähler rechts */
.wp-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; margin-bottom: var(--space-3); }
.wp-back { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; padding: 4px 6px 4px 0; font: inherit; font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--color-neutral-600); cursor: pointer; }
.wp-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .wp-back:hover { color: var(--color-neutral-900); } }
.wp-step { font-size: var(--text-xs); color: var(--color-neutral-500); font-weight: var(--weight-medium); }
.wp-ico .t--lg { font-size: 15px; }
.wp-geo__drop { width: 48px; height: 60px; fill: var(--color-primary-50); stroke: var(--color-primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Kundenstimmen */
.rv-stars { color: #FBBC04; letter-spacing: 2px; }
.rv h2 .rv-stars { display: block; font-size: .6em; margin-bottom: 6px; }
.rv-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 860px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
.rv-card { margin: 0; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); box-shadow: var(--shadow-sm); }
.rv-card blockquote { margin: 0; font-size: var(--text-base); line-height: 1.55; color: var(--color-neutral-800); flex: 1; }
.rv-card figcaption { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-neutral-600); }
.rv-more { text-align: center; margin-top: var(--space-5); font-size: var(--text-sm); }
.rv-more a { color: var(--color-primary-dark); font-weight: var(--weight-semibold); }

/* Mobile: lange CTA-Buttons umbrechen statt überstehen, Funnel-Überschrift kompakter */
@media (max-width: 480px) {
  .seo-hero__cta .btn, .hero__cta .btn { white-space: normal; max-width: 100%; text-align: center; }
  .wp-section .section-title h2 { font-size: var(--text-2xl); }
  .wp-section { padding-top: var(--space-6); }
}

.wp-form--one { grid-template-columns: 1fr !important; }
.wp-top:empty, .wp-step:empty { display: none; }
@media (hover: none) { .funnel__option:hover { border-color: var(--color-border); transform: none; } .funnel__option.is-selected:hover { border-color: var(--color-primary); } }

/* 2 Antworten: mittig statt links im 3er-Raster */
@media (min-width: 720px) { .wp-tiles--2 { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: center; } }
