/* ============================================================
   mehrfamilienhaus-bewerten.de — Design System
   Hell, freundlich, vertrauenswürdig
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  --bg: #F7F4ED;
  --bg-warm: #EFEADD;
  --surface: #FFFFFF;
  --surface-soft: #FBF9F2;
  --ink: #1A2422;
  --ink-soft: #3D4945;
  --muted: #6B7570;
  --line: #E8E1D2;
  --line-soft: #F0EAD8;
  --primary: #2C5F5F;
  --primary-dark: #1E4646;
  --primary-soft: #E8F0EF;
  --accent: #D4A537;
  --accent-dark: #B88B26;
  --accent-soft: #FBF1D9;
  --success: #4F7A4A;
  --danger: #B14F3D;

  /* Type */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1480px;
  --container-wide: 1680px;
  --container-narrow: 920px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(26, 36, 34, 0.04), 0 1px 3px rgba(26, 36, 34, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 36, 34, 0.06), 0 2px 4px rgba(26, 36, 34, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(26, 36, 34, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }

/* === Container === */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: var(--container-wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* === Type === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.55rem); margin-bottom: .8rem; }
h4 { font-size: 1.15rem; margin-bottom: .6rem; }
p { margin-bottom: 1rem; color: var(--ink-soft); }
p.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  max-width: var(--container-wide);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-top: 14px; padding-bottom: 14px;
}
.site-header .logo { flex-shrink: 0; }
.site-header .logo img { height: 40px; width: auto; display: block; }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; }
.nav-list > a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav-list > a:hover { color: var(--primary); }
.nav-list .btn-primary { color: #fff; margin-left: 0.4rem; padding: 11px 20px; font-size: 0.9rem; white-space: nowrap; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 6px;
  cursor: pointer; font-size: 24px; color: var(--ink);
}

@media (max-width: 1080px) {
  .nav-list { gap: 1.2rem; }
  .nav-list > a { font-size: 0.92rem; }
}

@media (max-width: 980px) {
  .site-header .wrap { max-width: 100%; }
  .nav-list { display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--surface); flex-direction: column; padding: 1rem var(--gutter);
    box-shadow: var(--shadow-md); gap: 0; border-top: 1px solid var(--line);
    align-items: stretch;
  }
  .nav-list.open { display: flex; }
  .nav-list > a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-list .btn-primary { margin: 1rem 0 0.4rem; text-align: center; justify-content: center; padding: 14px 20px; font-size: 0.95rem; }
  .menu-toggle { display: block; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  cursor: pointer; transition: all .25s ease;
  text-decoration: none; border: 0;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--accent); color: var(--ink);
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 1rem; }

/* === Hero === */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 55, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; position: relative; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hero h1 strong { color: var(--primary); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--accent-dark); font-weight: 500; }
.hero .lead { margin: 1.5rem 0 2rem; max-width: 540px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card h3 { margin-bottom: .4rem; }
.hero-card .small { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* === Wert-Funnel === */
.funnel { display: grid; gap: 1rem; }
.funnel label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.funnel input, .funnel select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--surface-soft);
  color: var(--ink);
  transition: border-color .2s ease;
}
.funnel input:focus, .funnel select:focus {
  outline: none; border-color: var(--primary);
  background: #fff;
}
.funnel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.funnel-step { display: none; animation: slidein .35s ease; }
.funnel-step.active { display: grid; gap: 1rem; }
@keyframes slidein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.step-indicator { display: flex; gap: 6px; margin-bottom: 1.2rem; }
.step-indicator span { flex: 1; height: 4px; background: var(--line); border-radius: 2px; }
.step-indicator span.active { background: var(--primary); }

.trust-row { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust-row > div { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.trust-row svg { width: 18px; height: 18px; color: var(--success); }

/* === Sections === */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.alt { background: var(--surface); }
section.tinted { background: var(--bg-warm); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head p.lead { color: var(--muted); margin-top: 1rem; }

/* === Feature Grid === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.feature {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
  font-size: 22px;
}
.feature h3 { font-size: 1.2rem; }
.feature p { font-size: 0.96rem; }

/* === Step Cards === */
.steps { counter-reset: step; }
.step {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: -16px; left: 2rem;
  font-family: var(--font-serif); font-weight: 700;
  background: var(--accent); color: var(--ink);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.95rem;
}
.step h3 { margin-top: .5rem; }

/* === Tables === */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th { background: var(--surface-soft); font-weight: 600; color: var(--ink); font-size: 0.92rem; }
td { color: var(--ink-soft); font-size: 0.95rem; }
tr:last-child td { border-bottom: 0; }

/* === FAQ === */
.faq { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--ink); padding: .4rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 1rem; }

/* === CTA-Band === */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -50px; right: -50px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212, 165, 55, .3) 0%, transparent 60%);
}
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 1rem auto 2rem; }
.cta-band .btn-accent { position: relative; }

/* === Dual-Pillar Schnellanstiege === */
.dual-pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 1rem;
}
@media (max-width: 880px) { .dual-pillar { grid-template-columns: 1fr; gap: 1.2rem; } }

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pillar-bewerten { border-top: 4px solid var(--primary); }
.pillar-verkaufen { border-top: 4px solid var(--accent); }

.pillar-head { margin-bottom: 1.4rem; }
.pillar-tag {
  display: inline-block;
  background: var(--primary-soft); color: var(--primary);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pillar-tag.accent { background: var(--accent-soft); color: var(--accent-dark); }
.pillar-card h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.pillar-card > .pillar-head > p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; }

.pillar-links {
  list-style: none; padding: 0; margin: 0;
  flex: 1;
  border-top: 1px solid var(--line-soft);
}
.pillar-links li { border-bottom: 1px solid var(--line-soft); }
.pillar-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color .2s ease, padding .2s ease;
}
.pillar-links a span { line-height: 1.3; }
.pillar-links a em {
  font-style: normal; color: var(--muted); font-size: 1.1rem;
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0; margin-left: 1rem;
}
.pillar-links a:hover { color: var(--primary); padding-left: 4px; }
.pillar-verkaufen .pillar-links a:hover { color: var(--accent-dark); }
.pillar-links a:hover em { transform: translateX(4px); color: inherit; }

/* === Stadt-Cards === */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.city-card {
  background: var(--surface); padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  transition: all .2s ease;
}
.city-card:hover { border-color: var(--primary); transform: translateX(2px); box-shadow: var(--shadow-sm); }
.city-card .name { font-weight: 600; color: var(--ink); font-family: var(--font-serif); font-size: 1.05rem; }
.city-card .arrow { color: var(--primary); }

/* === Glossar / Ratgeber Cards === */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card .thumb { aspect-ratio: 16/9; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 2rem; color: var(--primary); }
.article-card .body { padding: 1.5rem; }
.article-card .tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-dark); margin-bottom: .5rem; }
.article-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.article-card p { font-size: 0.93rem; color: var(--muted); }

/* === Article body (Ratgeber, Pillar, Stadt) === */
.article-hero { padding: 4rem 0 2rem; background: var(--bg-warm); }
.article-hero .meta { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-hero .meta a { color: var(--muted); text-decoration: underline; }
.article-body { padding: 3rem 0 4rem; }
.article-body .wrap-narrow > * + * { margin-top: 1.2rem; }
.article-body h2 { margin-top: 2.5rem; font-size: 1.7rem; }
.article-body h3 { margin-top: 2rem; font-size: 1.3rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; color: var(--ink-soft); }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--accent); padding: .8rem 1.4rem;
  background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--ink);
}
.callout {
  background: var(--primary-soft); border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout strong { color: var(--primary); }

.toc {
  background: var(--surface); border: 1px solid var(--line);
  padding: 1.5rem 1.8rem; border-radius: var(--radius-sm);
  margin: 2rem 0;
}
.toc strong { display: block; font-family: var(--font-serif); margin-bottom: .8rem; }
.toc ol { padding-left: 1.4rem; }
.toc li { font-size: 0.95rem; margin-bottom: .4rem; }

/* === Author Box === */
.author-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 640px) {
  .author-box { grid-template-columns: 1fr; }
  .author-box .avatar { margin: 0 auto; }
}
.author-box .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 2rem;
  overflow: hidden;
  flex-shrink: 0;
}
.author-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box .meta {
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem;
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: .5rem;
  text-transform: uppercase; letter-spacing: 1.3px; font-weight: 600;
}
.author-box .name {
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); margin-bottom: .3rem;
}
.author-box .role {
  font-size: 0.95rem; color: var(--primary); font-weight: 500;
  margin-bottom: .8rem;
}
.author-box .bio {
  font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: .8rem;
}
.author-box .author-links { font-size: 0.86rem; color: var(--muted); }
.author-box .author-links a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; margin-right: 1.2rem; }

/* === Related / interne Verlinkung === */
.related { background: var(--surface-soft); padding: 2rem; border-radius: var(--radius); margin-top: 3rem; }
.related h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.related ul { list-style: none; padding: 0; }
.related li { padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.related li:last-child { border-bottom: 0; }
.related a { color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.related a::after { content: "→"; color: var(--primary); transition: transform .2s; }
.related a:hover::after { transform: translateX(3px); }

/* === Breadcrumb === */
.crumb { font-size: 0.85rem; color: var(--muted); padding: 1.2rem 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }
.crumb span { margin: 0 .5rem; opacity: .5; }

/* === Footer === */
.site-footer {
  background: #1A2422; color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,0.72); display: block; padding: .38rem 0; font-size: 0.94rem; transition: color .2s ease; }
.site-footer a:hover { color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3.5rem; margin-bottom: 3rem; align-items: start; }
@media (max-width: 980px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 2.5rem; } .footer-brand { grid-column: 1 / -1; max-width: 480px; } }
@media (max-width: 580px) { .footer-cols { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.2rem; display: block; }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.95rem; line-height: 1.55; max-width: 380px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { display: inline-block; padding: 0; }

/* === Hero-Bild === */
.hero-img-wrap { position: relative; }
.hero-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-img-fallback {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-serif); font-size: 1.4rem; padding: 2rem;
  text-align: center;
}

/* === Result-Box (Hero Funnel-Ergebnis) === */
.result-box {
  background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.result-box .price { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--primary); margin: .4rem 0; }
.result-box .range { font-size: 0.92rem; color: var(--muted); }

/* === Stat cards === */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); padding: 1.5rem; border-radius: var(--radius-sm); border: 1px solid var(--line); text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat .label { font-size: 0.85rem; color: var(--muted); margin-top: .3rem; }
