/* ==========================================================================
   Himmelblå Sanse- og Kompetansesenter
   Profil og stilguide basert på himmel-bla.no
   ========================================================================== */

:root {
  /* Fargepalett fra himmel-bla.no */
  --primary-color: #fff0dd;           /* Varm vanilje/krem */
  --primary-color-light: #fff9f0;
  --secondary-color: #6780ff;         /* Himmelblå signaturblå */
  --secondary-color-dark: #2840ff;    /* Dyp blå */
  --secondary-color-soft: #8da1ff;
  --accent-color: #fee2c3;            /* Varm fersken/sand */
  
  --brand-lime: #cdf546;              /* Elektrisk solskinnsgrønn */
  --brand-coral: #ffa2a2;             /* Myk korall/rosa */
  --brand-orange: #f69147;            /* Varm appelsin */
  --brand-teal: #34d399;              /* Beroligende sjøgrønn */
  --brand-purple: #c084fc;            /* Sensorisk lilla */
  
  --brand-dark: #181b26;              /* Dyp nattsort/skifer */
  --brand-dark-muted: #4b5266;        /* Muted tekst */
  --brand-light: #ffffff;             /* Hvit */
  --brand-border: rgba(24, 27, 38, 0.12);
  --brand-border-strong: rgba(24, 27, 38, 0.25);
  
  /* Typografi og oppsett */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 17px;
  --line-height: 1.55;
  --wide-width: 1360px;
  --content-width: 1140px;
  --header-height: 104px;
  
  /* Skygger og radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 100px;
  
  --shadow-sm: 0 2px 8px rgba(24, 27, 38, 0.06);
  --shadow-md: 0 8px 24px rgba(24, 27, 38, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 27, 38, 0.12);
  --shadow-pill: 0 4px 18px rgba(0, 0, 0, 0.1);
  --shadow-lime: 0 4px 18px rgba(205, 245, 70, 0.45);
}

/* Reset & Grunnlag */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
  background-color: var(--primary-color);
  color: var(--brand-dark);
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height);
  background-color: var(--primary-color);
  color: var(--brand-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

/* Skew Badges - Himmelblå signaturstil */
.skew-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  transform: skewY(-1.5deg);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.skew-badge span.inner-text {
  transform: skewY(1.5deg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.skew-badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

.badge-coral {
  background: var(--brand-coral);
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(255, 162, 162, 0.4);
}

.badge-lime {
  background: var(--brand-lime);
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(205, 245, 70, 0.45);
}

.badge-blue {
  background: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(103, 128, 255, 0.4);
}

.badge-orange {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(246, 145, 71, 0.35);
}

.badge-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand-dark);
}

/* Pill Buttons - Himmelblå signaturknapper */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transform: skewY(-1.5deg);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-pill span.inner-text {
  transform: skewY(1.5deg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pill:hover {
  transform: skewY(-1.5deg) translateY(-2px);
}

.btn-pill:active {
  transform: skewY(-1.5deg) translateY(0);
}

.btn-lime {
  background: var(--brand-lime);
  color: var(--brand-dark);
  box-shadow: var(--shadow-lime);
}

.btn-lime:hover {
  box-shadow: 0 8px 26px rgba(205, 245, 70, 0.65);
}

.btn-blue {
  background: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(103, 128, 255, 0.45);
}

.btn-blue:hover {
  background: var(--secondary-color-dark);
  box-shadow: 0 8px 26px rgba(40, 64, 255, 0.5);
}

.btn-dark {
  background: var(--brand-dark);
  color: var(--primary-color);
  box-shadow: 0 4px 18px rgba(24, 27, 38, 0.35);
}

.btn-dark:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
}

.btn-outline:hover {
  background: var(--brand-dark);
  color: var(--primary-color);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* ==========================================================================
   HEADER & NAVIGASJON
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary-color);
  border-bottom: 1px solid rgba(24, 27, 38, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 240, 221, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 24px;
  max-width: var(--wide-width);
  margin: 0 auto;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  height: 82px;
  width: auto;
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-size: 26px;
  font-weight: 900;
  color: var(--secondary-color-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-title-sub {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-title-sub .sub-tag {
  background: var(--brand-lime);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.nav-links li a,
.nav-links li span.nav-disabled-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 44px;
  padding: 0 14px;
  background-color: var(--brand-dark);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-pill);
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-links li.nav-item-main.active a,
.nav-links li.nav-item-main a:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.nav-links li.nav-item-sansing.active a,
.nav-links li.nav-item-sansing a:hover {
  background-color: #a8d8ff;
  color: #000000;
}

.nav-links li.nav-item-rooms a:hover,
.nav-links li.nav-item-rooms.active a {
  background-color: var(--brand-orange);
  color: #000000;
}

.nav-links li.nav-item-progress a:hover,
.nav-links li.nav-item-progress.active a {
  background-color: var(--brand-lime);
  color: #000000;
}

.nav-links li.nav-item-faq a:hover,
.nav-links li.nav-item-faq.active a {
  background-color: var(--brand-coral);
  color: #000000;
}

/* Ikke-klikkbar "Kommer snart"-knapp for booking */
.nav-links li span.nav-disabled-pill {
  background-color: rgba(24, 27, 38, 0.09);
  color: rgba(24, 27, 38, 0.55);
  border: 1.5px dashed rgba(24, 27, 38, 0.25);
  cursor: not-allowed;
  user-select: none;
}

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: rgba(24, 27, 38, 0.08);
  color: rgba(24, 27, 38, 0.55);
  border: 1.5px dashed rgba(24, 27, 38, 0.25);
  transform: skewY(-1.5deg);
  cursor: not-allowed;
  user-select: none;
}

.btn-coming-soon span.inner-text {
  transform: skewY(1.5deg);
}

/* Mobil-meny */
.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--brand-dark);
  border-radius: 3px;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SEKSJON
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 50px 0 80px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 680px;
}

.hero-badges-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title .highlight-blue {
  color: var(--secondary-color-dark);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--brand-dark-muted);
  margin-bottom: 34px;
  font-weight: 450;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 2px dashed rgba(24, 27, 38, 0.15);
}

.stat-item .stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand-dark);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-dark-muted);
  margin-top: 6px;
}

/* Hero Visual Card */
.hero-visual-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(24, 27, 38, 0.08);
}

.hero-visual-card .card-corner-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  z-index: 10;
}

.hero-interactive-preview {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #2a3459 0%, #151a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-preview-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(24, 27, 38, 0.75);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-preview-info h4 {
  font-size: 15px;
  font-weight: 800;
}

.hero-preview-info p {
  font-size: 12.5px;
  opacity: 0.85;
}

/* ==========================================================================
   PROSJEKTSTATUS & FREMDRIFT ("HVORDAN VI LIGGER AN")
   ========================================================================== */
.section-progress {
  padding: 90px 0;
  background-color: #ffffff;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  margin: 14px 0 16px 0;
}

.section-desc {
  font-size: 18px;
  color: var(--brand-dark-muted);
  line-height: 1.6;
}

/* Fremdriftsmåler */
.progress-status-box {
  background: var(--primary-color);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin-bottom: 50px;
  border: 1px solid rgba(24, 27, 38, 0.08);
}

.status-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.status-meta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-percent-large {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary-color-dark);
  line-height: 1;
}

.status-text-headline {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-dark);
}

.status-text-sub {
  font-size: 14px;
  color: var(--brand-dark-muted);
}

/* Progress bar container */
.hb-progress-bar-wrap {
  width: 100%;
  height: 20px;
  background: rgba(24, 27, 38, 0.1);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}

.hb-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--brand-lime) 100%);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hb-progress-bar-fill::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: shineProgress 2.5s infinite;
}

@keyframes shineProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.status-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.status-chip {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(24, 27, 38, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-chip.done {
  background: #eef9f0;
  border-color: rgba(40, 167, 69, 0.35);
  color: #19692c;
}

.status-chip.in-progress {
  background: #f0f3ff;
  border-color: rgba(101, 126, 252, 0.4);
  color: var(--brand-dark);
}

/* Tidslinje / Roadmap */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-bottom: 50px;
}

.timeline-step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 2px solid rgba(24, 27, 38, 0.08);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-step-card.completed {
  border-color: #28a745;
  background: #fbfdfb;
}

.timeline-step-card.active {
  border-color: var(--secondary-color-dark);
  box-shadow: 0 8px 30px rgba(103, 128, 255, 0.2);
  background: #fafbff;
}

.timeline-step-card.active::before {
  content: "AKTUELT NÅ";
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--brand-lime);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.timeline-step-card.upcoming {
  opacity: 0.85;
}

.step-phase-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.step-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark-muted);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--brand-dark-muted);
  line-height: 1.5;
}

.step-checklist {
  list-style: none;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(24, 27, 38, 0.1);
  font-size: 12.5px;
}

.step-checklist li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon-done {
  color: #28a745;
  font-weight: 900;
}

.check-icon-doing {
  color: var(--secondary-color-dark);
  font-weight: 900;
}

.check-icon-pending {
  color: #999999;
}

/* Siste nytt fra byggeprosessen */
.live-feed-wrap {
  background: var(--primary-color-light);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  border: 1px solid rgba(24, 27, 38, 0.08);
}

.live-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.live-feed-title {
  font-size: 22px;
  font-weight: 900;
}

.live-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feed-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(24, 27, 38, 0.06);
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.feed-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark-muted);
}

.feed-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-color);
}

.feed-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.feed-card p {
  font-size: 13.5px;
  color: var(--brand-dark-muted);
  line-height: 1.5;
}

/* ==========================================================================
   INTERAKTIV 3D SANSEROMS-STUDIO
   ========================================================================== */
.section-3d-studio {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
}

.studio-main-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(24, 27, 38, 0.08);
}

/* Romvelger Tabs */
.room-selector-nav {
  display: flex;
  background: var(--brand-dark);
  overflow-x: auto;
  padding: 8px 12px;
  gap: 8px;
  scrollbar-width: thin;
}

.room-tab-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.room-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.room-tab-btn.active {
  background: var(--brand-lime);
  color: var(--brand-dark);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(205, 245, 70, 0.4);
}

/* 3D Viewer Layout Grid */
.studio-viewer-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 620px;
}

.canvas-viewport-wrap {
  position: relative;
  background: radial-gradient(circle at 50% 45%, #242c4a 0%, #101424 100%);
  overflow: hidden;
  min-height: 520px;
  user-select: none;
}

#room3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#room3dCanvas:active {
  cursor: grabbing;
}

/* Viewport Controls Overlay */
.viewport-top-controls {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.viewport-top-controls > * {
  pointer-events: auto;
}

.room-live-badge {
  background: rgba(24, 27, 38, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.lighting-modes-bar {
  display: flex;
  background: rgba(24, 27, 38, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.light-mode-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.light-mode-btn:hover {
  color: #ffffff;
}

.light-mode-btn.active {
  background: var(--secondary-color);
  color: #ffffff;
}

.viewport-bottom-controls {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.viewport-bottom-controls > * {
  pointer-events: auto;
}

.camera-controls-group {
  display: flex;
  gap: 8px;
}

.cam-ctrl-btn {
  background: rgba(24, 27, 38, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.cam-ctrl-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.06);
}

.control-hint-badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* Sidebar for valgt rom / Hotspot inspektør */
.studio-sidebar {
  background: #ffffff;
  border-left: 1px solid rgba(24, 27, 38, 0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 640px;
}

.sidebar-room-badge {
  margin-bottom: 12px;
}

.sidebar-room-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

.sidebar-room-desc {
  font-size: 14.5px;
  color: var(--brand-dark-muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.sidebar-specs-box {
  background: var(--primary-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
  font-size: 13.5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(24, 27, 38, 0.06);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--brand-dark-muted);
}

.spec-val {
  font-weight: 800;
  color: var(--brand-dark);
}

.sidebar-elements-list-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-dark-muted);
  margin-bottom: 12px;
}

.hotspots-btn-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.hotspot-chip-btn {
  background: #f8f9fa;
  border: 1px solid rgba(24, 27, 38, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.hotspot-chip-btn:hover {
  background: var(--accent-color);
  border-color: var(--brand-orange);
  transform: translateX(4px);
}

.hotspot-chip-btn.active {
  background: var(--brand-lime);
  border-color: var(--brand-dark);
  font-weight: 800;
}

.hotspot-chip-btn .chip-name {
  font-size: 13.5px;
  font-weight: 700;
}

.hotspot-chip-btn .chip-type {
  font-size: 11px;
  color: var(--brand-dark-muted);
}

.sidebar-actions {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 27, 38, 0.08);
}

/* ==========================================================================
   ROMKATALOG & DETALJER (KORT-OVERSIKT)
   ========================================================================== */
.section-rooms-catalog {
  padding: 90px 0;
  background-color: #ffffff;
}

.rooms-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.room-showcase-card {
  background: var(--primary-color-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(24, 27, 38, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.room-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.room-card-media {
  height: 200px;
  position: relative;
  background: #242c4a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.room-card-body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.room-card-desc {
  font-size: 14.5px;
  color: var(--brand-dark-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.room-card-features {
  list-style: none;
  margin-bottom: 22px;
}

.room-card-features li {
  font-size: 13.5px;
  color: var(--brand-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.room-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 27, 38, 0.08);
}

/* ==========================================================================
   BOOKINGKALENDER & TIMEBESTILLING
   ========================================================================== */
.section-booking {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
}

.booking-app-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(24, 27, 38, 0.08);
  overflow: hidden;
}

.booking-header-bar {
  background: var(--brand-dark);
  color: #ffffff;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.booking-header-bar h3 {
  font-size: 24px;
  font-weight: 900;
}

.booking-steps-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.booking-step-indicator.active {
  color: var(--brand-lime);
}

.step-num-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.booking-step-indicator.active .step-num-circle {
  background: var(--brand-lime);
  color: var(--brand-dark);
  border-color: var(--brand-lime);
  font-weight: 900;
}

/* Booking Layout Grid */
.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 36px;
  gap: 40px;
}

/* Kalender venstrekolonne */
.cal-selection-pane h4 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
}

/* Romvalg brikker */
.booking-rooms-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.booking-room-pill {
  border: 2px solid rgba(24, 27, 38, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  text-align: left;
}

.booking-room-pill:hover {
  border-color: var(--secondary-color);
  background: #fbfdff;
}

.booking-room-pill.selected {
  border-color: var(--secondary-color-dark);
  background: #eff3ff;
  box-shadow: 0 4px 14px rgba(103, 128, 255, 0.15);
}

.booking-room-pill .pill-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand-dark);
}

.booking-room-pill .pill-sub {
  font-size: 12px;
  color: var(--brand-dark-muted);
}

/* Interaktiv kalender UI */
.interactive-calendar-widget {
  background: var(--primary-color-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(24, 27, 38, 0.08);
  margin-bottom: 24px;
}

.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-month-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-dark);
}

.cal-nav-btn {
  background: #ffffff;
  border: 1px solid rgba(24, 27, 38, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
}

.cal-nav-btn:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

.cal-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark-muted);
  margin-bottom: 8px;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid rgba(24, 27, 38, 0.06);
  transition: all 0.15s ease;
}

.cal-day-cell:hover:not(.disabled) {
  background: var(--brand-lime);
  color: var(--brand-dark);
  transform: scale(1.05);
}

.cal-day-cell.selected {
  background: var(--secondary-color-dark) !important;
  color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(40, 64, 255, 0.35);
}

.cal-day-cell.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: transparent;
}

.cal-day-cell.today {
  border: 2px solid var(--secondary-color);
}

/* Tidspunkter (Slots) */
.time-slots-container {
  margin-bottom: 24px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.time-slot-btn {
  background: #ffffff;
  border: 1.5px solid rgba(24, 27, 38, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  border-color: var(--secondary-color);
  background: #fbfdff;
}

.time-slot-btn.selected {
  background: var(--secondary-color-dark);
  color: #ffffff;
  border-color: var(--secondary-color-dark);
  font-weight: 800;
}

.time-slot-btn .slot-time {
  font-size: 14px;
  font-weight: 800;
  display: block;
}

.time-slot-btn .slot-avail {
  font-size: 11px;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

/* Høyreside: Tilpasningsskjema og bekreftelse */
.booking-form-pane {
  background: var(--primary-color-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(24, 27, 38, 0.08);
  display: flex;
  flex-direction: column;
}

.booking-form-pane h4 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--brand-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 27, 38, 0.15);
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--secondary-color-dark);
  box-shadow: 0 0 0 3px rgba(103, 128, 255, 0.25);
}

/* Sensoriske tilpasningsvalg */
.sensory-prefs-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(24, 27, 38, 0.08);
  margin-bottom: 20px;
}

.sensory-prefs-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--secondary-color-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sensory-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sensory-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.sensory-check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--secondary-color-dark);
}

/* Booking Oppsummering */
.booking-summary-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(24, 27, 38, 0.08);
  margin-bottom: 20px;
  font-size: 13.5px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 6px;
  border-top: 1px dashed rgba(24, 27, 38, 0.1);
  font-weight: 800;
}

/* ==========================================================================
   MODAL DIALOG (HOTSPOT DETALJER & BOOKING BEKREFTELSE)
   ========================================================================== */
.hb-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 27, 38, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hb-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hb-modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb-modal-overlay.open .hb-modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f0f2f5;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

/* ==========================================================================
   FAQ & SPØRSMÅL SEKSJON
   ========================================================================== */
.section-faq {
  padding: 90px 0;
  background: #ffffff;
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--primary-color-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 27, 38, 0.08);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.open {
  border-color: var(--secondary-color);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-dark);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(24, 27, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--brand-dark);
  color: #ffffff;
}

.faq-answer-body {
  padding: 0 26px 22px 26px;
  font-size: 15px;
  color: var(--brand-dark-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer-body {
  display: block;
}

/* ==========================================================================
   FOOTER (Identisk med Himmelblå struktur)
   ========================================================================== */
.site-footer {
  background-color: var(--brand-dark);
  color: var(--primary-color);
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-brand .footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 16px;
  color: rgba(255, 240, 221, 0.85);
  margin-bottom: 24px;
  line-height: 1.5;
}

.footer-contact-highlight a {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  text-decoration: underline;
}

.footer-contact-highlight a:hover {
  color: var(--brand-lime);
  text-decoration: none;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-lime);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li a {
  font-size: 14.5px;
  color: rgba(255, 240, 221, 0.75);
}

.footer-links-list li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 240, 221, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVT DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .studio-viewer-grid {
    grid-template-columns: 1fr;
  }
  
  .studio-sidebar {
    border-left: none;
    border-top: 1px solid rgba(24, 27, 38, 0.08);
    max-height: none;
  }
  
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rooms-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .booking-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle-btn {
    display: block;
  }
  
  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  
  .live-feed-grid {
    grid-template-columns: 1fr;
  }
  
  .rooms-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-rooms-pills {
    grid-template-columns: 1fr;
  }
  
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-header-bar {
    padding: 20px;
  }
  
  .booking-grid {
    padding: 20px;
  }
}

/* ==========================================================================
   OVERRASKELSESKORT FOR ROMMENE (MYSTERY / TEASER MODE)
   ========================================================================== */
.mystery-room-card {
  background: var(--primary-color-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1.5px solid rgba(24, 27, 38, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mystery-room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mystery-room-card.transition-zone {
  background: #ffffff;
  border: 2px solid var(--secondary-color);
}

@media (min-width: 1025px) {
  .mystery-room-wide {
    grid-column: span 2;
  }
}

.mystery-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.mystery-lock-pill {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-dark-muted);
  background: rgba(24, 27, 38, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.mystery-room-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.mystery-teaser-text {
  font-size: 15px;
  color: var(--brand-dark-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.mystery-hint-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px dashed rgba(103, 128, 255, 0.4);
  font-size: 13.5px;
  color: var(--brand-dark);
  line-height: 1.5;
  margin-bottom: 16px;
  display: none;
  animation: fadeInHint 0.3s ease;
}

.mystery-hint-box.revealed {
  display: block;
}

@keyframes fadeInHint {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mystery-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 27, 38, 0.08);
  gap: 10px;
}

.btn-hint-toggle {
  background: #ffffff;
  border: 1.5px solid var(--brand-dark);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hint-toggle:hover {
  background: var(--brand-lime);
}

/* ==========================================================================
   VIDEO / MEDIA SEKSJON
   ========================================================================== */
.media-showcase-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid rgba(24, 27, 38, 0.08);
  box-shadow: var(--shadow-md);
  position: relative;
}

.video-placeholder-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #181b26 0%, #2a3459 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.video-placeholder-frame video,
.video-placeholder-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: none;
}

/* ==========================================================================
   IN-SCREEN REDIGERINGSMODUS (LIVE CMS EDITOR)
   ========================================================================== */
.hb-editor-launcher {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 3000;
  background: var(--brand-dark);
  color: var(--primary-color);
  border: 2px solid var(--brand-lime);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.hb-editor-launcher:hover {
  transform: translateY(-2px);
  background: #000000;
}

.hb-editor-toolbar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3001;
  background: var(--brand-dark);
  color: #ffffff;
  border: 2px solid var(--brand-lime);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  flex-wrap: wrap;
}

.hb-editor-toolbar.active {
  display: flex;
}

.editor-status-pill {
  background: var(--brand-lime);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.editor-tool-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.editor-tool-btn:hover {
  background: var(--secondary-color);
}

.editor-tool-btn.save-btn {
  background: var(--brand-lime);
  color: var(--brand-dark);
}

.editor-tool-btn.reset-btn {
  background: rgba(255, 100, 100, 0.25);
  color: #ffa2a2;
}

body.hb-editing-active [data-editable] {
  outline: 2px dashed var(--secondary-color);
  outline-offset: 4px;
  border-radius: 6px;
  cursor: text;
  transition: outline-color 0.2s ease, background-color 0.2s ease;
}

body.hb-editing-active [data-editable]:hover,
body.hb-editing-active [data-editable]:focus {
  outline-color: var(--brand-lime);
  background-color: rgba(205, 245, 70, 0.14);
}

.editable-media-wrap {
  position: relative;
}

.media-edit-overlay-btn {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  background: var(--brand-dark);
  color: var(--brand-lime);
  border: 2px solid var(--brand-lime);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

body.hb-editing-active .media-edit-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.editor-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 4000;
  background: var(--brand-dark);
  color: var(--brand-lime);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.editor-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HVA ER SANSING-SIDEN
   ========================================================================== */
.sansing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sansing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sansing-card {
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  border: 1px solid rgba(24, 27, 38, 0.08);
  display: flex;
  flex-direction: column;
}

.sansing-card.white {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.sansing-card.cream {
  background: var(--primary-color-light);
}

.sansing-bullet-list {
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(24, 27, 38, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-dark);
}

.sansing-bullet-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.sansing-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.senses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sense-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  border: 1.5px solid rgba(24, 27, 38, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sense-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sense-card.inner-sense {
  border-color: rgba(101, 126, 252, 0.35);
  background: #fafbff;
}

.sense-card-wide {
  grid-column: 1 / -1;
}

.sense-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sense-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--secondary-color-dark);
  line-height: 1;
}

.sense-type-pill {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.sense-type-pill.outer {
  background: var(--primary-color);
  color: var(--brand-dark);
}

.sense-type-pill.inner {
  background: var(--brand-lime);
  color: var(--brand-dark);
}

.sense-card h3 {
  font-size: 21px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.sense-card p {
  font-size: 14.5px;
  color: var(--brand-dark-muted);
  line-height: 1.6;
}

@media (max-width: 1140px) {
  .nav-links li a,
  .nav-links li span.nav-disabled-pill {
    width: 128px;
    font-size: 13px;
    padding: 0 10px;
  }
}

@media (max-width: 1024px) {
  .sansing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .senses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .sansing-grid-2,
  .sansing-grid-4,
  .senses-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   UNIVERSELL UTFORMING (WCAG 2.1 AA) OG TILGJENGELIGHETSMENY
   ========================================================================== */

/* Hopp til hovedinnhold for tastatur- og skjermleserbrukere */
.skip-to-content {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 6000;
  background: var(--brand-dark);
  color: var(--brand-lime);
  border: 3px solid var(--brand-lime);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 16px;
  outline: none;
}

/* Tydelig tastaturfokus overalt (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid #2840ff !important;
  outline-offset: 3px !important;
}

/* Respekter systeminnstilling for redusert bevegelse */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Tilgjengelighetsknapp nederst til venstre */
.hb-a11y-launcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 18px 0 14px;
  background: var(--brand-dark);
  color: #ffffff;
  border: 2px solid var(--brand-lime);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(24, 27, 38, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hb-a11y-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(24, 27, 38, 0.36);
}

.hb-a11y-launcher.has-active::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 0 2px var(--brand-dark);
}

/* Bakteppe og sidepanel */
.hb-a11y-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4400;
  background: rgba(24, 27, 38, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hb-a11y-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.hb-a11y-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(410px, 92vw);
  z-index: 4500;
  background: #ffffff;
  color: #181b26;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.hb-a11y-drawer.open {
  transform: translateX(0);
}

.hb-a11y-header {
  padding: 20px 22px;
  background: var(--brand-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hb-a11y-header h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 2px 0;
  color: #ffffff;
}

.hb-a11y-header p {
  font-size: 13px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hb-a11y-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hb-a11y-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hb-a11y-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hb-a11y-section {
  background: #fdf6ec;
  border: 1px solid rgba(24, 27, 38, 0.1);
  border-radius: 18px;
  padding: 14px;
}

.hb-a11y-section-title {
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2840ff;
  margin: 0 0 12px 2px;
}

.hb-a11y-tts-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}

.hb-a11y-tts-btn {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #181b26;
  background: #ffffff;
  color: #181b26;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.hb-a11y-tts-btn.primary {
  background: #cdf546;
}

.hb-a11y-tts-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hb-a11y-toggle-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(24, 27, 38, 0.14);
  background: #ffffff;
  color: #181b26;
  cursor: pointer;
}

.hb-a11y-toggle-row strong {
  display: block;
  font-size: 13.5px;
}

.hb-a11y-toggle-row small {
  display: block;
  font-size: 12px;
  color: #555b6e;
  margin-top: 2px;
}

.hb-a11y-switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d0d5dd;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.hb-a11y-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.hb-a11y-toggle-row.active {
  border-color: #2840ff;
  background: #eef2ff;
}

.hb-a11y-toggle-row.active .hb-a11y-switch {
  background: #2840ff;
}

.hb-a11y-toggle-row.active .hb-a11y-switch::after {
  transform: translateX(18px);
}

.hb-a11y-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hb-a11y-profile-btn {
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(24, 27, 38, 0.14);
  background: #ffffff;
  color: #181b26;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hb-a11y-profile-btn strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 3px;
}

.hb-a11y-profile-btn span {
  display: block;
  font-size: 11.5px;
  line-height: 1.35;
  color: #555b6e;
}

.hb-a11y-profile-btn.active {
  background: #181b26;
  color: #ffffff;
  border-color: #181b26;
}

.hb-a11y-profile-btn.active span {
  color: rgba(255, 255, 255, 0.8);
}

.hb-a11y-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid rgba(24, 27, 38, 0.12);
  margin-bottom: 8px;
}

.hb-a11y-stepper strong {
  display: block;
  font-size: 13.5px;
}

.hb-a11y-stepper small {
  font-size: 12px;
  color: #2840ff;
  font-weight: 700;
}

.hb-a11y-stepper-controls {
  display: flex;
  gap: 6px;
}

.hb-a11y-stepper-controls button {
  min-width: 38px;
  height: 34px;
  border-radius: 10px;
  border: 1.5px solid #181b26;
  background: #fdf6ec;
  color: #181b26;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}

.hb-a11y-stepper-controls button:hover {
  background: #cdf546;
}

.hb-a11y-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hb-a11y-tile {
  padding: 11px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(24, 27, 38, 0.14);
  background: #ffffff;
  color: #181b26;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hb-a11y-tile.active {
  background: #2840ff;
  color: #ffffff;
  border-color: #2840ff;
}

.hb-a11y-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(24, 27, 38, 0.1);
  background: #ffffff;
}

.hb-a11y-reset-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-pill);
  border: 2px solid #181b26;
  background: #ffffff;
  color: #181b26;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.hb-a11y-reset-btn:hover {
  background: #181b26;
  color: #ffffff;
}

.hb-a11y-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Leselinje og lesemaske */
.hb-reading-guide {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  height: 5px;
  background: #2840ff;
  border-top: 2px solid #cdf546;
  border-bottom: 2px solid #cdf546;
  z-index: 4300;
  pointer-events: none;
}

.hb-reading-guide.active {
  display: block;
}

.hb-reading-mask-part {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  background: rgba(15, 18, 28, 0.62);
  z-index: 4300;
  pointer-events: none;
}

.hb-reading-mask-part.active {
  display: block;
}

/* ==========================================================================
   AKTIVE TILGJENGELIGHETSMODUSER PÅ INNHOLDET
   ========================================================================== */

/* Tekststørrelse (påvirker kun hovedinnhold, ikke selve panelet) */
body.hb-a11y-text-1 main,
body.hb-a11y-text-1 footer { zoom: 1.12; }
body.hb-a11y-text-2 main,
body.hb-a11y-text-2 footer { zoom: 1.24; }
body.hb-a11y-text-3 main,
body.hb-a11y-text-3 footer { zoom: 1.38; }

/* Linjeavstand */
body.hb-a11y-lh-1 main p,
body.hb-a11y-lh-1 main li { line-height: 1.95 !important; }
body.hb-a11y-lh-2 main p,
body.hb-a11y-lh-2 main li { line-height: 2.3 !important; }

/* Bokstavavstand */
body.hb-a11y-ls-1 main { letter-spacing: 0.05em !important; word-spacing: 0.1em !important; }
body.hb-a11y-ls-2 main { letter-spacing: 0.11em !important; word-spacing: 0.2em !important; }

/* Lesevennlig / dysleksivennlig skrift (retter også ut skråstilte elementer) */
body.hb-a11y-readable-font,
body.hb-a11y-readable-font main,
body.hb-a11y-readable-font main * {
  font-family: Verdana, Arial, Helvetica, sans-serif !important;
}

body.hb-a11y-readable-font .skew-badge,
body.hb-a11y-readable-font .skew-badge .inner-text,
body.hb-a11y-readable-font .btn-pill,
body.hb-a11y-readable-font .btn-pill .inner-text,
body.hb-a11y-readable-font .btn-coming-soon,
body.hb-a11y-readable-font .btn-coming-soon .inner-text {
  transform: none !important;
}

/* Venstrejuster tekst */
body.hb-a11y-left-align main h1,
body.hb-a11y-left-align main h2,
body.hb-a11y-left-align main h3,
body.hb-a11y-left-align main p,
body.hb-a11y-left-align .text-center,
body.hb-a11y-left-align .section-header {
  text-align: left !important;
}

/* Marker lenker og knapper */
body.hb-a11y-highlight-links header a,
body.hb-a11y-highlight-links main a,
body.hb-a11y-highlight-links main button,
body.hb-a11y-highlight-links footer a {
  outline: 2.5px solid #2840ff !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
}

/* Større klikkeflater (motorisk støtte) */
body.hb-a11y-enlarged-targets header a,
body.hb-a11y-enlarged-targets main a,
body.hb-a11y-enlarged-targets main button {
  min-height: 48px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Klikk-for-å-lese-opp markering */
body.hb-a11y-click-speak main p:hover,
body.hb-a11y-click-speak main h1:hover,
body.hb-a11y-click-speak main h2:hover,
body.hb-a11y-click-speak main h3:hover,
body.hb-a11y-click-speak main li:hover {
  outline: 2px dashed #2840ff !important;
  outline-offset: 4px;
  cursor: pointer;
}

/* Stopp animasjoner */
body.hb-a11y-stop-anim *,
body.hb-a11y-stop-anim *::before,
body.hb-a11y-stop-anim *::after {
  animation: none !important;
  transition: none !important;
}

/* Skjul bilder */
body.hb-a11y-hide-images main img,
body.hb-a11y-hide-images main iframe,
body.hb-a11y-hide-images main video {
  visibility: hidden !important;
}

/* Fargemetning og gråtoner (kun på header/main/footer så faste paneler ikke brytes) */
body.hb-a11y-sat-low header,
body.hb-a11y-sat-low main,
body.hb-a11y-sat-low footer {
  filter: saturate(0.35);
}

body.hb-a11y-sat-grayscale header,
body.hb-a11y-sat-grayscale main,
body.hb-a11y-sat-grayscale footer {
  filter: grayscale(1);
}

/* Høy kontrast: MØRK */
body.hb-a11y-contrast-dark,
body.hb-a11y-contrast-dark header,
body.hb-a11y-contrast-dark main,
body.hb-a11y-contrast-dark main section,
body.hb-a11y-contrast-dark footer {
  background: #0b0d12 !important;
  color: #ffffff !important;
}

body.hb-a11y-contrast-dark main [style*="background"],
body.hb-a11y-contrast-dark .progress-status-box,
body.hb-a11y-contrast-dark .timeline-step-card,
body.hb-a11y-contrast-dark .feed-card,
body.hb-a11y-contrast-dark .mystery-room-card,
body.hb-a11y-contrast-dark .sansing-card,
body.hb-a11y-contrast-dark .sense-card,
body.hb-a11y-contrast-dark .hero-visual-card,
body.hb-a11y-contrast-dark .faq-item,
body.hb-a11y-contrast-dark .status-chip {
  background: #161a24 !important;
  color: #ffffff !important;
  border-color: #cdf546 !important;
}

body.hb-a11y-contrast-dark h1,
body.hb-a11y-contrast-dark h2,
body.hb-a11y-contrast-dark h3,
body.hb-a11y-contrast-dark h4,
body.hb-a11y-contrast-dark p,
body.hb-a11y-contrast-dark li,
body.hb-a11y-contrast-dark span,
body.hb-a11y-contrast-dark .status-text-headline,
body.hb-a11y-contrast-dark .status-text-sub,
body.hb-a11y-contrast-dark .step-title,
body.hb-a11y-contrast-dark .step-desc {
  color: #ffffff !important;
}

body.hb-a11y-contrast-dark main a,
body.hb-a11y-contrast-dark .highlight-blue,
body.hb-a11y-contrast-dark .status-percent-large,
body.hb-a11y-contrast-dark .sense-num {
  color: #cdf546 !important;
}

body.hb-a11y-contrast-dark .btn-lime,
body.hb-a11y-contrast-dark .btn-lime *,
body.hb-a11y-contrast-dark .badge-lime,
body.hb-a11y-contrast-dark .badge-lime *,
body.hb-a11y-contrast-dark .badge-coral,
body.hb-a11y-contrast-dark .badge-coral *,
body.hb-a11y-contrast-dark .badge-orange,
body.hb-a11y-contrast-dark .badge-orange * {
  color: #000000 !important;
}

/* Høy kontrast: LYS */
body.hb-a11y-contrast-light,
body.hb-a11y-contrast-light header,
body.hb-a11y-contrast-light main,
body.hb-a11y-contrast-light main section {
  background: #ffffff !important;
  color: #000000 !important;
}

body.hb-a11y-contrast-light main [style*="background"],
body.hb-a11y-contrast-light .progress-status-box,
body.hb-a11y-contrast-light .timeline-step-card,
body.hb-a11y-contrast-light .feed-card,
body.hb-a11y-contrast-light .mystery-room-card,
body.hb-a11y-contrast-light .sansing-card,
body.hb-a11y-contrast-light .sense-card,
body.hb-a11y-contrast-light .hero-visual-card,
body.hb-a11y-contrast-light .faq-item,
body.hb-a11y-contrast-light .status-chip {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  box-shadow: none !important;
}

body.hb-a11y-contrast-light main h1,
body.hb-a11y-contrast-light main h2,
body.hb-a11y-contrast-light main h3,
body.hb-a11y-contrast-light main h4,
body.hb-a11y-contrast-light main p,
body.hb-a11y-contrast-light main li,
body.hb-a11y-contrast-light .status-text-headline,
body.hb-a11y-contrast-light .status-text-sub {
  color: #000000 !important;
}

body.hb-a11y-contrast-light main a {
  color: #0018a8 !important;
  text-decoration: underline !important;
}

/* Stor musepeker */
body.hb-a11y-big-cursor,
body.hb-a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 32 32'%3E%3Cpath d='M4 2 L4 26 L11 20 L16 30 L20 28 L15 18 L24 18 Z' fill='%23181b26' stroke='%23cdf546' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}

@media (max-width: 768px) {
  .hb-a11y-launcher {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }

  .hb-a11y-launcher-label {
    display: none;
  }
}

/* ==========================================================================
   MOBIL- OG NETTBRETT-OPTIMALISERING (HELE NETTSIDEN)
   ========================================================================== */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.responsive-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.responsive-grid-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 960px) {
  .responsive-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .responsive-grid-2,
  .responsive-grid-media {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 76px;
  }

  .container {
    padding: 0 18px;
  }

  .header-inner {
    padding: 0 16px;
    gap: 10px;
  }

  .brand-wrapper {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .brand-logo-img {
    height: 54px;
    flex-shrink: 0;
  }

  .brand-titles {
    min-width: 0;
  }

  .brand-title-sub {
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
    flex-wrap: wrap;
    row-gap: 3px;
    line-height: 1.25;
  }

  .hero-section {
    padding: 32px 0 56px 0;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-badges-top {
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(30px, 8.5vw, 40px);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-cta-group .btn-pill,
  .hero-cta-group .btn-coming-soon {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-visual-card {
    padding: 16px;
  }

  .hero-visual-card .card-corner-badge {
    right: 12px;
    top: -12px;
  }

  .hero-photo-frame {
    height: 300px !important;
  }

  .hero-preview-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .progress-status-box {
    padding: 24px 20px;
    margin-top: 32px !important;
  }

  .status-box-top {
    gap: 14px;
    margin-bottom: 18px;
  }

  .status-meta-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .status-percent-large {
    font-size: 36px;
  }

  .status-text-headline {
    font-size: 18px;
  }

  .status-tags-row {
    gap: 8px;
  }

  .status-chip {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .media-showcase-box {
    padding: 16px;
  }

  .video-placeholder-frame {
    aspect-ratio: auto;
    min-height: 240px;
    padding: 26px 18px;
  }

  .sansing-card,
  .sense-card,
  .mystery-room-card {
    padding: 24px 20px;
  }

  .section-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .section-desc {
    font-size: 16px;
  }

  .site-footer {
    padding-bottom: 78px;
  }
}
