/* ==========================================================================
   Olympus Trening – stilark
   Rolig, luftig og lett. Ingen rammeverk, ingen eksterne avhengigheter.
   ========================================================================== */

/* ---------- Fonter (selvhostet) ---------- */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/ubuntu-300.woff2") format("woff2");
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ubuntu-400.woff2") format("woff2");
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500.woff2") format("woff2");
}
/* Jost er en fri, Futura-inspirert skrift (variabel: 100–900) */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost.woff2") format("woff2");
}
/* Reservefonter med justerte mål, så teksten ikke hopper når fontene lastes */
@font-face {
  font-family: "Ubuntu Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 102.15%;
  ascent-override: 91.24%;
  descent-override: 18.5%;
  line-gap-override: 2.74%;
}
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 97%;
  ascent-override: 110.3%;
  descent-override: 38.66%;
  line-gap-override: 0%;
}

/* ---------- Designverdier ---------- */
:root {
  --teal: #006970;
  --teal-deep: #00555b;
  --teal-soft: #d6e6e4;
  --mist: #eef4f3;
  --sand: #f6f3ee;
  --paper: #ffffff;
  --ink: #16292b;
  --text: #3b4a4c;
  --muted: #5d6b6d;
  --line: #e4e0d9;
  --line-soft: #eeebe5;
  --field: #869293;

  /* «futura-pt» brukes automatisk hvis dere legger inn et Adobe Fonts-kit */
  --font-body: "Ubuntu", "Ubuntu Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "futura-pt", "Jost", "Jost Fallback", Futura, "Century Gothic", sans-serif;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(22 41 43 / 0.04), 0 22px 44px -28px rgb(22 41 43 / 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;
  --section: clamp(88px, 11vw, 152px);
}
@media (min-width: 1120px) {
  :root { --header-h: 84px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: clamp(2.05rem, 1.45rem + 2.4vw, 3.35rem); line-height: 1.08; letter-spacing: -0.022em; }
h3 { font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.7rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; }

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease);
}
a:hover { color: var(--teal-deep); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--teal-soft); color: var(--ink); }

strong { font-weight: 500; color: var(--ink); }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 48rem; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head > :last-child { margin-bottom: 0; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  max-width: none;
}
.section-head--split h2 { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.lead {
  font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
}

.split {
  display: grid;
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--top { align-items: start; }
  .split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .split--reverse > :first-child { order: 2; }
}
.split-text > :last-child { margin-bottom: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Ikoner ---------- */
.icon {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--solid { fill: currentColor; stroke: none; }

/* ---------- Knapper og lenker ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0.8em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { border-color: rgb(22 41 43 / 0.2); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--mist); color: var(--teal-deep); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-block: 4px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease-out), color 0.25s var(--ease);
}
.link-arrow .icon { color: var(--teal); transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { color: var(--ink); background-size: 100% 1px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line-soft);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / 0.97);
}
@supports (animation-timeline: scroll()) {
  .site-header {
    border-bottom-color: transparent;
    animation: header-shade linear both;
    animation-timeline: scroll(root);
    animation-range: 0 140px;
  }
  @keyframes header-shade {
    to {
      border-bottom-color: var(--line);
      box-shadow: 0 10px 30px -24px rgb(22 41 43 / 0.35);
    }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  padding-block: 6px;
  border-radius: 8px;
}
.logo { width: auto; height: 36px; }
@media (min-width: 1120px) {
  .logo { height: 44px; }
}
.logo .logo-mark { fill: var(--teal); }
.logo .logo-word { fill: var(--ink); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: -12px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: 500 1rem/1 var(--font-body);
  cursor: pointer;
}
.nav-toggle-icon { position: relative; width: 22px; height: 12px; }
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle-icon::before { top: 1px; }
.nav-toggle-icon::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 5px; transform: rotate(-45deg); }

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.96875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-login:hover { background: var(--teal); color: #fff; }

.sub-toggle .icon { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Mobil og nettbrett */
@media (max-width: 1119.98px) {
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { width: 100%; }

  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 39;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 40px;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .js.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .nav-open { overflow: hidden; }

  .nav-list > li { border-bottom: 1px solid var(--line-soft); }
  .nav-list > li > a:not(.btn-login),
  .sub-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 10px 0;
    border: 0;
    background: none;
    font: 500 1.375rem/1.2 var(--font-display);
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .nav-list > li > a:not(.btn-login)[aria-current="page"],
  .sub-toggle.is-current { color: var(--teal); }
  .js .sub-list { display: none; }
  .js .sub-toggle[aria-expanded="true"] + .sub-list { display: block; }
  .sub-list { padding: 0 0 14px; }
  .sub-list a {
    display: block;
    padding: 10px 0 10px 18px;
    border-left: 1px solid var(--line);
    font-size: 1.0625rem;
    color: var(--text);
    text-decoration: none;
  }
  .sub-list a[aria-current="page"] { color: var(--teal); border-left-color: var(--teal); }
  .nav-list > li.nav-login { border-bottom: 0; padding-top: 28px; }
  .nav-login .btn-login { width: 100%; justify-content: center; min-height: 56px; font-size: 1.0625rem; }
}

/* Desktop */
@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li > a:not(.btn-login),
  .sub-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: none;
    font: 500 0.96875rem/1 var(--font-body);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s var(--ease);
  }
  .nav-list > li > a:not(.btn-login)::after,
  .sub-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .sub-toggle::after { margin-left: -10px; }
  .nav-list > li > a:not(.btn-login):hover,
  .sub-toggle:hover,
  .nav-list > li > a:not(.btn-login)[aria-current="page"],
  .sub-toggle.is-current { color: var(--teal); }
  .nav-list > li > a:not(.btn-login)[aria-current="page"]::after,
  .sub-toggle.is-current::after { opacity: 1; transform: none; }

  .has-sub { position: relative; }
  .sub-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 232px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .sub-list::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .sub-toggle[aria-expanded="true"] + .sub-list {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  @media (hover: hover) {
    .has-sub:hover .sub-list {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, 0);
      transition-delay: 0s;
    }
  }
  .sub-list a {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.96875rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
  }
  .sub-list a:hover { background: var(--mist); color: var(--teal-deep); }
  .sub-list a[aria-current="page"] { color: var(--teal); }
  .nav-login { margin-left: 14px; }
}

/* ---------- Bilderammer og effekter ---------- */
.frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.frame picture { width: 100%; height: 100%; }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--landscape { aspect-ratio: 3 / 2; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax picture {
      animation: parallax linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    @keyframes parallax {
      from { transform: translate3d(0, -5%, 0) scale(1.12); }
      to { transform: translate3d(0, 5%, 0) scale(1.12); }
    }
  }
}

/* Myke inntoninger – styres av main.js */
.reveal {
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(26px);
  transition: none;
}

/* ---------- Intro (forsiden, første besøk i økten) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  pointer-events: none;
  animation: intro-out 0.7s cubic-bezier(0.76, 0, 0.24, 1) 0.85s forwards;
}
.intro-inner { display: grid; justify-items: center; padding: 24px; text-align: center; }
.intro-mark {
  width: clamp(64px, 12vw, 96px);
  height: auto;
  margin-bottom: 28px;
  fill: #fff;
  animation: intro-mark 0.7s var(--ease-out) both;
}
.intro-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 4.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  animation: intro-rise 0.7s var(--ease-out) 0.08s both;
}
.intro-slogan {
  margin: 16px 0 0;
  font-size: clamp(1.3rem, 1rem + 1.3vw, 2.1rem);
  font-weight: 300;
  line-height: 1.1;
  color: #e6f0ef;
  animation: intro-rise 0.7s var(--ease-out) 0.18s both;
}
.intro-slogan span { font-weight: 500; color: #fff; }
@keyframes intro-mark {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-out {
  to { transform: translateY(-100%); visibility: hidden; }
}
.no-intro .intro { display: none; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ---------- Forside: hero (bildeshow med video) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: #0d1b1d;
  color: #fff;
}
@media (min-width: 960px) {
  .hero { align-items: center; min-height: clamp(560px, calc(100svh - var(--header-h)), 920px); }
}
.hero-media,
.hero-slide { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-slide {
  container-type: size;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide picture,
.hero-slide img { width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero-slide iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 150cqh);
  height: max(100cqh, 66.667cqw);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 1.4s var(--ease);
}
.hero-slide.is-playing iframe { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img { animation: slow-zoom 9s linear both; }
  .hero.is-paused .hero-slide.is-active img { animation-play-state: paused; }
}
@keyframes slow-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(8 18 20 / 0.8) 0%, rgb(8 18 20 / 0.55) 42%, rgb(8 18 20 / 0.12) 100%),
    linear-gradient(0deg, rgb(8 18 20 / 0.5) 0%, transparent 40%);
}
@media (max-width: 959.98px) {
  .hero-shade {
    background: linear-gradient(0deg, rgb(8 18 20 / 0.9) 0%, rgb(8 18 20 / 0.6) 55%, rgb(8 18 20 / 0.35) 100%);
  }
}
.hero-content { padding-block: clamp(56px, 9vw, 112px) clamp(72px, 9vw, 120px); }
.hero-content > * { max-width: 40rem; }
.hero .eyebrow { color: #cfe3e1; }
.display {
  margin: 0;
  font-size: clamp(3.1rem, 1.4rem + 6.4vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
}
.slogan {
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}
.slogan span { font-weight: 500; color: #9fd6cf; }
.hero .lead { max-width: 30rem; margin: 28px 0 0; color: #e6f0ef; }
.hero .btn-ghost { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: #e6f0ef;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-facts .icon { color: #9fd6cf; }
.hero :focus-visible { outline-color: #fff; }

/* Fremdrift og pause for bildeshowet */
.hero-controls {
  position: absolute;
  top: 18px;
  right: var(--gutter);
  display: none;
  align-items: center;
  gap: 14px;
}
.hero.has-slides .hero-controls { display: flex; }
@media (min-width: 960px) {
  .hero-controls {
    top: auto;
    bottom: 32px;
    right: calc((100% - min(100% - 2 * var(--gutter), var(--container))) / 2);
  }
}
.hero-dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hero-dots li { width: 30px; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / 0.3); }
.hero-dots span { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots .is-done span { transform: scaleX(1); }
.hero-dots .is-active span { animation: dot-fill var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-dots .is-active span { animation-play-state: paused; }
@keyframes dot-fill {
  to { transform: scaleX(1); }
}
.hero-pause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  background: rgb(8 18 20 / 0.3);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.hero-pause:hover { background: #fff; color: var(--ink); }
.hero-pause .icon { width: 18px; height: 18px; }
.hero-pause .icon-play,
.hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }

/* ---------- Steg ---------- */
.steps-grid { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) {
  .steps-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(64px, 8vw, 120px);
    align-items: start;
  }
  .sticky { position: sticky; top: calc(var(--header-h) + 40px); }
}
@media (max-width: 959.98px) {
  .steps-media .frame { aspect-ratio: 4 / 3; }
}
.steps { list-style: none; margin: 48px 0 40px; padding: 0; }
.step { padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  display: block;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--teal);
}
.step h3 { margin-bottom: 12px; }
.step p { max-width: 36rem; margin: 0; }
.step p + p { margin-top: 1em; }

/* ---------- Nøkkeltall ---------- */
.numbers {
  display: grid;
  gap: 44px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.numbers li { padding-top: 28px; border-top: 1px solid rgb(0 105 112 / 0.25); }
.numbers strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.4rem + 2vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.numbers span { display: block; max-width: 17rem; }

.numbers-split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) {
  .numbers-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 521px) {
  .numbers-split .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Seksjon med fotobakgrunn ---------- */
.section--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0d1b1d;
  color: #e6f0ef;
}
.section--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 18 20 / 0.84) 0%, rgb(0 58 62 / 0.8) 100%);
}
.section-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.section-bg picture,
.section-bg img { width: 100%; height: 100%; }
.section-bg img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.section--photo h2 { color: #fff; }
.section--photo .eyebrow { color: #cfe3e1; }
.section--photo .link-arrow { color: #fff; }
.section--photo .link-arrow:hover { color: #fff; }
.section--photo .link-arrow .icon { color: #9fd6cf; }
.section--photo .carousel-btn { border-color: rgb(255 255 255 / 0.45); background: transparent; color: #fff; }
.section--photo .carousel-btn:hover { border-color: #fff; background: #fff; color: var(--ink); }
.section--photo .review { border-color: transparent; }
.section--photo .btn-ghost { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.section--photo .btn-ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.section--photo .quote-block blockquote p { color: #fff; }
.section--photo :focus-visible { outline-color: #fff; }

/* ---------- Kort ---------- */
.cards { display: grid; gap: clamp(36px, 4vw, 40px) clamp(20px, 3vw, 32px); }
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card { position: relative; display: flex; flex-direction: column; }
.card .frame { aspect-ratio: 4 / 3; margin-bottom: 26px; }
.card .frame img { transition: transform 1.2s var(--ease-out); }
.card:hover .frame img { transform: scale(1.04); }
.card h3 { margin-bottom: 10px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); }
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible::after { outline: 2px solid var(--teal); outline-offset: 6px; }
.card p { margin-bottom: 18px; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 500;
  color: var(--teal);
}
.card .more .icon { transition: transform 0.35s var(--ease-out); }
.card:hover .more .icon { transform: translateX(4px); }

/* ---------- Ansatte (forside) ---------- */
.team-grid { display: grid; gap: clamp(48px, 6vw, 104px); align-items: center; }
@media (min-width: 960px) {
  .team-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.poster {
  margin: 0 auto;
  max-width: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 40px 70px -40px rgb(22 41 43 / 0.4);
}
.team-list { list-style: none; margin: 36px 0 32px; padding: 0; }
.team-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.team-list li:last-child { border-bottom: 1px solid var(--line); }
.avatar { width: 76px; height: 76px; overflow: hidden; border-radius: 50%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-list p { margin: 0; }
.team-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.team-role { font-size: 0.9375rem; color: var(--muted); }
.team-quote { margin-top: 6px !important; color: var(--text); }

/* ---------- Anmeldelser (karusell) ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.reviews-head h2 { margin-bottom: 0; }
.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.carousel .reviews-track { grid-column: 2; grid-row: 1; }
.carousel-prev { grid-column: 1; grid-row: 1; }
.carousel-next { grid-column: 3; grid-row: 1; }
@media (max-width: 767.98px) {
  .carousel { grid-template-columns: auto 1fr auto; row-gap: 20px; }
  .carousel .reviews-track { grid-column: 1 / -1; }
  .carousel-prev,
  .carousel-next { grid-row: 2; }
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.carousel-btn:hover { border-color: var(--teal); background: var(--teal); color: #fff; }
.carousel-btn .icon { width: 22px; height: 22px; }

.reviews-track {
  --gap: clamp(16px, 2vw, 24px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  gap: var(--gap);
  margin: 0;
  padding: 2px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
}
.reviews-track::-webkit-scrollbar { display: none; }
@media (max-width: 959.98px) {
  .reviews-track { grid-auto-columns: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 639.98px) {
  .reviews-track { grid-auto-columns: 88%; }
}
.review {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  scroll-snap-align: start;
}
.stars { display: flex; gap: 3px; color: var(--teal); }
.stars .icon { width: 18px; height: 18px; }
.stars .is-empty { color: var(--teal-soft); }
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
}
.review-meta { margin: auto 0 0; font-size: 0.9375rem; color: var(--muted); }
.review-name { display: block; font-weight: 500; color: var(--ink); }
.reviews-foot { margin: 32px 0 0; }

/* ---------- Galleri (forside) ---------- */
.mosaic {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mosaic .frame { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.mosaic .frame:first-child,
.mosaic .frame:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .mosaic {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(200px, 19vw, 260px));
  }
  .mosaic .frame,
  .mosaic .frame:first-child,
  .mosaic .frame:last-child { aspect-ratio: auto; }
  .mosaic .frame:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
  .mosaic .frame:nth-child(2) { grid-column: 7 / 13; grid-row: 1; }
  .mosaic .frame:nth-child(3) { grid-column: 7 / 10; grid-row: 2; }
  .mosaic .frame:nth-child(4) { grid-column: 10 / 13; grid-row: 2; }
}

/* ---------- Info-liste (adresse, telefon osv.) ---------- */
.visit-grid { display: grid; gap: clamp(44px, 6vw, 104px); }
@media (min-width: 960px) {
  .visit-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
}
.info-list { margin: 0; }
.info-list > div { padding: 22px 0; border-top: 1px solid rgb(0 105 112 / 0.2); }
.info-list > div:last-child { border-bottom: 1px solid rgb(0 105 112 / 0.2); }
.info-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.info-list dd { margin: 0; color: var(--ink); }
.info-list dd span { display: block; color: var(--text); }

/* ---------- Undersider ---------- */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 4vw, 56px); }
.page-head h1 { max-width: 18ch; margin-bottom: 0; }
.page-head .lead { max-width: 42rem; margin: 28px 0 0; }
.page-head .actions { margin-top: 32px; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--teal-soft); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

.page-banner .frame { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); }
@media (min-width: 768px) {
  .page-banner .frame { aspect-ratio: 21 / 9; }
}

.prose { max-width: 44rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }

.check-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.check-list .icon { width: 22px; height: 22px; margin-top: 0.2em; color: var(--teal); }

.callout {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
}
.callout .icon { width: 24px; height: 24px; margin-top: 0.15em; color: var(--teal); }
.callout p { margin: 0; }
.callout--sand { background: var(--sand); }

.panel {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.panel > :last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .panel--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}

.panel-media {
  margin: calc(-1 * clamp(28px, 4vw, 44px)) calc(-1 * clamp(28px, 4vw, 44px)) 30px;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.side-media { display: grid; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) {
  .side-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .side-media .sticky-media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.side-media .info-grid { grid-template-columns: 1fr; }

.info-grid { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.info-card {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
}
.info-card h3 { margin-bottom: 12px; }
.info-card p:last-child { margin-bottom: 0; }

.quote-block { max-width: 60rem; margin: 0 auto; text-align: center; }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote-block .actions { justify-content: center; margin-top: 44px; }

/* ---------- Priser ---------- */
.price-grid { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .price-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.price-card h3 { margin-bottom: 10px; }
.price-card > p { color: var(--text); }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 8px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price small {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card .btn { align-self: flex-start; margin-top: auto; }
.price-card .price-note { font-size: 0.9375rem; color: var(--muted); }
.price-card--featured { border-color: var(--teal); background: var(--teal); color: #e6f0ef; }
.price-card--featured h3,
.price-card--featured .price { color: #fff; }
.price-card--featured .price small,
.price-card--featured .price-note,
.price-card--featured > p { color: #e6f0ef; }
.price-card--featured .eyebrow { color: #cfe3e1; }

.tiers { margin: 18px 0 0; }
.tiers > div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.tiers dt { font-size: 0.9375rem; color: var(--muted); }
.tiers dd { margin: 0; font-weight: 500; color: var(--ink); }
.tiers dd span { display: block; }

.abel-card .price { margin: 14px 0 18px; font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.8rem); }
.abel-card h3 { max-width: 26ch; margin-bottom: 0; font-size: 1.3rem; line-height: 1.3; }
.abel-card > p:last-child { margin-bottom: 0; }

.note-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; max-width: 52rem; }
.note-list li { position: relative; padding-left: 22px; color: var(--text); }
.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.features { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.feature { padding: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.feature-no { display: block; margin-bottom: 16px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.14em; color: var(--teal); }
.feature p:last-child { margin-bottom: 0; }

/* ---------- Medlemsbetingelser ---------- */
.terms { counter-reset: term; list-style: none; margin: 0; padding: 0; max-width: 50rem; }
.terms li {
  position: relative;
  counter-increment: term;
  padding: 26px 0 26px 72px;
  border-top: 1px solid var(--line);
}
.terms li:last-child { border-bottom: 1px solid var(--line); }
.terms li::before {
  content: counter(term, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 29px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--teal);
}

/* ---------- Ansatte (underside) ---------- */
.trainer {
  display: grid;
  gap: clamp(32px, 5vw, 88px);
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line);
}
.trainer:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .trainer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .trainer:nth-of-type(even) .trainer-media { order: 2; }
  .trainer-media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.trainer-media .frame { aspect-ratio: 4 / 5; }
.trainer-quote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--teal);
}
.trainer h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: 8px; }
.trainer .role { color: var(--muted); }
.trainer h4 {
  margin: 36px 0 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.plain-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.trainer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-weight: 500;
}

/* ---------- Galleri (underside) ---------- */
.gallery { columns: 1; column-gap: clamp(14px, 1.6vw, 20px); }
@media (min-width: 620px) {
  .gallery { columns: 2; }
}
@media (min-width: 1024px) {
  .gallery { columns: 3; }
}
.gallery-item {
  display: block;
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  overflow: hidden;
  border-radius: var(--radius);
  break-inside: avoid;
  background: var(--sand);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; transition: transform 1.2s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.03); }

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(10 20 21 / 0.94);
  color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: fade-in 0.35s var(--ease) both; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox figure { display: grid; justify-items: center; gap: 14px; margin: 0; padding: 72px 16px; }
.lightbox img {
  width: auto;
  max-width: min(100%, 1400px);
  max-height: calc(100svh - 170px);
  border-radius: 14px;
}
.lightbox figcaption { font-size: 0.9375rem; color: #e6f0ef; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(10 20 21 / 0.5);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev,
.lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lightbox :focus-visible { outline-color: #fff; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(44px, 6vw, 96px); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}

.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.form h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin-bottom: 0; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--field);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316292b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 20px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgb(0 105 112 / 0.16);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 0.875rem; color: var(--muted); }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--teal); }
.form-status.is-error { color: #9b2c2c; }
.form .btn { justify-self: start; }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--mist);
}
@media (min-width: 768px) {
  .map { aspect-ratio: 21 / 9; }
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--ink);
}
.map-placeholder .icon { width: 36px; height: 36px; color: var(--teal); }
.map-placeholder p { margin: 0; }
.map.is-loaded .map-placeholder { visibility: hidden; }

/* ---------- Avslutning (CTA) ---------- */
.cta {
  display: grid;
  gap: 28px;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background: var(--mist);
}
@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; }
}
.cta--media { align-items: center; }
@media (min-width: 900px) {
  .cta--media { grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.3fr) auto; gap: clamp(28px, 4vw, 56px); }
}
.cta-media { width: 100%; max-width: 320px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.cta-media--portrait { max-width: 220px; aspect-ratio: 4 / 5; }
.cta h2 { margin-bottom: 12px; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.cta p { margin: 0; max-width: 38rem; }
.cta .actions { margin: 0; }

/* ---------- Footer ---------- */
.footer-top {
  position: relative;
  padding-top: clamp(72px, 9vw, 128px);
  background: var(--paper);
  text-align: center;
}
.footer-tagline {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.footer-mountains {
  display: block;
  width: 100%;
  height: clamp(80px, 22vw, 330px);
  margin-top: calc(-1 * clamp(0px, 10vw - 24px, 150px));
  margin-bottom: -1px;
  object-fit: cover;
  object-position: 50% 100%;
}

.footer-main { padding: clamp(40px, 5vw, 64px) 0 56px; background: var(--teal); color: #e6f0ef; }
.footer-grid { display: grid; gap: 44px 40px; }
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 1.3fr); gap: 56px; }
}
.footer-logo { display: inline-block; border-radius: 8px; }
.footer-logo svg { width: 148px; height: auto; fill: #fff; }
.footer-slogan {
  margin: 26px 0 10px;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
}
.footer-slogan span { font-weight: 500; }
.footer-intro { max-width: 22rem; margin: 0; }
.footer-title {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfe3e1;
}
.footer-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #fff;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links .icon { width: 1.1em; height: 1.1em; }
.footer-contact { display: grid; gap: 12px; font-style: normal; }
.footer-contact p { margin: 0; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.social a:hover { background: #fff; color: var(--teal-deep); }
.social .icon { width: 20px; height: 20px; }

.footer-bottom { padding: 24px 0; background: var(--teal-deep); color: #e6f0ef; font-size: 0.875rem; }
.footer-bottom .container { display: grid; gap: 6px; }
.footer-credit { color: #cfe3e1; }
@media (min-width: 900px) {
  .footer-bottom .container { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; }
  .footer-copy,
  .footer-credit { grid-column: 2; text-align: right; }
  .footer-copy { grid-row: 1; }
  .footer-credit { grid-row: 2; }
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

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