/* Lena Haukland Vaktmester og Transport Tjenester
   Designretning: refined editorial. Dyp grafittgrønn, varm papirhvit, dempet salvie.
   Alt håndskrevet for denne siden. */

/* ------------------------------------------------------------------ tokens */
:root {
  --ink: #101a17;
  --ink-2: #1d2b27;
  --muted: #5d6b66;
  --line: #d9d5cb;
  --line-soft: #e7e3da;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #fffdf9;
  --sage: #2f6b5e;
  --sage-deep: #23514a;
  --sage-soft: #e0e9e5;
  --brass: #a9834b;

  --shell: min(1240px, 100% - 3rem);
  --r: 4px;
  --r-lg: 10px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

p { margin: 0 0 1.1em; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }

/* ------------------------------------------------------------- typografi */
.display  { font-size: clamp(2.9rem, 6.4vw, 5.3rem); }
.h1       { font-size: clamp(2.5rem, 5vw, 4rem); }
.h2       { font-size: clamp(2rem, 3.6vw, 3.05rem); }
.h3       { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--light { color: rgba(255, 253, 249, .72); }

/* ---------------------------------------------------------------- knapper */
.btn {
  --bg: var(--ink);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
.btn--sage { --bg: var(--sage); --fg: var(--white); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--light {
  --bg: var(--white);
  --fg: var(--ink);
}
.btn--outline-light {
  --bg: transparent;
  --fg: var(--white);
  border-color: rgba(255, 253, 249, .32);
}
.btn--outline-light:hover { border-color: var(--white); }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--sage);
  text-decoration: none;
}
.arrowlink svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.arrowlink:hover svg { transform: translateX(5px); }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 240, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line-soft); }
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .78rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand__sub {
  display: block;
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  padding: .55rem .68rem;
  white-space: nowrap;
  font-size: .89rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: var(--r);
  position: relative;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: .78rem;
  right: .78rem;
  bottom: .3rem;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--sage); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--sage); }

.head__cta { display: flex; align-items: center; gap: .7rem; }
.head__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.head__phone svg { width: 16px; height: 16px; color: var(--sage); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 82px 0 0;
  background: var(--paper);
  z-index: 55;
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 3rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
}
.mobile-nav .btn { margin-top: 1.8rem; width: 100%; justify-content: center; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  opacity: 0;
  animation: heroIn 1.9s var(--ease) .1s forwards;
}
@keyframes heroIn {
  to { transform: scale(1); opacity: 1; }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 26, 23, .95) 8%, rgba(16, 26, 23, .78) 44%, rgba(16, 26, 23, .35) 100%),
    linear-gradient(to top, rgba(16, 26, 23, .85), transparent 45%);
}
.hero__in {
  padding: clamp(5rem, 11vw, 9.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  max-width: 44rem;
}
.hero h1 { color: var(--white); }
.hero__lede {
  color: rgba(255, 253, 249, .8);
  margin-top: 1.6rem;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  max-width: 40rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.4rem;
}
.hero__strip {
  border-top: 1px solid rgba(255, 253, 249, .14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 253, 249, .12);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.hero__stat {
  background: var(--ink);
  padding: 1.6rem 1.4rem 1.8rem;
}
.hero__stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}
/* Direkte barn: ellers treffer denne også teller-spanet inne i <b>. */
.hero__stat > span {
  display: block;
  margin-top: .5rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .55);
}

/* underside-hero */
.phero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(16, 26, 23, .94) 10%, rgba(16, 26, 23, .74) 55%, rgba(16, 26, 23, .42) 100%);
}
.phero__in {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  max-width: 46rem;
}
.phero h1 { color: var(--white); }
.phero p {
  color: rgba(255, 253, 249, .78);
  margin-top: 1.4rem;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255, 253, 249, .5);
  margin-bottom: 1.5rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* --------------------------------------------------------------- seksjoner */
section { position: relative; }
.sec { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.sec--tight { padding: clamp(3.5rem, 5vw, 5rem) 0; }
.sec--paper2 { background: var(--paper-2); }
.sec--white { background: var(--white); }
.sec--ink {
  background: var(--ink);
  color: rgba(255, 253, 249, .78);
}
.sec--ink h2, .sec--ink h3, .sec--ink b { color: var(--white); }

.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 3.8rem);
}
.sec__head p { margin: 0; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* -------------------------------------------------------------- tjenester */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.svc {
  display: flex;
  flex-direction: column;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background .4s var(--ease);
  overflow: hidden;
}
.svc:hover { background: var(--paper); }
.svc__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  will-change: transform;
}
.svc:hover .svc__img img { transform: scale(1.055); }
.svc__body { padding: 1.7rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.svc__ico {
  width: 34px;
  height: 34px;
  color: var(--sage);
  margin-bottom: 1rem;
}
.svc h3 { font-size: 1.32rem; }
.svc p {
  margin: .7rem 0 1.3rem;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
}
.svc__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--sage);
}
.svc__more svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(5px); }

/* ---------------------------------------------------------------- split */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-img { grid-template-columns: 1.05fr .95fr; }
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
  background: rgba(16, 26, 23, .86);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: var(--r);
  font-size: .86rem;
  line-height: 1.5;
}
.split__badge b { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .2rem; }

/* -------------------------------------------------------------- punktliste */
.ticks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .8rem;
  align-items: start;
  font-size: .97rem;
  line-height: 1.55;
}
.ticks svg { width: 20px; height: 20px; color: var(--sage); margin-top: 2px; }
.sec--ink .ticks svg { color: #7fb8a8; }

/* -------------------------------------------------------------- nummerliste */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.steps__row {
  counter-increment: s;
  background: var(--paper);
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0 2.1rem;
  align-items: start;
}
.sec--white .steps__row { background: var(--white); }
.steps__row::before {
  content: "0" counter(s);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--sage);
  line-height: 1;
  padding-top: .25rem;
}
.steps__row h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.steps__row p { margin: 0; color: var(--muted); font-size: .96rem; max-width: 60ch; }

/* ------------------------------------------------------------------ fakta */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.fact { background: var(--white); padding: 1.8rem 1.6rem; }
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
}
.fact span {
  display: block;
  margin-top: .55rem;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ------------------------------------------------------------------ pills */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.pills li {
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-2);
  background: var(--white);
}
.sec--ink .pills li {
  border-color: rgba(255, 253, 249, .2);
  background: transparent;
  color: rgba(255, 253, 249, .8);
}

/* --------------------------------------------------------------- omtaler */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.rev {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}
.rev__stars { display: flex; gap: 3px; color: var(--brass); margin-bottom: 1rem; }
.rev__stars svg { width: 15px; height: 15px; }
.rev h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.rev p { font-size: .95rem; color: var(--ink-2); line-height: 1.62; }
.rev__by {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.rev__by b { font-weight: 600; color: var(--ink); }

.score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.2rem;
  padding: 1.8rem 2rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.score__big {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}
.score__big span { font-size: 1.1rem; color: var(--muted); }
.score__meta { font-size: .88rem; color: var(--muted); max-width: 34ch; }
.score__bars { display: grid; gap: .6rem; min-width: 220px; flex: 1; }
.score__bar { display: grid; grid-template-columns: 4.5rem 1fr 2.2rem; gap: .8rem; align-items: center; font-size: .84rem; }
.score__track { height: 4px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.score__fill {
  display: block;
  height: 100%;
  background: var(--sage);
  border-radius: 999px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.3s var(--ease);
}
.is-in .score__fill { transform: scaleX(var(--v, 1)); }

/* ------------------------------------------------- INSTA 800 kvalitetsprofil */
.insta {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.insta__ctl { padding: clamp(1.8rem, 3vw, 2.6rem); border-right: 1px solid var(--line-soft); }
.insta__label {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .9rem;
}
.insta__rooms { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .87rem;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--sage); color: var(--sage); }
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.insta__levels { display: grid; gap: .55rem; }
.lvl {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: .9rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: .8rem .9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.lvl:hover { border-color: var(--sage); }
.lvl.is-on { border-color: var(--sage); background: var(--sage-soft); }
.lvl__n {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lvl.is-on .lvl__n { background: var(--sage); color: var(--white); }
.lvl__t { font-size: .92rem; font-weight: 600; }
.lvl__d { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

.insta__out { padding: clamp(1.8rem, 3vw, 2.6rem); background: var(--paper); }
.insta__room {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: .3rem;
}
.insta__sum { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.insta__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.insta__points li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .7rem;
  align-items: start;
  font-size: .92rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line-soft);
  opacity: 0;
  transform: translateY(6px);
  animation: pointIn .5s var(--ease) forwards;
}
@keyframes pointIn { to { opacity: 1; transform: none; } }
.insta__points svg { width: 18px; height: 18px; margin-top: 2px; }
.insta__points .yes { color: var(--sage); }
.insta__points .no { color: var(--line); }
.insta__points li.off { color: var(--muted); }
.insta__note {
  margin-top: 1.4rem;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ------------------------------------------------------------- veiviser */
.wizard {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.wizard__bar {
  display: flex;
  gap: 1px;
  background: var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.wizard__tab {
  flex: 1;
  background: var(--paper);
  padding: .95rem .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: center;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.wizard__tab.is-on { background: var(--white); color: var(--sage); }
.wizard__tab.is-done { color: var(--ink); }
.wizard__pane { display: none; padding: clamp(1.6rem, 3vw, 2.4rem); }
.wizard__pane.is-active { display: block; animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard__q { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 1.4rem; }
.wizard__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.6rem, 3vw, 2.4rem) 1.6rem;
  border-top: 1px solid var(--line-soft);
}

.wizard__pane.shake { animation: shake .38s var(--ease); }
@keyframes shake {
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem; }
.opt {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .4s var(--ease);
}
.opt:hover { border-color: var(--sage); transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { display: block; font-size: .97rem; margin-bottom: .2rem; }
.opt span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.opt:has(input:checked) { border-color: var(--sage); background: var(--sage-soft); }
.opt:has(input:focus-visible) { outline: 2px solid var(--sage); outline-offset: 2px; }

.plan {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.5rem;
}
.plan h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: .8rem;
}
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.plan li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .6rem;
  font-size: .9rem;
  align-items: start;
}
.plan svg { width: 17px; height: 17px; color: var(--sage); margin-top: 2px; }
.plan__empty { font-size: .9rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ skjema */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .96rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
}
.field__err {
  display: none;
  font-size: .8rem;
  color: #b4442f;
}
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #b4442f; }
.field.has-err .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form__ok {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--sage-soft);
  border-radius: var(--r);
  font-size: .92rem;
  color: var(--sage-deep);
}
.form__ok.is-on { display: block; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .7rem;
  align-items: start;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.consent input { margin-top: 3px; }

/* ---------------------------------------------------------------- kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.9rem;
}
.info-card + .info-card { margin-top: 1.2rem; }
.info-card h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 22px 1fr; gap: .9rem; align-items: start; font-size: .93rem; }
.info-list svg { width: 19px; height: 19px; color: var(--sage); margin-top: 3px; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--sage); }
.info-list span { display: block; font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------- cta-band */
.cta-band {
  background: var(--sage-deep);
  color: var(--white);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -40%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 253, 249, .07), transparent 62%);
}
.cta-band__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { color: rgba(255, 253, 249, .78); margin: .9rem 0 0; max-width: 44ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ----------------------------------------------------------------- footer */
.site-foot {
  background: var(--ink);
  color: rgba(255, 253, 249, .62);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 253, 249, .12);
}
.site-foot h4 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .45);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-foot a { text-decoration: none; transition: color .3s var(--ease); }
.site-foot a:hover { color: var(--white); }
.foot-brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  display: block;
  margin-bottom: .6rem;
}
.foot-brand p { max-width: 34ch; font-size: .9rem; line-height: 1.6; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: .82rem;
  color: rgba(255, 253, 249, .42);
}
.foot-bottom a { color: rgba(255, 253, 249, .55); }
.sig { letter-spacing: .02em; }

/* ------------------------------------------------------------------ motion */
[data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
[data-rise].is-in { opacity: 1; transform: none; }
[data-rise-d="1"] { transition-delay: .08s; }
[data-rise-d="2"] { transition-delay: .16s; }
[data-rise-d="3"] { transition-delay: .24s; }
[data-rise-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; opacity: 1; transform: none; }
  .btn:hover, .opt:hover { transform: none; }
}

/* ------------------------------------------------------------------- resp */
@media (max-width: 1180px) {
  .nav, .head__cta .btn { display: none; }
  .burger { display: flex; }
  .split--wide-img { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .insta { grid-template-columns: 1fr; }
  .insta__ctl { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 760px) {
  :root { --shell: min(1240px, 100% - 2.2rem); }
  body { font-size: 16px; }
  .sec__head { grid-template-columns: 1fr; align-items: start; gap: 1.2rem; }
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .steps__row { grid-template-columns: 1fr; gap: .4rem; }
  .steps__row::before { font-size: 1.3rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .score { gap: 1.4rem; }
  .head__phone span { display: none; }
}
