/* ==========================================================
   Escape Haugesund – stilark
   Profil: svart, hvit Montserrat, oransje aksent (#F99B22)
   ========================================================== */

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --surface: #121212;
  --surface-2: #1b1b1b;
  --line: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.4);
  --accent: #f99b22;
  --accent-soft: rgba(249, 155, 34, 0.14);

  --font: "Montserrat", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
p a, .fine a, dd a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.01em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }
.accent { color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 34px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 15px/1 var(--font);
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: var(--accent); color: #000; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); background: transparent; color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background 0.3s;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active, .nav a[aria-current="page"] { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 960px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 55% at 82% 45%, rgba(249, 155, 34, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 30%, rgba(0, 0, 0, 0.95) 100%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(24px, 4vw, 56px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px; padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }
.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.hero-lead { margin: 24px 0 36px; max-width: 600px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stoppeklokke i hero */
.stopwatch { width: clamp(150px, 15vw, 200px); filter: drop-shadow(0 0 50px rgba(249, 155, 34, 0.3)); }
.stopwatch svg { display: block; width: 100%; height: auto; overflow: visible; }
.sw-metal { fill: #d9d4cc; }
.sw-face { fill: rgba(8, 6, 4, 0.72); stroke: #fff; stroke-width: 6; }
.sw-tick { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-linecap: round; }
.sw-tick-long { stroke: #fff; stroke-width: 3.5; }
.sw-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.sw-arc { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.sw-min { fill: #fff; font: 800 46px var(--font); text-anchor: middle; font-variant-numeric: tabular-nums; }
.sw-unit { fill: var(--muted); font: 700 11px var(--font); letter-spacing: 0.2em; text-anchor: middle; text-transform: uppercase; }
.sw-hand { transform-origin: 120px 160px; transform-box: view-box; transition: transform 0.3s cubic-bezier(0.4, 2.3, 0.6, 1); }
.sw-hand line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.sw-cap { fill: var(--accent); }
.sw-pin { fill: #000; }

.facts {
  list-style: none; padding: 0; margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.facts li { padding: 22px 0 28px; display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.facts strong { color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.facts strong { white-space: nowrap; }

.video-toggle {
  position: absolute; right: 16px; bottom: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.video-toggle svg { width: 16px; height: 16px; fill: #fff; }
.video-toggle .i-play { display: none; }
.video-toggle.paused .i-play { display: block; }
.video-toggle.paused .i-pause { display: none; }

/* ---------- Seksjoner ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-tight { padding-bottom: clamp(40px, 6vw, 80px); }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 52px; max-width: 720px; }
.kicker {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.section-lead { margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }
.fine { font-size: 14px; color: var(--muted); }

/* ---------- Hvordan det virker ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: center;
}
.step-icon {
  display: grid; place-items: center;
  width: 150px; height: 150px; margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: background 0.3s, transform 0.3s;
}
.steps li:hover .step-icon { background: var(--accent-soft); transform: scale(1.04); }
.step-icon svg { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { margin: 0 auto; max-width: 280px; color: var(--muted); }
.how-note {
  margin: 56px auto 0; max-width: 640px; text-align: center;
  padding: 18px 24px; border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: 15px;
}

/* ---------- Spillene ---------- */
.rooms {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  width: min(100% - 32px, 1400px); margin-inline: auto;
}
.room {
  position: relative; isolation: isolate;
  min-height: 680px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.room-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}
.room::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.92) 72%, #000 100%);
  transition: opacity 0.4s;
}
.room:hover .room-video { transform: scale(1.07); }
.room-content { padding: 32px; }
.tag {
  display: inline-block; margin-bottom: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #000;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.tag-outline { background: rgba(0, 0, 0, 0.4); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.room h3 { font-size: clamp(2rem, 2.8vw, 2.5rem); letter-spacing: -0.015em; }
.room-content > p { margin: 12px 0 24px; color: rgba(255, 255, 255, 0.78); font-size: 15.5px; }
.room-meta {
  list-style: none; padding: 20px 0 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.room-meta li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.room-meta strong { font-size: 1.15rem; line-height: 1; }
.room-meta small { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.room .btn { width: 100%; }

.extras { margin-top: clamp(72px, 9vw, 120px); }
@media (min-width: 1081px) {
  /* Færre enn tre kort: hold dem midtstilt i stedet for å strekke dem */
  .rooms:has(> .room:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .rooms:has(> .room:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 560px)); justify-content: center; }
}

.dots { display: inline-flex; gap: 5px; height: 18px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.dots i.on { background: var(--accent); }

/* Hele kortet er klikkbart: lenken i tittelen strekkes over kortet */
.room-link { color: inherit; text-decoration: none; }
.room-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.room:has(.room-link) { cursor: pointer; }
.room:has(.room-link:hover) .room-video { transform: scale(1.07); }
.room:has(.room-link:hover) .btn-primary { background: var(--accent); }
.room:has(.room-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.room-link:focus-visible { outline: none; }

.card-kampanje { margin: -8px 0 20px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ---------- Bedriftsside (B2B) ---------- */
.b2b-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.b2b-intro-text p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin: 0 0 14px; max-width: 560px; }
.b2b-intro-text h2 { margin-bottom: 20px; }
.b2b-intro-text .b2b-big { color: #fff; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.4; }
.b2b-intro-media { position: relative; margin: 0; }
.b2b-intro-media img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(249, 155, 34, 0.35);
}
.b2b-tags { position: absolute; left: -18px; bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.b2b-tags span {
  align-self: flex-start; padding: 8px 16px; border-radius: 999px;
  background: var(--accent); color: #000; font-weight: 800; font-size: 14px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  transform: rotate(-2deg);
}
.b2b-tags span:nth-child(2) { margin-left: 22px; background: #fff; transform: rotate(1.5deg); }
.b2b-tags span:nth-child(3) { margin-left: 8px; transform: rotate(-1deg); }

.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.activity {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); border: 2px solid transparent;
  transition: transform 0.3s, border-color 0.3s;
}
.activity:hover { transform: translateY(-4px); border-color: rgba(249, 155, 34, 0.5); }
.activity-featured { border-color: var(--accent); }
.activity-media { aspect-ratio: 16 / 10; overflow: hidden; }
.activity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.activity:hover .activity-media img { transform: scale(1.06); }
.activity-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.activity-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 12px; }
.activity-body > p:not(.kicker) { color: var(--muted); margin: 0 0 14px; }
.activity-body .activity-note { color: #fff; font-weight: 600; font-size: 15px; border-left: 3px solid var(--accent); padding-left: 12px; }
.activity-body .activity-games { font-size: 14px; }
.activity-games:empty { display: none; }
.activity-games a { color: #fff; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.activity-body .btn { margin-top: auto; align-self: flex-start; }
.cta-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px;
  margin-top: 40px; text-align: center;
}
.cta-line p { margin: 0; font-size: 1.15rem; font-weight: 700; }

.occasions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.occasions li {
  padding: 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.occasions li:hover { transform: translateY(-3px); border-color: rgba(249, 155, 34, 0.5); background: var(--surface-2); }
.occ-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 14px; background: var(--accent-soft);
}
.occ-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.occasions li:hover .occ-icon svg { animation: wiggle 0.5s ease; }
@keyframes wiggle { 30% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
.occasions h3 { font-size: 1.2rem; margin-bottom: 6px; }
.occasions p { margin: 0; color: var(--muted); font-size: 15px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.timeline li { position: relative; text-align: center; padding: 0 12px; }
.tl-num {
  position: relative; display: inline-grid; place-items: center;
  width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--accent);
  font-size: 1.6rem; font-weight: 900; color: var(--accent);
}
.timeline h3 { font-size: 1.35rem; margin-bottom: 8px; }
.timeline p { margin: 0 auto; max-width: 300px; color: var(--muted); }

.big-group {
  display: grid; grid-template-columns: 1.4fr auto; gap: 24px 48px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(249, 155, 34, 0.28), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(249, 155, 34, 0.05) 22px 24px),
    var(--surface);
  border: 2px solid rgba(249, 155, 34, 0.4);
}
.big-group h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.big-group p:not(.kicker) { margin: 0 0 10px; color: rgba(255, 255, 255, 0.8); max-width: 620px; }

.faq-cards { display: grid; gap: 10px; }
.faq-cards details { padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color 0.2s; }
.faq-cards details[open] { border-color: rgba(249, 155, 34, 0.5); }
.faq-cards details p { margin-left: 34px; }

/* ---------- Gavekort ---------- */
.gift-widget { max-width: 860px; margin: 0 auto 20px; min-height: 388px; }

/* ---------- Personvern ---------- */
.legal-section { padding-top: clamp(32px, 5vw, 56px); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
.legal-body { color: var(--muted); line-height: 1.7; }
.legal-body h2 { margin: 56px 0 14px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--text); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--accent); text-underline-offset: 3px; }
.legal-facts { list-style: none; padding: 20px 22px !important; border-radius: var(--radius); background: var(--surface); }
.legal-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--text); font-weight: 700; background: var(--surface); }
.legal-table tr:last-child td { border-bottom: 0; }

/* ---------- Spill-oversikt ---------- */
.page-intro { padding: calc(var(--header-h) + 64px) 0 24px; }
.page-intro .room-title { margin-bottom: 4px; }
.page-intro .section-lead { max-width: 640px; }
.category-links { margin-top: 28px; }
.category-links a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 2px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.category-links a:hover { border-color: var(--accent); }
.category-links span {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: #000; font-size: 12px; font-weight: 800;
}
.rooms-grid { width: min(100% - 32px, var(--wrap)); }
.rooms-grid .room { min-height: 600px; }
.game-group .section-head { margin-bottom: 36px; }

/* ---------- Romside ---------- */
.room-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(68svh, 640px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 64px;
}
.room-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 35%, rgba(0, 0, 0, 0.95) 100%);
}
.room-hero-inner { max-width: var(--wrap); }
.back-link {
  display: inline-block; margin-bottom: 28px;
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
}
.back-link:hover { color: #fff; }
.room-hero-inner > .tag { display: table; }
.room-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98;
}
.room-hero .hero-lead { margin: 18px 0 28px; }
.room-subtitle {
  margin: 14px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--accent);
}
.room-hero .hero-lead p { margin: 0 0 12px; }
.room-hero .hero-lead p:last-child { margin-bottom: 0; }
.room-meta-hero { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px clamp(24px, 5vw, 48px); max-width: 620px; margin-bottom: 32px; }
.room-hero-inner > .kicker { margin: 4px 0 8px; }
.kampanje-strip {
  display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
  margin: 28px 0 0; padding: 14px 20px; border-radius: 12px;
  background: var(--accent); color: #000; font-size: 15px;
}
.kampanje-strip strong { font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }

.room-about { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.room-story h2 { margin-bottom: 20px; }
.story-text p { margin: 0 0 18px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.82); }
.story-subtitle { margin: 28px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.story-list li { position: relative; padding-left: 30px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); }
.story-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.read-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.read-more:hover { color: var(--accent); }
.gm-note {
  margin-top: 32px; padding: 20px 24px;
  border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface); color: var(--muted);
}
.gm-note strong { display: block; color: #fff; margin-bottom: 4px; }
.room-facts {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 28px; border-radius: var(--radius); background: var(--surface);
}
.facts-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.room-facts dl { margin: 0 0 24px; }
.room-facts dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.room-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.room-facts dd { margin: 0; font-weight: 600; }
.room-facts .btn { width: 100%; }

/* Booking på romsiden: kort overskrift og kalenderen i full bredde */
.room-booking { padding: 40px 0 56px; }
.booking-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.booking-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.booking-head .fine { margin: 0; }
/* Dobbel klasse: må slå .booking-panel sitt to-kolonne-oppsett, som står lenger ned i filen */
.booking-panel.booking-panel-compact { grid-template-columns: 1fr; }
/* Kalenderen blir uoversiktlig når den er for bred, så bookingdelen holdes smal og midtstilt */
.room-booking .wrap { max-width: 860px; }
.booking-terms { margin: 14px 0 0; }

.not-found { min-height: 70svh; display: grid; place-items: center; padding-top: calc(var(--header-h) + 60px); }
.not-found h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 8px; }
.not-found .btn { margin-top: 28px; }

/* «To måter å spille på»: høyere kort og mørkere bunn, så teksten ikke havner oppå bildet */
.ways .promo { min-height: 600px; }
.ways .promo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0.94) 62%, #000 100%); }

/* ---------- «Vi kommer til dere»-skjema ---------- */
.link-button {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.inquiry-dialog {
  width: min(100% - 24px, 640px); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: #fff;
  overflow: auto;
}
.inquiry-dialog::backdrop { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); }
.inquiry-body { padding: clamp(24px, 4vw, 36px); }
.inquiry-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; padding-right: 36px; }
.inquiry-body > .fine { margin: 0 0 22px; }
.inquiry-body .field input, .inquiry-body .field textarea { background: var(--surface-2); }
.inquiry-body .inquiry > .btn { justify-self: stretch; }
.dialog-close {
  position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.dialog-close:hover { border-color: var(--accent); }
.inquiry-done h2 { margin: 6px 0 12px; }
.inquiry-done p:not(.kicker) { color: var(--muted); }
.inquiry-done .btn { margin-top: 12px; }

/* Skjema for portable spill (vinduet på spillsiden og bedrift.html?spill=<id>) */
.pinq .pinq-title {
  margin: 4px 0 14px; padding-right: 40px;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05;
}
.pinq-intro p { margin: 0 0 12px; max-width: 640px; color: var(--muted); }
.pinq-form { margin-top: 26px; }
.pinq-fields-title {
  margin: 0 0 2px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.field > span em { font-style: normal; font-weight: 500; color: var(--faint); }
.pinq-form > .btn { justify-self: stretch; }
.pinq-note { margin: -6px 0 0; text-align: center; }
.contact-fallback { margin-top: 24px; }
.contact-fallback > p:not(.fine) { color: var(--muted); max-width: 620px; }
.contact-fallback .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.pinq-holder { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); }
.pinq-holder .field :is(input, select, textarea) { background: var(--surface-2); }
.inquiry-done h2 { text-transform: uppercase; }

/* ---------- Bedriftsside ---------- */
.page-hero { min-height: min(80svh, 760px); }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.option {
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 2px solid transparent;
}
.option-featured { border-color: var(--accent); }
.option-num { font-size: 14px; font-weight: 800; color: var(--accent); }
.option h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.option p { margin: 0 0 18px; color: var(--muted); }
.option ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.option li::before { content: "✓"; color: var(--accent); margin-right: 10px; }
.text-link { margin-top: auto; color: #fff; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--accent); }

.form-wrap { max-width: 820px; }
.inquiry { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field[hidden] { display: none; }
.field > span, .field > legend { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.8); padding: 0; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  border: 2px solid var(--line); border-radius: 12px;
  background: var(--surface); color: #fff;
  font: 500 16px var(--font);
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 130px; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--accent); }
.field textarea::placeholder { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  position: relative; cursor: pointer;
  padding: 12px 18px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--surface); font-weight: 600; font-size: 15px;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.inquiry > .btn { justify-self: start; margin-top: 6px; }
.hidden-field { position: absolute; left: -9999px; }
.form-status { margin: 0; padding: 16px 20px; border-radius: 12px; }
.form-status.ok { background: rgba(22, 163, 74, 0.15); border: 1px solid rgba(22, 163, 74, 0.5); }
.form-status.error { background: var(--accent-soft); border: 1px solid rgba(249, 155, 34, 0.5); }

.nav a[aria-current="page"] { color: #fff; }

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 860px; }
.quiz { display: grid; gap: 30px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.quiz legend {
  width: 100%; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 700; font-size: 1.15rem;
}
.quiz legend span {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #000;
  font-size: 14px; font-weight: 800;
}
.quiz label {
  position: relative; cursor: pointer;
  padding: 13px 22px;
  border: 2px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-weight: 600; font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.quiz label:hover { border-color: rgba(255, 255, 255, 0.35); }
.quiz input { position: absolute; opacity: 0; pointer-events: none; }
.quiz label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.quiz label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.quiz > .btn { justify-self: center; }

.quiz-result {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  padding: 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  animation: rise 0.45s ease-out;
}
.quiz-result[hidden] { display: none; }
.quiz-result img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.quiz-result h3 { font-size: 2rem; margin: 4px 0 8px; }
.quiz-result p { margin: 0 0 18px; color: var(--muted); }
.quiz-result .why { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Booking ---------- */
.booking-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 24px;
}
.booking-tabs button {
  padding: 13px 24px;
  border: 2px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 700 15px var(--font); cursor: pointer;
  transition: all 0.2s;
}
.booking-tabs button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.booking-tabs button[aria-selected="true"] { color: #000; background: #fff; border-color: #fff; }
.booking-tabs { gap: 16px 36px; }
.tab-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab-group-label {
  width: 100%; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
/* Spillene får stiplet kant, så de skiller seg fra rommene */
.tab-group-games button:not([aria-selected="true"]) { border-style: dashed; }
.booking-type {
  align-self: flex-start; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14); color: #fff;
}
.booking-type-game { background: var(--accent); color: #000; }
.booking-what { margin: 0 0 14px; color: rgba(255, 255, 255, 0.85); font-size: 15px; line-height: 1.5; }
.same-day {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px);
  margin-top: 32px; padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.same-day-intro h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 12px; }
.same-day-intro p:not(.kicker) { color: var(--muted); }
.same-day .inquiry-done { align-self: center; }

.booking-panel {
  display: grid; grid-template-columns: 320px 1fr;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: clip; /* ikke «hidden»: det ville stoppet sticky-kolonnen */
}
.booking-panel[hidden] { display: none; }
.booking-info {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 460px; padding: 30px;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.booking-info::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--poster) center / cover;
}
.booking-info::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.92) 70%);
}
.booking-info h3 { font-size: 1.9rem; margin: 0 0 14px; }
.booking-info ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.booking-info li { display: flex; gap: 10px; }
.booking-info li::before { content: "•"; color: var(--accent); }
.booking-info .fine { margin: 0; }
.booking-widget { padding: 24px; min-height: 420px; background: var(--surface); }

/* Bookero i Escape Haugesund-farger. Widgeten bygger på --bw-variabler,
   så vi overstyrer dem her i stedet for å endre selve widgeten. */
.booking-widget .bw-widget {
  --bw-primary-color: #f99b22;
  --bw-primary-hover: #ffb04a;
  --bw-primary-light: rgba(249, 155, 34, 0.18);
  --bw-primary-50: rgba(249, 155, 34, 0.1);
  --bw-primary-100: rgba(249, 155, 34, 0.18);
  --bw-primary-300: rgba(249, 155, 34, 0.5);
  --bw-primary-500: #f99b22;
  --bw-primary-600: #f99b22;
  --bw-primary-700: #ffb04a;
  --bw-primary-900: #ffd8a3;
  --bw-background: var(--surface);
  --bw-surface: #1b1b1b;
  --bw-surface-100: #222;
  --bw-surface-hover: #262626;
  --bw-input-background: #1b1b1b;
  --bw-text-color: #fff;
  --bw-text-muted: rgba(255, 255, 255, 0.62);
  --bw-text-light: rgba(255, 255, 255, 0.4);
  --bw-text-700: rgba(255, 255, 255, 0.85);
  --bw-border-color: rgba(255, 255, 255, 0.12);
  --bw-border-100: rgba(255, 255, 255, 0.06);
  --bw-error-bg: rgba(220, 38, 38, 0.15);
  --bw-success-bg: rgba(22, 163, 74, 0.15);
  --bw-warning-bg: rgba(250, 204, 21, 0.12);
  --bw-warning-text: #fde68a;
  --bw-closed-bg: #1f1f1f;
  --bw-font-family: var(--font);
  --bw-border-radius-sm: 8px;
  --bw-border-radius: 10px;
  --bw-border-radius-md: 10px;
  --bw-border-radius-lg: 14px;
  --bw-border-radius-xl: 18px;
  --bw-shadow-xs: none;
  --bw-shadow-sm: none;
  color-scheme: dark;
}
/* Noen få farger er skrevet direkte inn i widgeten og må overstyres hver for seg */
.booking-widget .bw-widget :is(.bw-calendar-nav-btn, .bw-variant-toggle, .bw-rs-reset-btn):is(:hover, :focus):not(:disabled),
.booking-widget .bw-widget .bw-variant-option:is(:hover, :focus),
.booking-widget .bw-widget .bw-variant-checkbox-toggle:focus { background: #262626; }
.booking-widget .bw-widget .bw-btn-primary,
.booking-widget .bw-widget .bw-btn-primary:hover:not(:disabled):not(.bw-btn-disabled) { color: #000; font-weight: 700; }
.booking-widget .bw-widget .bw-btn-primary:is(:disabled, .bw-btn-disabled) { color: rgba(255, 255, 255, 0.4); background: #262626; }
.booking-widget .bw-widget .bw-day-selected { color: #000; }
.booking-widget .bw-widget :is(.bw-variant-dropdown-trigger, .bw-variant-dropdown-menu) { background: #1b1b1b; border-color: rgba(255, 255, 255, 0.14); }
.booking-widget .bw-widget .bw-variant-dropdown-trigger:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
.booking-widget .bw-widget :is(.bw-calendar-unavailable-notice, .bw-contact-required) { background: rgba(249, 155, 34, 0.12); color: #ffd8a3; }
/* Valgt antall personer og pris: Bookero bruker mørk tekst her, så den må gjøres lys og tydelig */
.booking-widget .bw-widget .bw-variant-trigger-name { color: #fff; font-size: 17px; font-weight: 700; }
.booking-widget .bw-widget .bw-variant-trigger-price { color: var(--accent); font-size: 14px; font-weight: 700; }
.booking-widget .bw-widget .bw-variant-dropdown-trigger { border-width: 2px; border-color: rgba(249, 155, 34, 0.5); }
.booking-widget .bw-widget :is(.bw-variant-option-name, .bw-variant-option-price) { color: rgba(255, 255, 255, 0.85); }
.booking-widget .bw-widget .bw-variant-option-selected :is(.bw-variant-option-name, .bw-variant-option-price) { color: var(--accent); }
.booking-widget .bw-widget :is(.bw-variant-label, .bw-calendar-legend-label) { color: var(--muted); }

/* Rekkefølge i bookingen: 1. dato, 2. tidspunkt, 3. antall spillere, så tillegg og oppsummering.
   Bookero bygger delene som søsken, så de kan sorteres med flex-order uten å endre widgeten.
   Testet: valgt dato og tid beholdes når antall endres etterpå, og prisen oppdateres. */
.booking-widget .bw-step-calendar { display: flex; flex-direction: column; }
.booking-widget .bw-step-calendar > .bw-calendar-container { order: 1; }
.booking-widget .bw-step-calendar > .bw-timeslots-container { order: 2; }
.booking-widget .bw-step-calendar > .bw-timeslot-resource-picker { order: 3; }
.booking-widget .bw-step-calendar > .bw-variants-container { order: 4; margin-top: 24px; }
.booking-widget .bw-step-calendar > .bw-pricing-container { order: 5; }
.booking-widget .bw-step-calendar > .bw-resources-container { order: 6; }
.booking-widget .bw-step-calendar > .bw-modifiers-container { order: 7; margin-top: 24px; }
.booking-widget .bw-step-calendar > .bw-actions { order: 8; }
/* Nummererte steg erstatter Bookeros egen overskrift («Booking: Cold Fusion» / «Velg alternativ») */
.booking-widget .bw-step-calendar > :is(.bw-calendar-container, .bw-timeslots-container, .bw-variants-container)::before {
  display: block; margin: 0 0 12px;
  font: 700 12px var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.booking-widget .bw-step-calendar > .bw-calendar-container::before { content: "1. Velg dato"; }
.booking-widget .bw-step-calendar > .bw-timeslots-container::before { content: "2. Velg tidspunkt"; margin-top: 8px; }
.booking-widget .bw-step-calendar > .bw-variants-container::before { content: "3. Antall spillere"; }
.booking-widget :is(.bw-variant-section-title, .bw-variant-label) { display: none; }
.booking-fallback {
  display: grid; place-content: center; text-align: center; gap: 12px;
  padding: 40px 28px; min-height: 360px;
}
.booking-fallback h4 { margin: 0; font-size: 1.6rem; font-weight: 800; }
.booking-fallback p { margin: 0 auto; color: var(--muted); max-width: 420px; }
.booking-fallback .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }

/* ---------- Priser ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.calc { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--accent); }
.calc-label { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--line); background: transparent; color: #fff;
  font: 600 20px var(--font); cursor: pointer;
}
.stepper button:hover:not(:disabled) { border-color: var(--accent); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font-size: 1.4rem; font-weight: 800; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: #fff; color: #000; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.calc-check { display: flex; gap: 10px; align-items: center; padding: 16px 0 0; cursor: pointer; color: var(--muted); font-weight: 500; }
.calc-check input { accent-color: var(--accent); width: 18px; height: 18px; }
.calc-total { display: flex; flex-direction: column; margin-top: 22px; }
.calc-sum { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.calc-pp { color: var(--muted); font-size: 14px; font-weight: 500; margin-top: 8px; }

.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.price-table td { color: var(--muted); }
.price-table td:not(:first-child) { font-weight: 700; color: #fff; }
.price-table tr.hl td { background: var(--accent-soft); color: #fff; }
.price-table tr.hl td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
.prices > .fine { margin-top: 32px; }

/* ---------- Bedrift / gavekort ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--surface);
}
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--photo) var(--photo-pos, center) / var(--photo-size, cover) no-repeat;
  transition: transform 1.2s ease;
}
.promo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.92) 70%);
}
.promo:hover::before { transform: scale(1.05); }
/* Faste kortbilder. Stien er relativ til dette stilarket (assets/) */
.photo-contagion { --photo: url("media/contagion.jpg"); }
.photo-cold-fusion { --photo: url("media/cold-fusion.jpg"); }
.promo h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.promo p:not(.kicker) { color: rgba(255, 255, 255, 0.78); margin: 14px 0 26px; max-width: 460px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-search input {
  width: 100%; min-height: 58px; padding: 0 22px 0 52px;
  border: 2px solid var(--line); border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 20px center;
  color: #fff; font: 500 16px var(--font);
}
.faq-search input:focus { border-color: var(--accent); outline: none; }
.faq-search input::placeholder { color: var(--faint); }
.faq { margin-top: 20px; }
.faq-group {
  margin: 40px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: none;
  width: 18px; text-align: center;
  color: #fff; font-weight: 500; font-size: 22px; line-height: 1;
  transition: transform 0.25s, color 0.25s;
}
.faq details[open] summary::before { transform: rotate(45deg); color: var(--accent); }
.faq details p { margin: 0 0 22px 34px; color: var(--muted); max-width: 680px; }
.faq-empty { color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: stretch; }
.contact address { font-style: normal; margin: 28px 0; }
.contact address p { margin: 0 0 18px; color: var(--muted); }
.contact address strong { color: #fff; }
.big-link { font-size: 1.5rem; font-weight: 800; line-height: 1.5; text-decoration: none; color: #fff; }
.big-link:hover { color: var(--accent); }
.hours { padding: 24px; border-radius: var(--radius); background: var(--surface); }
.hours-title { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.hours dl { margin: 0; display: grid; gap: 10px; }
.hours dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.hours .fine { margin: 12px 0 0; }
.map { min-height: 400px; border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

/* ---------- Avslutning ---------- */
.final {
  padding: clamp(80px, 10vw, 120px) 0;
  background: radial-gradient(50% 80% at 50% 100%, rgba(249, 155, 34, 0.18), transparent 70%);
}
.final h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 110px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.footer-inner .fine { margin: 0 0 0 auto; }
.social { display: flex; gap: 22px; }
.social a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.social a:hover { color: #fff; }

/* ---------- Mobil bookingknapp ---------- */
.mobile-book { display: none; }

/* ---------- Scroll-animasjon ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsivt
   ========================================================== */
@media (max-width: 1080px) {
  .stopwatch { width: clamp(130px, 18vw, 170px); }
  /* Nettbrett og smalt vindu: to kort side om side */
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .room { min-height: 560px; }
  .room-content { padding: 24px; }
  .room h3 { font-size: 1.8rem; }
}

@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .same-day { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); }
  /* Menyen blir en egen rad under logoen, så den alltid er synlig */
  :root { --header-h: 112px; }
  .site-header { height: auto; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .header-inner { flex-wrap: wrap; gap: 0; height: auto; }
  .logo { padding: 12px 0; }
  .header-cta { margin-left: auto; }
  .nav {
    order: 3; width: 100%; margin: 0;
    gap: 24px; padding: 10px 0 12px;
    border-top: 1px solid var(--line);
    overflow-x: auto; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; font-size: 14px; white-space: nowrap; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .booking-panel { grid-template-columns: 1fr; }
  .booking-info { min-height: 260px; position: relative; top: auto; }
  .price-grid, .split, .contact, .room-about, .options, .b2b-intro, .big-group { grid-template-columns: 1fr; }
  .activities, .occasions { grid-template-columns: repeat(2, 1fr); }
  .activities .activity-featured { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 37px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), transparent); }
  .timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .timeline .tl-num { grid-row: span 2; margin: 0; }
  .timeline p { margin: 0; max-width: none; }
  .b2b-intro-media img { aspect-ratio: 16 / 11; }
  .b2b-tags { left: 12px; }
  .big-group .btn { justify-self: start; }
  .room-facts { position: static; }
}

@media (max-width: 640px) {
  /* Personvern-tabellen blir til ett kort per tjeneste */
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .legal-table tr:last-child { border-bottom: 0; }
  .legal-table td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 4px 0; border: 0; }
  .legal-table td::before { content: attr(data-label); color: var(--text); font-weight: 700; font-size: 13px; }
  body { font-size: 16px; }
  .logo img { height: 34px; }
  .header-cta { min-height: 36px; padding: 0 16px; font-size: 12px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .room-title { font-size: clamp(2rem, 9.5vw, 2.8rem); }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.6rem); }
  .btn { padding: 0 26px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  /* Mobil: klokka står til høyre for «Book nå»-knappen */
  .hero-inner { display: block; }
  .hero .hero-actions { padding-right: 112px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stopwatch { position: absolute; right: 0; bottom: -14px; width: 96px; }
  .facts li { padding: 16px 0; }
  .step-icon { width: 120px; height: 120px; }
  .step-icon svg { width: 52px; height: 52px; }
  .how-note { border-radius: var(--radius); }
  .rooms { grid-template-columns: 1fr; }
  .room { min-height: 520px; }
  .quiz label { padding: 11px 18px; }
  .quiz-result { grid-template-columns: 1fr; }
  .field-row, .activities, .occasions { grid-template-columns: 1fr; }
  .activity-body .btn, .big-group .btn, .cta-line .btn { align-self: stretch; justify-self: stretch; width: 100%; justify-content: center; text-align: center; }
  .inquiry > .btn { justify-self: stretch; }
  .quiz-result img { aspect-ratio: 16 / 9; }
  .calc-row { flex-wrap: wrap; }
  .calc-sum { font-size: 2.6rem; }
  .booking-widget { padding: 8px; }
  .promo { min-height: 400px; }
  .footer-inner .fine { margin-left: 0; }

  .mobile-book {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    min-height: 56px; border-radius: 999px;
    background: #fff; color: #000;
    font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.8);
    transform: translateY(140%); transition: transform 0.3s;
  }
  .mobile-book.show { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
