/* Launch banner */
.launch-banner {
  background: #142013;
  color: #fff;
  text-align: center;
  padding: 0.65rem 3rem;
  font-size: 0.875rem;
  line-height: 1.5;
  position: sticky;
  top: 0;
  z-index: 1000;
  letter-spacing: 0.01em;
  transition: padding 0.25s ease, font-size 0.25s ease;
}

.launch-banner.is-compact {
  padding: 0.35rem 3rem;
  font-size: 0.8rem;
}

.launch-banner strong {
  font-weight: 700;
}

/* Side banners */
.side-banners {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.side-banner {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
}

#banner-left  { left: 0; }
#banner-right { right: 0; }

@media (max-width: 1260px) {
  .side-banners { display: none; }
}

:root {
  --bg: #e8f2e8;
  --text: #142013;
  --surface: #ffffff;
  --primary: #1b6a42;
  --primary-strong: #0f4a2d;
  --muted: #4a5a4b;
  --border: #d6dfd3;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #f2faf2 0%, var(--bg) 60%);
  line-height: 1.5;
}

.hero {
  padding: 1.25rem 1.25rem 2.5rem;
  max-width: 100%;
  margin: 0;
  background-image: linear-gradient(to bottom, rgba(240,246,240,0.92) 0%, rgba(240,246,240,0.80) 100%), url('./hero-image.jpg');
  background-size: cover;
  background-position: center;
}

.hero .nav,
.hero .hero-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1 {
  max-width: none;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cta-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  background: #e6f4ed;
  border: 1px solid #b8d7c2;
  border-radius: 2rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  color: var(--primary-strong);
  font-weight: 600;
}

.hero-actions .trust-badge {
  margin-top: 0;
}

.trust-badge-icon {
  font-style: normal;
  font-size: 0.9rem;
}

.cta {
  display: inline-block;
  margin-top: 1.1rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.cta:hover {
  background: var(--primary-strong);
}

.cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 5rem;
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.report-preview,
.contact {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.report-preview h2,
.contact h2 {
  margin-top: 0;
}

.report-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.report-preview-header h2 {
  margin: 0;
}

.report-preview-cta {
  margin: 0 !important;
  flex-shrink: 0;
}

.report-preview-cta:first-of-type {
  margin-left: auto !important;
  margin-right: 0.75rem !important;
}

.report-preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.report-preview-title {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.report-preview-title h2 {
  margin: 0;
}

.rp-figure {
  width: 52px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.85;
  margin-bottom: -2px;
}

/* ── Report value list ─────────────────────────────────── */
.report-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.report-value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.report-value-item:first-child {
  padding-top: 0;
}

.report-value-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rvi-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #e8f2e8;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 1px;
}

.rvi-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rvi-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.rvi-text span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}


.report-iframe-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  min-height: 80px;
}

.report-iframe-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
  border-radius: 0 0 10px 10px;
}

.report-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 840px;
  height: 1100px;
  transform-origin: top left;
  pointer-events: none;
  border: none;
}

.report-iframe-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

@media (max-width: 540px) {
  .report-preview-layout {
    grid-template-columns: 1fr;
  }
  .report-iframe-wrap {
    display: none;
  }
}

.customer-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.customer-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}


.help-intro {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.info-hint,
.info-hint-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.info-hint {
  cursor: help;
  position: relative;
  border: 1px solid transparent;
}

.info-hint:hover::after,
.info-hint:focus-visible::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 5;
  width: min(18rem, 85vw);
  background: #0f1a14;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.info-hint:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 2px;
}


.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.customer-form input,
.customer-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.65rem;
  font: inherit;
  font-weight: 400;
}

.submission-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  font-weight: 600;
}

.submission-feedback.success {
  background: #e9f7ef;
  color: #0f4a2d;
  border-color: #b8d7c2;
}

.submission-feedback.error {
  background: #fff1f0;
  color: #8a241d;
  border-color: #efc0bb;
}

/* How it works */
.how-it-works {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.how-it-works h2 {
  margin-top: 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-body {
  display: grid;
  gap: 0.2rem;
}

.step-body strong {
  font-size: 0.95rem;
}

.step-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.step-time {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* Section CTA */
.section-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.section-link-cta {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.section-link-cta:hover {
  text-decoration: underline;
}

/* Social proof */
.social-proof {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.social-proof h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.social-proof-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* Calculator */
.calculator {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.calculator h2 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.calc-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: #e6f4ed;
  color: var(--primary-strong);
  border: 1px solid #b8d7c2;
  border-radius: 2rem;
  padding: 0.2rem 0.6rem;
  vertical-align: middle;
}

.calc-intro {
  margin: 0 0 1rem;
  color: var(--muted);
}

.calc-inputs {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .calc-inputs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.calc-label select {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.6rem;
  font: inherit;
  font-weight: 400;
  background: var(--bg);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: #f0f8f3;
  border: 1px solid #b8d7c2;
  border-radius: 0.65rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.calc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.calc-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-strong);
  line-height: 1;
}

.calc-stat-range {
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: 1px;
}

.calc-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.calc-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

.calc-nudge {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.calc-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.calc-cta--ready {
  animation: cta-pulse 1.8s ease-in-out 1;
}

@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26, 90, 40, 0.45); }
  50%  { box-shadow: 0 0 0 10px rgba(26, 90, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 90, 40, 0); }
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  color: var(--muted);
}

/* ── System selector ─────────────────────────────────────────── */
.calc-system-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.sys-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 480px) {
  .sys-cards { grid-template-columns: 1fr; }
}

.sys-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 0.65rem;
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.sys-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(27,106,66,0.12);
}

.sys-card.selected {
  border-color: var(--primary);
  background: #e6f4ed;
  box-shadow: 0 0 0 3px rgba(27,106,66,0.10);
}

.sys-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.sys-card-spec {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-strong);
}

.sys-card-detail {
  font-size: 0.76rem;
  color: var(--muted);
}

.sys-pop-badge {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* ── Redesigned results (2 outputs) ─────────────────────────── */
.calc-results-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  /* No overflow:hidden — would clip the info tooltips */
  background: #f0f8f3;
  border: 1px solid #b8d7c2;
  border-radius: 0.65rem;
  margin-bottom: 0.75rem;
}

.calc-stat-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.35rem;
  /* Individual border-radius so corners look right without overflow:hidden */
}

.calc-stat-v2:first-child {
  border-right: 1px solid #b8d7c2;
  border-radius: 0.65rem 0 0 0.65rem;
}

.calc-stat-v2:last-child {
  border-radius: 0 0.65rem 0.65rem 0;
}

@media (max-width: 400px) {
  .calc-results-v2              { grid-template-columns: 1fr; }
  .calc-stat-v2:first-child     { border-right: none; border-bottom: 1px solid #b8d7c2;
                                  border-radius: 0.65rem 0.65rem 0 0; }
  .calc-stat-v2:last-child      { border-radius: 0 0 0.65rem 0.65rem; }
}

.calc-stat-v2-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.calc-stat-v2-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-strong);
  line-height: 1.05;
}

.calc-range-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.calc-range-text {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Tooltip override for the range info hints */
.calc-range-hint {
  flex-shrink: 0;
  cursor: help;
  position: relative;
}

/* Pull tooltip out above any ancestor clipping by boosting z-index
   and anchoring it relative to the icon itself */
.calc-range-hint:hover::after,
.calc-range-hint:focus-visible::after {
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 0.4rem);   /* appear ABOVE the icon */
  z-index: 200;
  transform: none;
  width: min(20rem, 80vw);
}

/* ── Form sections ───────────────────────────────────────── */
.customer-form {
  gap: 1rem;
}

.form-section {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: #fafdf9;
}

.form-section-title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-strong);
}

.form-section-fields {
  display: grid;
  gap: 0.85rem;
}

.form-section-fields--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
  .form-section-fields--3col { grid-template-columns: 1fr; }
}

/* ── Consent checkbox ───────────────────────────────────── */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f4faf6;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.consent-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  cursor: pointer;
}

.consent-row a {
  display: inline;
  color: var(--primary);
  text-decoration: underline;
}

/* ── Forbrug tabs ────────────────────────────────────────── */
.forbrug-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.forbrug-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 2rem;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.forbrug-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.forbrug-tab--active {
  border-color: var(--primary);
  background: #e6f4ed;
  color: var(--primary-strong);
}

.forbrug-precision-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 2rem;
  padding: 0.1rem 0.45rem;
}

.forbrug-panel {
  margin-top: 0.25rem;
}

/* ── Eloverblik widget (Energivalg-branded) ──────────────── */
.elov-widget {
  background: #f0f8f3;
  border: 1px solid #b8d7c2;
  border-radius: 0.65rem;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.elov-intro strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-strong);
  line-height: 1.3;
}

.elov-intro p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.elov-steps-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
}

.elov-steps-heading {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.elov-steps {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--text);
}

.elov-steps a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.elov-steps a:hover { text-decoration: underline; }

.elov-token-input {
  width: 100%;
  border: 1px solid #b8d7c2;
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text);
}

.elov-token-input:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
  border-color: transparent;
}

.elov-token-input::placeholder { color: #a0b4a4; }

.elov-privacy {
  margin: 0;
  font-size: 0.79rem;
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}

.elov-status {
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.elov-status.success {
  background: #e9f7ef;
  color: #0f4a2d;
  border: 1px solid #b8d7c2;
}

.elov-status.error {
  background: #fff1f0;
  color: #8a241d;
  border: 1px solid #efc0bb;
}

/* ── Scroll reveal ───────────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile navigation ───────────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--primary);
  border-radius: 0.35rem;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(27, 106, 66, 0.1);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    order: 3;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 0.25rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .link {
    display: block;
    padding: 0.65rem 0.1rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-links .link:last-child {
    border-bottom: none;
  }
}

/* ── Tooltip tap support (mobile) ────────────────────────── */
.info-hint.tooltip-active::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 5;
  width: min(18rem, 85vw);
  background: #0f1a14;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.calc-range-hint.tooltip-active::after {
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 0.4rem);
  z-index: 200;
  transform: none;
  width: min(20rem, 80vw);
}

/* ── report-preview-header mobile ────────────────────────── */
@media (max-width: 540px) {
  .report-preview-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Touch target minimum sizes ─────────────────────────── */
.forbrug-tab {
  min-height: 44px;
}

.sys-card {
  min-height: 44px;
}

/* ── Inquiry widget ─────────────────────────────────────────────────────────
   Floating corner button + slide-up panel. Used on index.html + rapport.html.
   All selectors namespaced to .inq-widget to avoid collisions.
   ────────────────────────────────────────────────────────────────────────── */
.inq-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none; /* container never blocks clicks */
}

/* Trigger pill button */
.inq-widget-trigger {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1b6a42;
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.72rem 1.2rem 0.72rem 1rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(27,106,66,0.38);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.inq-widget-trigger:hover {
  background: #155435;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(27,106,66,0.44);
}
.inq-widget-trigger svg { flex-shrink: 0; }

/* Panel */
.inq-widget-panel {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 36px rgba(0,0,0,0.15);
  width: 340px;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.inq-widget-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto; /* re-enable when open */
}

/* Panel header */
.inq-widget-header {
  background: #1b6a42;
  color: #fff;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.inq-widget-header-text strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.inq-widget-header-text span {
  font-size: 0.76rem;
  opacity: 0.82;
  line-height: 1.45;
}
.inq-widget-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
  flex-shrink: 0;
  margin-top: -1px;
  transition: opacity 0.15s;
}
.inq-widget-close:hover { opacity: 1; }

/* Form inside panel */
.inq-widget-form {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.inq-widget-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.inq-widget-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a4845;
}
.inq-widget-field input,
.inq-widget-field textarea {
  font-family: inherit;
  font-size: 0.88rem;
  color: #1a1a18;
  background: #f9f8f5;
  border: 1px solid #e2dfd6;
  border-radius: 0.5rem;
  padding: 0.58rem 0.75rem;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.inq-widget-field input:focus,
.inq-widget-field textarea:focus { border-color: #1b6a42; }
.inq-widget-field textarea { resize: vertical; min-height: 78px; }

.inq-widget-submit {
  background: #1b6a42;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.68rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-top: 0.1rem;
}
.inq-widget-submit:hover { opacity: 0.88; }
.inq-widget-submit:disabled { opacity: 0.5; cursor: default; }

.inq-widget-feedback {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  margin-top: 0.1rem;
}
.inq-widget-feedback.ok  { background: #e9f7ef; color: #0f4a2d; }
.inq-widget-feedback.err { background: #fff1f0; color: #8a241d; }

@media (max-width: 400px) {
  .inq-widget { bottom: 1rem; right: 1rem; }
  .inq-widget-panel { width: calc(100vw - 2rem); }
}

/* ── Trust strip (substansbaseret social proof) ─────────────────── */
.trust-strip {
  margin: 4rem auto 3.5rem;
  max-width: 1100px;
  padding: 0 1.5rem;
}
.trust-strip-inner {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d6dfd3);
  border-radius: 0.75rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.trust-col { display: flex; flex-direction: column; gap: 0.55rem; }
.trust-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted, #4a5a4b);
  margin: 0;
}
.trust-headline {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary-strong, #0f4a2d);
  margin: 0;
}
.trust-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text, #142013);
  margin: 0;
}
.trust-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--primary, #1b6a42);
  text-decoration: none;
  font-weight: 500;
}
.trust-link:hover { text-decoration: underline; }
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.55;
}
.trust-list li::before {
  content: "✓";
  color: var(--primary, #1b6a42);
  font-weight: 700;
  margin-right: 0.5rem;
}
.trust-article {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  background: #f4faf6;
  border: 1px solid #c8deca;
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
  transition: border-color 0.15s, background 0.15s;
}
.trust-article:hover { background: #e6f4ed; border-color: var(--primary, #1b6a42); }
.trust-article-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary, #1b6a42);
}
.trust-article-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text, #142013);
}
.trust-article-by {
  font-size: 0.82rem;
  color: var(--muted, #4a5a4b);
}
@media (max-width: 820px) {
  .trust-strip-inner { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.4rem; }
}

/* ── Article page ───────────────────────────────────────────────── */
.article-wrap {
  max-width: 720px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.4rem;
}
.article-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted, #4a5a4b);
  margin: 0 0 0.8rem;
}
.article-title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-strong, #0f4a2d);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.article-meta {
  font-size: 0.88rem;
  color: var(--muted, #4a5a4b);
  margin: 0 0 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border, #d6dfd3);
}
.article-body { font-size: 1.02rem; line-height: 1.75; color: var(--text, #142013); }
.article-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-strong, #0f4a2d);
  margin: 2.4rem 0 0.9rem;
}
.article-body p { margin: 0 0 1.1rem; }
.article-body strong { color: var(--primary-strong, #0f4a2d); }
.article-body hr {
  border: none;
  border-top: 1px solid var(--border, #d6dfd3);
  margin: 2.4rem 0;
}
.article-body a {
  color: var(--primary, #1b6a42);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-cta {
  display: inline-block;
  background: var(--primary, #1b6a42);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.85rem 1.4rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-top: 1rem;
}
.article-cta:hover { background: var(--primary-strong, #0f4a2d); }
@media (max-width: 600px) {
  .article-title { font-size: 1.55rem; }
  .article-body { font-size: 0.98rem; }
}

/* Author byline (article forfatter-kort) */
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: #f4faf6;
  border: 1px solid #c8deca;
  border-radius: 0.65rem;
  margin: 0 0 2rem;
}
.article-byline-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border, #d6dfd3);
}
.article-byline-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.article-byline-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-strong, #0f4a2d);
  margin: 0;
}
.article-byline-role {
  font-size: 0.82rem;
  color: var(--muted, #4a5a4b);
  line-height: 1.45;
}

/* ── DM Mono utility (Greb 2) ─────────────────────────────── */
.mono {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.95em;
  letter-spacing: -0.02em;
}

/* ── Differentiator section — erstatter .cards (Greb 1) ────── */
.differentiator {
  margin-top: 2rem;
}

.differentiator-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.diff-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.diff-row:last-child {
  border-bottom: 1px solid var(--border);
}

.diff-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.diff-index {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.diff-stat {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--primary-strong);
  line-height: 1;
  letter-spacing: -0.04em;
}

.diff-stat--text {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.diff-stat-unit {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0;
}

.diff-right h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-strong);
  line-height: 1.25;
}

.diff-right p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}

@media (max-width: 600px) {
  .diff-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.25rem 0;
  }
  .diff-stat { font-size: 1.75rem; }
  .diff-stat--text { font-size: 1.1rem; }
}

/* ── Editorial artikel-layout (Greb 3) ────────────────────── */
/* Narrow the reading column slightly */
.article-wrap { max-width: 660px; }

/* Byline: border-line stil frem for kortboks */
.article-byline--line {
  background: none;
  border: none;
  border-top: 1px solid var(--border, #d6dfd3);
  border-bottom: 1px solid var(--border, #d6dfd3);
  border-radius: 0;
  padding: 0.9rem 0;
  margin: 0 0 1.75rem;
}

/* Nummererede sektionsoverskrifter */
.editorial-section-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 2.4rem 0 0.9rem;
}

.editorial-section-heading h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-strong, #0f4a2d);
  line-height: 1.35;
}

.editorial-section-num {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted, #4a5a4b);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.25em;
}

/* Faktaboks til konkrete tal i artikler */
.editorial-factbox {
  background: #f4faf6;
  border: 1px solid #c8deca;
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
}

.editorial-factbox-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary, #1b6a42);
  margin: 0 0 0.6rem;
}

.editorial-factbox-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #d8ead8;
  font-size: 0.875rem;
}

.editorial-factbox-row:last-child {
  border-bottom: none;
}

.editorial-factbox-row span:first-child {
  color: var(--muted, #4a5a4b);
}

.editorial-factbox-footnote {
  font-size: 0.78rem;
  color: var(--muted, #4a5a4b);
  margin: -0.75rem 0 1.25rem;
}

.editorial-factbox-row span:last-child {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-strong, #0f4a2d);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ── Hero disclosure (ved siden af CTA i hero-actions flex) ── */
.hero-disclosure {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

/* ── Strip card-wrapping fra how-it-works (mere editorial) ── */
.how-it-works {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 2rem;
}

/* Demote "Sådan virker det" til en stille eyebrow-label */
.how-it-works h2 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Step-time: subtil i stedet for grøn bold pill-look */
.step-time {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}

/* Lidt mere luft mellem rapport-bullets uden ikoner */
.report-value-item {
  padding: 0.95rem 0;
}

/* ── "Sådan virker det" — vandrende figur på en tråd ────── */
.hiw-track {
  position: relative;
  width: 100%;
  height: 78px;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.hiw-line {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 14px;
  display: block;
}

.hiw-walker {
  position: absolute;
  bottom: 4px;
  left: -52px;
  width: 50px;
  height: 60px;
  animation: hiw-walk-across 14s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.hiw-walker svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

@keyframes hiw-walk-across {
  0%   { left: -52px; }
  100% { left: 100%; }
}

/* Limb / bob-animationer — delt med rapport.html walking figure */
@keyframes rw-bob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-3px); }
}
@keyframes rw-thigh-l {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(22deg); }
}
@keyframes rw-shin-l {
  0%, 100% { transform: rotate(25deg); }
  50%      { transform: rotate(8deg); }
}
@keyframes rw-thigh-r {
  0%, 100% { transform: rotate(22deg); }
  50%      { transform: rotate(-10deg); }
}
@keyframes rw-shin-r {
  0%, 100% { transform: rotate(8deg); }
  50%      { transform: rotate(18deg); }
}
@keyframes rw-arm-r {
  0%, 100% { transform: rotate(-18deg); }
  50%      { transform: rotate(18deg); }
}
@keyframes rw-shadow-pulse {
  0%, 100% { opacity: 0.18; rx: 36; }
  50%      { opacity: 0.08; rx: 28; }
}

.hiw-walker .rw-figure  { animation: rw-bob 1.9s ease-in-out infinite; }
.hiw-walker .rw-thigh-l { transform-box: view-box; animation: rw-thigh-l 1.9s ease-in-out infinite; }
.hiw-walker .rw-shin-l  { transform-box: fill-box; transform-origin: 0% 0%; animation: rw-shin-l 1.9s ease-in-out infinite; }
.hiw-walker .rw-thigh-r { transform-box: view-box; animation: rw-thigh-r 1.9s ease-in-out infinite; }
.hiw-walker .rw-shin-r  { transform-box: fill-box; transform-origin: 0% 0%; animation: rw-shin-r 1.9s ease-in-out infinite; }
.hiw-walker .rw-arm-r   { transform-box: view-box; animation: rw-arm-r 1.9s ease-in-out infinite; }
.hiw-walker .rw-shadow  { animation: rw-shadow-pulse 1.9s ease-in-out infinite; }

@media (max-width: 640px) {
  .hiw-track { height: 64px; margin-top: 0.4rem; margin-bottom: 0; }
  .hiw-walker { width: 38px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-walker,
  .hiw-walker .rw-figure,
  .hiw-walker .rw-thigh-l,
  .hiw-walker .rw-shin-l,
  .hiw-walker .rw-thigh-r,
  .hiw-walker .rw-shin-r,
  .hiw-walker .rw-arm-r,
  .hiw-walker .rw-shadow {
    animation: none;
  }
  .hiw-walker { left: 50%; margin-left: -25px; }
}
