/* Heizungsrechner – Startseite #heizungsrechner. Markenwerte aus home-art-motion.css. */
.hc {
  --hc-ink: #16344b;
  --hc-muted: #536574;
  --hc-paper: #f4f6f8;
  --hc-line: #d8e0e7;
  --hc-blue: #215d85;
  --hc-blue-soft: #e8f0f6;
  --hc-signal: #a61657;
  --hc-night: #102b40;
  --hc-ok: #1f7a4d;
  --hc-warn: #9a6400;
  --hc-hold: #536574;
  position: relative;
  margin: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px);
  color: var(--hc-ink);
  scroll-margin-top: 130px;
}
.hc *, .hc *::before, .hc *::after { box-sizing: border-box; }
.hc [hidden] { display: none !important; }

/* Einstieg: dunkle Bühne, mittig */
.hc-intro {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 85% 0%, #215d85 0%, #102b40 58%);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hc-intro__kicker {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b9d3e6;
}
.hc-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 800;
  color: #fff;
}
.hc-intro__lead { margin: 0 0 28px; max-width: 34em; font-size: 1.08rem; line-height: 1.6; color: #d7e4ee; }
.hc-intro__meta { margin: 16px 0 0; font-size: .9rem; color: #b9d3e6; }
.hc-intro__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hc-intro__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  font-weight: 600;
  transform: translateX(calc(var(--i, 0) * 14px));
}
.hc-intro__steps svg { width: 22px; height: 22px; flex: none; color: #b9d3e6; }
.hc-intro__steps small { display: block; font-weight: 400; font-size: .84rem; color: #b9d3e6; }

/* Buttons */
.hc-start, .hc-next, .hc-skip, .hc-back, .hc-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease;
}
.hc svg { width: 20px; height: 20px; flex: none; }
.hc-start { min-height: 58px; padding: 0 30px; font-size: 1.06rem; }
.hc-next { background: var(--hc-ink); color: #fff; }
.hc-next:hover:not(:disabled) { background: var(--hc-blue); transform: translateY(-1px); }
.hc-next:disabled { opacity: .35; cursor: not-allowed; }
.hc-start, .hc .hc-next--signal { background: var(--hc-signal); color: #fff; }
.hc-start:hover, .hc .hc-next--signal:hover:not(:disabled) { background: #8c1149; transform: translateY(-1px); }
.hc-back { background: transparent; color: var(--hc-muted); padding: 0 12px; }
.hc-back:hover { color: var(--hc-ink); }
.hc-skip { background: var(--hc-blue-soft); color: var(--hc-blue); }
.hc-skip:hover { background: #d9e7f1; }
.hc :focus-visible { outline: 3px solid #5b9bd5; outline-offset: 3px; }

/* Arbeitsfläche */
.hc-shell {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px -40px rgba(16, 43, 64, .45);
  overflow: hidden;
}
.hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 48px) 0;
}
.hc-top__title { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-blue); }
.hc-groups { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; font-size: .82rem; color: #8a99a6; }
.hc-groups li { display: flex; align-items: center; gap: 6px; }
.hc-groups li + li::before { content: "→"; color: var(--hc-line); }
.hc-groups .is-current { color: var(--hc-ink); font-weight: 700; }
.hc-groups .is-done { color: var(--hc-blue); }
.hc-bar { height: 4px; margin: 16px clamp(20px, 4vw, 48px) 0; border-radius: 4px; background: var(--hc-paper); overflow: hidden; }
.hc-bar::before { content: ""; display: block; height: 100%; width: var(--hc-progress, 0%); background: var(--hc-blue); border-radius: inherit; transition: width .45s ease; }
.hc-stage { padding: clamp(26px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(26px, 4vw, 40px); }

.hc-q { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -.015em; font-weight: 800; color: var(--hc-ink); outline: none; }
.hc-lead { margin: 0 0 4px; color: var(--hc-muted); line-height: 1.55; }
.hc-sub { margin: 30px 0 12px; font-size: 1.08rem; font-weight: 700; color: var(--hc-ink); }
.hc-eyebrow { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-blue); }
.hc-optional { font-size: .78rem; font-weight: 500; font-style: normal; color: #8a99a6; margin-left: 6px; }

/* Antwort-Karten */
.hc-choices { display: grid; gap: 10px; margin-top: 22px; }
.hc-choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hc-choices--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hc-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hc-choices--1 { grid-template-columns: 1fr; }
.hc-sub + .hc-choices { margin-top: 0; }
.hc-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--hc-paper);
  color: var(--hc-ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.hc-choice:hover { background: #e9eef2; transform: translateY(-2px); box-shadow: 0 10px 22px -16px rgba(16, 43, 64, .5); }
.hc-choice[aria-pressed="true"] { background: var(--hc-blue); color: #fff; }
.hc-choice--big { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 112px; padding: 18px; }
.hc-choice__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--hc-blue); transition: inherit; }
.hc-choice[aria-pressed="true"] .hc-choice__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.hc-choice__label { display: block; }
.hc-choice__label small { display: block; margin-top: 2px; font-weight: 400; font-size: .86rem; color: var(--hc-muted); }
.hc-choice[aria-pressed="true"] small { color: #d7e4ee; }
.hc-choice__tick { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #fff; color: transparent; }
.hc-choice__tick svg { width: 15px; height: 15px; }
.hc-choice[aria-pressed="true"] .hc-choice__tick { color: var(--hc-blue); }
.hc-choices--1 .hc-choice { min-height: 64px; padding: 16px 20px; }

.hc-reveal.is-entering { animation: hc-in .32s ease both; }
@keyframes hc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Fläche */
.hc-range { padding: 6px 0 0; }
.hc-range__value { display: block; font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--hc-ink); font-variant-numeric: tabular-nums; }
.hc-range__value span { font-size: .45em; font-weight: 700; color: var(--hc-muted); letter-spacing: 0; }
.hc-range input[type="range"] {
  --hc-fill: 36%;
  width: 100%;
  margin: 18px 0 6px;
  height: 8px;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--hc-blue) var(--hc-fill), var(--hc-line) var(--hc-fill));
  cursor: pointer;
}
.hc-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(16, 43, 64, .35), inset 0 0 0 8px var(--hc-blue); }
.hc-range input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(16, 43, 64, .35), inset 0 0 0 8px var(--hc-blue); }
.hc-range__scale { display: flex; justify-content: space-between; font-size: .84rem; color: #8a99a6; }

/* Aufklapper */
.hc-details { margin-top: 26px; border-radius: 14px; background: var(--hc-paper); padding: 0 18px; }
.hc-details summary { display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 700; cursor: pointer; list-style: none; color: var(--hc-blue); }
.hc-details summary::-webkit-details-marker { display: none; }
.hc-details summary svg { transition: transform .2s ease; }
.hc-details[open] summary svg { transform: rotate(180deg); }
.hc-details[open] { padding-bottom: 18px; }
.hc-details .hc-sub { margin-top: 10px; }
.hc-details .hc-choice { background: #fff; }
.hc-details .hc-choice[aria-pressed="true"] { background: var(--hc-blue); }

/* Felder */
.hc-field { display: grid; gap: 8px; margin-top: 18px; font-weight: 600; }
.hc-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--hc-line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: var(--hc-ink);
}
.hc-field input:focus { outline: none; border-color: var(--hc-blue); box-shadow: 0 0 0 4px rgba(33, 93, 133, .14); }
.hc-field--big { margin-top: 28px; }
.hc-field--big input { min-height: 68px; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hc-unit { position: relative; display: block; }
.hc-unit input { padding-right: 140px; }
.hc-unit em { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 600; color: var(--hc-muted); }
.hc-field--plz input { max-width: 220px; letter-spacing: .12em; }
.hc-place { display: flex; align-items: center; gap: 8px; min-height: 30px; margin: 12px 0 0; color: var(--hc-muted); }
.hc-place strong { font-size: 1.15rem; color: var(--hc-ink); }
.hc-place svg { color: var(--hc-blue); }
.hc-place strong + svg { color: var(--hc-ok); }
.hc-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fbeef3; color: #7d1142; line-height: 1.5; }
.hc-error a { color: inherit; font-weight: 700; }
.hc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hc-form { max-width: 560px; }
.hc-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .9rem; line-height: 1.5; color: var(--hc-muted); }
.hc-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--hc-blue); }
.hc-consent a { color: var(--hc-blue); }
.hc-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: .88rem; line-height: 1.5; color: var(--hc-muted); }
.hc-note svg { color: var(--hc-blue); width: 18px; height: 18px; margin-top: 1px; }

/* Navigation */
.hc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; }
.hc-nav__pair { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Analyse */
.hc-analyse { padding: 20px 0 10px; }
.hc-analyse__title { margin: 0 0 22px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; outline: none; }
.hc-analyse ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hc-analyse li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #a3b0bb; transition: color .3s ease; }
.hc-analyse li svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--hc-paper); color: transparent; transition: background-color .3s ease, color .3s ease; }
.hc-analyse li.is-done { color: var(--hc-ink); }
.hc-analyse li.is-done svg { background: var(--hc-blue); color: #fff; }

/* Erste Einschätzung */
.hc-teaser__facts { margin: 10px 0 0; color: var(--hc-muted); line-height: 1.6; }
.hc-teaser__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.hc-stat { border-radius: 16px; background: var(--hc-night); color: #fff; padding: 22px; }
.hc-stat span { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #b9d3e6; margin-bottom: 10px; }
.hc-stat strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.hc-stat .hc-fit { font-size: 1.15rem; letter-spacing: 0; line-height: 1.35; color: #fff; }
.hc-teaser__hint { display: flex; gap: 10px; align-items: center; margin: 22px 0 0; font-weight: 600; }
.hc-teaser__hint svg { color: var(--hc-blue); }

.hc-fit { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.hc-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--hc-hold); }
.hc-fit--gut .hc-dot { background: #3ccf86; }
.hc-fit--mittel .hc-dot { background: #f2b33d; }
.hc-fit--pruefen .hc-dot { background: #a3b0bb; }

/* Volles Ergebnis */
.hc-shell[data-step="ergebnis"] { max-width: 1120px; background: var(--hc-night); color: #fff; }
.hc-shell[data-step="ergebnis"] .hc-top__title, .hc-shell[data-step="ergebnis"] .hc-eyebrow { color: #b9d3e6; }
.hc-shell[data-step="ergebnis"] .hc-groups { color: #7f98ab; }
.hc-shell[data-step="ergebnis"] .hc-groups .is-current { color: #fff; }
.hc-shell[data-step="ergebnis"] .hc-groups .is-done { color: #b9d3e6; }
.hc-shell[data-step="ergebnis"] .hc-groups li + li::before { color: #3f5a70; }
.hc-shell[data-step="ergebnis"] .hc-bar { background: rgba(255, 255, 255, .1); }
.hc-shell[data-step="ergebnis"] .hc-bar::before { background: #b9d3e6; }
.hc-shell[data-step="ergebnis"] .hc-q { color: #fff; }
.hc-result { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); margin-top: 28px; }
.hc-result__config { margin: 0; display: grid; gap: 22px; align-content: start; }
.hc-result__config dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #7f98ab; margin-bottom: 6px; }
.hc-result__config dd { margin: 0; line-height: 1.55; color: #e3ecf3; }
.hc-result__main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-reco { border-radius: 18px; background: rgba(255, 255, 255, .06); padding: 22px; }
.hc-reco h4 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 800; color: #fff; }
.hc-reco p { margin: 0 0 10px; color: #c9d8e4; line-height: 1.55; }
.hc-reco p:last-child { margin-bottom: 0; }
.hc-reco__label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #7f98ab !important; }
.hc-reco--primary { grid-row: span 3; display: flex; flex-direction: column; background: #fff; color: var(--hc-ink); }
.hc-reco--primary .hc-reco__kw { margin-top: auto !important; padding-top: 24px; }
.hc-reco--primary h4 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--hc-ink); }
.hc-reco--primary p { color: var(--hc-muted); }
.hc-reco--primary .hc-reco__label { color: var(--hc-blue) !important; }
.hc-reco--primary .hc-fit { color: var(--hc-ink); }
.hc-reco__kw span { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.hc-reco__kw strong { display: block; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--hc-ink); }
.hc-small { font-size: .86rem; }
.hc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; text-decoration: none; }
.hc-link:hover { text-decoration: underline; }
.hc-link svg { width: 16px; height: 16px; }

.hc-callback { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hc-callback h4 { margin: 0 0 10px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; font-weight: 800; color: #fff; }
.hc-callback p { color: #c9d8e4; line-height: 1.55; margin: 0; }
.hc-callback .hc-sub { margin: 0 0 12px; color: #fff; font-size: 1rem; }
.hc-callback .hc-choices { margin-top: 0; }
.hc-callback .hc-choice { background: rgba(255, 255, 255, .08); color: #fff; justify-content: center; }
.hc-callback .hc-choice:hover { background: rgba(255, 255, 255, .14); }
.hc-callback .hc-choice[aria-pressed="true"] { background: #fff; color: var(--hc-ink); }
.hc-callback .hc-field { color: #fff; }
.hc-callback__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hc-call { background: rgba(255, 255, 255, .1); color: #fff; padding: 8px 20px; text-align: left; }
.hc-call:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.hc-call small { display: block; font-weight: 500; font-size: .85rem; color: #b9d3e6; }
.hc-callback__done { grid-column: 1 / -1; display: flex; gap: 16px; align-items: flex-start; }
.hc-callback__done svg { width: 34px; height: 34px; color: #3ccf86; }
.hc-callback .hc-error { background: rgba(251, 238, 243, .95); }

/* ohne JavaScript */
.hc-fallback { margin: 20px 0 0; color: #d7e4ee; }
.hc-fallback a { color: #fff; font-weight: 700; }
.hc--ready .hc-fallback { display: none; }

@media (max-width: 991.98px) {
  .hc-intro { grid-template-columns: 1fr; }
  .hc-intro__steps { display: none; }
  .hc-result { grid-template-columns: 1fr; }
  .hc-result__config { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-callback { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .hc { margin-left: -4px; margin-right: -4px; }
  .hc-intro, .hc-shell { border-radius: 18px; }
  .hc-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hc-choices--4, .hc-choices--5, .hc-choices--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-callback .hc-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-choice--big { min-height: 96px; padding: 14px; }
  .hc-choice__icon { width: 36px; height: 36px; }
  .hc-teaser__grid, .hc-result__main, .hc-result__config { grid-template-columns: 1fr; }
  .hc-reco--primary { grid-row: auto; }
  .hc-nav--split { flex-wrap: wrap; }
  .hc-nav__pair { width: 100%; flex-direction: column-reverse; }
  .hc-nav__pair > * { width: 100%; }
  .hc-nav { flex-wrap: wrap-reverse; }
  .hc-nav .hc-next { flex: 1 1 100%; }
  .hc-nav .hc-back { padding-left: 0; }
  .hc-callback .hc-choice { padding: 12px 8px; font-size: .92rem; }
  .hc-unit input { padding-right: 120px; font-size: 1.35rem; }
  .hc-start { width: 100%; }
  .hc-callback__actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hc *, .hc *::before { transition: none !important; animation: none !important; }
}
