@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Tokens ===== */
:root {
  --bg: #ffffff;
  --alt: #fbf8f4;
  --ink: #12151a;
  --body: #414854;
  --muted: #6b7280;
  --line: #ebe6df;
  --accent: #e8700a;        /* Kontorflex-oransje (basert på #ff8400 fra den gamle siden) – detaljer og ikoner */
  --primary: #c25400;       /* knapper: dypere oransje så hvit tekst har god kontrast (4.6:1) */
  --primary-dark: #a54800;
  --primary-text: #b04f04;  /* oransje tekst og lenker på lys bakgrunn */
  --primary-soft: #fff4e8;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgb(18 21 26 / .05);
  --shadow: 0 1px 2px rgb(18 21 26 / .04), 0 12px 32px -12px rgb(18 21 26 / .14);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
/* Romslig sporing: Plus Jakarta Sans er tett fra før, så titlene får bare minimal innstramming */
h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4rem); line-height: 1.1; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.35vw, 2.5rem); line-height: 1.18; letter-spacing: -0.008em; }
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.003em; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 650; }
::selection { background: #ffe1c2; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--primary-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font: 700 15px/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgb(165 72 0 / .25), inset 0 1px 0 rgb(255 255 255 / .12); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 6px 16px -6px rgb(165 72 0 / .55); }
.btn--outline { background: #fff; color: var(--ink); border-color: #d6d3ce; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(18 21 26 / .3); }
.nav__inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 18.5px; letter-spacing: -0.005em; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand__tld { color: var(--muted); font-weight: 600; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 12px; color: var(--body); text-decoration: none; font-size: 15px; font-weight: 550; border-radius: 8px; transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--ink); background: rgb(18 21 26 / .04); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile { display: grid; padding: 4px 24px 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile[hidden] { display: none; }
.mobile a { padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile a:last-child { border-bottom: 0; }

/* ===== Hero ===== */
.hero { padding: 80px 0 0; background: linear-gradient(#fff 50%, var(--alt)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
.hero h1 { max-width: 17ch; }
.lead { font-size: 1.18rem; line-height: 1.65; color: var(--body); max-width: 31em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.hero__note a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero__note a:hover { color: var(--primary-text); }
.hero__art { margin-top: 48px; }
/* Tegningen har hvit bakgrunn – multiply lar fargeovergangen bak skinne gjennom */
.hero__art img { width: 100%; height: auto; margin-bottom: -2px; mix-blend-mode: multiply; }

/* ===== Facts ===== */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__grid > div { display: flex; gap: 14px; align-items: flex-start; padding: 30px 24px; border-left: 1px solid var(--line); }
.facts__grid > div:first-child { border-left: 0; padding-left: 0; }
.facts__ico { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--accent); }
.facts__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.facts strong { display: block; color: var(--ink); font-weight: 650; line-height: 1.35; }
.facts span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 112px 0; }
.section--alt { background: var(--alt); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

.list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 28px; line-height: 1.5; }
.list li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-50%) rotate(-45deg); }

/* ===== Offers ===== */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.offer { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.offer:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer__media { overflow: hidden; aspect-ratio: 16 / 10; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.offer:hover .offer__media img { transform: scale(1.03); }
.offer__body { display: flex; flex-direction: column; flex: 1; padding: 32px; }
.offer__body > p:first-of-type { margin-top: 10px; }
.offer .list { margin-bottom: 28px; }
.offer__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.offer__price { color: var(--muted); font-size: 15px; }
.offer__price strong { color: var(--ink); font-size: 1.3rem; }
.offer__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.offer__note a { color: var(--body); font-weight: 600; }
.offer__note a:hover { color: var(--primary-text); }

/* ===== Prices ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.plan--featured { border: 2px solid var(--accent); padding: 33px 31px 31px; box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.plan__price { margin-top: 16px; color: var(--muted); font-size: 15px; }
.plan__price strong { color: var(--ink); font-size: 2.35rem; font-weight: 750; letter-spacing: -0.01em; }
.plan__tag { margin-top: 2px; font-size: 14px; color: var(--primary-text); font-weight: 600; }
.plan .list { flex: 1; margin: 24px 0 32px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g { padding: 0; border: 0; background: var(--alt); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g:hover img { transform: scale(1.04); }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; }
.about h2 { margin-bottom: 20px; }
.about p + p { margin-top: 16px; }
.about__facts { margin: 0; padding: 8px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.about__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.about__facts div:last-child { border-bottom: 0; }
.about__facts dt { color: var(--muted); font-size: 14.5px; }
.about__facts dd { margin: 0; color: var(--ink); line-height: 1.5; }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: 112px; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; font-size: 1.04rem; transition: color .15s; }
summary:hover { color: var(--primary-text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--alt); color: var(--ink); font-size: 20px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease), background .2s; }
details[open] summary::after { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary-text); }
details p { max-width: 60ch; padding: 0 48px 24px 0; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact__intro { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.person { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.person__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); font-weight: 700; font-size: 15px; }
.person strong { display: block; color: var(--ink); line-height: 1.3; }
.person span { color: var(--muted); font-size: 14.5px; }
.contact__list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.contact__list span { color: var(--muted); font-size: 14.5px; }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--primary-text); }
.form { display: grid; gap: 18px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form h3 { font-size: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d6d3ce; border-radius: 10px; background: #fff; font: 400 16px/1.4 var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #bcb8b1; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(232 112 10 / .15); }
.form .btn { justify-self: start; }
.form__err { color: #b42318; font-size: 14px; }
.form__hint { color: var(--muted); font-size: 13.5px; }

/* ===== Footer ===== */
.foot { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 32px; background: #17130f; color: #b9b2aa; font-size: 15px; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgb(232 112 10 / .22), transparent 60%); }
.foot__art { position: absolute; z-index: -1; right: -6%; bottom: -4%; width: min(900px, 75%); opacity: .14; pointer-events: none; }
.foot a { color: #e9e4de; text-decoration: none; transition: color .15s; }
.foot a:hover { color: #ffb36b; }
.foot__cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.foot__cta h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem); }
.foot__cta p { margin-top: 10px; color: #b9b2aa; font-size: 1.08rem; }
.foot__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.foot .btn--primary, .foot .btn--primary:hover { color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .28); }
.btn--ghost:hover, .foot .btn--ghost:hover { border-color: #fff; color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0; }
.foot__grid > * { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot h3 { margin-bottom: 6px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.foot__brand p { max-width: 30ch; margin-top: 6px; line-height: 1.6; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__tld { color: #8f877e; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13.5px; color: #8f877e; }
.foot__bottom a { color: #b9b2aa; }

/* ===== Lightbox ===== */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgb(18 21 26 / .88); }
.lightbox img { max-height: 86vh; width: auto; border-radius: 12px; }
.lightbox__close { position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 24px; cursor: pointer; box-shadow: var(--shadow); }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
}
@media (max-width: 960px) {
  body { font-size: 16.5px; }
  .hero { padding: 44px 0 0; }
  .hero h1 { max-width: none; }
  .hero__art { margin-top: 28px; }
  .hero__art img { width: 150%; max-width: none; margin-left: -25%; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .offers, .about, .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
  .faq .section__head { position: static; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__grid > div { padding: 22px 0; border-left: 0; }
  .facts__grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .facts__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .foot { padding-top: 64px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 0; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__art { width: 120%; right: -30%; opacity: .1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .nav__inner { gap: 10px; height: 64px; }
  .brand { gap: 8px; font-size: 16.5px; min-width: 0; }
  .brand__tld { display: none; }
  .nav__cta { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .actions .btn { flex: 1 1 100%; }
  .facts__grid { grid-template-columns: 1fr; }
  .facts__grid > div, .facts__grid > div:nth-child(even) { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts__grid > div:first-child { border-top: 0; }
  .offer__body, .plan, .form { padding: 24px; }
  .plan--featured { padding: 23px; }
  .plan__badge { left: 22px; }
  .about__facts { padding: 4px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .about__facts div, .contact__list li { grid-template-columns: 96px 1fr; }
  details p { padding-right: 0; }
  .lightbox__close { top: 8px; right: 8px; }
  .foot__cta-actions, .foot__cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
