/* ========================================================================
   Gulplade.dk — stylesheet
   Brand: Syne + DM Sans, grafit #14161a, gulplade-gul #f2b705, papir #f4f4f1
   Forket fra leasio.dk's designsystem. Samme struktur, ny palet.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --ink: #14161a;
  --ink-soft: #3a3d42;
  --paper: #f4f4f1;
  --card: #fff;
  --border: #e3e1db;
  --border-strong: #cdcac2;
  --muted: #6f7278;
  --gul: #f2b705;
  --gul-l: #fdf3d6;
  --gul-d: #6b5000;
  --ok: #1a7a56;
  --advarsel: #b45309;
  --radius: 14px;
  --radius-sm: 10px;
  --maks: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gul); text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--gul-d); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ─── Header ─────────────────────────────────────────────────────────── */

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo::before {
  content: '';
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: var(--gul);
  margin-right: 9px;
}

.site-header .logo span { color: var(--muted); font-weight: 700; }

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

.site-header nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover { color: var(--gul-d); }

.site-header nav a.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 100px;
}

.site-header nav a.nav-cta:hover { background: var(--gul-d); color: #fff; }

/* ─── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  font-size: 13px;
  margin-top: 4rem;
}

.site-footer__indhold { max-width: var(--maks); margin: 0 auto; }
.site-footer p { margin: .4rem 0; max-width: 70ch; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration-color: var(--gul); }
.site-footer strong { color: #fff; }

/* ─── Generelt layout ───────────────────────────────────────────────── */

.indhold, .bil-side, .artikel-side, .artikler-oversigt, .oversigt {
  max-width: var(--maks);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 0;
}

h1, h2, h3 { font-family: 'Syne', sans-serif; letter-spacing: -.5px; }

/* ─── Breadcrumb ─────────────────────────────────────────────────────── */

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ─── Knapper ────────────────────────────────────────────────────────── */

.knap {
  display: inline-block;
  padding: .9rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: all .15s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.knap--primaer { background: var(--ink); color: #fff; }
.knap--primaer:hover { background: var(--gul-d); color: #fff; transform: translateY(-1px); }

.knap--sekundaer { background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); }
.knap--sekundaer:hover { border-color: var(--ink); color: var(--ink); }

/* ─── Hero (forside) ─────────────────────────────────────────────────── */

.hero {
  max-width: var(--maks);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}

.hero__maerkat {
  display: inline-block;
  background: var(--gul-l);
  color: var(--gul-d);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero__manchet {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero__knapper { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ─── Sektioner ──────────────────────────────────────────────────────── */

.sektion { max-width: var(--maks); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem); }
.sektion--kort { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; }
.sektion--kort > * { max-width: var(--maks); margin-left: auto; margin-right: auto; }

.sektion h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 24ch;
}

.sektion p { max-width: 68ch; color: var(--ink-soft); margin-bottom: 1rem; }
.sektion p:last-child { margin-bottom: 0; }

/* ─── Trin / ydelser ─────────────────────────────────────────────────── */

.kort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.kort {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.sektion--kort .kort { background: var(--paper); }

.kort__nr {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--gul-d);
  background: var(--gul-l);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.kort h3 { font-size: 18px; font-weight: 700; margin-bottom: .5rem; }
.kort p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ─── Prisboks ───────────────────────────────────────────────────────── */

.pris-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 2rem; }

.pris-kort {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.pris-kort--fremhaevet { border-color: var(--gul); border-width: 2px; }

.pris-kort h3 { font-size: 18px; font-weight: 700; margin-bottom: .5rem; }
.pris-kort__belob { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -1px; margin: .75rem 0 .25rem; }
.pris-kort__enhed { font-size: 13px; color: var(--muted); margin-bottom: 1rem; }
.pris-kort ul { margin-top: 1rem; }
.pris-kort li { font-size: 14px; color: var(--ink-soft); padding-left: 1.35rem; position: relative; margin-bottom: .4rem; }
.pris-kort li::before { content: '\2713'; position: absolute; left: 0; color: var(--gul-d); font-weight: 700; }

/* ─── Tilbudstabel (sammenligning) ──────────────────────────────────── */

.tilbud-tabel-wrap { overflow-x: auto; margin: 1.5rem 0; }

.tilbud-tabel {
  width: 100%;
  min-width: 720px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14.5px;
}

.tilbud-tabel th, .tilbud-tabel td {
  padding: .9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.tilbud-tabel thead th {
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.tilbud-tabel tbody tr:last-child td { border-bottom: none; }
.tilbud-tabel tbody tr:hover { background: var(--gul-l); }

.tal { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tal--stor { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: -.3px; }
.tal--afledt { color: var(--gul-d); }

.udbyder-navn { font-weight: 600; }
.udbyder-vilkaar { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ─── Dækningsindikator ─────────────────────────────────────────────── */

.daekning { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }

.daekning__bar { width: 54px; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; flex-shrink: 0; }
.daekning__fyld { height: 100%; background: var(--ok); }
.daekning--lav .daekning__fyld { background: var(--advarsel); }
.daekning__tal { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ─── Noter og forbehold ────────────────────────────────────────────── */

.note {
  background: var(--gul-l);
  border-left: 3px solid var(--gul);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 1.5rem 0;
}

.note strong { color: var(--ink); }

.forbehold {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 2.5rem 0;
}

.forbehold h2 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: .6rem; letter-spacing: 0; }
.forbehold p { margin-bottom: .7rem; max-width: 76ch; }
.forbehold p:last-child { margin-bottom: 0; }

.kilde { font-size: 12.5px; color: var(--muted); }
.kilde a { color: var(--muted); }

/* ─── Specs ──────────────────────────────────────────────────────────── */

.specs-sektion { margin: 2.5rem 0; }
.specs-sektion h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; margin-bottom: 1rem; }

.specs-tabel {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.specs-tabel th, .specs-tabel td {
  padding: .85rem 1.25rem;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}

.specs-tabel tr:last-child th, .specs-tabel tr:last-child td { border-bottom: none; }
.specs-tabel th { font-weight: 500; color: var(--muted); width: 45%; }
.specs-tabel td { font-weight: 500; color: var(--ink); }

/* ─── Bilkort ────────────────────────────────────────────────────────── */

.bil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

.bil-kort {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}

.bil-kort:hover { border-color: var(--gul); transform: translateY(-2px); }
.bil-kort a { display: block; color: var(--ink); text-decoration: none; padding: 1.1rem 1.2rem; }
.bil-kort strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: .35rem; line-height: 1.3; }
.bil-kort .fra { font-size: 13.5px; color: var(--gul-d); font-weight: 600; }
.bil-kort .meta { font-size: 12.5px; color: var(--muted); margin-top: .35rem; }

/* ─── Bil-hero (modelside) ──────────────────────────────────────────── */

.bil-hero { margin-bottom: 2.5rem; }
.bil-maerke { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gul-d); margin-bottom: .5rem; }
.bil-hero h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; margin-bottom: .75rem; }
.bil-hero__manchet { color: var(--ink-soft); max-width: 62ch; font-size: 16.5px; }

.noegletal { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 1.75rem 0; }
.noegletal div { min-width: 120px; }
.noegletal dt { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.noegletal dd { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }

/* ─── Mobil ─────────────────────────────────────────────────────────── */

@media (max-width: 800px) {
  .site-header { height: 56px; }
  .site-header .logo { font-size: 19px; }
  .site-header nav { gap: .85rem; }
  .site-header nav a { font-size: 13px; }
  .site-header nav a.nav-cta { padding: .45rem .85rem; }
  .specs-tabel th { width: 50%; }
  .hero__knapper .knap { width: 100%; }
}

@media (max-width: 480px) {
  .noegletal { gap: 1.25rem; }
  .noegletal dd { font-size: 19px; }
  .kort, .pris-kort { padding: 1.25rem; }
}
