@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --forest: #1b3a2d;
  --forest-mid: #2d5c45;
  --forest-light: #3d7a5e;
  --cream: #f5f4ef;
  --off-cream: #eceae2;
  --accent: #d4a017;
  --accent-hover: #b88a12;
  --accent-light: rgba(212,160,23,0.12);
  --text-primary: #1b2e24;
  --text-secondary: #3d5246;
  --text-muted: #6b8074;
  --border: #d4cfc4;
  --success: #1b6b3a;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(27,58,45,0.08), 0 4px 12px rgba(27,58,45,0.06);
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-primary); background: var(--cream); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--forest); }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 400; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--forest-mid); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
ul, ol { padding-left: 1.5rem; color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }

.container { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.container--wide { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 3.5rem 0; }
section.alt { background: var(--off-cream); }

/* HEADER */
.site-header { background: var(--forest); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo span { color: var(--accent); }
.logo-mark { width: 30px; height: 30px; background: var(--accent); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
nav { display: flex; }
nav a { color: rgba(255,255,255,0.75); padding: 0 0.8rem; height: 58px; display: flex; align-items: center; font-size: 0.82rem; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s; white-space: nowrap; }
nav a:hover { color: #fff; border-bottom-color: var(--accent); text-decoration: none; }
nav a.active { color: #fff; border-bottom-color: var(--accent); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* HERO */
.hero { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-mid) 55%, #4a8c6a 100%); color: #fff; padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -40px; right: -80px; width: 400px; height: 400px; background: rgba(212,160,23,0.06); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -60px; right: 120px; width: 200px; height: 200px; background: rgba(255,255,255,0.03); border-radius: 50%; pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.35); color: #f0cc6a; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 2px; margin-bottom: 1.5rem; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: #f0cc6a; }
.hero .lead { font-size: 1.05rem; color: rgba(255,255,255,0.8); max-width: 600px; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; color: #fff; line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }

/* BREADCRUMB */
.breadcrumb { background: var(--off-cream); border-bottom: 1px solid var(--border); padding: 0.6rem 0; }
.breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); padding: 0; }
.breadcrumb li + li::before { content: '/'; color: var(--border); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--forest-mid); text-decoration: none; }

/* QUICK NAV */
.quick-nav { background: var(--forest); color: #fff; padding: 1.5rem 2rem; border-radius: var(--radius); margin: 2rem 0 3rem; border-left: 4px solid var(--accent); }
.quick-nav h4 { color: rgba(255,255,255,0.5); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem; }
.quick-nav ol { list-style: none; columns: 2; gap: 1rem; padding: 0; }
.quick-nav li { margin-bottom: 0.4rem; break-inside: avoid; }
.quick-nav a { color: rgba(255,255,255,0.8); font-size: 0.875rem; text-decoration: none; }
.quick-nav a:hover { color: var(--accent); }
.quick-nav a::before { content: '→ '; color: var(--accent); }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,58,45,0.1); }
.card-icon { width: 42px; height: 42px; background: var(--accent-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.3rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* TABLES */
.table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; }
thead { background: var(--forest); color: #fff; }
thead th { padding: 0.9rem 1.1rem; text-align: left; font-size: 0.82rem; font-weight: 600; white-space: nowrap; font-family: var(--font-body); }
tbody tr { border-bottom: 1px solid var(--off-cream); transition: background 0.1s; }
tbody tr:hover { background: var(--cream); }
tbody tr:last-child { border-bottom: none; }
td { padding: 0.85rem 1.1rem; font-size: 0.88rem; color: var(--text-secondary); vertical-align: middle; }
td:first-child { font-weight: 600; color: var(--text-primary); }
.tag { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 2px; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.03em; }
.tag--pro { background: rgba(27,107,58,0.1); color: var(--success); }
.tag--mid { background: rgba(212,160,23,0.12); color: #9a7010; }
.tag--basic { background: var(--off-cream); color: var(--text-muted); }
.recommended { background: rgba(212,160,23,0.04); }
.recommended td:first-child { border-left: 3px solid var(--accent); }

/* CTA */
.cta-box { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%); color: #fff; border-radius: var(--radius); padding: 2.5rem; margin: 2.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-left: 4px solid var(--accent); }
.cta-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.4rem; }
.cta-box p { color: rgba(255,255,255,0.72); margin: 0; font-size: 0.92rem; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent); color: var(--forest) !important; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 700; font-size: 0.9rem; text-decoration: none !important; transition: background 0.15s, transform 0.1s; border: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.5); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent) !important; background: transparent; }
.btn--green { background: var(--forest); color: #fff !important; }
.btn--green:hover { background: var(--forest-mid); }

/* DEFBOX */
.defbox { background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.75rem 2rem; margin-bottom: 2rem; }
.defbox-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.75rem; }
.defbox p { font-size: 1.02rem; margin: 0; line-height: 1.65; color: var(--text-primary); }

/* FACTBOX */
.fact-box { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 1.75rem 2rem; margin: 1.5rem 0; }
.fact-box-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 1rem; }
.fact-list { list-style: none; padding: 0; }
.fact-list li { padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.fact-list li:last-child { border-bottom: none; }
.fact-list li strong { color: #fff; }

/* ADVISORY BOX */
.advisory { background: var(--cream); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 2rem; margin: 1.5rem 0; }
.advisory-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.75rem; }
.advisory p { font-size: 0.92rem; margin: 0 0 0.75rem 0; }
.advisory p:last-child { margin-bottom: 0; }

/* EXPERT NOTE */
.expert-note { background: rgba(212,160,23,0.08); border: 1px solid rgba(212,160,23,0.25); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-size: 0.88rem; color: var(--text-secondary); }

/* HIGHLIGHT */
.highlight { background: rgba(27,58,45,0.05); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--forest-mid); margin-bottom: 0.5rem; }
.highlight p { margin: 0; font-size: 0.92rem; }

/* PRODUCT MENTION */
.product-mention { display: flex; gap: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.product-mention-icon { font-size: 1.75rem; flex-shrink: 0; }
.product-mention h4 { margin-bottom: 0.35rem; }
.product-mention p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.product-mention a { font-size: 0.88rem; font-weight: 600; color: var(--forest-mid); }

/* FAQ */
.faq { margin: 1.5rem 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.5rem; background: #fff; overflow: hidden; }
.faq-q { padding: 1.1rem 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; color: var(--text-primary); user-select: none; }
.faq-q:hover { background: var(--cream); }
.faq-a { display: none; padding: 0 1.5rem 1.25rem; }
.faq-a p { margin: 0; font-size: 0.9rem; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { background: var(--cream); color: var(--forest); }
.arrow { font-size: 0.65rem; transition: transform 0.2s; }
.faq-item.open .arrow { transform: rotate(180deg); }

/* SCORE BARS */
.score-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.score-label { flex: 0 0 220px; font-size: 0.88rem; color: var(--text-secondary); }
.score-track { flex: 1; background: var(--off-cream); border-radius: 100px; height: 8px; overflow: hidden; }
.score-fill { height: 100%; background: linear-gradient(90deg, var(--forest), var(--accent)); border-radius: 100px; }
.score-val { flex: 0 0 50px; font-weight: 700; font-size: 0.88rem; color: var(--forest); text-align: right; }

/* CAT NAV */
.cat-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.cat-nav a { background: var(--off-cream); color: var(--text-secondary); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; text-decoration: none; border: 1px solid var(--border); }
.cat-nav a:hover { background: var(--forest); color: #fff; border-color: var(--forest); text-decoration: none; }

/* PROVIDER CARD */
.provider-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.provider-card.featured { border-color: var(--accent); border-top: 3px solid var(--accent); }
.provider-header { display: flex; align-items: flex-start; gap: 1rem; }
.provider-emoji { font-size: 2rem; flex-shrink: 0; }
.provider-meta { flex: 1; }
.provider-name { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 0.2rem; }
.provider-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.provider-desc { font-size: 0.9rem; color: var(--text-secondary); margin: 0.75rem 0 0.5rem; }
.provider-note { font-size: 0.83rem; color: var(--text-muted); border-top: 1px solid var(--off-cream); padding-top: 0.5rem; margin-top: 0.5rem; }
.badge-featured { background: var(--accent); color: var(--forest); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; margin-left: 8px; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.05em; }

/* FOOTER */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { color: #fff; font-family: var(--font-display); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,0.5); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.85rem; text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ═══════════════════════════════════════
   PALLELØFTER SLIDER — unik komponent
═══════════════════════════════════════ */
.finder { background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 2.5rem; margin: 2rem 0; box-shadow: 0 4px 24px rgba(27,58,45,0.1); }
.finder h2 { margin-bottom: 0.5rem; font-size: 1.5rem; }
.finder-intro { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 2rem; }
.finder-sliders { display: grid; gap: 1.75rem; margin-bottom: 2rem; }
.slider-group label { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.6rem; }
.slider-group label span { font-family: var(--font-display); font-size: 1.1rem; color: var(--forest); background: var(--accent-light); padding: 0.1rem 0.6rem; border-radius: 2px; }
input[type="range"] { width: 100%; appearance: none; height: 6px; border-radius: 100px; background: var(--off-cream); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--forest); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--forest); }
.slider-ticks { display: flex; justify-content: space-between; margin-top: 0.3rem; }
.slider-ticks span { font-size: 0.72rem; color: var(--text-muted); }
.finder-result { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 1.75rem 2rem; min-height: 80px; transition: all 0.3s ease; }
.finder-result .result-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; margin-bottom: 0.5rem; }
.finder-result .result-title { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.4rem; }
.finder-result .result-body { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.finder-result .result-link { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent); color: var(--forest); padding: 0.55rem 1.25rem; border-radius: var(--radius); font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.finder-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-top: 1.25rem; }
.finder-spec { text-align: center; background: rgba(255,255,255,0.07); border-radius: var(--radius); padding: 0.6rem; }
.finder-spec .fs-val { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); }
.finder-spec .fs-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger { display: block; }
  nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--forest); flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
  nav.open { display: flex; }
  nav a { height: auto; padding: 0.85rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); border-left: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-box { flex-direction: column; }
  .score-label { flex: 0 0 160px; font-size: 0.82rem; }
  .quick-nav ol { columns: 1; }
  .finder-specs { grid-template-columns: repeat(3,1fr); }
  .hero-stats { gap: 1.5rem; }
}
