/* ==========================================================================
   Bloomtierra — hovedstilark
   Farger, typografi og komponenter. Endre fargene i :root for å justere profilen.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #BC172A;
  --red-dark: #9C1123;
  --red-deep: #7E0D1C;
  --navy: #142D42;
  --navy-deep: #0D2133;
  --navy-soft: #1E3C56;
  --white: #FFFFFF;
  --gray: #F3F5F6;
  --gray-2: #E7ECEF;
  --line: #D9E0E5;
  --slate: #526270;
  --charcoal: #22272B;

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 45, 66, .06), 0 2px 8px rgba(20, 45, 66, .06);
  --shadow: 0 10px 30px -12px rgba(20, 45, 66, .28);
  --shadow-lg: 0 30px 60px -24px rgba(13, 33, 51, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 92px;
}

/* ---------- Grunnoppsett ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 750; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--navy); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: #D5DEE6; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Øyenbryn med takmotiv */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 12px; flex: none;
  background: currentColor;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%);
}
.section--navy .eyebrow, .on-dark .eyebrow { color: #FF8E9A; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.125rem; }
.section--navy .section-head p { color: #B9C6D2; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--slate); line-height: 1.65; }

/* ---------- Knapper ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --bg: var(--red-dark); --bd: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(188, 23, 42, .7); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.75); }
.btn--ghost:hover { --bg: #fff; --bd: #fff; color: var(--navy); box-shadow: none; }
.btn--navy { --bg: var(--navy); --bd: var(--navy); }
.btn--navy:hover { --bg: var(--navy-deep); --bd: var(--navy-deep); box-shadow: 0 12px 24px -12px rgba(13,33,51,.7); }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--outline:hover { --bg: var(--navy); --bd: var(--navy); color: #fff; box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--red); --bd: #fff; }
.btn--white:hover { --bg: var(--navy); --bd: var(--navy); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Kunngjøringslinje ---------- */
.announce { background: var(--red-deep); color: #fff; }
.announce a {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 38px; padding: 6px var(--gutter);
  color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; text-align: center;
}
.announce svg { width: 16px; height: 16px; flex: none; }
.announce a:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Rød kontaktstripe ---------- */
.contact-strip { background: var(--red); color: #fff; position: relative; }
.contact-strip::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--red-dark), transparent 35%, transparent 65%, var(--red-dark)); opacity: .6; }
.contact-strip__grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-strip__item {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 20px 24px; color: #fff; text-decoration: none; position: relative;
  transition: background .2s var(--ease);
}
.contact-strip__item:hover { background: rgba(0,0,0,.09); color: #fff; }
.contact-strip__item + .contact-strip__item::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: rgba(255,255,255,.85);
}
.contact-strip__icon {
  width: 52px; height: 52px; flex: none; border: 2px solid rgba(255,255,255,.9); border-radius: 50%;
  display: grid; place-items: center;
}
.contact-strip__icon svg { width: 24px; height: 24px; }
.contact-strip__label { display: block; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; opacity: .9; }
.contact-strip__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.05rem, 1.9vw, 1.5rem); letter-spacing: .01em; line-height: 1.25; word-break: break-word; }

/* ---------- Topptekst / navigasjon ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--gray-2); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 30px -14px rgba(13,33,51,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img, .brand svg { width: clamp(190px, 18vw, 250px); height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 13px;
  font-family: var(--font-head); font-weight: 750; font-size: .97rem; color: var(--navy); text-decoration: none;
  border: 0; background: none; cursor: pointer; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }
.has-dropdown:hover .nav__link svg, .has-dropdown.is-open .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: 10px; }
.has-dropdown { display: flex; align-items: center; }
.has-dropdown > .nav__link { padding-right: 4px; }
.has-dropdown > .nav__link::after { right: 4px; }
.nav__sub-toggle { width: 26px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 4px; padding: 0; }
.nav__sub-toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__sub-toggle:hover { color: var(--red); }
.has-dropdown:hover .nav__sub-toggle svg, .has-dropdown.is-open .nav__sub-toggle svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: -24px; width: 620px;
  background: #fff; border-top: 4px solid var(--red); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--navy); }
.dropdown a:hover { background: var(--gray); }
.dropdown__icon { width: 36px; height: 36px; flex: none; border-radius: 8px; background: #FBE8EA; color: var(--red); display: grid; place-items: center; }
.dropdown__icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .95rem; font-weight: 750; line-height: 1.3; }
.dropdown small { display: block; color: var(--slate); font-size: .82rem; line-height: 1.4; }
.dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--gray-2); margin-top: 8px; padding-top: 12px; }
.dropdown__all a { justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

.nav-toggle { display: none; width: 50px; height: 50px; border: 2px solid var(--navy); border-radius: var(--radius); background: #fff; color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1199px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 200;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 88px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s; visibility: hidden;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--gray-2); }
  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > .nav__link { flex: 1; width: auto; }
  .nav__sub-toggle { width: 48px; height: 48px; background: var(--gray); }
  .has-dropdown:hover .nav__sub-toggle svg { transform: none; }
  .has-dropdown.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
  .dropdown { flex-basis: 100%; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.08rem; }
  .nav__link::after { display: none; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: grid; }
  .has-dropdown:hover .nav__link svg { transform: none; }
  .has-dropdown.is-open .nav__link svg { transform: rotate(180deg); }
  .dropdown small { display: none; }
  .nav__cta { margin: 24px 0 0; width: 100%; }
  .nav__close { position: absolute; top: 18px; right: 20px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(13,33,51,.55); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1200px) { .nav__close, .nav-backdrop { display: none; } }
@media (max-width: 1320px) and (min-width: 1200px) { .nav__link { padding-inline: 9px; font-size: .92rem; } .nav__link::after { left: 9px; right: 9px; } }

/* ---------- Forsidehelt ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,33,51,.95) 0%, rgba(13,33,51,.86) 30%, rgba(13,33,51,.45) 56%, rgba(13,33,51,.12) 80%),
    linear-gradient(0deg, rgba(13,33,51,.85) 0%, rgba(13,33,51,0) 32%);
}
.hero__inner { min-height: clamp(620px, 46vw, 790px); display: flex; flex-direction: column; justify-content: center; padding-block: 64px 168px; }
.hero__content { max-width: 600px; }
.hero__logo { width: clamp(240px, 26vw, 360px); margin-bottom: 30px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 4rem); margin-bottom: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #FF9AA5; }
.hero__bar { width: 72px; height: 5px; background: var(--red); margin-bottom: 22px; }
.hero p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #DCE4EB; max-width: 540px; margin-bottom: 32px; }
.hero__rail { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__rail-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(13,33,51,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 4px solid var(--red); }
.hero__rail a {
  display: flex; align-items: center; gap: 14px; padding: 22px 24px; color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 750; font-size: 1rem; line-height: 1.3;
  border-left: 1px solid rgba(255,255,255,.12); transition: background .2s var(--ease);
}
.hero__rail a:first-child { border-left: 0; }
.hero__rail a:hover { background: var(--red); color: #fff; }
.hero__rail svg { width: 30px; height: 30px; flex: none; color: #FF8E9A; transition: color .2s; }
.hero__rail a:hover svg { color: #fff; }
.hero__rail small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: #AFC0CE; }
.hero__rail a:hover small { color: #FFE3E6; }

@media (min-width: 1100px) {
  .hero__media img { width: 132%; object-position: 0% 16%; }
}
@media (max-width: 1099px) {
  .hero::before { background: linear-gradient(90deg, rgba(13,33,51,.94) 0%, rgba(13,33,51,.78) 55%, rgba(13,33,51,.5) 100%), linear-gradient(0deg, rgba(13,33,51,.9) 0%, rgba(13,33,51,0) 40%); }
  .hero__rail-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__rail a:nth-child(3) { border-left: 0; }
  .hero__rail a:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .hero__inner { padding-bottom: 230px; }
}
@media (max-width: 640px) {
  .hero::before { background: linear-gradient(180deg, rgba(13,33,51,.15) 0%, rgba(13,33,51,.35) 25%, rgba(13,33,51,.88) 45%, rgba(13,33,51,.97) 100%); }
  .hero__media img { object-position: 50% 10%; }
  .hero__inner { min-height: 0; padding-block: 300px 28px; }
  .hero__logo { display: none; }
  .hero .btn-row .btn { width: 100%; }
  .hero__rail { position: static; }
  .hero__rail a { padding: 16px; font-size: .92rem; }
  .hero__rail svg { width: 24px; height: 24px; }
  .hero__rail small { display: none; }
}

/* ---------- Introduksjon ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.intro-media::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border: 3px solid var(--red); border-radius: var(--radius-lg); z-index: -1; }
.intro-media__tag {
  position: absolute; left: -18px; bottom: 36px; background: var(--navy); color: #fff; padding: 18px 22px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 800; max-width: 260px; line-height: 1.3; box-shadow: var(--shadow);
}
.intro-media__tag span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #FF8E9A; margin-bottom: 4px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 3px; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

/* ---------- Tjenestekort ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-2); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gray-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__num { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .1em; padding: 6px 10px; border-radius: 4px; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: .95rem; color: var(--slate); line-height: 1.6; margin-bottom: 18px; }
.service-card .text-link { margin-top: auto; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }

/* Stor variant (tjenesteoversikt) */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-row { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.service-row:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; }
.service-row__media { position: relative; min-height: 100%; }
.service-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-row__body { padding: 26px 28px; }
.service-row h3 { margin-bottom: 6px; }
.service-row p { color: var(--slate); font-size: .97rem; margin-bottom: 14px; }
.service-row ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-row li { margin: 0; font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--gray); padding: 4px 10px; border-radius: 99px; }

/* ---------- Funksjonsblokker ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 40px 36px 8px 0; border-right: 1px solid var(--line); }
.feature + .feature { padding-left: 36px; }
.feature:last-child { border-right: 0; }
.feature__icon { width: 60px; height: 60px; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: 10px; margin-bottom: 22px; position: relative; }
.feature__icon::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; background: var(--red); border-radius: 4px; z-index: -1; }
.feature__icon svg { width: 28px; height: 28px; }
.feature p { color: var(--slate); }
.editorial-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: end; margin-bottom: 48px; }
.editorial-band img { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ---------- Tidslinje ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 6%; right: 6%; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 22px); }
.step { position: relative; text-align: left; }
.step__num {
  position: relative; width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em;
  clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
  box-shadow: 0 0 0 8px #fff;
}
.section--gray .step__num { box-shadow: none; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .98rem; }

/* ---------- Delt navy-seksjon ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.feature-split__media { position: relative; min-height: 360px; }
.feature-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-split__content { background: var(--navy); color: #C9D5DF; padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.feature-split__content::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border: 28px solid rgba(255,255,255,.04); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.feature-split__content h2 { color: #fff; }
.feature-split__content strong { color: #fff; }
.num-list { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 18px; }
.num-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin: 0; }
.num-list b { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(188,23,42,.95); color: #fff; font-family: var(--font-head); border-radius: 6px; font-size: .95rem; }
.num-list span { display: block; }

/* ---------- Galleri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-template-areas: "a a b c" "a a d c" "e f f f"; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--gray-2); }
.gallery figure:nth-child(1) { grid-area: a; }
.gallery figure:nth-child(2) { grid-area: b; }
.gallery figure:nth-child(3) { grid-area: c; }
.gallery figure:nth-child(4) { grid-area: d; }
.gallery figure:nth-child(5) { grid-area: e; }
.gallery figure:nth-child(6) { grid-area: f; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; align-items: center; gap: 8px;
  color: #fff; font-family: var(--font-head); font-weight: 750; font-size: .92rem;
  background: rgba(13,33,51,.82); padding: 8px 12px; border-radius: 6px; width: fit-content; max-width: calc(100% - 24px);
}
.gallery figcaption::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 2px; flex: none; }
.note { font-size: .88rem; color: var(--slate); margin-top: 18px; }

/* ---------- Artikkelkort ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-2); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-family: var(--font-head); }
.article-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.article-card p { color: var(--slate); font-size: .95rem; margin-bottom: 16px; }
.article-card .text-link { margin-top: auto; }
.article-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #C9D5DF; margin-bottom: 36px; }
.article-feature:hover { color: #C9D5DF; }
.article-feature__media { min-height: 380px; position: relative; overflow: hidden; }
.article-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-feature:hover img { transform: scale(1.04); }
.article-feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.article-feature h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.article-feature .article-card__meta { color: #FF8E9A; }
.article-feature .text-link { color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--red); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font-family: var(--font-head); font-weight: 750; font-size: 1.06rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BC172A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #FBE8EA; }
.faq__body { padding: 0 24px 20px; color: var(--slate); }
.faq__body p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }

/* ---------- Avsluttende CTA ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: #fff; }
.cta-band__grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: stretch; }
.cta-band__text { padding: clamp(56px, 7vw, 96px) clamp(0px, 4vw, 64px) clamp(56px, 7vw, 96px) 0; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 3rem); text-wrap: balance; }
.cta-band p { font-size: 1.15rem; color: #FFE1E4; max-width: 560px; margin-bottom: 30px; }
.cta-band__side { background: var(--navy); position: relative; display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 4vw, 56px); gap: 18px; }
.cta-band__side::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60px; width: 60px; background: var(--navy); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.cta-band__side::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -100vw; background: var(--navy); z-index: -1; }
.cta-band__side a { color: #fff; text-decoration: none; display: flex; gap: 14px; align-items: center; font-family: var(--font-head); font-weight: 750; }
.cta-band__side a:hover { color: #FF9AA5; }
.cta-band__side small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #9FB2C3; font-weight: 800; }
.cta-band__side svg { width: 26px; height: 26px; flex: none; color: #FF8E9A; }

/* ---------- Sidetopp (undersider) ---------- */
.page-hero { background: var(--navy); color: #C9D5DF; position: relative; overflow: hidden; border-bottom: 6px solid var(--red); }
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 520px; height: 420px; transform: translateY(-46%);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 18px);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 96px); max-width: 860px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; text-wrap: balance; }
.page-hero p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #C3D0DB; margin-bottom: 0; max-width: 700px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--image { min-height: 440px; display: flex; align-items: center; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,33,51,.95) 0%, rgba(13,33,51,.8) 50%, rgba(13,33,51,.45) 100%); }
.page-hero--white { background: #fff; color: var(--slate); border-bottom: 0; }
.page-hero--white::after { display: none; }
.page-hero--white h1 { color: var(--navy); }
.page-hero--white p { color: var(--slate); }

.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; color: #9FB2C3; }
.breadcrumb li + li::before { content: "/"; color: #6F8597; }
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: #FF9AA5; text-decoration: underline; }
.page-hero--white .breadcrumb li { color: var(--slate); }
.page-hero--white .breadcrumb a { color: var(--navy); }

/* ---------- Tjenesteside ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #3A434A; }
.prose ul li::marker { color: var(--red); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption { font-size: .85rem; color: var(--slate); margin-top: 10px; }
.prose blockquote { margin: 2em 0; padding: 22px 26px; border-left: 5px solid var(--red); background: var(--gray); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-weight: 650; color: var(--navy); font-size: 1.12rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2em 0; }
.media-pair img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.callout { display: flex; gap: 16px; padding: 22px 24px; background: #FFF6F7; border: 1px solid #F3C9CE; border-radius: var(--radius); margin: 2em 0; }
.callout svg { width: 26px; height: 26px; flex: none; color: var(--red); margin-top: 2px; }
.callout p { margin: 0; color: #4A3236; }
.callout strong { color: var(--red-deep); }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5em 0 2em; padding: 0; list-style: none; }
.task-grid li { margin: 0; background: var(--gray); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.task-grid svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 3px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; align-content: start; align-self: start; }
.side-card { background: var(--navy); color: #C9D5DF; border-radius: var(--radius-lg); padding: 30px 28px; position: relative; overflow: hidden; }
.side-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--red); }
.side-card h3 { color: #fff; font-size: 1.3rem; }
.side-card p { font-size: .97rem; }
.side-card .btn { width: 100%; }
.side-card--light { background: var(--gray); color: var(--charcoal); }
.side-card--light::before { display: none; }
.side-card--light h3 { color: var(--navy); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { margin: 0; border-top: 1px solid var(--line); }
.side-links li:first-child { border-top: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--red); }
.side-links svg { width: 14px; height: 14px; flex: none; }

/* ---------- Vedlikeholdsside ---------- */
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.season { background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; border-top: 6px solid var(--navy); box-shadow: var(--shadow-sm); }
.season:nth-child(2) { border-color: var(--red); }
.season:nth-child(3) { border-color: var(--slate); }
.season:nth-child(4) { border-color: var(--navy-soft); }
.season__label { font-family: var(--font-head); font-weight: 800; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.season h3 { margin: 6px 0 14px; }
.season ul { list-style: none; padding: 0; margin: 0; }
.season li { padding: 9px 0 9px 26px; border-top: 1px solid var(--gray-2); margin: 0; position: relative; font-size: .95rem; }
.season li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.editorial { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 3px solid var(--gray-2); padding-left: 20px; }
.toc p { font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0 0 10px; counter-increment: toc; }
.toc a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; display: flex; gap: 10px; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: .8rem; padding-top: 2px; }
.toc a:hover { color: var(--red); }
.big-quote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 750; line-height: 1.3; color: var(--navy); border-left: 6px solid var(--red); padding-left: 28px; margin: 0 0 32px; letter-spacing: -.01em; }

/* ---------- Tjenesteområde ---------- */
.area-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); border-top: 6px solid var(--red); }
.postcode-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.postcode-form input { flex: 1 1 180px; min-height: 56px; font-size: 1.3rem; letter-spacing: .3em; font-weight: 700; font-family: var(--font-head); text-align: center; }
.address-block { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--gray); border-radius: var(--radius); margin-top: 24px; }
.address-block svg { width: 28px; height: 28px; color: var(--red); flex: none; }
.address-block address { font-style: normal; color: var(--navy); font-weight: 600; }
.address-block p { margin: 6px 0 0; font-size: .9rem; color: var(--slate); }

/* ---------- Om oss ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: #fff; padding: 36px 32px; }
.value__num { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--gray-2); line-height: 1; -webkit-text-stroke: 1.5px var(--red); color: transparent; margin-bottom: 14px; }
.value p { color: var(--slate); margin-bottom: 0; }
.statement { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.statement img { width: clamp(90px, 12vw, 150px); }
.statement p { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 650; line-height: 1.45; margin: 0; color: #E3EAF0; }
.statement p strong { color: #FF9AA5; font-weight: 800; }

/* ---------- Skjema ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--gray-2); }
.form-card h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 750; color: var(--navy); font-size: .95rem; margin-bottom: 8px; }
.field label .opt { font-weight: 500; color: var(--slate); font-size: .85rem; }
.field label .req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; background: var(--gray); border: 2px solid transparent; border-radius: var(--radius);
  font-size: 1rem; color: var(--charcoal); transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142D42' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
input:hover, select:hover, textarea:hover { border-color: var(--line); }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--navy); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #FFF6F7; }
.field__error { display: none; color: var(--red); font-size: .85rem; font-weight: 600; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .85rem; color: var(--slate); margin-top: 6px; }
.field label.consent { font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--slate); margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--red); }
.consent.has-error { color: var(--red); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 22px; font-weight: 600; font-size: .95rem; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #FFF0F2; color: var(--red-deep); border: 1px solid #F3C9CE; }
.form-alert--info { background: #EEF4F8; color: var(--navy); border: 1px solid #CFDCE6; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-submit .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-submit small { color: var(--slate); font-size: .85rem; }
.contact-points { display: grid; gap: 16px; margin: 28px 0; }
.contact-point { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--gray); text-decoration: none; color: inherit; }
a.contact-point:hover { background: var(--gray-2); color: inherit; }
.contact-point__icon { width: 48px; height: 48px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.contact-point__icon svg { width: 22px; height: 22px; }
.contact-point small { display: block; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.contact-point strong { display: block; font-family: var(--font-head); font-size: 1.1rem; word-break: break-word; }
.contact-point span { display: block; font-size: .9rem; color: var(--slate); }
.process-list { list-style: none; padding: 0; margin: 0 0 28px; counter-reset: p; display: grid; gap: 0; }
.process-list li { counter-increment: p; position: relative; padding: 0 0 26px 64px; margin: 0; }
.process-list li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; border-radius: 6px; font-size: .95rem; }
.process-list li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.process-list li:last-child::after { display: none; }
.process-list strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 2px; }
.process-list span { color: var(--slate); font-size: .96rem; }

/* ---------- Artikkel ---------- */
.article-hero { background: var(--gray); padding-block: clamp(40px, 6vw, 72px) 0; }
.article-hero .breadcrumb li { color: var(--slate); }
.article-hero .breadcrumb a { color: var(--navy); }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 900px; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--slate); font-size: .9rem; margin-bottom: 32px; }
.article-meta span { display: inline-flex; gap: 8px; align-items: center; }
.article-meta svg { width: 16px; height: 16px; color: var(--red); }
.article-hero__img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 7; }
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 6vw, 88px); justify-content: center; }
.article-body { font-size: 1.1rem; }
.article-body > p:first-of-type { font-size: 1.22rem; color: var(--navy); line-height: 1.6; }

/* ---------- Juridiske sider ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.legal-layout .prose h2 { font-size: 1.45rem; }
.legal-meta { background: var(--gray); border-radius: var(--radius); padding: 18px 22px; font-size: .92rem; margin-bottom: 32px; }
.legal-meta p { margin: 0; }
table.data { width: 100%; min-width: 520px; border-collapse: collapse; margin: 1.5em 0; font-size: .93rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; }
table.data tr:nth-child(even) td { background: var(--gray); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.area-card .table-wrap table.data { min-width: 0; }
.prose code { word-break: break-all; }

/* ---------- Takk / 404 ---------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.center-page__icon { width: 96px; height: 96px; margin: 0 auto 28px; background: var(--red); color: #fff; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%); }
.center-page__icon svg { width: 42px; height: 42px; margin-top: 14px; }
.center-page p { max-width: 560px; margin-inline: auto; }
.center-page .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Bunntekst ---------- */
.site-footer { background: var(--navy-deep); color: #A9BACA; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--red) 0 60%, var(--navy-soft) 60%); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 48px; }
.footer-brand img { width: 230px; margin-bottom: 22px; }
.footer-brand p { font-size: .95rem; max-width: 330px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 800; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a { color: #C3D0DB; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact { font-style: normal; display: grid; gap: 16px; font-size: .95rem; }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: #FF8E9A; flex: none; margin-top: 3px; }
.footer-contact a { color: #fff; text-decoration: none; word-break: break-word; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact strong { color: #fff; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .88rem; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom li { margin: 0; }
.footer-bottom a, .footer-bottom button { color: #C3D0DB; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; text-decoration: underline; }

/* ---------- Informasjonskapsler ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 500; max-width: 760px; margin-inline: auto;
  background: #fff; color: var(--charcoal); border-radius: var(--radius-lg); box-shadow: 0 30px 80px -20px rgba(13,33,51,.55);
  border-top: 5px solid var(--red); padding: 26px 28px; display: none;
}
.cookie-banner.is-visible { display: block; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner h2 { font-size: 1.25rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .93rem; color: var(--slate); margin-bottom: 18px; }
.cookie-banner .btn-row { gap: 10px; }
.cookie-banner .btn { min-height: 46px; padding: 10px 18px; font-size: .78rem; }
.cookie-prefs { display: none; margin: 4px 0 18px; border-top: 1px solid var(--gray-2); }
.cookie-prefs.is-open { display: block; }
.cookie-pref { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--gray-2); }
.cookie-pref strong { display: block; font-family: var(--font-head); }
.cookie-pref span { font-size: .87rem; color: var(--slate); display: block; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 99px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { background: var(--navy); opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---------- Animasjon ved scroll ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivt ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .service-layout, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .cta-band__grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band__text { padding-right: 0; }
  .cta-band__side { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cta-band__side::before { display: none; }
  .cta-band__side::after { display: none; }
}
@media (max-width: 900px) {
  .split, .faq-layout, .form-layout, .editorial-band, .editorial, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .intro-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .feature, .feature + .feature { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .feature-split { grid-template-columns: minmax(0, 1fr); }
  .feature-split__media { min-height: 380px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; grid-template-areas: "a a" "b c" "d e" "f f"; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .article-feature { grid-template-columns: minmax(0, 1fr); }
  .article-feature__media { min-height: 260px; }
  .toc, .legal-layout .toc { position: static; }
  .statement { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .contact-strip__item { flex-direction: column; gap: 6px; padding: 14px 10px; text-align: center; }
  .contact-strip__icon { width: 38px; height: 38px; }
  .contact-strip__icon svg { width: 18px; height: 18px; }
  .contact-strip__label { font-size: .68rem; letter-spacing: .14em; }
  .contact-strip__value { font-size: .86rem; }
  .contact-strip__item + .contact-strip__item::before { top: 14px; bottom: 14px; }
  .announce a { font-size: .64rem; letter-spacing: .16em; min-height: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .service-grid, .article-grid, .season-grid, .footer-grid, .sidebar, .check-list--2, .task-grid, .media-pair, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .service-row { grid-template-columns: minmax(0, 1fr); }
  .service-row__media { min-height: 200px; }
  .intro-media::before { inset: 16px -10px -10px 16px; }
  .intro-media__tag { left: 12px; bottom: 16px; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery figcaption { font-size: .78rem; padding: 6px 9px; left: 8px; bottom: 8px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 22px 18px; max-height: calc(100vh - 20px); overflow-y: auto; }
  .cookie-banner .btn { flex: 1 1 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .page-hero--image { min-height: 0; }
}
@media (max-width: 480px) {
  .contact-strip__value { font-size: .74rem; letter-spacing: 0; }
  .contact-strip__item { padding-inline: 6px; }
}
@media (max-width: 380px) {
  .contact-strip__value { font-size: .7rem; }
  .brand img, .brand svg { width: 172px; }
}

@media print {
  .announce, .contact-strip, .site-header, .cookie-banner, .cta-band, .site-footer, .sidebar { display: none !important; }
  body { font-size: 12pt; }
}
