:root {
  --ink: #18211d;
  --muted: #66706b;
  --paper: #f6f3ee;
  --surface: #ffffff;
  --soft: #ece9df;
  --line: #d8d4c9;
  --forest: #193e35;
  --steel: #31576a;
  --clay: #b35c3c;
  --gold: #c89b48;
  --danger: #9f3e34;
  --shadow: 0 22px 60px rgba(24, 33, 29, 0.14);
  --shadow-soft: 0 10px 28px rgba(24, 33, 29, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 6rem;
  line-height: 0.91;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 16px;
  font-size: 3.25rem;
  line-height: 1.04;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.2;
}
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 243, 238, 0.95);
  border-bottom: 1px solid rgba(216, 212, 201, 0.85);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--steel));
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(25, 62, 53, 0.2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(9px, 1.25vw, 14px);
  color: var(--muted);
  font-size: 0.9rem;
}
.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav a:hover,
.nav a.active { color: var(--ink); }
.nav-cta {
  min-height: 42px;
  padding: 0 14px;
  color: #fff !important;
  background: var(--forest);
  border-radius: 6px;
}
.menu-button {
  display: none;
  justify-self: end;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}
.button.primary {
  color: #fff;
  background: var(--clay);
  box-shadow: 0 12px 28px rgba(179, 92, 60, 0.24);
}
.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
}
.button.ghost {
  color: var(--forest);
  border-color: var(--line);
  background: #fff;
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hidden { display: none !important; }

.hero {
  position: relative;
  min-height: calc(92vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 11vw, 132px) clamp(20px, 6vw, 72px) clamp(44px, 6vw, 72px);
  overflow: hidden;
}
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 20, 17, 0.91) 0%, rgba(12, 20, 17, 0.76) 46%, rgba(12, 20, 17, 0.2) 100%),
    linear-gradient(180deg, rgba(12, 20, 17, 0.18), rgba(12, 20, 17, 0.48));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  min-width: 0;
  color: #fff;
}
.hero h1 span { display: inline; }
.page-hero h1 span { display: inline; }
.hero-content p { color: rgba(255, 255, 255, 0.84); }
.hero .eyebrow { color: #e9b37e; }
.hero-copy {
  max-width: 710px;
  margin-bottom: 28px;
  font-size: 1.22rem;
}
.hero-actions,
.page-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-proof {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: -46px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.proof-item {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: 0; }
.proof-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.proof-item span {
  color: var(--muted);
  font-size: 0.93rem;
}

.section,
.navigator-teaser,
.tabs-section,
.cta-band,
.result-section {
  padding: clamp(56px, 7vw, 104px) clamp(20px, 6vw, 72px);
}
.section > *,
.tabs-section > *,
.navigator-teaser > *,
.page-hero > * {
  max-width: var(--max);
}
.page-main { min-height: 70vh; }
.page-hero {
  position: relative;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 58%, rgba(246,243,238,0.72) 100%),
    url("assets/hero-hausbaukompass.png") center / cover;
  border-bottom: 1px solid var(--line);
}
.page-hero.compact { padding-bottom: clamp(38px, 5vw, 70px); }
.page-hero p {
  max-width: 760px;
  font-size: 0.95rem;
}
.page-hero h1 {
  max-width: 880px;
  font-size: 3rem;
  line-height: 1.06;
}
.page-hero.compact h1 {
  font-size: 2.65rem;
}

.tga-hero {
  min-height: 540px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(236,244,239,0.9)),
    url("assets/hero-hausbaukompass.png") center / cover;
}
.tga-hero > *,
.editorial-split > *,
.image-pair,
.media-frame,
.page-visual {
  min-width: 0;
  max-width: 100%;
}
.tga-hero .hero-panel {
  position: relative;
  z-index: 1;
}
.tga-hero .button.secondary {
  color: var(--forest);
  background: #fff;
  border-color: var(--line);
}
.page-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.page-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.page-visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(90deg, rgba(24,33,29,0.84), rgba(24,33,29,0.44));
  font-size: 0.95rem;
  font-weight: 800;
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 28px;
}
.subnav span {
  padding: 8px 12px;
  color: var(--forest);
  background: rgba(25, 62, 53, 0.08);
  border: 1px solid rgba(25, 62, 53, 0.14);
  border-radius: 6px;
  font-weight: 800;
}
.editorial-split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}
.section-copy {
  max-width: 720px;
}
.section-copy p:first-of-type:not(.eyebrow) {
  color: var(--ink);
}
.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: center;
}
.media-frame {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.media-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.topic-section {
  background: var(--surface);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detailed-topics article {
  min-height: 210px;
  padding: clamp(22px, 3vw, 30px);
  background: #fff;
}
.scenario-section {
  background: var(--paper);
}
.scenario-grid,
.outcome-list {
  display: grid;
  gap: 18px;
}
.scenario-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.scenario-grid article,
.outcome-list article {
  min-height: 160px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.scenario-grid p,
.outcome-list p {
  color: var(--muted);
}
.outcome-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(25, 62, 53, 0.08), transparent 50%),
    var(--surface);
}
.outcome-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cta-panel .button.secondary {
  color: #fff;
}
.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.band {
  background: #eef1ef;
  border-top: 1px solid #dde2de;
  border-bottom: 1px solid #dde2de;
}
.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}
.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
}
.text-stack {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.navigator-teaser {
  background: #fff;
  text-align: center;
}
.navigator-teaser-inner {
  width: min(930px, 100%);
  margin: 0 auto;
}
.navigator-teaser h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
}
.navigator-teaser p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.big-start {
  width: min(560px, 100%);
  min-height: 128px;
  margin: 30px auto 0;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(25, 62, 53, 0.98), rgba(49, 87, 106, 0.96)),
    radial-gradient(circle at 88% 14%, rgba(200, 155, 72, 0.35), transparent 32%);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.big-start span {
  color: #e9b37e;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.big-start strong {
  font-size: 2.7rem;
  line-height: 1.02;
}
.big-start small { color: rgba(255, 255, 255, 0.82); }

.card-grid {
  display: grid;
  gap: 16px;
}
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card,
.mini-card,
.panel,
.result-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.feature-card {
  min-height: 224px;
  display: grid;
  align-content: start;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-card.emphasized,
.result-card {
  border-color: rgba(179, 92, 60, 0.46);
  box-shadow: var(--shadow);
}
.card-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--clay);
  font-weight: 900;
}
.mini-card p,
.feature-card p,
.small-note { color: var(--muted); }
.section-actions { margin-top: 28px; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), #10261f);
}
.cta-band h2 { margin: 0; }
.cta-band p { color: rgba(255, 255, 255, 0.76); }

.tabs {
  max-width: var(--max);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tab {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.tab.active {
  color: #fff;
  background: var(--forest);
}
.tab-panel {
  display: none;
  max-width: var(--max);
}
.tab-panel.active { display: block; }

.navigator {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto clamp(56px, 7vw, 104px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.navigator-rail {
  padding: 28px 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(25, 62, 53, 0.98), rgba(22, 35, 31, 0.98)),
    url("assets/hero-hausbaukompass.png") center / cover;
}
.navigator-rail h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.1;
}
.navigator-rail p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}
.rail-steps {
  display: grid;
  gap: 7px;
  margin-top: 26px;
}
.rail-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}
.rail-step::before {
  content: attr(data-num);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 900;
}
.rail-step.active {
  color: #fff;
}
.rail-step.active::before {
  color: var(--forest);
  background: #e9b37e;
  border-color: #e9b37e;
}
.navigator-panel {
  padding: clamp(22px, 4vw, 40px);
}
.navigator-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.navigator-head div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 900;
}
.progress {
  height: 9px;
  overflow: hidden;
  background: #ece7dc;
  border-radius: 999px;
}
.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--clay), var(--gold));
  transition: width 0.2s ease;
}
.nav-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.nav-step.active { display: block; }
legend {
  margin-bottom: 8px;
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1.08;
}
.step-help {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--muted);
}
.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.options label {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 58px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  font-weight: 800;
  cursor: pointer;
}
.options label:hover {
  border-color: rgba(49, 87, 106, 0.55);
}
.options label:has(input:checked) {
  color: var(--forest);
  border-color: rgba(25, 62, 53, 0.72);
  background: #eef4f1;
  box-shadow: inset 4px 0 0 var(--forest);
}
.options input {
  width: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--forest);
}
.compact-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.question-sub {
  margin: 24px 0 12px;
  font-weight: 900;
  color: var(--ink);
}
.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.navigator-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.result-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  padding-top: 0;
}
.result-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94)),
    linear-gradient(135deg, rgba(200,155,72,0.18), rgba(49,87,106,0.08));
}
.result-card ol { padding-left: 22px; }
.result-card li { margin-bottom: 10px; }
.rating-box {
  display: grid;
  gap: 6px;
  margin: 18px 0 20px;
  padding: 16px;
  background: #f5efe8;
  border: 1px solid rgba(179, 92, 60, 0.28);
  border-radius: 8px;
}
.rating-box span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.rating-box strong {
  font-size: 1.2rem;
}
.rating-box p {
  margin: 0;
}
.step-error {
  margin: 0 0 16px;
  color: var(--danger);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: clamp(28px, 7vw, 90px);
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c7c2b5;
  border-radius: 6px;
  font: inherit;
}
textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 400;
  color: var(--muted);
}
.consent input {
  min-height: 18px;
  margin-top: 3px;
}
.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 900;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.steps {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 800;
}
.steps li { margin-bottom: 12px; }
.legal-page {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
}
.legal-page h1 {
  font-size: 2.9rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.legal-page h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}
.legal-page p {
  max-width: 780px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: #111813;
}
.site-footer div { display: grid; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.site-footer small { color: rgba(255, 255, 255, 0.58); }
.footer-link-button {
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-link-button:hover { color: #fff; }

.analytics-consent {
  position: fixed;
  left: clamp(14px, 4vw, 32px);
  right: clamp(14px, 4vw, 32px);
  bottom: clamp(14px, 4vw, 32px);
  z-index: 80;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.analytics-consent.visible { display: grid; }
.analytics-consent strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}
.analytics-consent p {
  margin: 0;
  font-size: 0.9rem;
}
.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.analytics-consent .button {
  min-height: 42px;
  padding: 10px 14px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .menu-button { display: inline-block; }
}
@media (max-width: 960px) {
  h1 { font-size: 4.35rem; }
  h2 { font-size: 2.65rem; }
  .page-hero h1 { font-size: 2.35rem; }
  .page-hero.compact h1 { font-size: 2.2rem; }
  .tga-hero,
  .editorial-split,
  .outcome-section {
    grid-template-columns: 1fr;
  }
  .page-visual {
    min-height: 300px;
  }
  .topic-grid,
  .scenario-grid,
  .outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-proof,
  .card-grid.three,
  .card-grid.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(1),
  .proof-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split,
  .contact-section,
  .result-section,
  .navigator {
    grid-template-columns: 1fr;
  }
  .compact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navigator-rail {
    display: none;
  }
  .site-footer { grid-template-columns: 1fr; }
  .analytics-consent {
    grid-template-columns: 1fr;
  }
  .analytics-consent-actions {
    justify-content: stretch;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: 3.05rem;
    line-height: 1;
  }
  .page-hero h1 {
    font-size: 1.68rem;
    line-height: 1.12;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .page-hero.compact h1 { font-size: 1.82rem; }
  .hero h1 span { display: block; }
  .page-hero h1 span { display: block; }
  h2 {
    font-size: 2.05rem;
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  h3 { font-size: 1.06rem; }
  .hero-copy { font-size: 1rem; }
  .big-start strong { font-size: 2rem; }
  legend { font-size: 1.55rem; }
  .hero {
    min-height: 82vh;
    padding-top: 54px;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(12,20,17,0.92), rgba(12,20,17,0.58));
  }
  .hero-actions,
  .page-actions,
  .section-actions,
  .button,
  .cta-band {
    width: 100%;
  }
  .hero-proof,
  .card-grid.three,
  .card-grid.six,
  .options,
  .compact-options,
  .inline-fields,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .image-pair {
    grid-template-columns: 1fr;
  }
  .topic-grid,
  .scenario-grid,
  .outcome-list {
    grid-template-columns: 1fr;
  }
  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof-item:last-child { border-bottom: 0; }
  .feature-card { min-height: auto; }
  .cta-band { display: grid; }
  .navigator {
    width: calc(100% - 28px);
  }
  .section > *,
  .split > *,
  .contact-section > *,
  .result-section > * {
    min-width: 0;
    width: 100%;
  }
  .legal-page h1 {
    font-size: 2rem;
  }
  .navigator-panel {
    padding: 20px;
  }
}
