/* =============================================================
   Elsykkelguiden — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0f1512;
  --bg-2:      #141d18;
  --surface:   #1a2420;
  --surface-2: #212e28;
  --line:      rgba(233, 238, 230, 0.10);
  --line-2:    rgba(233, 238, 230, 0.18);
  --text:      #eef2ea;
  --text-dim:  #a9b6ac;
  --text-mute: #7c8b80;
  --accent:    #b7ff3d;
  --accent-ink:#122008;
  --accent-2:  #6fd3c7;
  --gold:      #e7c374;
  --danger:    #ff8a6b;
  --cream:     #f6f4ec;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --gutter: clamp(1.1rem, 4vw, 2.6rem);
  --nav-h: 72px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --shadow-card: 0 1px 2px rgba(0,0,0,.24), 0 12px 32px -12px rgba(0,0,0,.5);
  --shadow-pop: 0 20px 60px -18px rgba(0,0,0,.6);
}

[data-theme="light"], html.theme-light {
  --bg:        #f7f5ee;
  --bg-2:      #efece0;
  --surface:   #ffffff;
  --surface-2: #f1efe4;
  --line:      rgba(20, 26, 20, 0.10);
  --line-2:    rgba(20, 26, 20, 0.18);
  --text:      #16201a;
  --text-dim:  #4c5850;
  --text-mute: #75827a;
  --accent:    #3f7d1c;
  --accent-ink:#f3ffe4;
  --accent-2:  #0f7a6c;
  --cream:     #16201a;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--font-display); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: .7rem 1.1rem;
  background: var(--accent); color: var(--accent-ink); z-index: 9999;
  border-radius: 8px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--text-dim); margin-top: .8rem; font-size: 1.05rem; }
.hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.grid-cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* =============================================================
   4. Typography
   ============================================================= */
.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .98; max-width: 20ch; }
.h-xl { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h-l { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.h-m { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-dim); max-width: 62ch; }
.prose { max-width: 68ch; color: var(--text-dim); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--text); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .96rem;
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -8px rgba(183,255,61,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(183,255,61,.55); }
.btn-ghost { background: transparent; border: 1.5px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.nav-logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); font-size: 1rem; flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--text-dim); transition: color .25s var(--ease-out); position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--accent); border-radius:2px; }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  background: var(--accent); color: var(--accent-ink); padding: .55rem 1.05rem; border-radius: 999px; font-weight: 700;
}
.nav-links a.nav-cta .compare-count {
  background: var(--accent-ink); color: var(--accent); border-radius: 999px; padding: .05rem .45rem; font-size: .72rem; margin-left: .35rem;
}
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-mobile { display: none; }

/* --- header hero --- */
.hero { padding-top: clamp(3rem, 8vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); position: relative; overflow: clip; }
.hero-halo { position: absolute; inset: -40% -10% -60% -10%; background: radial-gradient(45% 40% at 30% 20%, rgba(183,255,61,.16), transparent 70%); filter: blur(90px); pointer-events: none; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero-copy .h-display { margin-top: 1rem; }
.hero-copy .lede { margin-top: 1.3rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); }
.hero-stat span { font-size: .82rem; color: var(--text-mute); }
.hero-visual { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); border: 1px solid var(--line); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-badge {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem; background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: var(--radius-m); padding: 1rem 1.2rem;
}

/* --- product card --- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), border-color .3s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: .7rem; left: .7rem; background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 800; padding: .3rem .6rem; border-radius: 999px; letter-spacing: .02em;
}
.card-badge.is-outline { background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.card-cat { position: absolute; top: .7rem; right: .7rem; font-size: .7rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--bg) 65%, transparent); color: var(--text-dim); backdrop-filter: blur(6px); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-brand { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); }
.card-title { font-size: 1.08rem; }
.card-specs { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .82rem; color: var(--text-dim); margin-top: .1rem; }
.card-specs span { display: inline-flex; align-items: center; gap: .3rem; }
.card-specs svg { width: 1.1em; height: 1.1em; flex: none; opacity: .8; }
.card-price-row { display: flex; align-items: baseline; gap: .55rem; margin-top: .35rem; flex-wrap: wrap; }
.price-now { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--text); }
.price-before { font-size: .88rem; color: var(--text-mute); text-decoration: line-through; }
.price-off { font-size: .74rem; font-weight: 800; color: var(--accent-ink); background: var(--accent); padding: .12rem .45rem; border-radius: 6px; }
.card-actions { display: flex; gap: .55rem; margin-top: .7rem; }
.card-compare-add { flex: none; width: 42px; border: 1px solid var(--line-2); border-radius: 999px; display: grid; place-items: center; transition: border-color .25s, color .25s; }
.card-compare-add svg { width: 1.15em; height: 1.15em; }
.card-compare-add:hover, .card-compare-add.is-added { border-color: var(--accent); color: var(--accent); }

/* --- filter bar --- */
.filterbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 1.8rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.filterbar label { font-size: .78rem; color: var(--text-mute); display: block; margin-bottom: .25rem; }
.filterbar select, .filterbar input[type="text"] {
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); border-radius: 8px;
  padding: .5rem .7rem; font-size: .88rem; font-family: inherit;
}
.filterbar .fb-count { margin-left: auto; font-size: .84rem; color: var(--text-mute); }

/* --- spec table --- */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.spec-table { min-width: 100%; font-size: .93rem; }
.spec-table caption { text-align: left; font-weight: 700; padding: .8rem 1.1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td { padding: .7rem 1.1rem; text-align: left; }
.spec-table th { color: var(--text-mute); font-weight: 500; width: 42%; }
.spec-table td { font-weight: 600; }
.spec-table tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--surface) 60%, var(--surface-2) 40%); }

/* --- ficha (product page) --- */
.ficha-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
.ficha-gallery-main { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--line); }
.ficha-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.ficha-thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; overflow-y: visible; padding-block: .2rem .6rem; }
.ficha-thumbs button { flex: none; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: opacity .25s, border-color .25s; }
.ficha-thumbs button.is-active, .ficha-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.ficha-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha-brand { color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.ficha-name { margin-top: .4rem; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.ficha-meta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: .7rem; font-size: .88rem; color: var(--text-dim); }
.ficha-badge { display: inline-flex; align-items: center; gap: .35rem; background: var(--surface-2); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 999px; }
.ficha-badge svg { width: 1.1em; height: 1.1em; }
.ficha-price-block { margin-top: 1.4rem; padding: 1.2rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.ficha-price-row { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.ficha-price-now { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; }
.ficha-price-before { font-size: 1.05rem; color: var(--text-mute); text-decoration: line-through; }
.ficha-price-note { font-size: .8rem; color: var(--text-mute); margin-top: .5rem; }
.ficha-buy { margin-top: 1rem; }
.ficha-highlight { margin-top: 1rem; padding: .9rem 1.1rem; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: var(--radius-s); font-size: .9rem; font-weight: 600; }

/* --- radar chart --- */
.radar-wrap { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.radar-figure { flex: none; width: min(340px, 100%); }
.radar-legend { display: flex; flex-direction: column; gap: .5rem; }
.radar-legend-item { display: flex; align-items: center; gap: .55rem; font-size: .88rem; }
.radar-swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }

/* --- pros/contras --- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.6rem; }
.pc-col { padding: 1.2rem 1.3rem; border-radius: var(--radius-m); border: 1px solid var(--line); }
.pc-col.is-pros { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.pc-col.is-contras { background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.pc-col h3 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col li { display: flex; gap: .5rem; font-size: .92rem; color: var(--text-dim); padding-block: .3rem; align-items: flex-start; }
.pc-col li svg { width: 1.05em; height: 1.05em; flex: none; margin-top: .18em; }
.ideal-para { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .96rem; }

/* --- reviews --- */
.review-card { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.review-verified { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--accent-2); font-weight: 600; }
.review-verified svg { width: 1.1em; height: 1.1em; }

/* --- similares strip --- */
.strip-row { display: flex; flex-wrap: nowrap; gap: 1rem; overflow-x: auto; overflow-y: visible; padding-block: .4rem 1rem; }
.strip-row .card { flex: 0 0 260px; }

/* --- disclosure --- */
.disclosure {
  font-size: .82rem; color: var(--text-mute); padding: 1rem 1.2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-m); line-height: 1.55;
}

/* --- footer --- */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.2rem; margin-top: 4rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.2rem; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; margin-top: .7rem; max-width: 32ch; }
.footer h4 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); margin-bottom: .9rem; }
.footer ul li { margin-bottom: .55rem; }
.footer a { font-size: .9rem; color: var(--text-dim); transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--text-mute); }

/* --- comparator --- */
.compare-picker { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.6rem; }
.compare-search { position: relative; flex: 1; min-width: 240px; }
.compare-search input { width: 100%; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); padding: .8rem 1rem; border-radius: 12px; font-size: .95rem; }
.compare-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; max-height: 320px; overflow-y: auto; z-index: 20; box-shadow: var(--shadow-pop); display: none; }
.compare-dropdown.is-open { display: block; }
.compare-dropdown button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .6rem .9rem; font-size: .9rem; text-align: left; }
.compare-dropdown button:hover { background: var(--surface-2); }
.compare-dropdown img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex: none; }
.compare-slots { display: flex; gap: .8rem; flex-wrap: wrap; }
.compare-slot { position: relative; width: 96px; }
.compare-slot .slot-thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.compare-slot .slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compare-slot .slot-remove { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--danger); color: #2a0f08; display: grid; place-items: center; font-size: .8rem; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.compare-slot .slot-name { font-size: .74rem; margin-top: .35rem; color: var(--text-dim); text-align: center; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); margin-top: 2rem; }
.compare-table { width: 100%; font-size: .92rem; }
.compare-table th, .compare-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.compare-table th:first-child, .compare-table td:first-child { position: sticky; left: 0; background: var(--surface); z-index: 2; color: var(--text-mute); font-weight: 500; white-space: normal; min-width: 160px; }
.compare-table thead th { background: var(--surface-2); vertical-align: top; }
.compare-col-head { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; min-width: 160px; }
.compare-col-head img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.compare-best { color: var(--accent); font-weight: 800; }
.compare-empty { padding: 3rem 1.5rem; text-align: center; color: var(--text-mute); border: 1px dashed var(--line-2); border-radius: var(--radius-m); }
.compare-radar-wrap { margin-top: 2.5rem; }

/* --- guide / blog --- */
.guide-hero { padding-block: clamp(2.6rem, 6vw, 4rem) 1rem; }
.guide-toc { padding: 1.2rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); margin-block: 2rem; }
.guide-toc h2 { font-size: 1rem; margin-bottom: .7rem; }
.guide-toc ol { padding-left: 1.1rem; list-style: decimal; }
.guide-toc li { margin-bottom: .4rem; font-size: .92rem; }
.guide-toc a { color: var(--accent-2); }
.faq-item { border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: .8rem; color: var(--text-dim); }

/* --- offers/tilbud --- */
.offer-strip { background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 18%, var(--bg)), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.6rem 1.8rem; margin-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* --- legal pages --- */
.legal .prose h2 { color: var(--text); font-size: 1.25rem; margin-top: 2.2rem; margin-bottom: .7rem; font-family: var(--font-sans); font-weight: 700; }
.legal .prose ul { list-style: disc; padding-left: 1.3rem; margin-top: .6rem; }
.legal .prose li { margin-bottom: .4rem; }

/* --- how-we-review page tiles --- */
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.method-tile { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.method-tile .feat-ico { width: 1.15em; height: 1.15em; flex: none; color: var(--accent); }
.method-tile h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.02rem; margin-bottom: .5rem; }

/* --- 404-ish empty states --- */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-mute); }

/* --- back to top / misc --- */
.hero-badge svg { width: 1.15em; height: 1.15em; flex: none; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
  .ficha-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 1.6rem var(--gutter); gap: 0; border-top: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); overflow-y: auto; }
  .nav-links a { width: 100%; padding-block: .85rem; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-cta { margin-top: .8rem; text-align: center; }
  html.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle { display: grid; }
  .pc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
}
@media (max-width: 539px) {
  .compare-slot { width: 78px; }
}

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01ms; }
}

/* --- glass fallback pattern (used on nav) --- */
@supports not (backdrop-filter: blur(1px)) {
  .nav { background: var(--bg); }
}

/* =============================================================
   10. Range map (reachable-area isochrones)
   ============================================================= */
.range-map {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.range-map-desc {
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: .5rem;
}
.range-map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.2rem;
}
.range-map-search {
  flex: 1 1 260px;
  min-width: 200px;
  padding: .7rem 1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .92rem;
}
.range-map-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.range-map-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.range-map-toggle button {
  padding: .7rem 1.1rem;
  background: var(--bg-2);
  color: var(--text-dim);
  border: none;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.range-map-toggle button.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}
.range-map-canvas {
  margin-top: 1.2rem;
  height: clamp(320px, 52vh, 480px);
  border-radius: var(--radius-m);
  background: var(--bg-2);
  overflow: hidden;
}
.range-map-legend {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .88rem;
  color: var(--text-dim);
}
.range-legend-item { display: flex; align-items: center; gap: .5rem; }
.range-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: none;
  display: inline-block;
}
.range-map-note {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--text-mute);
}

/* Leaflet dark-theme overrides */
.leaflet-container {
  background: var(--bg-2);
  font-family: var(--font-sans);
}
.leaflet-control-attribution {
  background: rgba(15, 21, 18, .72) !important;
  color: var(--text-mute) !important;
}
.leaflet-control-attribution a { color: var(--text-dim) !important; }
.leaflet-bar a {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--line) !important;
}
.leaflet-bar a:hover { background: var(--surface-2) !important; }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--surface) !important;
  color: var(--text) !important;
}
