/* Weitzel Lead-Funnel – angelehnt an RR, Farben der bestehenden Seite */
:root {
  --ew-navy: #194c7c;
  --ew-navy-d: #123a5f;
  --ew-ink: #1e2a35;
  --ew-orange: #e7741d;
  --ew-orange-2: #f4934a;
  --ew-line: #d7e0e8;
  --ew-muted: #5a656c;
  --ew-paper: #f5f7f9;
}
html { scroll-behavior: smooth; }
#rechner { scroll-margin-top: 5.5rem; }
.ew-hero-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: start;
}
.gbp-hero .ew-hero-copy { text-align: left; }
.gbp-hero .ew-hero-copy .gbp-hero__subtext { margin-left: 0; margin-right: 0; }
.gbp-hero .ew-hero-copy .gbp-hero__actions { justify-content: flex-start; }
.ew-lead-card {
  --funnel: #e7741d;
  --funnel-soft: #fde8d8;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(231,116,29,.14), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(25,76,124,.12), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fffaf4 100%);
  border-radius: 28px;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: 0 18px 50px rgba(18,58,95,.22);
  border: 2px solid #f3d7b8;
  text-align: left;
  color: var(--ew-ink);
  transition: border-color .25s, box-shadow .25s;
}
.ew-lead-card[data-step="1"] { --funnel: #e7741d; --funnel-soft: #fde8d8; }
.ew-lead-card[data-step="2"] { --funnel: #194c7c; --funnel-soft: #dce8f4; }
.ew-lead-card[data-step="3"] { --funnel: #c45c1a; --funnel-soft: #fde4d4; }
.ew-lead-card[data-step="4"] { --funnel: #2f7d4a; --funnel-soft: #e5f4dc; }
.ew-lead-card[data-step="5"] { --funnel: #6b4ea8; --funnel-soft: #ece4f8; }
.ew-lead-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .55rem;
  font-weight: 800;
}
.ew-step-kicker {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--funnel);
  margin-bottom: .1rem;
}
.ew-step-label { color: var(--ew-ink); font-size: .95rem; }
.ew-step-label b { color: var(--funnel); }
.ew-step-time {
  background: var(--funnel-soft);
  color: var(--ew-ink);
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .82rem;
  white-space: nowrap;
  font-weight: 800;
}
.ew-step-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .28rem;
  margin: 0 0 .85rem;
}
.ew-step-track i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #e6eef2;
  transition: background .25s, transform .25s;
}
.ew-step-track i.is-on,
.ew-step-track i.is-now { background: var(--funnel); }
.ew-step-track i.is-now { transform: scaleY(1.45); }
.ew-lead-card h2 {
  margin: 0 0 .25rem;
  font-size: 1.32rem;
  color: var(--ew-ink);
  line-height: 1.2;
}
.ew-lead-card .ew-sub {
  margin: 0 0 .85rem;
  color: var(--ew-muted);
  font-size: .95rem;
}
.ew-funnel-step[hidden] { display: none !important; }
.ew-funnel-step { animation: ewFunnelIn .28s ease; }
@keyframes ewFunnelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ew-funnel-step { animation: none; }
  .ew-pic, .ew-choice { transition: none; }
}
.ew-pic-grid { display: grid; gap: .55rem; }
@media (min-width: 520px) {
  .ew-pic-grid.three { grid-template-columns: repeat(3, 1fr); }
}
.ew-pic {
  position: relative;
  border: 2px solid var(--ew-line);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: var(--ew-ink);
  font: inherit;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.ew-pic:hover { transform: translateY(-3px); }
.ew-pic img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.ew-advisor {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #fff;
  border-radius: 999px;
  padding: .4rem 1rem .4rem .4rem;
  max-width: 22rem;
  margin-top: 1.25rem;
  color: #1e2a35;
  text-align: left;
  box-shadow: 0 10px 28px rgba(18,58,95,.18);
}
.ew-advisor img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 999px;
  flex: 0 0 52px;
}
.ew-advisor strong { display: block; font-size: .95rem; }
.ew-advisor span { color: #5a656c; font-size: .86rem; }
.ew-advisor a { color: #194c7c; }
.ew-pic.tone-orange { --art: linear-gradient(160deg, #fde8d8, #f7c9a0); --chip: #e7741d; }
.ew-pic.tone-navy { --art: linear-gradient(160deg, #dce8f4, #9eb8d4); --chip: #194c7c; }
.ew-pic.tone-green { --art: linear-gradient(160deg, #e5f4dc, #b5d8a4); --chip: #2f7d4a; }
.ew-pic > span:last-child {
  display: block;
  padding: .7rem .55rem .8rem;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.25;
}
.ew-pic-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  background: #fff;
  border-radius: 999px;
  padding: .18rem .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  color: var(--chip, var(--funnel));
}
.ew-pic.is-on {
  border-color: var(--chip, var(--funnel));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip, var(--funnel)) 28%, transparent);
  background: var(--funnel-soft);
}
.ew-choice-grid { display: grid; gap: .5rem; }
.ew-choice-grid.two { grid-template-columns: 1fr 1fr; }
.ew-choice {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  text-align: left;
  border-radius: 16px;
  min-height: 58px;
  padding: .7rem .8rem;
  background: #fff;
  border: 2px solid var(--ew-line);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  color: var(--ew-ink);
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.ew-choice:hover { transform: translateY(-2px); border-color: var(--funnel); }
.ew-choice.is-on {
  border-color: var(--funnel);
  background: var(--funnel-soft);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--funnel) 18%, transparent);
}
.ew-choice-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .92rem;
  background: #eef3f6;
  color: var(--ew-navy);
}
.ew-choice-copy { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }
.ew-choice-copy b { font-size: .95rem; line-height: 1.2; }
.ew-choice-copy small { color: var(--ew-muted); font-weight: 650; font-size: .78rem; }
.ew-choice.tone-green .ew-choice-mark { background: #e5f4dc; color: #2f7d4a; }
.ew-choice.tone-navy .ew-choice-mark { background: #dce8f4; color: #194c7c; }
.ew-choice.tone-gold .ew-choice-mark { background: #fde8d8; color: #c45c1a; }
.ew-choice.tone-coral .ew-choice-mark { background: #fde4d4; color: #c45c1a; }
.ew-choice.tone-lilac .ew-choice-mark { background: #ece4f8; color: #5b3d9c; }
.ew-choice.is-on .ew-choice-mark { transform: scale(1.06); }
.ew-field { margin-bottom: .6rem; }
.ew-field label { display: block; font-weight: 800; margin-bottom: .2rem; }
.ew-field input {
  width: 100%;
  border: 1.5px solid var(--ew-line);
  border-radius: 12px;
  padding: .85rem .9rem;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ew-ink);
}
.ew-field input:focus {
  outline: 0;
  border-color: var(--funnel);
  box-shadow: 0 0 0 3px var(--funnel-soft);
}
.ew-hp { position: absolute; left: -9999px; }
.ew-check {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--ew-muted);
  margin: .55rem 0 .8rem;
}
.ew-check a { color: var(--ew-navy); }
.ew-form-nav { display: flex; gap: .5rem; margin-top: .85rem; }
.ew-form-nav .ew-btn { flex: 1; }
.ew-form-msg { min-height: 1.15em; font-weight: 800; margin: .4rem 0 0; }
.ew-form-msg.err { color: #b91c1c; }
.ew-lead-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  margin-top: .9rem;
  padding-top: .75rem;
  border-top: 1px dashed #e4d0b4;
  color: var(--ew-muted);
  font-size: .82rem;
  font-weight: 750;
}
.ew-lead-foot span {
  background: #fff;
  border: 1px solid var(--ew-line);
  border-radius: 999px;
  padding: .18rem .55rem;
}
.ew-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.ew-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--ew-orange-2), var(--ew-orange));
  box-shadow: 0 4px 14px rgba(231,116,29,.35);
}
.ew-btn-primary:hover { filter: brightness(1.04); }
.ew-btn-back { background: #eeeae2; color: var(--ew-ink); }
.ew-btn-wide { width: 100%; margin-top: .9rem; }
.ew-btn:disabled { opacity: .65; cursor: wait; }
.ew-kontakt-funnel {
  max-width: 640px;
  margin: 1.5rem 0 0;
}
.ew-sticky-cta {
  display: none;
  position: fixed;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  z-index: 50;
  padding: .4rem;
  padding-bottom: max(.4rem, env(safe-area-inset-bottom));
  background: #fff;
  border: 1px solid var(--ew-line);
  border-radius: 16px;
  gap: .4rem;
  box-shadow: 0 10px 30px rgba(18,58,95,.18);
}
.ew-sticky-cta.is-hidden { display: none !important; }
.ew-sticky-cta .ew-btn { flex: 1; min-height: 48px; }
.ew-btn-navy { color: #fff; background: var(--ew-navy); }
.ew-thanks {
  max-width: 36rem;
  margin: 4rem auto;
  padding: 2rem 1.4rem;
  text-align: center;
}
.ew-thanks h1 { color: var(--ew-navy); }
.ew-thanks a { color: var(--ew-orange); }

@media (max-width: 900px) {
  .ew-hero-split { grid-template-columns: 1fr; }
  .ew-hero-split .ew-lead-card { order: -1; }
  .gbp-hero .ew-hero-copy { text-align: center; }
  .gbp-hero .ew-hero-copy .gbp-hero__subtext { margin-left: auto; margin-right: auto; }
  .gbp-hero .ew-hero-copy .gbp-hero__actions { justify-content: center; }
  .ew-advisor { margin-left: auto; margin-right: auto; }
  .ew-sticky-cta { display: flex; }
  .site-footer { padding-bottom: calc(6.2rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .ew-lead-card { padding: .95rem .85rem .85rem; border-radius: 22px; }
  .ew-lead-card h2 { font-size: 1.18rem; }
  .ew-pic img { height: 84px; }
  .ew-choice { min-height: 52px; }
  .ew-form-nav [data-next] { display: none; }
  .ew-choice-mark { flex-basis: 36px; width: 36px; height: 36px; font-size: .82rem; }
}
@media (max-width: 640px) and (max-height: 740px) {
  .ew-pic img { height: 72px; }
  .ew-lead-card h2 { font-size: 1.08rem; }
}
.ew-desk-only { display: block; }
@media (max-width: 640px) {
  .ew-desk-only { display: none; }
}
