/* ==========================================================================
   Albinvindu – forside (showcase)
   Designsystem: varm skandinavisk palett, Manrope
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #161412;
  --ink-2: #24211e;
  --ink-3: #3a3632;
  --stone: #6e675f;
  --stone-2: #9a938a;
  --line: rgba(22, 20, 18, 0.1);
  --line-2: rgba(22, 20, 18, 0.18);
  --paper: #fbf9f6;
  --sand: #f3eee7;
  --sand-2: #ebe4da;
  --white: #ffffff;
  --orange: #e8702a;
  --orange-2: #f08a4b;
  --orange-deep: #b4501a;
  --orange-dark: #93400f;
  --orange-tint: #fbe9dd;
  --logo-grey: #616165;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 20, 18, 0.06), 0 2px 8px rgba(22, 20, 18, 0.04);
  --shadow: 0 10px 30px -10px rgba(22, 20, 18, 0.18), 0 2px 6px rgba(22, 20, 18, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(22, 20, 18, 0.35);

  --gutter: clamp(20px, 4.2vw, 56px);
  --maxw: 1320px;
  --header-h: 76px;
  --section-y: clamp(88px, 12vw, 168px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; color: transparent; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--white); }

/* ---------- Typography ---------- */
.h-display {
  font-weight: 600;
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h-1 { font-weight: 600; font-size: clamp(36px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.032em; }
.h-2 { font-weight: 600; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.028em; }
.h-3 { font-weight: 650; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: var(--stone); }
.section--dark .lead, .on-dark .lead { color: rgba(255, 255, 255, 0.72); }
.muted { color: var(--stone); }
.section-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange-deep); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--glass {
  color: var(--white); background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  color: var(--ink); position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 26px; bottom: -3px; height: 1.5px;
  background: currentColor; transform: scaleX(0.35); transform-origin: left; transition: transform 0.6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Hero inn ved sidelasting */
.js .hero__media { animation: hero-zoom 2.6s cubic-bezier(0.22, 1, 0.36, 1) -0.3s both; }
@keyframes hero-zoom { from { transform: scale(1.16); } to { transform: none; } }
.js .hero__title { animation: hero-title 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
@keyframes hero-title {
  from { clip-path: inset(-20% -10% 100% -10%); transform: translateY(0.45em); }
  to { clip-path: inset(-20% -10% -25% -10%); transform: none; }
}
.js [data-hero-in] { animation: hero-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) calc(0.23s + var(--i, 0) * 0.09s) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform 0.6s var(--ease), background-color 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.45s var(--ease);
  color: var(--white);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(251, 249, 246, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.45s var(--ease);
}
.header.is-solid { color: var(--ink); }
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { width: 168px; flex: none; position: relative; z-index: 2; }
.header__logo { --lg-g: currentColor; --lg-o: var(--orange); }
.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; opacity: 0.92; transition: opacity 0.3s, background-color 0.3s;
}
.nav__link:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.header.is-solid .nav__link:hover { background: rgba(22, 20, 18, 0.06); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange); transform: translateX(-50%);
}
.header__actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.header__ask { display: none; font-weight: 600; font-size: 15px; padding: 10px 4px; white-space: nowrap; }
.header__cta { display: none; }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color 0.3s, border-color 0.3s;
}
.header.is-solid .menu-btn { background: var(--white); border-color: var(--line); }
.menu-btn__lines { width: 20px; height: 12px; position: relative; }
.menu-btn__lines span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease), opacity 0.3s;
}
.menu-btn__lines span:nth-child(1) { top: 0; }
.menu-btn__lines span:nth-child(2) { top: 10px; }
.menu-open .menu-btn__lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__lines span:nth-child(2) { top: 5px; transform: rotate(-45deg); }
.menu-open .header { color: var(--white); }
.menu-open .header::before { opacity: 0; }
.menu-open .header .menu-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header__cta { display: inline-flex; }
}
@media (min-width: 1240px) {
  .header__ask { display: inline-block; }
}

/* Mobilmeny */
.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0.8s;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease-in-out), visibility 0s; }
.mmenu__list { display: grid; gap: 2px; }
.mmenu__link {
  display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0;
  font-size: clamp(34px, 9vw, 54px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.menu-open .mmenu__link { opacity: 1; transform: none; }
/* Lave skjermer: seks menypunkter + knappene skal få plass uten å kuttes */
@media (max-height: 700px) {
  .mmenu { overflow-y: auto; padding-bottom: 24px; }
  .mmenu__link { font-size: clamp(28px, 8vw, 40px); padding: 7px 0; }
  .mmenu__list { margin-bottom: 20px; }
}
.menu-open .mmenu__list li:nth-child(1) .mmenu__link { transition-delay: 0.18s; }
.menu-open .mmenu__list li:nth-child(2) .mmenu__link { transition-delay: 0.23s; }
.menu-open .mmenu__list li:nth-child(3) .mmenu__link { transition-delay: 0.28s; }
.menu-open .mmenu__list li:nth-child(4) .mmenu__link { transition-delay: 0.33s; }
.menu-open .mmenu__list li:nth-child(5) .mmenu__link { transition-delay: 0.38s; }
.menu-open .mmenu__list li:nth-child(6) .mmenu__link { transition-delay: 0.43s; }
.mmenu__foot { display: grid; gap: 14px; opacity: 0; transition: opacity 0.6s var(--ease) 0.45s; }
.menu-open .mmenu__foot { opacity: 1; }
.mmenu__foot a.plain { color: rgba(255, 255, 255, 0.7); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: var(--white); overflow: hidden; background: var(--paper); }
.hero__media { background: var(--ink); }
.hero__media { position: absolute; inset: 0; will-change: clip-path; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.12);
  transition: transform 9s linear;
}
.hero__slide.is-active img { transform: scale(1.02); }
.hero__slide--sea img { object-position: 62% 50%; }
@media (max-width: 700px) { .hero__slide--sea img { object-position: 56% 50%; } }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.45) 0%, rgba(10, 9, 8, 0) 22%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.78) 0%, rgba(10, 9, 8, 0.25) 42%, rgba(10, 9, 8, 0) 70%),
    linear-gradient(90deg, rgba(10, 9, 8, 0.45) 0%, rgba(10, 9, 8, 0) 60%);
}
.hero__content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(36px, 7vh, 88px);
}
.hero__grid { display: grid; gap: 36px; align-items: end; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
.hero__title { max-width: 11ch; text-wrap: balance; }
.hero__lead { margin-top: 26px; max-width: 520px; font-size: clamp(17px, 1.3vw, 20px); color: rgba(255, 255, 255, 0.82); }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__aside { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 1080px) { .hero__aside { justify-items: end; } }

.film-card {
  display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  text-align: left; transition: background-color 0.3s ease;
}
.film-card:hover { background: rgba(255, 255, 255, 0.18); }
.film-card__thumb { position: relative; width: 112px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #000; flex: none; }
.film-card__thumb video { width: 100%; height: 100%; object-fit: cover; }
.film-card__thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18);
}
.film-card__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center;
}
.film-card__play svg { width: 13px; height: 13px; margin-left: 2px; }
.film-card__txt strong { display: block; font-size: 15px; }
.film-card__txt span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.hero__pager { display: flex; align-items: center; }
.hero__bars { display: flex; gap: 6px; }
/* Strekene er knapper: høyere klikkflate enn selve streken */
.hero__bar { display: flex; align-items: center; width: 38px; height: 24px; cursor: pointer; }
.hero__bar span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); overflow: hidden; transition: background-color 0.25s ease; }
.hero__bar:hover span { background: rgba(255, 255, 255, 0.5); }
.hero__bar i { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(56px, 7vw, 104px); }
/* Dobbel hårstrek rundt teksten, som karm og ramme i et vindu */
.statement__frame {
  position: relative; max-width: 1040px; margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) clamp(26px, 5.5vw, 72px);
  background: var(--white); border: 1px solid var(--line-2); border-radius: 4px;
}
.statement__frame::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none;
}
.statement__text {
  font-family: var(--font-serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.32; letter-spacing: -0.012em; font-weight: 400;
  max-width: 36ch; margin-inline: auto; text-align: center; text-wrap: balance;
}
.js .statement__text .w { color: #8a847d; transition: color 0.35s linear; }
.js .statement__text .w.on { color: var(--ink); }
.reduced-motion .statement__text .w { color: inherit !important; }

/* ---------- Karuseller (galleri) ---------- */
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--white); transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}
.rail-btn:hover { background: var(--ink); color: var(--white); }
.rail-btn svg { width: 20px; height: 20px; }
.rail {
  display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging > * { pointer-events: none; }
.rail-progress { margin-top: 30px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 2px; transform-origin: left; transition: transform 0.2s linear; }

/* ---------- Kvalitet (sticky) ---------- */
.quality__grid { display: grid; gap: 48px; }
.quality__visual { display: none; }
.qitem { padding: 34px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; transition: opacity 0.5s var(--ease); }
.qitem:last-child { border-bottom: 1px solid var(--line); }
.qitem__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.qitem__text { color: var(--stone); max-width: 46ch; }
.qitem__bullets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qitem__bullets li { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.qitem__img { margin-top: 14px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.qitem__img img { width: 100%; height: 100%; object-fit: cover; }
.qitem__img--tall { aspect-ratio: 4 / 5; }
/* Albin Old: bilde av koblet vindu under teksten (vises også på PC) */
.qitem__fig { position: relative; margin: 6px 0 0; max-width: 342px; }
.qitem__fig-tag { position: absolute; top: 10px; left: 10px; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 700; }
.qitem__fig img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
.qitem__fig figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--stone); }
/* Albin Old: «19 mm»-teksten står i egen plass øverst på hvit flate, og bildet fyller resten
   (contain). Teksten ligger ikke oppå bildet, så de overlapper ikke uansett formen på feltet,
   som følger nettleservinduet (lave, brede vinduer på bærbare PC-er gir nesten kvadratisk felt). */
.qfig { position: relative; display: flex; flex-direction: column; padding-bottom: 16px; background: var(--white); }
.qitem__img.qfig img, .quality__visual .qfig img { flex: 1 1 0; min-height: 0; height: auto; object-fit: contain; }
.qfig__over { order: -1; flex: none; padding: 18px 20px 12px; color: var(--ink); }
.qfig__num { font-size: clamp(40px, 12vw, 56px); font-weight: 600; line-height: 0.95; letter-spacing: -0.045em; }
.qfig__txt { margin-top: 6px; max-width: 22ch; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
@media (min-width: 1000px) {
  .quality__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
  .quality__visual { display: block; position: sticky; top: calc(var(--header-h) + 28px); height: calc(100vh - var(--header-h) - 56px); max-height: 760px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-2); }
  .quality__visual figure { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 0.9s var(--ease), transform 1.4s var(--ease); }
  .quality__visual figure.is-active { opacity: 1; transform: none; }
  .quality__visual img { width: 100%; height: 100%; object-fit: cover; }
  .quality__visual .qfig { padding-bottom: clamp(20px, 3.5vh, 36px); }
  .quality__visual .qfig__over { padding: clamp(22px, 3.6vh, 40px) clamp(28px, 3vw, 40px) clamp(14px, 2.4vh, 24px); }
  .quality__visual .qfig__num { font-size: clamp(52px, min(6.4vw, 11vh), 100px); }
  .quality__visual .qfig__txt { margin-top: 10px; font-size: clamp(17px, 1.5vw, 21px); }
  .quality__visual figcaption {
    position: absolute; left: 18px; bottom: 18px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
    background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .qitem { padding: clamp(44px, 9vh, 96px) 0; opacity: 0.32; }
  .qitem.is-active { opacity: 1; }
  .qitem__img { display: none; }
  .quality__list .section-head { margin-bottom: 20px; }
}

/* Sertifiseringer (nederst i kvalitet) */
.certs { display: grid; gap: 28px; margin-top: clamp(64px, 8vw, 110px); grid-template-areas: "intro" "list" "bevis"; }
.certs__intro { grid-area: intro; }
.certs__bevis { grid-area: bevis; margin: 0; max-width: 240px; }
.certs__bevis a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.certs__bevis img { display: block; width: 100%; height: auto; }
.certs__bevis figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--stone); }
.certs__since { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.certs__since::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.certs__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.certs__intro p { margin-top: 12px; color: var(--stone); max-width: 40ch; }
.certs__list { grid-area: list; margin: 0; }
.cert { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cert:first-child { padding-top: 0; }
.cert dt { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.cert dd { margin: 0; color: var(--stone); font-size: 15.5px; }
.cert dd strong { display: block; color: var(--ink); font-size: 17px; }
.cert--logo dt a { display: block; padding: 8px 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cert--logo dt img { display: block; width: 100%; height: auto; }
@media (min-width: 1000px) {
  .certs { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "intro intro" "bevis list"; align-items: start; column-gap: clamp(48px, 6vw, 96px); row-gap: 36px; padding-top: 34px; border-top: 1px solid var(--line); }
  .cert { grid-template-columns: 150px 1fr; }
}

/* ---------- Film ---------- */
.film { background: var(--ink); color: var(--white); overflow: hidden; }
.film__frame {
  position: relative; margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16 / 9; background: #000; transform-origin: center top;
}
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__poster { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; cursor: pointer; transition: opacity 0.6s var(--ease); }
.film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55)); }
.film__poster.is-hidden { opacity: 0; pointer-events: none; }
.film__play {
  position: relative; z-index: 2; width: clamp(84px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: var(--ink); display: grid; place-items: center;
  transition: background-color 0.25s ease;
}
.film__poster:hover .film__play { background: var(--white); }
.film__play svg { width: 30%; height: 30%; margin-left: 6%; }
.film__meta { position: absolute; z-index: 2; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); pointer-events: none; }

/* ---------- Montering / prosess ---------- */
.mount__grid { display: grid; gap: 48px; }
.mount__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.mount__media img { width: 100%; height: 100%; object-fit: cover; }
.mount__areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mount__areas li { padding: 9px 15px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; }
.mount__areas li svg { width: 16px; height: 16px; color: var(--orange-deep); }
.mount__text { display: grid; gap: 18px; margin-top: 24px; color: var(--stone); }
@media (min-width: 1000px) { .mount__grid { grid-template-columns: 0.95fr 1.05fr; gap: clamp(56px, 7vw, 110px); align-items: center; } }

.steps { position: relative; margin-top: clamp(64px, 8vw, 110px); display: grid; gap: 0; }
.steps__line { display: none; }
.step { position: relative; padding: 0 0 34px 34px; }
.step::before { content: ""; position: absolute; left: 5.25px; top: 25px; bottom: -5px; width: 1.5px; background: var(--line-2); }
.step:last-child::before { display: none; }
.step__dot {
  position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--line-2);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.step.is-on .step__dot { background: var(--orange); border-color: var(--orange); }
.step__title { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.step__text { margin-top: 6px; color: var(--stone); font-size: 15.5px; max-width: 34ch; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps__line { display: block; position: absolute; left: 6px; right: 6px; top: 5.25px; height: 1.5px; background: var(--line-2); }
  .steps__line i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
  .step { padding: 0; }
  .step::before { display: none; }
  .step__dot { position: relative; top: 0; display: block; margin-bottom: 26px; }
}

/* ---------- Om oss ---------- */
.about__grid { display: grid; gap: 48px; }
.about__portrait { position: relative; }
.about__portrait .img-a { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__portrait .img-a img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__portrait .img-b {
  position: absolute; right: -6%; bottom: -8%; width: 52%; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 16 / 10; border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.about__portrait .img-b img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { display: grid; gap: 20px; align-content: start; }
.about__copy p { color: var(--stone); }
.quote-big {
  font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink); padding: 8px 0 8px 22px; border-left: 2px solid var(--orange); margin-block: 10px;
}
.timeline { margin-top: clamp(72px, 9vw, 120px); display: grid; gap: 0; border-top: 1px solid var(--line); }
.tl { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 20px; }
.tl__year { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.tl__text { color: var(--stone); font-size: 15.5px; }
.tl__text strong { color: var(--ink); display: block; font-size: 17px; margin-bottom: 2px; }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(64px, 8vw, 130px); align-items: center; }
  .timeline { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .tl { grid-template-columns: 1fr; padding: 28px 28px 0 0; border-bottom: 0; border-top: 1px solid var(--line-2); position: relative; }
  .tl::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
  .tl__year { font-size: 40px; }
}

/* ---------- Proff ---------- */
.proff { background: var(--ink); color: var(--white); overflow: hidden; }
.proff__grid { display: grid; gap: 48px; align-items: center; }
.proff__list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.proff__list li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.86); }
.proff__brands { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.proff__brands span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 700; font-size: 14px; }
.proff__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.proff__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .proff__grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(64px, 8vw, 120px); } }

/* ---------- Galleri ---------- */
.gallery { overflow: hidden; }
.gallery__group + .gallery__group { margin-top: clamp(56px, 7vw, 96px); }
.gallery__label { font-weight: 650; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 clamp(18px, 2vw, 26px); }
.gallery__bar { display: flex; align-items: center; gap: 24px; margin-top: 26px; }
.gallery__bar .rail-progress { flex: 1; margin-top: 0; }
.gtile { position: relative; flex: none; scroll-snap-align: start; height: clamp(210px, 30vw, 420px); border-radius: var(--r); overflow: hidden; background: var(--sand-2); cursor: zoom-in; }
.gtile img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--ease), filter 0.6s; }
.gtile:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 9, 8, 0.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s 0.5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.lightbox__img { max-width: min(92vw, 1600px); max-height: 82vh; width: auto; height: auto; border-radius: 12px; transform: scale(0.96); transition: transform 0.7s var(--ease); }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); transition: background-color 0.3s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { right: 20px; top: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; }

/* ---------- Omtaler ---------- */
.reviews { text-align: center; }
.reviews__stars { display: inline-flex; gap: 4px; color: var(--orange); }
.reviews__stars svg { width: 22px; height: 22px; }
.reviews__stage { margin-top: 30px; }
.review blockquote { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.review figcaption { margin-top: 28px; font-weight: 700; font-size: 15px; }
.review figcaption span { display: block; font-weight: 500; color: var(--stone); font-size: 14px; }

/* ---------- Sertifiseringer ---------- */

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left;
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 650; letter-spacing: -0.01em;
}
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.6s var(--ease), background-color 0.3s, border-color 0.3s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq__a { height: 0; overflow: hidden; transition: height 0.6s var(--ease); }
.faq__a > div { padding: 0 56px 26px 0; color: var(--stone); }
.no-js .faq__a { height: auto; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 100px; } .faq__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }

/* ---------- Kontakt ---------- */
.contact { background: var(--sand); }
.contact__grid { display: grid; gap: 40px; }
.contact__cards { display: grid; gap: 12px; margin-top: 34px; }
.ccard { display: block; padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.ccard strong { display: block; font-size: 18px; letter-spacing: -0.01em; }
.ccard p { font-size: 15px; color: var(--stone); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; font-size: 15px; margin-top: 2px; }
.hours dt { color: var(--stone); }
.hours dd { font-weight: 700; }
.open-now { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--sand); }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: #9a938a; }
.open-now.is-open i { background: #2f9e5b; box-shadow: 0 0 0 4px rgba(47, 158, 91, 0.15); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(56px, 6vw, 96px); align-items: start; } }

.form-card { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.form-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.form-card > p { color: var(--stone); font-size: 15px; margin-top: 4px; }
.form { display: grid; gap: 18px; margin-top: 26px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1.4fr 1fr; } }
/* Nedtrekksliste for tema (flere valg) */
.topics { position: relative; }
.topics__btn {
  position: relative; width: 100%; display: block; text-align: left; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper);
  padding: 26px 48px 10px 16px; font-size: 16px; transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.topics__btn:hover { border-color: var(--stone-2); }
.topics.is-open .topics__btn { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(22, 20, 18, 0.06); }
.topics__label { position: absolute; left: 17px; top: 9px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); line-height: 1.4; }
.topics__value { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topics__value.is-empty { color: var(--stone); }
.topics__chev { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--stone); transition: transform 0.25s ease; }
.topics.is-open .topics__chev { transform: rotate(180deg); }
.topics__list { border: 0; margin: 0; padding: 6px; min-width: 0; display: grid; gap: 2px; }
.topics__list legend { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 6px; }
.js .topics__list {
  position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow);
}
.js .topics__list legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.js .topics:not(.is-open) .topics__list { display: none; }
.no-js .topics__btn { display: none; }
.topics__opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15.5px; font-weight: 600; cursor: pointer; user-select: none; }
.topics__opt:hover { background: var(--sand); }
.topics__opt input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.topics__opt input::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); }
.topics__opt input:checked { background: var(--ink); border-color: var(--ink); }
.topics__opt input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper);
  padding: 26px 16px 10px; font-size: 16px; outline: none; transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 128px; resize: vertical; padding-top: 30px; line-height: 1.5; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 16px; color: var(--stone); pointer-events: none; transition: transform 0.35s var(--ease), font-size 0.35s var(--ease), color 0.3s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(22, 20, 18, 0.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px); font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2410c; background: #fff7f2; }
.field__err { display: none; font-size: 13px; color: #b23a0a; margin-top: 6px; font-weight: 600; }
.field.is-invalid .field__err { display: block; }
.drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  border: 1.5px dashed var(--line-2); background: var(--paper); transition: border-color 0.3s, background-color 0.3s; cursor: pointer;
}
.drop:hover, .drop.is-over { border-color: var(--orange); background: var(--orange-tint); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--white); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.drop__icon svg { width: 20px; height: 20px; }
.drop strong { display: block; font-size: 15px; }
.drop span { font-size: 13.5px; color: var(--stone); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--sand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; display: grid; place-items: center; }
.thumb button svg { width: 12px; height: 12px; }
.thumb--file { display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--stone); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--stone); cursor: pointer; }
.consent input, .cookie__opt input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); margin: 1px 0 0; display: grid; place-items: center; transition: all 0.3s; background: var(--white); cursor: pointer; }
.consent input::after, .cookie__opt input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.3s var(--ease); }
.consent input:checked, .cookie__opt input:checked { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after, .cookie__opt input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent.is-invalid input { border-color: #c2410c; }
.consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form__submit small { color: var(--stone); font-size: 13px; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading::before { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { position: absolute; inset: 0; z-index: 3; background: var(--white); display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s 0.6s; }
.form-success.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.form-success h3 { font-size: 30px; letter-spacing: -0.025em; }
.form-success p { color: var(--stone); margin: 10px auto 0; max-width: 40ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 14.5px; line-height: 1.5; font-weight: 600; color: #b3310a; padding: 12px 14px; border-radius: 12px; background: #fdeee8; }
.form__error[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding-top: clamp(24px, 4vw, 56px); overflow: hidden; }
.footer__grid { display: grid; gap: 40px; padding-block: 56px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .logo { width: 190px; }
.footer__brand { --lg-g: #fff; --lg-o: var(--orange); }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 15px; }
.footer h3 { color: var(--white); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { padding: 5px 0; font-size: 15px; }
.footer a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.socials a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer__badge { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.footer__badge picture { display: block; width: 150px; padding: 10px 12px; box-sizing: content-box; background: var(--white); border-radius: var(--r-sm); transition: box-shadow 0.3s; }
.footer__badge:hover picture { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
.footer__badge img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer__brand { grid-column: auto; } }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobil handlingsbar ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgba(22, 20, 18, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform 0.7s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar .btn { --bh: 50px; padding: 0 14px; font-size: 15px; }
.mbar .btn--glass { border-color: rgba(255, 255, 255, 0.18); }
@media (min-width: 1080px) { .mbar { display: none; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 600; transform: translate(-50%, 30px); opacity: 0;
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--white); font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: opacity 0.4s, transform 0.6s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Samtykke til informasjonskapsler ---------- */
.cookie {
  position: fixed; z-index: 300; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  padding: 22px; border-radius: var(--r); background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: cookie-in 0.7s var(--ease) both;
}
.cookie[hidden], .cookie [hidden] { display: none; }
.cookie:focus { outline: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px); } }
.cookie__title { font-size: 18px; letter-spacing: -0.015em; line-height: 1.2; }
.cookie__text { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.cookie__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie__opts { margin: 16px 0 0; padding: 0; border: 0; display: grid; gap: 12px; }
.cookie__opt { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--stone); cursor: pointer; }
.cookie__opt strong { display: block; font-size: 14.5px; color: var(--ink); }
.cookie__opt input:disabled { opacity: 0.45; cursor: default; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.cookie__btns .btn { padding: 0 14px; }
.cookie__btns .btn--ghost { grid-column: 1 / -1; }
/* Til høyre på større skjermer, så banneret ikke dekker overskriften og knappen i sidetoppen */
@media (min-width: 640px) { .cookie { left: auto; right: 20px; bottom: 20px; width: 440px; padding: 26px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 48px var(--gutter); text-align: center; }
.notfound__logo { width: 190px; margin-bottom: 28px; --lg-g: var(--logo-grey); --lg-o: var(--orange); }
.notfound__code { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: var(--orange-deep); }
.notfound .lead { max-width: 46ch; }
.notfound__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.notfound__tel { font-size: 15px; color: var(--stone); }
.notfound__tel a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Ankere som de gamle adressene videresendes til, skal ikke havne under den faste toppmenyen */
#vinduer, #dorer, #sertifiseringer { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Modal (personvern) ---------- */
.modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 16px; background: rgba(10, 9, 8, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.modal__panel { position: relative; width: min(760px, 100%); max-height: 88vh; overflow: auto; overscroll-behavior: contain; background: var(--paper); border-radius: var(--r-lg); padding: clamp(26px, 5vw, 56px); transform: translateY(20px); transition: transform 0.6s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }
.modal__panel h3 { font-size: 18px; margin-top: 26px; }
.modal__panel p, .modal__panel li { color: var(--ink-3); font-size: 15.5px; margin-top: 8px; }
.modal__panel ul { list-style: disc; padding-left: 20px; }
.modal__close { position: sticky; float: right; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.modal__close svg { width: 18px; height: 18px; }

/* SplitText-masker: gi plass til descendere */
.sl-mask { padding-block: 0.04em 0.14em; margin-block: -0.04em -0.14em; }

/* ---------- Reveal-standard (uten JS vises alt) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.reduced-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
.img-reveal { overflow: hidden; }
.lqip { background-size: cover; background-position: center; }
.lqip img { opacity: 0; transition: opacity 0.9s var(--ease); }
.lqip img.is-loaded { opacity: 1; }
.no-js .lqip img { opacity: 1; }

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