/* ============================================================
   neotherm Native-Advertorials — shared stylesheet
   Look: seriöser Verbraucher-Ratgeber (Artikel, kein Lander-Kitsch)
   Brand-Grün nur für: Marker auf ehrlichen Zahlen, CTA, Masthead-Linie
   ============================================================ */

:root {
  --ink: #17211a;          /* Fließtext */
  --muted: #5a655d;        /* Nebentext, Bildunterschriften */
  --paper: #ffffff;
  --tint: #f4f8f2;         /* Kästen */
  --rule: #dde5da;         /* Haarlinien */
  --brand: #4cb833;        /* neotherm-Grün (Logo) — Akzente/Marker */
  --brand-deep: #256e17;   /* Links, kleine grüne Texte (AA auf Weiß) */
  --cta: #2b7d1b;          /* Button */
  --cta-press: #1f5f12;
  --marker: rgba(118, 214, 92, .35);
  --serif: "Charter", "Bitstream Charter", "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--serif);
  font-size: 1.155rem;             /* ~18.5px Artikel-Körper */
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
}

/* ---------- Masthead: Anzeige-Label + Logo ---------- */
.masthead {
  border-bottom: 3px solid var(--brand);
  background: var(--paper);
}
.masthead-inner {
  max-width: 720px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.masthead img { height: 26px; width: auto; display: block; }
.ad-label {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--rule); padding: 3px 8px; border-radius: 2px;
}

/* ---------- Artikel-Grundgerüst ---------- */
.article { max-width: 680px; margin: 0 auto; padding: 30px 20px 56px; }

.kicker {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(1.72rem, 5.4vw, 2.45rem);
  line-height: 1.22; letter-spacing: -.01em; font-weight: 700;
  margin-bottom: 16px;
}
.dek {
  font-size: 1.24rem; line-height: 1.5; color: var(--muted); margin-bottom: 22px;
}

/* Byline / Trust-Zeile */
.byline {
  font-family: var(--sans); font-size: .84rem; line-height: 1.55; color: var(--muted);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 10px 2px; margin-bottom: 26px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.stars { color: #e8a213; letter-spacing: .06em; white-space: nowrap; }
.byline strong { color: var(--ink); }

/* Bilder */
figure { margin: 26px -20px; }
@media (min-width: 760px) { figure { margin: 30px -20px; } }
figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
figcaption {
  font-family: var(--sans); font-size: .78rem; color: var(--muted);
  padding: 8px 20px 0; line-height: 1.5;
}

p { margin-bottom: 1.15em; }
.article a { color: var(--brand-deep); }

h2 {
  font-size: 1.38rem; line-height: 1.3; margin: 1.7em 0 .6em;
}

/* Signatur: Marker auf den ehrlichen Zahlen */
.mark {
  background: linear-gradient(to top, var(--marker) 0 42%, transparent 42%);
  font-weight: 700; white-space: nowrap; padding: 0 1px;
}

/* ---------- Signatur-Element: die ehrliche Rechnung ---------- */
.rechnung {
  background: var(--tint); border: 1px solid var(--rule); border-radius: 4px;
  padding: 20px 22px 16px; margin: 28px 0;
  font-family: var(--sans);
}
.rechnung-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 12px;
}
.rechnung table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rechnung td {
  padding: 7px 0; vertical-align: top;
  border-bottom: 1px dotted var(--rule);
  font-variant-numeric: tabular-nums;
}
.rechnung td:first-child { padding-right: 14px; }
.rechnung td:last-child { text-align: right; font-weight: 600; }
.rechnung tr.sum td {
  border-bottom: none; border-top: 3px double var(--ink);
  font-weight: 700; font-size: 1.02rem; padding-top: 10px;
}
.rechnung .fn { font-size: .76rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* Fakten-Kasten (03) */
.fakten {
  background: var(--tint); border: 1px solid var(--rule); border-radius: 4px;
  padding: 20px 22px; margin: 28px 0; font-family: var(--sans);
}
.fakten-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 12px;
}
.fakten ul { list-style: none; display: grid; gap: 9px; }
@media (min-width: 560px) { .fakten ul { grid-template-columns: 1fr 1fr; column-gap: 22px; } }
.fakten li {
  font-size: .93rem; line-height: 1.45; padding-left: 20px; position: relative;
}
.fakten li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand-deep); font-weight: 700;
}

/* Zitate / Testimonials */
blockquote {
  border-left: 3px solid var(--brand); padding: 4px 0 4px 18px; margin: 22px 0;
  font-size: 1.05rem; line-height: 1.6; color: #2c362e;
}
blockquote cite {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: .84rem; color: var(--muted); margin-top: 8px;
}
blockquote cite strong { color: var(--ink); }

/* ---------- CTA ---------- */
.cta-block {
  border: 1px solid var(--rule); border-top: 3px solid var(--brand);
  border-radius: 4px; padding: 26px 22px; margin: 34px 0 8px; text-align: center;
}
.cta-lead { font-weight: 700; font-size: 1.16rem; line-height: 1.45; margin-bottom: 16px; }
.btn {
  font-family: var(--sans); display: block; width: 100%;
  background: var(--cta); color: #fff; text-decoration: none;
  font-size: 1.06rem; font-weight: 700; line-height: 1.3;
  padding: 16px 22px; border: none; border-radius: 6px; cursor: pointer;
  transition: background .15s ease;
}
/* Anker-Buttons im Artikel: .article a (Linkfarbe grün) nicht durchschlagen lassen */
.article a.btn, .article a.btn:hover, .article a.btn:focus-visible,
.article a.nt-check-btn, .article a.nt-check-btn:hover, .article a.nt-check-btn:focus-visible {
  color: #fff;
}
.btn:hover, .btn:focus-visible { background: var(--cta-press); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
.cta-sub {
  font-family: var(--sans); font-size: .82rem; color: var(--muted);
  line-height: 1.55; margin-top: 12px;
}

/* Sticky-CTA mobil */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--rule);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .25s ease;
  box-shadow: 0 -4px 16px rgba(23,33,26,.08);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { padding: 13px 18px; font-size: .98rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Fußnoten & Footer ---------- */
.fussnote {
  font-family: var(--sans); font-size: .76rem; line-height: 1.6; color: var(--muted);
  border-top: 1px solid var(--rule); margin-top: 34px; padding-top: 14px;
}
.site-footer {
  background: var(--tint); border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: .8rem; color: var(--muted);
  padding: 22px 20px calc(72px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .site-footer { padding-bottom: 26px; } }
.site-footer .inner { max-width: 680px; margin: 0 auto; line-height: 1.7; }
.site-footer a { color: var(--brand-deep); }

/* ---------- Meta-Zeile unter dem Kicker (Datum/Autor wie große Advertorials) ---------- */
.meta-line {
  font-family: var(--sans); font-size: .8rem; color: var(--muted);
  margin: -6px 0 14px;
}
.meta-line strong { color: var(--ink); font-weight: 600; }

/* ---------- Update-Kasten (Checkfox/thermondo-Pattern) ---------- */
.update-box {
  font-family: var(--sans); font-size: .95rem; line-height: 1.6;
  background: #fffaf0; border: 1px solid #f0e2c0; border-left: 4px solid #e8a213;
  border-radius: 4px; padding: 14px 16px; margin: 0 0 24px;
}
.update-box strong { color: var(--ink); }

/* ---------- Stats-Block (große Zahlen, 2×2) ---------- */
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 6px;
  overflow: hidden; margin: 28px 0; font-family: var(--sans);
}
.stat { background: var(--paper); padding: 18px 14px; text-align: center; }
.stat .num {
  display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--brand-deep); font-variant-numeric: tabular-nums; line-height: 1.15;
}
.stat .lbl {
  display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 4px;
}
.stat .sub { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* ---------- Nummerierte Fehler-/Schritte-Liste ---------- */
.num-list { list-style: none; margin: 22px 0; display: grid; gap: 14px; counter-reset: nl; }
.num-list li {
  counter-increment: nl; position: relative; padding-left: 52px;
  font-size: 1.05rem; line-height: 1.55;
}
.num-list li::before {
  content: counter(nl); position: absolute; left: 0; top: 1px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--tint); border: 1.5px solid var(--brand);
  color: var(--brand-deep); font-family: var(--sans); font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.num-list li strong { display: block; }
.num-list li span { font-size: .95rem; color: var(--muted); font-family: var(--sans); }

/* ---------- Experten-/GF-Zitat als Karte ---------- */
.quote-card {
  background: var(--tint); border: 1px solid var(--rule); border-radius: 6px;
  padding: 20px 22px; margin: 26px 0;
}
.quote-card blockquote { border: none; padding: 0; margin: 0; font-size: 1.08rem; }
.quote-card .who {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--sans);
}
.quote-card .who img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block;
}
.quote-card .who .n { font-size: .9rem; font-weight: 700; }
.quote-card .who .r { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* ---------- Bewertungs-Wand (Trustpilot/Checkfox-Pattern) ---------- */
.reviews { display: grid; gap: 14px; margin: 24px 0; }
.review-card {
  border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px;
  font-family: var(--sans);
}
.review-card .stars { font-size: .95rem; display: block; margin-bottom: 6px; }
.review-card p { font-size: .95rem; line-height: 1.6; margin-bottom: 8px; color: #2c362e; }
.review-card cite {
  font-style: normal; font-size: .82rem; color: var(--muted);
}
.review-card cite strong { color: var(--ink); }
.reviews-src {
  font-family: var(--sans); font-size: .76rem; color: var(--muted); margin-top: -4px;
}

/* ---------- Warn-/Frist-Kasten ---------- */
.deadline-box {
  border: 1px solid var(--rule); border-left: 4px solid var(--brand);
  background: var(--tint); border-radius: 4px; padding: 16px 18px; margin: 26px 0;
  font-family: var(--sans); font-size: .95rem; line-height: 1.6;
}
.deadline-box .t {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-deep); display: block; margin-bottom: 6px;
}

/* ============================================================
   nt-check — mehrstufiger Wärmepumpen-Check (Lead-Qualifier)
   Ehrlich: sammelt Angaben & reicht sie an den Funnel weiter.
   Kein Fake-Rechner, keine erfundenen Ergebnis-Zahlen.
   ============================================================ */
.nt-check {
  border: 1px solid var(--rule); border-top: 4px solid var(--brand);
  border-radius: 10px; margin: 34px 0; background: var(--paper);
  box-shadow: 0 3px 14px rgba(23,33,26,.07); overflow: hidden;
  font-family: var(--sans);
}
.nt-check-head { padding: 20px 22px 0; text-align: center; }
.nt-check-head .t { font-size: 1.28rem; font-weight: 800; line-height: 1.3; font-family: var(--serif); }
.nt-check-head .s { font-size: .84rem; color: var(--muted); margin-top: 5px; }
.nt-check-progress { display: flex; gap: 5px; padding: 14px 22px 0; }
.nt-check-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--rule); }
.nt-check-progress span.done { background: var(--brand); }
.nt-check-body { padding: 18px 22px 24px; }
.nt-check-q { font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin-bottom: 14px; text-align: center; }
.nt-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nt-check-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 10px;
  padding: 16px 10px 13px; cursor: pointer; text-align: center;
  font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.nt-check-tile:hover, .nt-check-tile:focus-visible { border-color: var(--brand); background: var(--tint); }
.nt-check-tile:active { transform: scale(.98); }
.nt-check-tile svg { width: 38px; height: 38px; stroke: var(--brand-deep); }
.nt-check-plz { display: grid; gap: 12px; }
.nt-check-plz input {
  font-family: var(--sans); font-size: 1.35rem; font-weight: 700; letter-spacing: .12em;
  text-align: center; padding: 13px 14px; border: 1.5px solid var(--rule);
  border-radius: 8px; width: 100%; font-variant-numeric: tabular-nums;
}
.nt-check-plz input:focus { outline: 3px solid var(--marker); border-color: var(--brand); }
.nt-check-btn {
  font-family: var(--sans); width: 100%; background: var(--cta); color: #fff;
  font-size: 1.04rem; font-weight: 700; padding: 15px 18px; border: none;
  border-radius: 8px; cursor: pointer; transition: background .15s ease;
  display: block; text-align: center; text-decoration: none;
}
.nt-check-btn:hover { background: var(--cta-press); }
.nt-check-btn[disabled] { opacity: .45; cursor: default; }
.nt-check-back {
  font-family: var(--sans); background: none; border: none; color: var(--muted);
  font-size: .82rem; cursor: pointer; margin-top: 12px; text-decoration: underline;
  display: block; margin-left: auto; margin-right: auto;
}
.nt-check-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.55; }
.nt-check-result { text-align: center; }
.nt-check-result .ok {
  width: 54px; height: 54px; border-radius: 50%; background: var(--tint);
  border: 2px solid var(--brand); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 800; margin: 4px auto 12px;
}
.nt-check-result .rt { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; font-family: var(--serif); }
.nt-check-result .rs { font-size: .92rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.nt-check-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  font-size: .76rem; color: var(--muted); margin-top: 12px;
}
.nt-check-trust span::before { content: "✓ "; color: var(--brand-deep); font-weight: 700; }

/* ---------- Quiz ---------- */
.quiz-shell { max-width: 620px; margin: 0 auto; padding: 26px 20px 60px; }
.quiz-progress {
  display: flex; gap: 6px; margin: 18px 0 22px; font-family: var(--sans);
}
.quiz-progress span {
  flex: 1; height: 5px; border-radius: 3px; background: var(--rule);
}
.quiz-progress span.done { background: var(--brand); }
.quiz-card {
  border: 1px solid var(--rule); border-radius: 8px; padding: 24px 22px;
  background: var(--paper); box-shadow: 0 2px 10px rgba(23,33,26,.05);
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-q {
  font-size: 1.28rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px;
}
.quiz-hint {
  font-family: var(--sans); font-size: .86rem; color: var(--muted); margin-bottom: 18px;
}
.quiz-opt {
  font-family: var(--sans); display: block; width: 100%; text-align: left;
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 8px;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.quiz-opt:hover { border-color: var(--brand); }
.quiz-opt.correct { border-color: var(--brand-deep); background: var(--tint); }
.quiz-opt.chosen-wrong { border-color: #c25151; background: #fdf3f3; }
.quiz-opt:disabled { cursor: default; }
.quiz-feedback {
  font-family: var(--sans); font-size: .92rem; line-height: 1.55;
  background: var(--tint); border-left: 3px solid var(--brand);
  padding: 12px 14px; border-radius: 0 6px 6px 0; margin: 6px 0 16px; display: none;
}
.quiz-feedback.show { display: block; }
.quiz-next {
  font-family: var(--sans); width: 100%; background: var(--cta); color: #fff;
  font-size: 1rem; font-weight: 700; padding: 14px 18px; border: none;
  border-radius: 6px; cursor: pointer; display: none;
}
.quiz-next.show { display: block; }
.quiz-next:hover { background: var(--cta-press); }
.quiz-result-badge {
  font-family: var(--sans); display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep);
  background: var(--tint); border: 1px solid var(--rule);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
