/* ============================================
   KREDITTKORT.GUIDE – Hoved-CSS
   ============================================ */

:root {
  --primary: #0a2540;
  --primary-light: #1a3a5c;
  --accent: #c9a84c;
  --accent-light: #e8c96a;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg: #f8f9fc;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.14);
  --transition: .2s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* ── HEADER ── */
.header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em;
}
.logo__icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.75);
  font-size: .9rem; font-weight: 500;
  transition: var(--transition);
}
.nav__link:hover, .nav__link.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.nav__cta {
  background: var(--accent);
  color: var(--primary) !important;
  font-weight: 700;
}
.nav__cta:hover { background: var(--accent-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0f3460 60%, #1a4a7a 100%);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero__text { color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.4);
  color: var(--accent-light); padding: 6px 14px;
  border-radius: 100px; font-size: .8rem; font-weight: 600;
  margin-bottom: 24px; letter-spacing: .04em; text-transform: uppercase;
}
.hero__title { margin-bottom: 20px; color: #fff; }
.hero__title em { font-style: normal; color: var(--accent-light); }
.hero__subtitle { color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.75; margin-bottom: 36px; }
.hero__stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  font-size: 2rem; font-weight: 800; color: var(--accent-light);
  line-height: 1; display: block;
}
.hero__stat-label { color: rgba(255,255,255,.6); font-size: .8rem; margin-top: 4px; }
.hero__cards {
  position: relative; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.hero__card-stack {
  position: relative; width: 100%; max-width: 400px;
}
.credit-card-visual {
  width: 340px; height: 200px;
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-xl);
  position: absolute;
  transition: var(--transition);
}
.credit-card-visual:nth-child(1) {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  top: 0; left: 0; transform: rotate(-6deg);
  z-index: 1;
}
.credit-card-visual:nth-child(2) {
  background: linear-gradient(135deg, #c9a84c 0%, #a07830 100%);
  top: 20px; left: 20px; transform: rotate(-2deg);
  z-index: 2;
}
.credit-card-visual:nth-child(3) {
  background: linear-gradient(135deg, #0a2540 0%, #1a4060 100%);
  top: 40px; left: 40px; transform: rotate(2deg);
  z-index: 3;
}
.card-visual__chip {
  width: 40px; height: 30px;
  background: linear-gradient(135deg, #ffd700, #c8960c);
  border-radius: 6px; opacity: .9;
}
.card-visual__number {
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,.8); font-size: .9rem; letter-spacing: .15em;
}
.card-visual__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.card-visual__name { color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.card-visual__network { font-size: 1.5rem; opacity: .85; }

/* ── KREDITTKORTVELGER ── */
.velger { background: #fff; }
.velger__intro { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.velger__intro .badge {
  display: inline-block; background: #fef3c7; color: #92400e;
  padding: 6px 16px; border-radius: 100px; font-size: .8rem; font-weight: 600;
  margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase;
}
.velger__grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start;
}
.velger__panel {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--border);
  position: sticky; top: 88px;
}
.velger__panel-title {
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
}
.velger__panel-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 28px; }

/* Sliders */
.slider-group { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.slider-item {}
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.slider-label { font-size: .88rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.slider-label-icon { font-size: 1rem; }
.slider-value {
  font-size: .88rem; font-weight: 700;
  color: var(--primary); background: var(--surface-2);
  padding: 2px 10px; border-radius: 100px;
  min-width: 40px; text-align: center;
}
.slider-track { position: relative; }
input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px;
  border-radius: 100px; outline: none;
  background: linear-gradient(to right, var(--primary) var(--pct, 50%), var(--border-strong) var(--pct, 50%));
  transition: var(--transition);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(10,37,64,.3);
  cursor: pointer;
  transition: var(--transition);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--accent);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(10,37,64,.3); cursor: pointer;
}
.slider-labels { display: flex; justify-content: space-between; margin-top: 6px; }
.slider-labels span { font-size: .7rem; color: var(--text-light); }

/* Hardkrav toggles */
.hardkrav { border-top: 1px solid var(--border); padding-top: 24px; margin-bottom: 28px; }
.hardkrav-title { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.toggle-list { display: flex; flex-direction: column; gap: 12px; }
.toggle-item { display: flex; align-items: center; justify-content: space-between; }
.toggle-label { font-size: .88rem; color: var(--text); }
.toggle {
  position: relative; width: 44px; height: 24px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--border-strong); border-radius: 100px;
  cursor: pointer; transition: var(--transition);
}
.toggle-track::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; left: 3px; top: 3px;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle input:checked + .toggle-track { background: var(--primary); }
.toggle input:checked + .toggle-track::before { transform: translateX(20px); }

/* Reset-knapp */
.btn-reset {
  width: 100%; padding: 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  color: var(--text-muted); font-size: .85rem; font-weight: 500;
  transition: var(--transition);
}
.btn-reset:hover { border-color: var(--primary); color: var(--primary); }

/* Kortvisning – Velger */
.velger__results {}
.velger__results-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.velger__results-title { font-size: 1.1rem; font-weight: 700; }
.results-count {
  background: var(--primary); color: #fff;
  padding: 4px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 600;
}
.result-cards { display: flex; flex-direction: column; gap: 16px; }

/* Resultatkort */
.result-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.result-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.result-card--top {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fffbf0 0%, #fff 60%);
}
.result-card--top::before {
  content: '⭐ Beste match';
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: var(--primary);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 0 var(--radius) 0 var(--radius-sm);
}
.rank-badge {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.rank-badge--1 { background: #fef3c7; color: #92400e; }
.rank-badge--2 { background: #f1f5f9; color: #475569; }
.rank-badge--3 { background: #fff7ed; color: #c2410c; }
.rank-badge--other { background: var(--surface-2); color: var(--text-muted); }
.result-card__body {}
.result-card__name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.result-card__issuer { font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; }
.result-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: 3px 10px;
  border-radius: 100px; font-size: .75rem; font-weight: 500;
}
.tag--green { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.tag--blue { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.tag--gold { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.tag--red { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

.result-card__score {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; flex-shrink: 0; min-width: 80px;
}
.score-ring {
  width: 64px; height: 64px; position: relative;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring__track { fill: none; stroke: var(--border); stroke-width: 5; }
.score-ring__fill {
  fill: none; stroke: var(--primary); stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 163;
  transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1);
}
.score-ring__text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: var(--primary);
}
.score-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); text-align: center; }

.btn-more-info {
  margin-top: 14px; width: 100%;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff; font-size: .82rem; font-weight: 600;
  transition: var(--transition);
}
.btn-more-info:hover { background: var(--primary-light); }

/* Score bar indicator */
.score-bars {
  display: flex; gap: 3px; align-items: flex-end; height: 20px;
}
.score-bar {
  width: 5px; border-radius: 3px;
  background: var(--border);
  transition: var(--transition);
}
.score-bar--active { background: var(--primary); }

/* Ingen resultater */
.no-results {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.no-results-icon { font-size: 3rem; margin-bottom: 16px; }

/* ── ALLE KORT – Kortliste ── */
.kortliste { background: var(--bg); }
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: .82rem; font-weight: 500; color: var(--text-muted);
  transition: var(--transition); cursor: pointer; background: var(--surface);
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active {
  background: var(--primary); border-color: var(--primary);
  color: #fff; font-weight: 600;
}
.filter-select {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text); background: var(--surface);
  appearance: none; outline: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: var(--transition);
}
.filter-select:hover, .filter-select:focus { border-color: var(--primary); }
.filter-search {
  flex: 1; min-width: 200px;
}
.filter-search input {
  width: 100%; padding: 9px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .88rem; font-family: inherit; outline: none;
  transition: var(--transition); background: var(--surface);
}
.filter-search input:focus { border-color: var(--primary); }
.filter-results-count {
  margin-left: auto; font-size: .85rem; color: var(--text-muted); white-space: nowrap; align-self: center;
}

/* Kortgrid */
.kort-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.kort-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.kort-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.kort-card__header {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4060 100%);
  padding: 24px;
  display: flex; align-items: center; gap: 16px;
  position: relative;
}
.kort-card__img-wrap {
  width: 72px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kort-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.kort-card__img-placeholder {
  font-size: 1.4rem;
}
.kort-card__title-area { flex: 1; min-width: 0; }
.kort-card__name {
  color: #fff; font-size: .95rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kort-card__issuer { color: rgba(255,255,255,.6); font-size: .78rem; margin-top: 2px; }
.kort-card__network {
  font-size: 1.2rem; flex-shrink: 0;
}
.kort-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.kort-card__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-box {
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 12px; text-align: center;
}
.stat-box__value { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.stat-box__label { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }
.kort-card__features { display: flex; flex-direction: column; gap: 8px; }
.feature-row { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.feature-row__icon { font-size: .9rem; width: 18px; text-align: center; }
.feature-row__text { color: var(--text); }
.feature-row--has { color: var(--success); }
.feature-row--missing { color: var(--text-light); }
.feature-row--missing .feature-row__text { color: var(--text-light); }
.kort-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.kort-card__footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); font-size: .85rem; padding: 9px 18px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); box-shadow: 0 4px 12px rgba(10,37,64,.3); }
.btn--outline { border: 1.5px solid var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { padding: 7px 14px; font-size: .8rem; }
.btn--full { width: 100%; }

/* Compare bar */
.compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary); color: #fff;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  transform: translateY(100%); transition: var(--transition);
  z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.compare-bar.visible { transform: translateY(0); }
.compare-bar__label { font-weight: 600; font-size: .9rem; }
.compare-bar__cards { display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }
.compare-bar__card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); padding: 6px 12px;
  font-size: .82rem; display: flex; align-items: center; gap: 8px;
}
.compare-bar__card-remove {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; cursor: pointer; transition: var(--transition);
}
.compare-bar__card-remove:hover { background: var(--danger); }
.compare-bar__actions { display: flex; gap: 10px; }
.btn--compare {
  background: var(--accent); color: var(--primary);
  font-weight: 700;
}
.btn--compare:hover { background: var(--accent-light); }
.btn--compare-clear { border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); font-size: .82rem; padding: 7px 14px; }
.btn--compare-clear:hover { border-color: #fff; color: #fff; }
.compare-checkbox {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
}
.compare-checkbox input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--accent); }

/* Sammenlign modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg);
  width: 100%; max-width: 1100px; max-height: 90vh;
  overflow: auto; box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(.97); transition: var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__header {
  padding: 24px 32px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.modal__header h2 { font-size: 1.3rem; }
.modal__close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
}
.modal__close:hover { background: var(--border-strong); }
.modal__body { padding: 32px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  background: var(--primary); color: #fff; padding: 14px 20px;
  text-align: left; font-size: .88rem; white-space: nowrap;
}
.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.compare-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: .88rem; vertical-align: top; }
.compare-table tr:nth-child(even) td { background: var(--surface-2); }
.compare-table .row-label { font-weight: 600; color: var(--text-muted); background: var(--surface-2) !important; white-space: nowrap; }
.compare-yes { color: var(--success); font-weight: 600; }
.compare-no { color: var(--text-light); }
.compare-best { font-weight: 700; color: var(--primary); }

/* ── STATS SEKSJON ── */
.stats-strip {
  background: var(--primary);
  padding: 48px 0;
}
.stats-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats-strip__item {
  background: var(--primary);
  padding: 32px 24px; text-align: center;
}
.stats-strip__num {
  font-size: 2.4rem; font-weight: 800; color: var(--accent-light);
  line-height: 1; display: block;
}
.stats-strip__label { color: rgba(255,255,255,.65); font-size: .88rem; margin-top: 8px; }

/* ── TIPS SEKSJON ── */
.tips { background: var(--surface); }
.tips__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-card {
  padding: 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
}
.tip-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.tip-card__icon {
  width: 52px; height: 52px;
  background: var(--surface-2); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.tip-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.tip-card p { font-size: .88rem; }

/* ── FOOTER ── */
.footer {
  background: #06182d;
  color: rgba(255,255,255,.7);
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer__brand {}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: .88rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer__links a:hover { color: var(--accent-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: gap; font-size: .8rem;
}
.footer__disclaimer { max-width: 600px; font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.6; margin-top: 8px; }

/* ── KORTDETALJE MODAL ── */
.detail-modal {}
.detail-modal .modal { max-width: 700px; }
.detail-section { margin-bottom: 28px; }
.detail-section h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.detail-row:last-child { border: none; }
.detail-row__label { color: var(--text-muted); }
.detail-row__value { font-weight: 600; color: var(--text); text-align: right; }

/* ── SCROLL ANIMASJONER ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── LOADING ── */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, #e8ecf0 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shine { to { background-position: -200% 0; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .velger__grid { grid-template-columns: 1fr; }
  .velger__panel { position: static; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__cards { display: none; }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tips__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--primary); padding: 16px; gap: 4px; }
  .hamburger { display: flex; }
  .kort-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; }
  .tips__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { justify-content: center; }
  .result-card { grid-template-columns: auto 1fr; }
  .result-card__score { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .velger__panel { padding: 20px; }
  .modal__body { padding: 20px; }
  .compare-table { font-size: .78rem; }
  .compare-table td, .compare-table th { padding: 10px 12px; }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Scroll til topp */
.scroll-top {
  position: fixed; bottom: 80px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); font-size: 1.1rem;
  opacity: 0; pointer-events: none; transition: var(--transition);
  z-index: 150;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }
