/* ============================================================================
   LADEBOKSTJEK.DK — DESIGN SYSTEM
   Lyst, moderne, skandinavisk, mobile-first. Grøn/blå energi-accent.
   ============================================================================ */

:root {
  /* Farver */
  --color-bg: #ffffff;
  --color-bg-soft: #f5f9f8;
  --color-bg-muted: #eef4f2;
  --color-border: #e1e8e6;
  --color-text: #142420;
  --color-text-muted: #52655f;
  --color-text-faint: #7c8d87;

  --color-accent: #0e7c61;       /* grøn */
  --color-accent-dark: #0a5f4a;
  --color-accent-soft: #e3f3ee;
  --color-blue: #1c5fa8;         /* blå */
  --color-blue-soft: #e7f0fa;

  --color-warn-bg: #fff8ec;
  --color-warn-border: #f0dfb8;
  --color-warn-text: #7a5b12;

  /* Typografi */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radius / skygge */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 3px rgba(20, 36, 32, 0.06), 0 8px 24px rgba(20, 36, 32, 0.05);

  /* Layout */
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--color-text);
  white-space: nowrap;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.logo__mark svg {
  width: 16px;
  height: 16px;
}

.logo__text-sub {
  font-weight: 400;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-text);
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 15px 28px;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 124, 97, 0.25);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
}

.btn--secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.btn--block {
  width: 100%;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 10px 14px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hero {
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  padding: 64px 0 56px;
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 0 auto 32px;
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.trust-line {
  font-size: 0.92rem;
  color: var(--color-text-faint);
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.positioning {
  background: var(--color-accent-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
  text-align: center;
}

.positioning p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.section {
  padding: 64px 0;
}

.section--muted {
  background: var(--color-bg-soft);
}

.section__header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.section__header p {
  color: var(--color-text-muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.partner-chip {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: var(--color-bg);
  font-size: 0.95rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.trust-item {
  text-align: left;
}

.trust-item h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.trust-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.wizard {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.wizard__progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  text-align: center;
}

.wizard__progress-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--color-bg-muted);
  overflow: hidden;
  margin-bottom: 36px;
}

.wizard__progress-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 999px;
  transition: width 0.25s ease;
  width: 0%;
}

.wizard__question {
  background: var(--color-bg);
}

.wizard__question h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin: 0 0 8px;
  text-align: center;
}

.wizard__hint {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0 0 28px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  background: var(--color-bg);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.option:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.option.is-selected {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-weight: 700;
}

.option__marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
}

.option.is-selected .option__marker {
  border-color: var(--color-accent);
}

.option.is-selected .option__marker::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-accent);
}

.option[data-multi="true"] .option__marker {
  border-radius: 6px;
}

.option[data-multi="true"] .option__marker::after {
  border-radius: 3px;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.wizard__multi-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-faint);
  margin-bottom: 18px;
}

.results {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.results__intro {
  text-align: center;
  margin-bottom: 36px;
}

.results__intro h2 {
  margin: 0 0 10px;
}

.results__intro p {
  color: var(--color-text-muted);
  margin: 0;
}

.match-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
}

.match-card--top {
  border-color: var(--color-accent);
}

.match-card__top-label {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.match-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.match-card__provider {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.match-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.match-card__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec__label {
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

.spec__value {
  font-size: 1.05rem;
  font-weight: 700;
}

.spec__value--muted {
  font-weight: 500;
  color: var(--color-text-faint);
  font-size: 0.95rem;
}

.match-card__why {
  margin-top: 12px;
}

.match-card__why summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-blue);
}

.why-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 8px;
}

.why-list li::before {
  content: "+";
  color: var(--color-accent);
  font-weight: 800;
}

.match-card__cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-warn-bg);
  color: var(--color-warn-text);
  border: 1px solid var(--color-warn-border);
}

.badge--cheap {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.badge--value {
  background: var(--color-blue-soft);
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.match-card__badges,
.compare-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.notice {
  background: var(--color-warn-bg);
  border: 1px solid var(--color-warn-border);
  color: var(--color-warn-text);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.affiliate-disclosure {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin-top: 36px;
}

.compare-page {
  padding: 48px 0 80px;
}

.compare-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
}

.filter-btn.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.compare-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--color-bg);
}

.compare-card__provider {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-faint);
  letter-spacing: 0.03em;
}

.compare-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 4px 0 14px;
}

.compare-card__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--color-bg-muted);
  font-size: 0.9rem;
}

.compare-card__row span:first-child {
  color: var(--color-text-muted);
}

.compare-card__row span:last-child {
  font-weight: 600;
}

.compare-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 40px 0;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  padding: 40px 0 28px;
  margin-top: 40px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer__data-date {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
}

.site-footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.site-footer__links a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.site-footer__disclosure {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  max-width: 720px;
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}