/* ==========================================================
   AFK Lotteriet – Ålgård Fotballklubb
   Ren HTML/CSS. Farger styres fra variablene under.
   ========================================================== */

:root {
  --navy-900: #0b0b0b;
  --navy-800: #171717;
  --navy-700: #2b2b2b;
  --navy-100: #efefef;
  --red-600: #111111;
  --red-700: #000000;
  --gold-400: #d6d6d6;
  --gold-100: #f4f4f4;
  --ink: #111111;
  --muted: #5f5f5f;
  --line: #e2e2e2;
  --bg: #f7f7f7;
  --white: #ffffff;
  --success: #1f8a4c;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .16);
  --container: 1180px;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: .3px;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-900); color: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #bdbdbd; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .95rem;
  color: var(--red-600);
  margin-bottom: 8px;
}
.section--navy .eyebrow { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red-600); color: var(--white); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.btn--primary:hover { background: var(--red-700); }
.btn--gold { background: var(--gold-400); color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 1rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red-600);
  color: var(--white);
  font-size: .9rem;
  text-align: center;
  padding: 8px 20px;
}
.topbar strong { font-weight: 700; }
.topbar a { color: var(--white); text-decoration: underline; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none !important; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__text { font-family: var(--font-head); line-height: 1; }
.brand__name { display: block; font-size: 1.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.brand__sub { display: block; font-size: .85rem; color: var(--gold-400); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: #d5d5d5; font-weight: 500; font-size: .95rem; white-space: nowrap;
  text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); border-color: var(--red-600); }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.nav__login { color: var(--white); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; width: 24px; height: 2px; background: var(--white); position: relative; transition: .2s;
}
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }

@media (max-width: 1180px) {
  .nav-burger { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 20px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__actions { padding: 18px 0 24px; justify-content: space-between; }
  .nav-toggle:checked ~ .nav { max-height: 520px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  /* stilisert fotballbane i bakgrunnen */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 55%, transparent 118px, rgba(255,255,255,.07) 119px, rgba(255,255,255,.07) 121px, transparent 122px),
    linear-gradient(90deg, transparent calc(78% - 1px), rgba(255,255,255,.07) calc(78% - 1px), rgba(255,255,255,.07) calc(78% + 1px), transparent calc(78% + 1px));
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 80px 20px 96px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 999px; font-size: .88rem; margin-bottom: 22px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ee07f; box-shadow: 0 0 0 4px rgba(62,224,127,.25); }
.hero h1 span { color: var(--gold-400); }
.hero__lead { font-size: 1.18rem; color: #d0d0d0; max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 34px; }
.hero__fact strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--white); line-height: 1; }
.hero__fact span { font-size: .86rem; color: #a6a6a6; text-transform: uppercase; letter-spacing: 1px; }

/* Lodd-kort i hero */
.ticket {
  position: relative;
  background: var(--white); color: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg);
  overflow: hidden;
}
.ticket__top {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white); padding: 26px 28px 30px; text-align: center;
}
.ticket__top img { width: 74px; height: 74px; margin: 0 auto 10px; background: var(--white); border-radius: 50%; padding: 6px; object-fit: contain; }
.ticket__top h3 { font-size: 1.9rem; text-transform: uppercase; margin: 0; }
.ticket__top p { margin: 4px 0 0; opacity: .9; font-size: .95rem; }
.ticket__perf {
  position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 18px;
}
.ticket__perf::before, .ticket__perf::after {
  content: ""; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800);
}
.ticket__perf::before { left: -32px; }
.ticket__perf::after { right: -32px; }
.ticket__body { padding: 24px 28px 28px; }
.ticket__price { text-align: center; margin-bottom: 18px; }
.ticket__price strong { font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--navy-900); }
.ticket__price span { display: block; color: var(--muted); font-size: .9rem; }
.ticket__rows { list-style: none; padding: 0; margin: 0 0 20px; font-size: .95rem; }
.ticket__rows li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ticket__rows li:last-child { border-bottom: 0; }
.ticket__rows b { color: var(--navy-900); }
.ticket__no { font-family: "Courier New", monospace; text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: 3px; margin-top: 14px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 20px 72px; }
  .ticket { transform: none; max-width: 420px; margin: 0 auto; }
}

/* ---------- Progress / salgsstatus ---------- */
.status-strip { margin-top: -44px; position: relative; z-index: 2; }
.status-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.status-card > div { padding: 24px 26px; border-right: 1px solid var(--line); }
.status-card > div:last-child { border-right: 0; }
.status-card small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; margin-bottom: 4px; }
.status-card strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-900); }
.progress { height: 10px; background: var(--navy-100); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress__bar { height: 100%; background: linear-gradient(90deg, #111, #8a8a8a); border-radius: 99px; }
@media (max-width: 860px) {
  .status-card { grid-template-columns: 1fr 1fr; }
  .status-card > div:nth-child(2) { border-right: 0; }
  .status-card > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
.card--hover { transition: transform .2s, box-shadow .2s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step { position: relative; padding-top: 36px; }
.step__num {
  position: absolute; top: -22px; left: 30px;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--red-600); color: var(--white);
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
}
.step p { color: var(--muted); margin: 0; }

.icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }

/* ---------- Packages (velg antall lodd) ---------- */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .packages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .packages { grid-template-columns: 1fr; } }
.package {
  position: relative; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.package:hover { border-color: var(--red-600); transform: translateY(-4px); box-shadow: var(--shadow); }
.package--featured { border-color: var(--red-600); box-shadow: var(--shadow); }
.package__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-400); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  font-size: .85rem; padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.package__qty { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; color: var(--navy-900); line-height: 1; }
.package__label { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 16px; }
.package__price { font-size: 1.5rem; font-weight: 700; color: var(--red-600); margin-bottom: 18px; }
.package__note { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }

/* ---------- Prizes ---------- */
.prize {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.prize__media {
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--gold-400); position: relative;
}
.prize__media svg { width: 64px; height: 64px; }
.prize__count {
  position: absolute; top: 14px; left: 14px; background: var(--red-600); color: var(--white);
  font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 99px;
}
.prize__body { padding: 22px 24px 26px; }
.prize__value { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--navy-900); line-height: 1; }
.prize__body p { color: var(--muted); margin: 8px 0 0; font-size: .95rem; }
.prize--top { grid-column: span 2; flex-direction: row; }
.prize--top .prize__media { aspect-ratio: auto; flex: 1; min-height: 240px; background: linear-gradient(135deg, var(--red-600), var(--red-700)); }
.prize--top .prize__media svg { width: 96px; height: 96px; }
.prize--top .prize__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.prize--top .prize__value { font-size: 3rem; }
@media (max-width: 640px) { .prize--top { grid-column: auto; flex-direction: column; } }

.total-box {
  margin-top: 36px; background: var(--gold-100); border: 1px solid #dcdcdc; border-radius: var(--radius);
  padding: 22px 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.total-box strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy-900); }

/* ---------- Purpose / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.purpose-visual {
  border-radius: 20px; min-height: 380px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85)),
    repeating-linear-gradient(90deg, #2d7a3e 0 60px, #2a7239 60px 120px);
  position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 30px; color: var(--white);
}
.purpose-visual::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 180px; height: 180px; margin: -110px 0 0 -90px;
  border: 3px solid rgba(255,255,255,.55); border-radius: 50%;
}
.purpose-visual::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: rgba(255,255,255,.55);
}
.purpose-visual > div { position: relative; z-index: 1; }
.purpose-visual strong { font-family: var(--font-head); font-size: 3rem; display: block; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red-600); color: var(--white); font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.15); }
.timeline li { position: relative; padding-left: 60px; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-900); border: 3px solid var(--gold-400);
}
.timeline li.is-done::before { background: var(--gold-400); }
.timeline li.is-now::before { background: var(--red-600); border-color: var(--red-600); box-shadow: 0 0 0 6px rgba(0,0,0,.3); }
.timeline__date { font-family: var(--font-head); color: var(--gold-400); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; }
.timeline h4 { font-size: 1.35rem; margin: 2px 0 4px; }
.timeline p { color: #bdbdbd; margin: 0; }
.section--white .timeline::before { background: var(--line); }
.section--white .timeline li::before { background: var(--white); }
.section--white .timeline li.is-done::before { background: var(--gold-400); }
.section--white .timeline li.is-now::before { background: var(--red-600); }
.section--white .timeline__date { color: var(--red-600); }
.section--white .timeline p { color: var(--muted); }

/* ---------- Calendar (trekningsresultat 1–24 des) ---------- */
.calendar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 760px) { .calendar { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 440px) { .calendar { grid-template-columns: repeat(3, 1fr); } }
.calendar__day {
  aspect-ratio: 1; border-radius: 12px; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  position: relative;
}
.calendar__day b { font-family: var(--font-head); font-size: 2rem; color: var(--navy-900); line-height: 1; }
.calendar__day small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; }
.calendar__day.is-locked { background: repeating-linear-gradient(45deg, var(--bg), var(--bg) 8px, #efefef 8px, #efefef 16px); }
.calendar__day.is-locked b { color: #ababab; }
.calendar__day.is-big { background: var(--red-600); border-color: var(--red-600); }
.calendar__day.is-big b, .calendar__day.is-big small { color: var(--white); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--navy-100); font-weight: 600; color: var(--navy-900); font-size: .85rem; text-transform: uppercase; letter-spacing: .6px; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .8rem; font-weight: 600; }
.badge--ok { background: #dff4e7; color: var(--success); }
.badge--wait { background: var(--gold-100); color: #333333; }
.badge--muted { background: var(--navy-100); color: var(--navy-700); }
.badge--win { background: var(--red-600); color: var(--white); }

/* ---------- FAQ (details/summary – ingen JS) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy-100); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 500;
}
.faq details[open] summary::after { content: "–"; background: var(--red-600); color: var(--white); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- License box ---------- */
.license {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px;
}
.license__seal {
  width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--navy-800);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-head); color: var(--navy-800); line-height: 1.05; font-size: .82rem; text-transform: uppercase;
}
.license__seal b { font-size: 1.3rem; }
.license dl { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 32px; margin: 0; font-size: .92rem; }
.license dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; }
.license dd { margin: 0 0 8px; font-weight: 600; }
@media (max-width: 860px) {
  .license { grid-template-columns: 1fr; text-align: left; }
  .license dl { grid-template-columns: 1fr 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-600), var(--red-700));
  color: var(--white); border-radius: 22px; padding: 52px 48px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }

/* ---------- Page header (undersider) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); padding: 64px 0 56px; text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { color: #c4c4c4; max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.crumbs { font-size: .85rem; color: #949494; margin-bottom: 14px; }
.crumbs a { color: #c4c4c4; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 40px; box-shadow: var(--shadow);
}
.form-card--narrow { max-width: 480px; margin: 0 auto; }
.form-card h2 { font-size: 1.9rem; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.hint { font-size: .82rem; color: var(--muted); margin-top: 5px; display: block; font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], select, textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(0,0,0,.12);
}
input:user-invalid { border-color: var(--red-600); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .93rem; color: var(--ink); margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red-600); flex-shrink: 0; }
.form-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: .94rem; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-vipps { background: #ff5b24; color: var(--white); }
.btn-vipps:hover { background: #e94e1b; }
.btn-bankid { background: #39134c; color: var(--white); }
.btn-bankid:hover { background: #2a0e38; }
.form-section-title {
  font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin: 34px 0 18px;
}
.form-section-title:first-of-type { margin-top: 0; }
.form-section-title span {
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.notice {
  background: var(--navy-100); border-left: 4px solid var(--navy-700); border-radius: 8px;
  padding: 14px 18px; font-size: .9rem; color: var(--navy-800); margin-bottom: 20px;
}
.notice--warn { background: var(--gold-100); border-color: var(--gold-400); color: #333333; }

/* Radio-kort for antall lodd */
.qty-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
@media (max-width: 560px) { .qty-options { grid-template-columns: 1fr 1fr; } }
.qty-option input { position: absolute; opacity: 0; pointer-events: none; }
.qty-option label {
  display: block; text-align: center; padding: 18px 10px; border: 2px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: .15s; margin: 0; background: var(--white);
}
.qty-option label b { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--navy-900); }
.qty-option label small { color: var(--muted); font-weight: 500; }
.qty-option input:checked + label { border-color: var(--red-600); background: #f2f2f2; box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.qty-option input:focus-visible + label { outline: 3px solid var(--navy-700); outline-offset: 2px; }

.pay-options { display: grid; gap: 12px; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option label {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--line);
  border-radius: 12px; cursor: pointer; margin: 0; font-weight: 600;
}
.pay-option label::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0;
}
.pay-option input:checked + label { border-color: var(--red-600); }
.pay-option input:checked + label::before { border: 6px solid var(--red-600); }
.pay-logo { margin-left: auto; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }

/* Ordreoppsummering */
.checkout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 920px) { .checkout { grid-template-columns: 1fr; } }
.summary { position: sticky; top: 100px; }
.summary__rows { list-style: none; padding: 0; margin: 0 0 18px; }
.summary__rows li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 22px; }
.summary__total strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--navy-900); }

/* Auth-layout */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 116px); }
.auth__side {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;
}
.auth__side img { width: 96px; height: 96px; margin-bottom: 26px; object-fit: contain; }
.auth__side p { color: #c4c4c4; font-size: 1.05rem; max-width: 440px; }
.auth__side .checklist li { color: #e5e5e5; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 56px 24px; background: var(--bg); }
.auth__main .form-card { width: 100%; max-width: 480px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__side { padding: 44px 24px; } }

/* Dashboard */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.dash-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.dash-nav a:hover { background: var(--bg); }
.dash-nav a.is-active { background: var(--navy-900); color: var(--white); }
.dash-user { display: flex; align-items: center; gap: 12px; padding: 10px 14px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--red-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.stat small { color: var(--muted); text-transform: uppercase; font-size: .76rem; letter-spacing: 1px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy-900); line-height: 1.1; }
.ticket-chip {
  display: inline-block; font-family: "Courier New", monospace; font-weight: 700;
  background: var(--navy-900); color: var(--gold-400); padding: 4px 10px; border-radius: 6px; letter-spacing: 1px;
}

/* Kontakt */
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .icon { margin: 0; flex-shrink: 0; }
.contact-item h4 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; color: var(--muted); }

/* Prose (vilkår) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #bdbdbd; padding: 64px 0 0; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--white); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #bdbdbd; }
.footer a:hover { color: var(--white); }
.footer .brand { margin-bottom: 18px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.footer__social a:hover { background: var(--red-600); text-decoration: none; }
.footer__social svg { width: 18px; height: 18px; }
.footer__resp {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; flex-wrap: wrap;
  gap: 18px; align-items: center; justify-content: space-between; font-size: .85rem;
}
.age {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--white); color: var(--white); font-weight: 700; font-size: .85rem; margin-right: 10px;
}
.footer__bottom { background: #000000; padding: 18px 0; font-size: .82rem; color: #8a8a8a; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 32px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Ålgård FK: svart/hvit (klubbdrakt) – lyse knapper på mørk bakgrunn ---------- */
.topbar { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--ink); }
.header .btn--primary, .hero .btn--primary, .section--navy .btn--primary,
.cta-band .btn--primary, .auth__side .btn--primary {
  background: var(--white); color: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.header .btn--primary:hover, .hero .btn--primary:hover, .section--navy .btn--primary:hover { background: #e9e9e9; }
.btn--gold { background: var(--white); color: var(--ink); }
.btn--gold:hover { background: #e9e9e9; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.nav__links a:hover, .nav__links a.is-active { border-color: var(--white); }
.ticket__top { background: var(--navy-900); }
.ticket__perf::before, .ticket__perf::after { background: var(--navy-700); }
.cta-band { background: var(--navy-900); }
.package__tag { background: var(--ink); color: var(--white); }
.prize--top .prize__media { background: linear-gradient(135deg, #000, #2b2b2b); }
.prize__media { background: linear-gradient(135deg, #1c1c1c, #3a3a3a); color: var(--white); }
.prize__count { background: var(--white); color: var(--ink); }
.eyebrow { color: var(--muted); }
.section--navy .eyebrow, .hero .eyebrow { color: #bdbdbd; }
.section--white .timeline__date { color: var(--ink); }
.timeline__date { color: var(--white); }
.timeline li::before { border-color: var(--white); }
.timeline li.is-done::before { background: var(--white); }
.timeline li.is-now::before { background: var(--white); border-color: var(--white); box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.age { border-color: var(--white); }
.footer__social a:hover { background: var(--white); color: var(--ink); }
/* Lenker i tekst: understreket siden lenkefargen nå er svart */
p a, .notice a, .check a, .form-foot a, .hint a, .prose a, .contact-item a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
