/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  --white:    #ffffff;
  --off:      #f5f3ef;
  --off2:     #eceae5;
  --teal:     #2D4B50; /* maks-nivå avtalt med kunde — ikke lysere enn dette */
  --teal-dk:  #24454B;
  --box:      var(--teal);
  --box-dk:   var(--teal-dk);
  --teal-lt:  #e0eaeb;
  --warm:     #7a7a50;
  --warm-lt:  #f5f5e0;
  --warm-yellow: #ffd23f;
  --warm-yellow-dk: #f0b400;
  --accent-text: #4a3505;
  --ink:      #1a1a18;
  --muted:    #6e6c66;
  --border:   rgba(26,26,24,.09);
  --f:        'Manrope', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background:
    radial-gradient(ellipse 80% 50% at 85% 5%,  oklch(96% 0.025 185) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 15% 28%, oklch(97% 0.018 95)  0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 72%, oklch(96% 0.02 165)  0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 80% 88%, oklch(97% 0.015 85)  0%, transparent 50%),
    oklch(99% 0.003 180);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: var(--f); }
input::placeholder { color: #aaa8a2; }
img { display: block; max-width: 100%; }

/* ── Reveal animations ───────────────────────────────────────────────────── */
.rv  { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.rvl { opacity: 0; transform: translateX(-20px); transition: opacity .68s cubic-bezier(.22,1,.36,1), transform .68s cubic-bezier(.22,1,.36,1); }
.rvr { opacity: 0; transform: translateX(20px); transition: opacity .68s cubic-bezier(.22,1,.36,1), transform .68s cubic-bezier(.22,1,.36,1); }
.rv.in, .rvl.in, .rvr.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; }
.d2 { transition-delay: .13s; }
.d3 { transition-delay: .20s; }
.d4 { transition-delay: .27s; }
.d5 { transition-delay: .34s; }

/* ── Pills ───────────────────────────────────────────────────────────────── */
/* Én gjennomgående pill-farge på lys bakgrunn (teal-lt); gul kun på mørke flater */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--teal-lt);
  color: var(--teal-dk);
  border: 1px solid transparent;
}
.pill.teal { background: var(--teal-lt); color: var(--teal-dk); border-color: transparent; }
.pill.warm { background: var(--warm-yellow); color: var(--accent-text); border-color: transparent; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pickerPulse {
  0%, 100% {
    box-shadow:
      0 12px 44px rgba(0,39,44,.14),
      0 0 0 0 rgba(43,138,130,.10),
      0 0 0 0 rgba(43,138,130,.06),
      0 0 0 0 rgba(43,138,130,.025);
  }
  50% {
    box-shadow:
      0 14px 50px rgba(0,39,44,.18),
      0 0 0 8px  rgba(43,138,130,.07),
      0 0 0 18px rgba(43,138,130,.035),
      0 0 0 32px rgba(43,138,130,.012);
  }
}
.picker-pulse { animation: pickerPulse 4s cubic-bezier(.45,.05,.55,.95) infinite; }

@keyframes nudgeArrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
.nudge-arrow { animation: nudgeArrow 1.4s ease-in-out infinite; display: inline-block; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
/* Navbar-CTA — kompakt variant av .btn-primary */
.nav-cta {
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  display: inline-block;
  letter-spacing: -0.1px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,39,44,.18);
}

/* ── Help-bubble (floating, vises alltid) ────────────────────────────────── */
.help-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 190;
}
.help-bubble-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--warm-yellow);
  color: var(--ink);
  border: none;
  border-radius: 100px;
  padding: 10px 22px 10px 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.1px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,39,44,.18);
  transition: transform .15s, box-shadow .15s;
}
.help-bubble-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,39,44,.22);
}
.help-bubble-trigger-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}

.help-bubble-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 50px rgba(0,39,44,.18);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.help-bubble.is-open .help-bubble-panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.help-bubble-panel-header {
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.help-bubble-panel-header h4 {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.help-bubble-panel-header p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.help-bubble-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 10px;
  transition: background .15s;
  text-decoration: none;
}
.help-bubble-item:hover { background: var(--off); }
.help-bubble-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.help-bubble-item:hover .help-bubble-item-icon {
  background: var(--teal);
  color: #fff;
}
.help-bubble-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.help-bubble-item-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.1px;
}
.help-bubble-item-sub {
  font-size: 11.5px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .help-bubble { bottom: 16px; right: 16px; }
  .help-bubble-panel { width: calc(100vw - 32px); right: 0; max-width: 320px; }
  .help-bubble-trigger { padding: 8px 18px 8px 8px; font-size: 13px; }
  .help-bubble-trigger-icon { width: 26px; height: 26px; font-size: 15px; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: transparent;
  padding-top: 74px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 40px;
  font-size: 14px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 55px;
}
.hero-lead {
  font-weight: 400;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 12px; }
/* Knapper — to hovedstiler med identisk geometri, bare ulik farge.
   Variant: .btn-sm for kompakt (navbar/inline), .btn-block for full bredde, .btn-pill for rund. */
.btn-primary,
.btn-warm,
.btn-outline {
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  letter-spacing: -0.1px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-warm {
  background: var(--warm-yellow);
  color: var(--ink);
}
.btn-primary:hover,
.btn-warm:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,39,44,.12);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}
.btn-outline:hover { background: var(--teal-lt); }
.btn-sm {
  font-size: 13px;
  padding: 10px 22px;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-pill {
  border-radius: 100px;
}

/* Hero right column */
.hero-right { display: flex; flex-direction: column; gap: 20px; }
.hero-photo-frame { position: relative; width: min(100% - 56px, 500px, calc((100vh - 190px) * 0.8)); margin-left: auto; margin-right: 56px; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,39,44,.12);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

.hero-quote {
  padding-left: 18px;
  border-left: 3px solid var(--warm-yellow-dk);
  max-width: 420px;
}
.hero-quote p {
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--teal);
}
.picker-detail {
  margin-top: 12px;
  background: var(--off);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  animation: fadeUp .2s ease;
}
.picker-detail p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.picker-detail a {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}
.hero-stamp {
  position: absolute;
  bottom: 40px;
  right: -48px;
  z-index: 3;
  width: 96px;
  height: 96px;
}

/* ── Ticker ──────────────────────────────────────────────────────────────── */
.ticker {
  background: var(--warm-yellow);
  padding: 18px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-item {
  font-size: 13px;
  font-weight: 400;
  color: #1a1a18;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.ticker-dot {
  color: rgba(26,26,24,.75);
  margin: 0 32px;
  font-size: 20px;
  line-height: 1;
}

/* ── Section frame (cards) ───────────────────────────────────────────────── */
.section { padding: 88px 40px; }
.section-card {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 72px 64px;
  border: 1px solid rgba(0,39,44,.06);
  box-shadow: 0 4px 20px rgba(0,39,44,.04);
}
/* Faggrupper rett etter tilbakemeldingene: tilbakemeldingsseksjonen har allerede bunnluft */
.testimonials-section + #faggrupper { padding-top: 0; }
#produktet + .testimonials-section { padding-top: 0; }
.testimonials-section:has(+ #faggrupper) { padding-bottom: 40px; }
.section-card.section-card-bare {
  background: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
#faggrupper .section-head { margin-bottom: 28px; }
.section-head h2 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.08;
  text-wrap: balance;
}
.section-head p {
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  align-self: end;
}

/* ── Faggrupper section ──────────────────────────────────────────────────── */
.fag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.fag-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fag-icon-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background .2s, border-color .2s, transform .15s;
  font-family: inherit;
  text-decoration: none;
}
.fag-icon-btn:hover {
  background: var(--teal-lt);
  border-color: transparent;
  transform: translateY(-2px);
}
.fag-icon-btn .icon { color: var(--teal); display: flex; }
.fag-icon-btn .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.4;
}

.fag-detail {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 40px;
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
}
.fag-detail .icon-lg { display: flex; color: var(--teal); margin-bottom: 20px; }
.fag-detail h3 {
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.fag-detail .desc {
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}
.fag-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.fag-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off);
  border-radius: 8px;
  padding: 10px 12px;
}
.fag-feature span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.fag-detail .cta-block {
  font-weight: 700;
  font-size: 13px;
  background: var(--teal);
  color: #fff;
  padding: 12px 22px;
  border-radius: 9px;
  display: block;
  text-align: center;
  width: 100%;
}

/* ── Features section ────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 56px;
}
.features-side { order: -1; }
.feature-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-row h3 {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.feature-row p {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.features-side { display: flex; flex-direction: column; gap: 14px; }
.features-portrait { flex: 1; }
.features-portrait img { object-position: 55% center; }
@media (max-width: 960px) {
  .features-portrait { aspect-ratio: 4 / 3; }
}
.photo-box {
  border-radius: 18px;
  background: #c0d0cc;
  position: relative;
  overflow: hidden;
}
.photo-box img { width: 100%; height: 100%; object-fit: cover; }
.photo-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,.32) 0%, transparent 50%);
  pointer-events: none;
}

.ki-card {
  background: var(--teal-dk);
  border-radius: 18px;
  padding: 28px 28px;
}
.ki-card .pill { margin-bottom: 16px; }
.ki-card h3 {
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.ki-card p {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,.58);
  line-height: 1.8;
  margin-bottom: 18px;
}
.ki-card a {
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-block;
}

/* ── About strip ─────────────────────────────────────────────────────────── */
.about-card {
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 72px 64px;
  border: 1px solid rgba(0,39,44,.06);
  box-shadow: 0 4px 20px rgba(0,39,44,.04);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.about-cta {
  margin-top: 36px;
  display: inline-block;
}
.about-card h2 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-card p {
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-card .small-p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 36px;
}
.about-card .brand { color: var(--teal-dk); font-weight: 700; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-stat {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 18px;
  border: 1px solid var(--border);
}
.about-stat .num {
  font-weight: 800;
  font-size: 38px;
  color: var(--teal-dk);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat .lbl {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-photos .tall {
  grid-row: 1 / 3;
  height: 360px;
  border-radius: 16px;
}
.about-photos .small {
  height: 172px;
  border-radius: 14px;
}

/* ── Extensor KI spotlight ───────────────────────────────────────────────── */
.ki-spotlight-section { padding: 32px 40px; }
.ki-spotlight {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--teal-lt);
  border-radius: 24px;
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
}
.ki-spotlight-text {
  position: relative;
  z-index: 1;
  color: var(--teal-dk);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 64px;
  align-items: start;
}
.ki-spotlight-text > * { grid-column: 1; }
.ki-spotlight-text .pill { justify-self: start; }
.ki-spotlight .pill { background: #fff; color: var(--teal-dk); }
.ki-spotlight-text h2 {
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--teal-dk);
}
.ki-spotlight-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--teal);
  margin-bottom: 28px;
  max-width: 520px;
}
.ki-spotlight-text .btn-warm,
.ki-spotlight-text .btn-primary { justify-self: start; }
.ki-spotlight-list {
  grid-column: 2;
  grid-row: 1 / span 4;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.ki-spotlight-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  font-size: 15px;
  color: var(--teal-dk);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,39,44,.05);
}
.ki-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.ki-check::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

@media (max-width: 960px) {
  .ki-spotlight { padding: 36px 24px; }
  .ki-spotlight-text { grid-template-columns: 1fr; }
  .ki-spotlight-list { grid-column: 1; grid-row: auto; margin-bottom: 28px; }
  .ki-spotlight-text .btn-warm,
  .ki-spotlight-text .btn-primary { order: 5; }
}

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section { padding: 40px 40px 80px; }
.cta-card {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--box-dk) 0%, var(--box) 100%);
  border-radius: 24px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 44px);
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.cta-card .lead {
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,.58);
  line-height: 1.85;
  margin-bottom: 24px;
}
.cta-card .phone {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,.4);
}
.cta-card .phone a {
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.cta-form {
  background: rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
}
.cta-form-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.cta-form-message {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 14px;
}
.cta-form-message::placeholder { color: rgba(255,255,255,.55); }
.cta-form-message:focus { outline: none; border-color: rgba(247,229,150,.6); }

/* ── Kontakt-side komponenter ────────────────────────────────────────────── */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-channel {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,39,44,.06);
  border-radius: 20px;
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s, box-shadow .2s;
}
.contact-channel:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(0,39,44,.08);
}
.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-channel h3 {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.contact-channel-main {
  font-weight: 700;
  font-size: 20px;
  color: var(--teal);
  letter-spacing: -0.4px;
}
.contact-channel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.kontakt-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.kontakt-office {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,39,44,.06);
  border-radius: 20px;
  padding: 36px 36px 32px;
}
.kontakt-office-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 10px;
}
.kontakt-office h3 {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 16px;
}
.kontakt-office-address {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.kontakt-office-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.kontakt-office-link:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .contact-channels { grid-template-columns: 1fr; }
  .kontakt-offices { grid-template-columns: 1fr; }
}
.cta-form input,
.cta-form select {
  padding: 12px 15px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,.12);
  outline: none;
  width: 100%;
}
.cta-form select { color: rgba(255,255,255,.5); }
.cta-form select option { color: var(--ink); }
/* Form-submit — full bredde variant av .btn-warm */
.cta-submit {
  font-family: inherit;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--warm-yellow);
  border: none;
  padding: 13px 0;
  border-radius: 9px;
  cursor: pointer;
  letter-spacing: -0.1px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,39,44,.12);
}
.cta-disclaimer {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,.28);
  margin-top: 12px;
  text-align: center;
}

/* ── Partner-stripe ──────────────────────────────────────────────────────── */
.partners-strip {
  padding: 40px 24px 56px;
}
.partners-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.partners-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(20, 54, 60, .55);
  margin: 0;
}
.partners-strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  width: 100%;
}
.partners-strip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  opacity: .75;
  transition: opacity .25s ease, transform .25s ease;
}
.partners-strip-logo:hover { opacity: 1; transform: translateY(-1px); }
.partners-strip-logo img {
  max-height: 100%;
  max-width: 160px;
  width: auto;
  height: auto;
  display: block;
}
.partners-strip-logo-blend { mix-blend-mode: multiply; }
@media (max-width: 720px) {
  .partners-strip { padding: 40px 20px; }
  .partners-strip-logos { gap: 32px 36px; }
  .partners-strip-logo { height: 28px; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(135deg, var(--box-dk) 0%, var(--box) 100%);
  border-radius: 24px 24px 0 0;
  padding: 56px 40px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .7;
  margin-bottom: 16px;
}
.footer-tag {
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  max-width: 220px;
}
.footer-contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.footer-col h4 {
  font-weight: 700;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: rgba(255,255,255,.95); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: inherit; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; }
  .hero { min-height: 0; align-items: flex-start; padding-top: 74px; }
  .hero-inner { padding: 24px 20px 40px; }
  .hero-grid,
  .section-head,
  .fag-grid,
  .features-grid,
  .about-grid,
  .cta-card,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero-right { margin-top: 8px; }
  .features-side { order: 0; }
  .section { padding: 56px 16px; }
  .section-card,
  .about-card { padding: 40px 24px; }
  .fag-detail { position: static; }
  .cta-section { padding: 24px 16px 56px; }
  .ki-spotlight-section { padding-left: 16px; padding-right: 16px; }
  .cta-card { padding: 40px 24px; }
  .footer { padding: 40px 20px 24px; border-radius: 20px 20px 0 0; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .about-photos .tall { height: 280px; }
}

@media (max-width: 560px) {
  .fag-icons,
  .fag-features,
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .fag-icons { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .hero-stamp { width: 72px; height: 72px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Designsystem-side (design-system.html) ───────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

.ds-body { padding-top: 74px; }

/* Header */
.ds-header {
  padding: 80px 24px 56px;
}
.ds-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
.ds-header h1 {
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--teal);
  margin-bottom: 24px;
  max-width: 920px;
}
.ds-lead {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 32px;
}
.ds-header-meta {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.ds-header-meta strong {
  color: var(--ink);
  font-weight: 800;
  margin-right: 4px;
}

/* Layout */
.ds-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

/* Sidebar TOC */
.ds-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.ds-toc-inner { padding-right: 8px; }
.ds-toc h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ds-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-toc-list a {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 7px;
  transition: color .15s, background .15s;
  border-left: 2px solid transparent;
}
.ds-toc-list a:hover {
  color: var(--ink);
  background: rgba(0, 39, 44, .04);
}
.ds-toc-list a.is-active {
  color: var(--teal);
  font-weight: 700;
  background: var(--teal-lt);
  border-left-color: var(--teal);
}

/* Main */
.ds-main { min-width: 0; }
.ds-section {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
}
.ds-section:first-child { padding-top: 16px; }
.ds-section:last-of-type { border-bottom: none; }

.ds-section-head {
  margin-bottom: 36px;
  max-width: 760px;
}
.ds-num {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--warm);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.ds-section-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin-bottom: 16px;
}
.ds-section-head p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 400;
}

.ds-h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 16px;
}
.ds-h3:first-child { margin-top: 0; }

.ds-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

/* Code blocks */
.ds-code {
  background: var(--teal);
  color: rgba(255, 255, 255, .92);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  padding: 18px 22px;
  border-radius: 12px;
  overflow-x: auto;
  margin-top: 20px;
  white-space: pre;
  position: relative;
}
.ds-code code { font-family: inherit; }
.ds-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s, background .15s, color .15s;
}
.ds-code:hover .ds-copy-btn { opacity: 1; }
.ds-copy-btn:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.ds-copy-btn.is-copied {
  background: var(--warm-yellow);
  color: var(--teal);
  border-color: var(--warm-yellow);
  opacity: 1;
}

/* Tables */
.ds-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}
.ds-table th,
.ds-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.ds-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ds-table td code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 2px 8px;
  border-radius: 5px;
}

/* Rules list */
.ds-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.ds-rules li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.ds-rules li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-yellow-dk);
}
.ds-rules strong { color: var(--ink); font-weight: 700; }
.ds-rules code,
.ds-section-head code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 1px 7px;
  border-radius: 5px;
}

/* Color swatches */
.ds-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.ds-swatch {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ds-swatch-color {
  height: 80px;
  border-bottom: 1px solid var(--border);
}
.ds-swatch-meta {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-swatch-meta strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.ds-swatch-meta code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}

/* Background preview */
.ds-bg-preview {
  height: 280px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 50% at 85% 5%,  oklch(96% 0.025 185) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 15% 28%, oklch(97% 0.018 95)  0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 72%, oklch(96% 0.020 165) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 80% 88%, oklch(97% 0.015 85)  0%, transparent 50%),
    oklch(99% 0.003 180);
}

/* Type specimen */
.ds-type-specimen {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
}
.ds-type-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.ds-type-row:last-child { border-bottom: none; }
.ds-type-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-type-meta strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
}
.ds-type-meta code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}
.ds-type-sample {
  color: var(--ink);
  min-width: 0;
}

/* Spacing demo */
.ds-spacing-demo {
  background: var(--off);
  padding: 24px;
  border-radius: 14px;
}
.ds-spacing-container {
  background: var(--teal-lt);
  border: 1px dashed var(--teal);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Radius row */
.ds-radius-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.ds-radius-box {
  width: 80px;
  height: 80px;
  background: var(--teal-lt);
  border: 1px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-radius-box span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

/* Generic demo container */
.ds-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 8px;
}
.ds-demo-dark {
  background: var(--teal);
  border-color: var(--teal);
}
.ki-card-link-demo {
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-block;
}

/* Form grid */
.ds-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ds-form-light {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-form-light input,
.ds-form-light select {
  padding: 12px 15px;
  border-radius: 9px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink);
  background: var(--off);
  outline: none;
  width: 100%;
}
.ds-form-light input:focus,
.ds-form-light select:focus {
  border-color: var(--teal);
  background: var(--white);
}

/* Card preview wrapper */
.ds-card-preview {
  background:
    radial-gradient(ellipse 80% 50% at 85% 5%, oklch(96% 0.025 185) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 15% 28%, oklch(97% 0.018 95) 0%, transparent 50%),
    oklch(99% 0.003 180);
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* Nav demo */
.ds-nav-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ds-nav-state { display: flex; flex-direction: column; gap: 10px; }
.ds-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.ds-nav-frame {
  border-radius: 14px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  min-height: 88px;
  display: flex;
  align-items: center;
}
.ds-nav-frame-light {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, oklch(96% 0.025 185) 0%, transparent 60%),
    oklch(99% 0.003 180);
}
.ds-nav-frame-scroll {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.ds-nav-mock {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ds-nav-mock-logo img { height: 28px; width: auto; }
.ds-nav-mock-links {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.ds-nav-mock-cta {
  font-size: 11px;
  font-weight: 700;
  background: var(--teal);
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
}

/* Footer preview */
.ds-footer-preview { overflow: hidden; border-radius: 18px; }
.ds-footer-preview .footer { padding: 32px; }

/* Icon grid */
.ds-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.ds-icon-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-icon-tile span {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

/* Logo grid */
.ds-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ds-logo-frame {
  border-radius: 14px;
  padding: 40px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.ds-logo-frame span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Animation cards grid */
.ds-anim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.ds-anim-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-anim-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.ds-anim-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.ds-anim-demo {
  padding: 18px;
  background: var(--off);
  border-radius: 10px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 80px;
  justify-content: center;
}
.ds-anim-card .ds-code { font-size: 11.5px; padding: 14px 16px; }

/* Principles list */
.ds-principles {
  list-style: none;
  counter-reset: principles;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ds-principles li {
  counter-increment: principles;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 24px 22px;
  position: relative;
}
.ds-principles li::before {
  content: counter(principles, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--warm);
  letter-spacing: .12em;
}
.ds-principles h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  padding-right: 36px;
}
.ds-principles p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.ds-principles code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  background: var(--teal-lt);
  color: var(--teal);
  padding: 1px 6px;
  border-radius: 4px;
}

/* End marker */
.ds-end {
  padding: 64px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.ds-end a { color: var(--teal); font-weight: 700; }

/* Responsive */
@media (max-width: 960px) {
  .ds-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ds-toc {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
  }
  .ds-toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .ds-form-grid,
  .ds-nav-demo,
  .ds-logo-grid,
  .ds-principles {
    grid-template-columns: 1fr;
  }
  .ds-type-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ds-header { padding: 56px 16px 40px; }
  .ds-section { padding: 40px 0; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── FAQ-accordion (leger.html og fremtidige undersider) ──────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: rgba(0,39,44,.18);
  box-shadow: 0 4px 16px rgba(0,39,44,.05);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--teal-lt);
  position: relative;
  transition: background .2s, transform .25s cubic-bezier(.22,1,.36,1);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--teal);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}
.faq-icon::before {
  width: 12px;
  height: 1.8px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.8px;
  height: 12px;
  transform: translate(-50%, -50%);
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.faq-item[open] .faq-icon { background: var(--teal); }
.faq-item[open] .faq-icon::before { background: #fff; }
.faq-item[open] .faq-icon::after {
  background: #fff;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-body {
  padding: 0 24px 22px;
  animation: fadeUp .22s ease;
}
.faq-body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 720px;
}

@media (max-width: 560px) {
  .faq-item summary { padding: 16px 18px; font-size: 14px; gap: 14px; }
  .faq-body { padding: 0 18px 18px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Underside-spesifikt (leger.html og andre faggruppe-sider) ────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

/* ── Underside-hero: matcher forsiden, men med mindre H1 ─────────────────── */
.hero-sub {
  min-height: auto;
  padding-top: 74px;
  display: block;
  position: relative;
  overflow: hidden;
}
.hero-sub .hero-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  z-index: 2;
}
.hero-sub .hero-grid {
  display: block;
}
.hero-sub h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -2px;
  line-height: 1.07;
  margin-bottom: 24px;
  text-wrap: balance;
  max-width: 760px;
}
.hero-sub .hero-lead {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-sub .hero-ctas { gap: 12px; }
/* Faggrupper-oversikt: kortene tettere på overskriften */
.hero-sub-overview .hero-inner { padding-bottom: 8px; }
.hero-sub-overview .hero-lead { margin-bottom: 0; }
.section-overview { padding-top: 40px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--warm-yellow-dk);
  border-radius: 2px;
}

/* Faggruppe-tag — tydelig side-identifikator i hero ────────────────────── */
.faggruppe-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 8px 22px 8px 8px;
  background: var(--white);
  border: 1px solid rgba(0,39,44,.10);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,39,44,.04);
}
.faggruppe-tag-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faggruppe-tag-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}
.faggruppe-tag-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .15s;
  text-decoration: none;
}
.faggruppe-tag-eyebrow:hover { color: var(--teal); }
.faggruppe-tag-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.6px;
  margin-top: 2px;
}

/* Faggruppesider: større typografi + dekor som bløder ut til høyre (ingen bilder ennå) */
.hero:has(.faggruppe-tag) h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -2.4px;
  max-width: 900px;
}
.hero:has(.faggruppe-tag) .hero-lead { max-width: 540px; }
.hero:has(.faggruppe-tag)::after {
  content: '';
  position: absolute;
  z-index: 1;
  right: max(-14vw, -240px);
  top: 50%;
  width: min(56vw, 620px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 42%, rgba(255,210,63,.42) 0, rgba(255,210,63,0) 34%),
    radial-gradient(circle at 40% 62%, rgba(45,75,80,.16) 0, rgba(45,75,80,0) 46%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(45,75,80,.10) 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 70%);
  mask-image: radial-gradient(circle, #000 38%, transparent 70%);
}

.hero-phone-line {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.hero-phone-line a {
  color: var(--teal);
  font-weight: 700;
}

/* Hero photo-band — bredt bilde rett under hero */
.hero-photo-band {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
/* Skjult på faggruppesidene (hero med faggruppe-tag) — fjern regelen for å vise bildet igjen */
.hero:has(.faggruppe-tag) + .hero-photo-band { display: none; }
.hero-photo-band-img {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  border-radius: 24px;
  overflow: hidden;
  background: var(--off2);
  box-shadow: 0 14px 50px rgba(0,39,44,.10);
}
.hero-photo-band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}
.hero-photo-band-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,39,44,.45) 0%, transparent 55%);
  pointer-events: none;
}
.hero-photo-band-caption {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hpb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.4);
}
.hpb-pill.alt {
  background: rgba(0,39,44,.55);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.hpb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm-yellow-dk);
  flex-shrink: 0;
}

/* Modules grid — hovedfunksjoner som kort */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}
.module-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  padding: 24px 0 4px;
  transition: none;
}
.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.module-card h3 {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  line-height: 1.25;
}
.module-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
}

/* Testimonial */
.testimonial-section {
  padding-top: 24px;
  padding-bottom: 64px;
}
.testimonial {
  max-width: 880px;
  margin: 0 auto;
  background: var(--box);
  border-radius: 24px;
  padding: 60px 56px 52px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 200px at 90% 10%, rgba(247,229,150,.10), transparent 70%),
    radial-gradient(circle 240px at 10% 90%, rgba(247,229,150,.07), transparent 70%);
  pointer-events: none;
}
.quote-mark {
  color: var(--warm-yellow);
  opacity: .9;
  margin-bottom: 22px;
  position: relative;
}
.testimonial-quote {
  position: relative;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.4px;
  margin-bottom: 28px;
  max-width: 700px;
}
.testimonial-meta { position: relative; }
.testimonial-name {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}
.testimonial-role {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}

/* ── Tilleggsprodukter callout (på faggruppe-sider) ──────────────────────── */
.addon-callout {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,39,44,.06);
  border-radius: 22px;
  padding: 40px 48px;
  box-shadow: 0 4px 20px rgba(0,39,44,.04);
}
.addon-callout h2 {
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--ink);
}
.addon-callout p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 560px;
}
.addon-callout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.addon-callout-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 6px 12px;
  border-radius: 100px;
}
@media (max-width: 720px) {
  .addon-callout {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
}

/* Tilleggsprodukter — addon-grid */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.addon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, background .2s;
}
.addon-card:hover {
  border-color: var(--warm-yellow-dk);
  background: linear-gradient(180deg, var(--white) 0%, var(--warm-lt) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,39,44,.06);
}
.addon-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--warm);
  align-self: flex-start;
}
.addon-card h3 {
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.addon-card p {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
}
.addon-foot {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}
.addon-foot a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 960px) {
  .modules-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial { padding: 44px 28px 40px; }
  .testimonial-quote { font-size: 18px; }
  .hero-sub .hero-inner { padding: 48px 20px 40px; }
  .hero-photo-band { padding: 0 16px 40px; }
  .hero-photo-band-img { aspect-ratio: 16 / 10; border-radius: 18px; }
  .hero-photo-band-caption { bottom: 16px; left: 16px; gap: 6px; }
  .hpb-pill { font-size: 10.5px; padding: 6px 11px; }
  .hero:has(.faggruppe-tag)::after { width: 120vw; right: -60vw; opacity: .6; }
  .faggruppe-tag-name { font-size: 19px; }
  .faggruppe-tag-icon { width: 48px; height: 48px; }
  .faggruppe-tag-icon svg { width: 24px; height: 24px; }
  .carousel-head { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
  .carousel-item { width: 280px; height: 220px; }
  .stats-band { padding: 16px 16px 40px; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); padding: 36px 28px; gap: 28px; }
}
@media (max-width: 560px) {
  .addon-grid { grid-template-columns: 1fr; }
  .module-card { padding: 22px 22px 20px; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; padding: 28px 20px; gap: 22px; }
  .carousel-item { width: 240px; height: 200px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Om oss-side ──────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Aktiv nav-link */
.nav-links a.is-active {
  color: var(--ink);
  background: var(--teal-lt);
  font-weight: 700;
}

/* Stats-band — egen seksjon for nøkkeltall */
.stats-band {
  padding: 24px 24px 56px;
}
.stats-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stats-band-stat .num {
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--teal-dk);
  letter-spacing: -2.8px;
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.stats-band-stat .lbl {
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Bildekarusell ---- auto-skroll med pause on hover */
.carousel-section {
  padding: 64px 0 88px;
  overflow: hidden;
}
.carousel-head {
  max-width: 1280px;
  margin: 0 auto 36px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: end;
}
.carousel-head h2 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.08;
}
.carousel-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}
.image-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.image-carousel::before,
.image-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.image-carousel::before {
  left: 0;
  background: linear-gradient(90deg, oklch(99% 0.003 180) 0%, transparent 100%);
}
.image-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, oklch(99% 0.003 180) 0%, transparent 100%);
}
.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: carouselScroll 36s linear infinite;
}
.image-carousel:hover .carousel-track { animation-play-state: paused; }
.carousel-item {
  width: 360px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--off2);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,39,44,.45) 0%, transparent 50%);
  pointer-events: none;
}
.carousel-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
  background: rgba(0,39,44,.45);
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Visjon-blokk */
.vision-section { padding: 24px 24px 64px; }
.vision-block {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vision-block::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(247,229,150,.55), transparent 70%);
  pointer-events: none;
}
.vision-lead {
  position: relative;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.vision-quote {
  position: relative;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -1.4px;
  line-height: 1.15;
  color: var(--teal-dk);
  margin-bottom: 18px;
}
.vision-meta {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm);
}

/* Kjerneverdier */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px 26px;
  position: relative;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.value-card:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,39,44,.06);
}
.value-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--warm);
  display: inline-block;
  margin-bottom: 16px;
}
.value-card h3 {
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
}

/* Team-grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.team-card:hover {
  transform: translateY(-3px);
}
.team-avatar {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--avatar-bg, var(--teal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.2px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,39,44,.08);
}
.team-name {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.team-role {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: -8px;
}
.team-photo {
  position: relative;
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 14px 50px rgba(0,39,44,.10);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,39,44,.40) 0%, transparent 45%);
  pointer-events: none;
}
.team-photo figcaption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 2;
}
@media (max-width: 700px) {
  .team-photo { aspect-ratio: 4 / 3; border-radius: 16px; }
}

/* Kernel-card */
.kernel-card {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
  background: linear-gradient(135deg, var(--teal-dk) 0%, var(--teal) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}
.kernel-card::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(247,229,150,.08), transparent 70%);
  pointer-events: none;
}
.kernel-text { position: relative; }
.kernel-text h2 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -1.4px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.kernel-text p {
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  margin-bottom: 16px;
}
.kernel-text .small-p {
  font-size: 14.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.kernel-text strong { color: #fff; font-weight: 700; }
.kernel-text .brand { color: var(--warm-yellow); font-weight: 700; }

/* Kontorer */
.offices {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offices-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.office-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(4px);
}
.office-card.primary {
  background: rgba(255,255,255,.08);
  border-color: rgba(247,229,150,.25);
}
.office-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm-yellow);
  display: block;
  margin-bottom: 6px;
}
.office-name {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.office-addr {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.office-satellites {
  margin-top: 12px;
  padding: 16px 22px;
  border-top: 1px dashed rgba(255,255,255,.15);
}
.office-satellites-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  display: block;
  margin-bottom: 10px;
}
.office-satellites-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.office-satellites-list span {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.10);
}

/* Samarbeidspartnere — accordion-grid (klikk for å se beskrivelse) */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.partner-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.partner-item[open] {
  border-color: rgba(0,39,44,.18);
  box-shadow: 0 4px 14px rgba(0,39,44,.05);
}
.partner-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.partner-item summary::-webkit-details-marker { display: none; }
.partner-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.2px;
  transition: color .15s;
}
.partner-item summary:hover .partner-name { color: var(--teal); }
.partner-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--teal-lt);
  position: relative;
  transition: background .2s;
}
.partner-icon::before,
.partner-icon::after {
  content: '';
  position: absolute;
  background: var(--teal);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}
.partner-icon::before {
  width: 10px;
  height: 1.6px;
  transform: translate(-50%, -50%);
}
.partner-icon::after {
  width: 1.6px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.partner-item[open] .partner-icon { background: var(--teal); }
.partner-item[open] .partner-icon::before { background: #fff; }
.partner-item[open] .partner-icon::after {
  background: #fff;
  transform: translate(-50%, -50%) rotate(90deg);
}
.partner-body {
  padding: 0 20px 18px;
  animation: fadeUp .22s ease;
}
.partner-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}
.partner-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal);
  transition: color .15s;
}
.partner-link:hover { color: var(--teal-dk); text-decoration: underline; }

@media (max-width: 960px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .kernel-card { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px; }
  .partner-grid { grid-template-columns: 1fr; }
  .vision-block { padding: 40px 28px 36px; }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Testimonials-marquee — rullerende kundekort ──────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

.testimonials-section {
  padding: 88px 0;
  background: transparent;
  overflow: hidden;
}
.testimonials-head {
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 0 40px;
}
.testimonials-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.testimonials-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--ink);
  letter-spacing: -1.6px;
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: 680px;
}
.testimonials-head p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 520px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  margin-bottom: 36px;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(255,255,255,.85) 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.testimonial-card {
  background: var(--white);
  border-radius: 18px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,39,44,.04);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card.size-sm { width: 360px; }
.testimonial-card.size-md { width: 440px; }
.testimonial-card.size-lg { width: 540px; }
.testimonial-card.size-xl { width: 620px; }

.testimonial-card-faggruppe {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.testimonial-card-quote {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 400;
}
.testimonial-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.testimonial-card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.testimonial-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-card-role {
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .testimonials-section { padding: 56px 0; }
  .testimonials-head { padding: 0 20px; margin-bottom: 20px; }
  .marquee::before,
  .marquee::after { width: 40px; }
  .testimonial-card { padding: 22px 22px; }
  .testimonial-card.size-sm { width: 300px; }
  .testimonial-card.size-md { width: 340px; }
  .testimonial-card.size-lg { width: 380px; }
  .testimonial-card.size-xl { width: 420px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Faggrupper-samleside (overview-grid) ─────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

.faggruppe-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.faggruppe-overview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
  scroll-margin-top: 100px;
}
.faggruppe-overview-card:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,39,44,.06);
}
.faggruppe-overview-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.faggruppe-overview-icon svg { width: 28px; height: 28px; }
.faggruppe-overview-name {
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.faggruppe-overview-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}
.faggruppe-overview-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s, color .15s;
}
.faggruppe-overview-link:hover {
  gap: 10px;
  color: var(--teal-dk);
}
/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Navbar-dropdown for faggrupper ───────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  display: inline-block;
  opacity: .55;
  transition: transform .2s, opacity .2s;
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.is-open .nav-dropdown-arrow {
  opacity: 1;
  transform: rotate(225deg) translate(-1px, -1px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,39,44,.10);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 250;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s, color .15s;
  position: relative;
}
.nav-dropdown-item:hover {
  background: var(--off);
  color: var(--teal);
}
.nav-dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.nav-dropdown-item-icon svg { width: 18px; height: 18px; }
.nav-dropdown-item:hover .nav-dropdown-item-icon {
  background: var(--teal);
  color: #fff;
}
.nav-dropdown-item-label {
  flex: 1;
  line-height: 1.3;
}
/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Webinar-side ─────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Em-aksent i hero H1 (samme stil som M51) */
.hero-sub h1 em {
  font-style: italic;
  color: var(--teal);
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.hero-sub h1 em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--warm-yellow);
  z-index: -1;
  opacity: .55;
}

.webinar-section-head {
  margin-bottom: 32px;
}
.webinar-section-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
}

/* Meta-rad: dato, varighet, format */
.webinar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.webinar-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 4px 10px;
  border-radius: 100px;
}
.webinar-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.webinar-meta-item { position: relative; }
.webinar-meta-item + .webinar-meta-item::before {
  content: '·';
  margin-right: 16px;
  color: rgba(0,39,44,.25);
  position: absolute;
  left: -22px;
}

/* CTA-tekst på kort */
.webinar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  transition: gap .15s, color .15s;
}
.webinar-card:hover .webinar-cta,
.webinar-featured:hover .webinar-cta {
  gap: 10px;
  color: var(--teal-dk);
}

/* Play-knapp overlay på thumbnails */
.webinar-play {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,39,44,.18);
  backdrop-filter: blur(8px);
  transition: transform .2s, background .2s;
}
/* SVG har 2px innebygd høyreforskyvning som gir optisk sentrering — ingen ekstra margin */
.webinar-card:hover .webinar-play,
.webinar-featured:hover .webinar-play {
  background: var(--teal);
  color: #fff;
  transform: scale(1.06);
}

/* Featured webinar */
.webinar-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.22,1,.36,1);
}
.webinar-featured:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,39,44,.08);
}
.webinar-featured-img {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--off2);
}
.webinar-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.webinar-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,39,44,.3) 0%, transparent 50%);
  pointer-events: none;
}
.webinar-featured-text {
  padding-right: 12px;
}
.webinar-featured-title {
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--ink);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
  text-wrap: balance;
}
.webinar-featured-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 540px;
}

/* Arkiv-grid */
.webinar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.webinar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .2s;
}
.webinar-card:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,39,44,.07);
}
.webinar-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--off2);
  overflow: hidden;
}
.webinar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.webinar-card:hover .webinar-card-img img { transform: scale(1.04); }
.webinar-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,39,44,.25) 0%, transparent 50%);
  pointer-events: none;
}
.webinar-card-img .webinar-play {
  width: 40px;
  height: 40px;
  bottom: 14px;
  right: 14px;
}
.webinar-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.webinar-card-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 10px;
  text-wrap: balance;
}
.webinar-card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

/* Newsletter-card — lys variant, kontrasterer mot teal CTA under */
.newsletter-section { padding: 24px 24px 64px; }
.newsletter-card {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,229,150,.4), transparent 70%);
  pointer-events: none;
}
.newsletter-text { position: relative; }
.newsletter-text h2 {
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.newsletter-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.newsletter-form {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.newsletter-form input::placeholder { color: var(--muted); opacity: .65; }
.newsletter-form input:focus { border-color: var(--teal); }
.newsletter-form .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .webinar-featured { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .webinar-featured-text { padding-right: 0; padding-bottom: 8px; }
  .webinar-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
  .webinar-grid { grid-template-columns: 1fr; }
  .webinar-meta { font-size: 12px; gap: 12px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Support-side ─────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Kontaktkanaler (3 store kort) */
.support-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ── QuickSupport-seksjon (fjernhjelp) ───────────────────────────────────── */
.quicksupport-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.quicksupport-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quicksupport-steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 26px;
}
.quicksupport-step-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-lt);
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quicksupport-steps h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.quicksupport-steps p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.quicksupport-steps p a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quicksupport-download {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.quicksupport-download h3 {
  font-size: 18px;
  font-weight: 700;
}
.quicksupport-download p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.quicksupport-alt-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 960px) {
  .quicksupport-grid { grid-template-columns: 1fr; }
  .support-channels { grid-template-columns: 1fr; }
}
.support-channel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.support-channel:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,39,44,.07);
}
.support-channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.support-channel-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.support-channel-value {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 10px;
  word-break: break-word;
}
.support-channel-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}
.support-channel-desc strong {
  color: var(--teal);
  font-weight: 800;
}
.support-channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  transition: gap .15s, color .15s;
}
.support-channel:hover .support-channel-cta {
  gap: 10px;
  color: var(--teal-dk);
}

/* Opplærings-ressurser (5 kort) */
.support-resource-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.support-resource {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.support-resource:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,39,44,.06);
}
.support-resource-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.support-resource h3 {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.support-resource p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Nedlastnings-liste (horisontal) */
.support-download-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.support-download {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color .2s, background .2s;
}
.support-download:hover {
  border-color: var(--teal);
  background: var(--off);
}
.support-download-text { flex: 1; }
.support-download-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 6px;
}
.support-download h3 {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.support-download p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.support-download-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: background .2s, color .2s, transform .2s;
}
.support-download:hover .support-download-arrow {
  background: var(--teal);
  color: #fff;
  transform: translateY(2px);
}

/* Driftsmeldinger / status */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.status-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 14px;
  padding: 22px 26px;
  transition: box-shadow .2s;
}
.status-item:hover {
  box-shadow: 0 6px 18px rgba(0,39,44,.05);
}
.status-item.status-info { border-left-color: var(--teal); }
.status-item.status-warning { border-left-color: var(--warm-yellow-dk); }
.status-item.status-critical { border-left-color: #c84a3a; }

.status-item-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.status-item-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.status-info .status-item-tag {
  background: var(--teal-lt);
  color: var(--teal);
}
.status-warning .status-item-tag {
  background: var(--warm-yellow);
  color: var(--warm);
}
.status-critical .status-item-tag {
  background: #fde2dd;
  color: #c84a3a;
}
.status-item-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.status-item h3 {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.status-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .support-channels { grid-template-columns: 1fr; }
  .support-resource-grid { grid-template-columns: 1fr 1fr; }
  .support-download-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .support-resource-grid { grid-template-columns: 1fr; }
  .support-channel { padding: 26px 24px 24px; }
  .status-item { padding: 18px 20px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Nyheter-side ─────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Kategorifilter */
.news-filter-section {
  padding: 0 24px 16px;
}
.news-filter {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.news-filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: -0.1px;
  transition: background .15s, color .15s, border-color .15s;
}
.news-filter-btn:hover:not(.is-active) {
  border-color: var(--teal);
  color: var(--teal);
}
.news-filter-btn.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 700;
}

.news-section { padding-top: 40px; }

/* Nyhets-grid og kort */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.news-card:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,39,44,.07);
}
.news-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--off2);
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,39,44,.20) 0%, transparent 50%);
  pointer-events: none;
}
.news-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-card-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.news-tag-webinar     { background: var(--teal-lt); color: var(--teal); }
.news-tag-produkt     { background: var(--warm-yellow); color: var(--warm); }
.news-tag-kunder      { background: #e8e8d4; color: #6b6b3a; }
.news-tag-besok       { background: #f0e0d4; color: #7a4f2e; }
.news-tag-karriere    { background: #d4e0e8; color: #2e5a7a; }
.news-tag-integrasjon { background: #e0e0d8; color: #555538; }

.news-card-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.news-card-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 10px;
  text-wrap: balance;
}
.news-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
}
.news-card-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s, color .15s;
}
.news-card:hover .news-card-cta {
  gap: 10px;
  color: var(--teal-dk);
}
.news-empty {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding: 48px 0;
}

@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-filter { gap: 6px; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-filter-btn { padding: 7px 14px; font-size: 12px; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Extensor KI-side ─────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Slik fungerer det — 3-stegs flow */
.ki-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ki-flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 30px 28px;
  position: relative;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.ki-flow-step:hover {
  border-color: rgba(0,39,44,.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,39,44,.07);
}
.ki-flow-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--warm);
  margin-bottom: 18px;
}
.ki-flow-step h3 {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  line-height: 1.25;
}
.ki-flow-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* Trust-blokk — lys variant, kontrasterer mot teal CTA under */
.ki-trust-section {
  padding: 24px 24px 64px;
}
.ki-trust {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ki-trust::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,229,150,.4), transparent 70%);
  pointer-events: none;
}
.ki-trust-icon {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ki-trust-text {
  position: relative;
}
.ki-trust-text h2 {
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -1px;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.ki-trust-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 640px;
}

@media (max-width: 960px) {
  .ki-flow { grid-template-columns: 1fr; }
  .ki-trust { grid-template-columns: 1fr; padding: 40px 28px; gap: 24px; text-align: left; }
  .ki-trust-icon { width: 64px; height: 64px; border-radius: 18px; }
  .ki-trust-icon svg { width: 32px; height: 32px; }
}

/* ── Karriere-side ────────────────────────────────────────────────────────── */
.karriere-empty {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.karriere-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--teal-lt);
  color: var(--teal);
  margin-bottom: 24px;
}
.karriere-empty h2 {
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--ink);
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  text-wrap: balance;
}
.karriere-empty p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 auto 28px;
  max-width: 580px;
}
.karriere-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Aktive stillingsutlysninger (CMS-drevet, se cmsKarriereStillinger i script.js) */
.karriere-stillinger {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stilling-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.stilling-card h3 {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.stilling-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.stilling-frist {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ── Artikkel-side (blogg-innlegg) ────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────── */

.article { padding-top: 74px; }
.article-header {
  padding: 64px 40px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.article-header-inner {
  max-width: 760px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
  transition: color .15s;
}
.article-back:hover { color: var(--teal); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.article-title {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
  text-wrap: balance;
}
.article-lead {
  font-weight: 400;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}

/* Cover-bilde */
.article-cover {
  max-width: 1080px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 14px 50px rgba(0,39,44,.10);
}
.article-cover figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 16px;
  padding: 0 16px;
}

.article-video {
  max-width: 1080px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.article-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 24px;
  display: block;
  box-shadow: 0 14px 50px rgba(0,39,44,.10);
  background: #000;
}

/* ── Legal-dokument (personvern, vilkår) ─────────────────────────────────── */
.legal-section { padding-top: 40px; }
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.legal-doc .legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.legal-doc h2 {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-top: 36px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 16px;
}
.legal-doc ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-doc li {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 6px;
}
.legal-doc a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-doc strong { font-weight: 700; color: var(--ink); }

/* Brødtekst */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 22px;
}
.article-body p:last-child { margin-bottom: 0; }
.article-body .article-closing {
  font-size: 19px;
  font-weight: 700;
  color: var(--teal);
  margin-top: 8px;
}
.article-body a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body h2,
.article-body h3 {
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.6px;
  margin-top: 36px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.article-body h2 { font-size: 24px; }
.article-body h3 { font-size: 19px; }
.article-body blockquote {
  border-left: 3px solid var(--warm-yellow-dk);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 22px;
}
.article-body li {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 6px;
}

/* Bunn-link */
.article-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  transition: gap .15s, color .15s;
}
.article-back-link:hover {
  gap: 12px;
  color: var(--teal-dk);
}

/* Relaterte artikler */
.article-related-section {
  background: var(--off);
  border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .article-header { padding: 48px 20px 32px; }
  .article-cover { margin-bottom: 32px; padding: 0 16px; }
  .article-cover img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .article-body { padding: 0 20px 40px; }
  .article-body p { font-size: 16px; }
  .article-footer { padding: 24px 20px 48px; }
}

@media (max-width: 960px) {
  .faggruppe-overview-grid { grid-template-columns: 1fr; gap: 14px; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: 0;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    transform: none;
  }
}

/* ── Navbar dropdown for tekst-meny (Produktet, Om oss) ───────────────────── */
.nav-dropdown-menu.is-text-menu {
  min-width: 220px;
  padding: 6px;
}
.nav-dropdown-item.is-text {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 7px;
  transition: background .15s, color .15s;
}
.nav-dropdown-item.is-text:hover {
  background: var(--off);
  color: var(--teal);
}

/* ── Burger-meny (mobil) ──────────────────────────────────────────────────── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .15s;
}
.nav.scrolled .nav-burger span { background: var(--ink); }
.nav:not(.scrolled) .nav-burger span { background: var(--ink); }
body.nav-open .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    z-index: 199;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-links a {
    padding: 14px 14px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-links a.is-active {
    background: var(--teal-lt);
    border-radius: 9px;
    border-bottom-color: transparent;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger {
    padding: 14px 14px !important;
    font-size: 16px !important;
    border-bottom: 1px solid var(--border);
    border-radius: 0 !important;
  }
  .nav-dropdown-menu.is-text-menu {
    padding: 0 0 0 14px;
    border-left: 2px solid var(--teal-lt);
    margin-left: 14px;
    margin-bottom: 8px;
  }
  .nav-dropdown-item.is-text {
    font-size: 14px;
    padding: 10px 14px;
  }
  .nav-cta {
    display: none;
  }
  body.nav-open .nav-cta {
    display: inline-block;
    position: fixed;
    bottom: 24px;
    left: 20px;
    right: 20px;
    text-align: center;
    z-index: 200;
  }
}
@media (max-width: 560px) {
  .faggruppe-overview-card { padding: 26px 24px 22px; }
}

/* ── Support-hero: bilde + snarvei-knapper (kundefeedback aug 2026) ──────── */
.hero-support .hero-support-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-support .hero-lead { margin-bottom: 32px; }
.hero-support-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,39,44,.08);
  box-shadow: 0 18px 44px rgba(0,39,44,.14);
  aspect-ratio: 5 / 4;
}
.hero-support-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-anchor-nav { display: flex; flex-direction: column; gap: 14px; }
.hero-anchor-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-anchor-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid rgba(0,39,44,.22);
  box-shadow: 0 2px 10px rgba(0,39,44,.08);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.hero-anchor-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-lt);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding-bottom: 1px; /* optisk sentrering av ↓-glyfen */
  position: relative;
  top: -1px;
  transition: background .2s, color .2s, transform .2s;
}
.hero-anchor-btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,39,44,.2);
}
.hero-anchor-btn:hover .hero-anchor-arrow {
  background: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(2px);
}
.hero-anchor-btn.is-drift {
  background: var(--warm-yellow);
  border-color: var(--warm-yellow-dk);
  color: var(--ink);
}
.hero-anchor-btn.is-drift .hero-anchor-arrow {
  background: rgba(26,26,24,.1);
  color: var(--ink);
}
.hero-anchor-btn.is-drift:hover {
  background: var(--warm-yellow-dk);
  border-color: var(--warm-yellow-dk);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(240,216,74,.45);
}
.hero-anchor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: driftpulse 1.8s ease-in-out infinite;
}
@keyframes driftpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.72); }
}
#kontakt-support, #quicksupport, #opplaering, #nedlastninger, #driftsmeldinger {
  scroll-margin-top: 96px;
}
@media (max-width: 960px) {
  .hero-support .hero-support-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-support-photo { aspect-ratio: 16 / 10; }
}

/* ── Kundelogo-stripe (rullerende) ───────────────────────────────────────── */
.client-logos {
  padding: 38px 0 34px;
  overflow: hidden;
  position: relative;
}
.client-logos-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.client-logos-viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientlogos 38s linear infinite;
}
.client-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(26,26,24,.36);
  margin-right: 84px;
  transition: color .3s;
}
.client-logo:hover { color: var(--teal); }
.client-logo-img {
  height: 40px;
  width: auto;
  margin-right: 84px;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .3s, opacity .3s;
}
.client-logo-img:hover { filter: none; opacity: 1; }
.client-logo-img[src*="ostbytunet"] { height: 50px; }
@keyframes clientlogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .client-logo { margin-right: 48px; font-size: 14px; }
  .client-logo-img { height: 30px; margin-right: 48px; }
}

/* ── Hero-KPI-er (nøkkeltall under hero-lead) ────────────────────────────── */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 28px;
  max-width: 440px;
  margin: 0 0 34px;
}
@media (max-width: 560px) {
  .hero-kpis { gap: 12px 20px; }
}
.hero-kpi-value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1.15;
  color: var(--teal);
}
.hero-kpi-label {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Support-undersider: kurs, manualer, faq, nedlastninger ──────────────── */
.hero-sub .article-back { display: block; width: fit-content; margin-bottom: 22px; }

.kurs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.kurs-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.kurs-item-meta { display: flex; gap: 10px; align-items: center; }
.kurs-item-tid {
  background: var(--teal-lt);
  color: var(--teal-dk);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.kurs-item-varighet { font-size: 13px; color: var(--muted); font-weight: 600; }
.kurs-item h2 { font-size: 20px; letter-spacing: -.4px; }
.kurs-item p { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.kurs-item-malgruppe { font-size: 13.5px; }
.kurs-item-cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kurs-skreddersydd { margin-top: 28px; font-size: 15px; color: var(--muted); }
.kurs-skreddersydd a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.manual-gruppe { margin-bottom: 44px; }
.manual-gruppe h2 { font-size: 20px; letter-spacing: -.4px; margin-bottom: 16px; }
.manual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.manual-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.manual-link:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 16px rgba(0,39,44,.1);
  transform: translateY(-1px);
}
.manual-link-icon { color: var(--teal); flex: none; display: inline-flex; }
.manual-link-dato { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }

.faq-kategori { margin-bottom: 44px; }
.faq-kategori h2 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 16px; }

.nedlast-tekst p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 14px; max-width: 760px; }
.nedlast-tekst p a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nedlast-tekst .manual-grid { margin-top: 20px; grid-template-columns: repeat(2, 1fr); }
#oppdateringer, #versjonsnytt, #programtillegg, #filer { scroll-margin-top: 90px; }
#oppdateringer.section, #versjonsnytt.section, #programtillegg.section, #filer.section { padding-top: 44px; padding-bottom: 44px; }

@media (max-width: 960px) {
  .kurs-list { grid-template-columns: 1fr; }
  .manual-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .manual-grid, .nedlast-tekst .manual-grid { grid-template-columns: 1fr; }
}

/* ── Driftsmelding-bar (forsiden) ────────────────────────────────────────────
   Vises når en driftsmelding er merket «Vis på forsiden» i backend.
   Høyden måles av script.js og legges i --driftbar-h, slik at navbar og
   hero flyttes tilsvarende ned — også når teksten brekker over flere linjer. */
:root { --driftbar-h: 0px; }

.drift-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  background: var(--warm-yellow);
  border-bottom: 1px solid var(--warm-yellow-dk);
}
.drift-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.drift-bar-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: driftpulse 1.8s ease-in-out infinite;
}
.drift-bar-tag {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(26,26,24,.09);
  color: var(--ink);
}
.drift-bar-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  min-width: 0;
}
.drift-bar-text strong { font-weight: 800; }
.drift-bar-link {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.drift-bar-link-arrow { transition: transform .15s; }
.drift-bar-link:hover .drift-bar-link-arrow { transform: translateX(3px); }
.drift-bar-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s;
}
.drift-bar-close:hover { background: rgba(26,26,24,.1); }

/* Rød variant for alvorlige hendelser (nedetid o.l.) */
.drift-bar.is-critical {
  background: #c84a3a;
  border-bottom-color: #b03d2e;
}
.drift-bar.is-critical .drift-bar-dot,
.drift-bar.is-critical .drift-bar-text,
.drift-bar.is-critical .drift-bar-link,
.drift-bar.is-critical .drift-bar-tag,
.drift-bar.is-critical .drift-bar-close { color: #fff; }
.drift-bar.is-critical .drift-bar-dot { background: #fff; }
.drift-bar.is-critical .drift-bar-tag { background: rgba(255,255,255,.16); }
.drift-bar.is-critical .drift-bar-close:hover { background: rgba(255,255,255,.16); }

/* Navbar og innhold flyttes ned når baren er synlig */
body.has-driftbar .nav { top: var(--driftbar-h); }
body.has-driftbar .hero { padding-top: calc(74px + var(--driftbar-h)); }

@media (max-width: 960px) {
  body.has-driftbar .nav-links { top: calc(74px + var(--driftbar-h)); }
}
@media (max-width: 720px) {
  .drift-bar-inner {
    position: relative;
    padding: 9px 44px 9px 20px;
    flex-wrap: wrap;
    row-gap: 2px;
    gap: 10px;
  }
  .drift-bar-tag { display: none; }
  .drift-bar-text { font-size: 12.5px; flex: 1 1 0; }
  .drift-bar-link {
    font-size: 12.5px;
    flex-basis: 100%;
    margin-left: 18px;
  }
  .drift-bar-close {
    position: absolute;
    top: 7px;
    right: 12px;
  }
}

/* ── Partnere & integrasjoner i footeren (forsiden) ───────────────────── */
.footer-partners {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.footer-partners .partners-strip-label {
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
}
.footer-partners .partners-strip-logos {
  width: auto;
  justify-content: flex-end;
  gap: 40px;
}
.footer-partners .partners-strip-logo { height: 24px; opacity: 1; }
.footer-partners .partners-strip-logo:hover { opacity: 1; transform: none; }
.footer-partners .partners-strip-logo img { filter: brightness(0) invert(1); opacity: .6; transition: opacity .25s ease; }
.footer-partners .partners-strip-logo:hover img { opacity: .95; }
.footer-partners .partners-strip-logo img.partners-strip-logo-blend {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
@media (max-width: 720px) {
  .footer-partners { flex-direction: column; align-items: flex-start; }
  .footer-partners .partners-strip-logos { justify-content: flex-start; gap: 24px 32px; }
}

/* ── Visjon i footeren (forsiden) ─────────────────────────────────────── */
.footer-vision {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
}
.footer-vision-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.footer-vision-quote {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}

/* ── Referanse i heroen på faggruppesidene ─────────────────────────────────── */
.hero-sub .hero-grid.has-referanse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  column-gap: 64px;
  row-gap: 0;
  align-content: center;
}
.hero-sub .hero-grid.has-referanse > * { grid-column: 1; justify-self: start; }
.hero-sub .hero-grid.has-referanse > .faggruppe-referanse {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: center;
  justify-self: stretch;
}
.faggruppe-referanse {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 30px 24px;
  box-shadow: 0 8px 28px rgba(0,39,44,.07);
}
.faggruppe-referanse-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.faggruppe-referanse-quote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.faggruppe-referanse-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.faggruppe-referanse-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.faggruppe-referanse-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.faggruppe-referanse-role { font-size: 11.5px; color: var(--muted); }
.faggruppe-referanse-dots { display: flex; gap: 8px; margin-top: 18px; }
.faggruppe-referanse-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--border); cursor: pointer;
}
.faggruppe-referanse-dots button.is-active { background: var(--teal); }
@media (max-width: 960px) {
  .hero-sub .hero-grid.has-referanse { display: block; }
  .faggruppe-referanse { margin-top: 32px; }
}

/* Bilder på referanser er som regel logoer: vis hele logoen i stedet for å beskjære til sirkel */
.testimonial-card-avatar.is-logo,
.faggruppe-referanse-avatar.is-logo {
  width: auto;
  max-width: 132px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 6px;
}
.testimonial-card-avatar.is-logo { height: 38px; max-width: 110px; }
.faggruppe-referanse-avatar.is-logo { height: 42px; }

/* Forsiden: overskriften på to linjer på desktop */
@media (min-width: 961px) {
  .hero:has(.hero-kpis) h1 {
    font-size: clamp(34px, 3.4vw, 50px);
    letter-spacing: -1.6px;
  }
}

/* Artikler fra Sanity: ekstra elementer i brødteksten */
.article-body h4 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 28px 0 8px; }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: rgba(0,39,44,.06);
  border-radius: 6px;
  padding: 2px 6px;
}
.article-body pre.article-code {
  background: #0f2a2e;
  color: #e8f1f2;
  border-radius: 14px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.6;
}
.article-body pre.article-code code { background: none; padding: 0; color: inherit; font-size: inherit; }
.article-body .article-figure,
.article-body .article-embed { margin: 32px 0; }
.article-body .article-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.article-body .article-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  display: block;
  background: #000;
}
.article-body figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
}
