[hidden] { display: none !important; }
/* Foton hos Byggtrade – felles komponenter (meny, lightbox, verktøy, utskrift).
   Bygger på tokenene som er definert i hver side (--bg, --fg, --accent …). */

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---------- Header: Modeller-meny og mobilmeny ---------- */
.skip { position: absolute; left: -999px; top: .75rem; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 600; text-decoration: none; }
.skip:focus { left: .75rem; outline: 2px solid var(--fg); outline-offset: 2px; }
main:focus { outline: none; } /* målet for hoppelenken; fokusmarkering trengs ikke på hele innholdet */
.top { position: sticky; }
.top__in { position: relative; }
.nav__models { position: static; }
.nav__btn { font: inherit; font-size: .92rem; color: var(--fg-2); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.nav__btn:hover, .nav__btn[aria-expanded="true"] { color: var(--fg); }
.nav__btn svg { width: .7em; height: .7em; transition: transform .2s; }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: none; z-index: 20; }
.mega[data-open="true"] { display: block; }
.mega__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; padding-block: 1.75rem 2rem; }
.mega__col h3 { font-size: .8rem; font-weight: 500; color: var(--fg-3); margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); letter-spacing: 0; }
.mega__col h3 a { color: inherit; }
.mega__col h3 a:hover { color: var(--fg); }
.mega__col a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: .55rem 0; }
.mega__col a img { width: 4.5rem; height: 2.4rem; object-fit: contain; object-position: center bottom; }
.mega__col a b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.mega__col a small { display: block; color: var(--fg-3); font-size: .8rem; }
.mega__col a:hover b { color: var(--accent); }
.mega__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding-top: 1.25rem; margin-top: .5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--fg-2); }
.mega__foot a:hover { color: var(--fg); }

.menu-btn { display: none; font: inherit; color: var(--fg); background: none; border: 1px solid var(--line-2); width: 2.6rem; height: 2.6rem; padding: 0; cursor: pointer; align-items: center; justify-content: center; flex: 0 0 auto; }
.menu-btn svg { width: 1.2rem; height: 1.2rem; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .h { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav__models { display: none; }
  .top .btn--small { display: none; }
}
.panel { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; display: none; padding-top: 4.5rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.panel[data-open="true"] { display: block; }
.panel__in { padding-block: 1rem 2.5rem; }
.panel h3 { font-size: .8rem; font-weight: 500; color: var(--fg-3); margin: 1.5rem 0 .25rem; letter-spacing: 0; }
.panel a.m { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.panel a.m img { width: 4.2rem; height: 2.3rem; object-fit: contain; object-position: center bottom; }
.panel a.m b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.2; }
.panel a.m small { display: block; color: var(--fg-3); font-size: .82rem; }
.panel a.m svg { width: 1rem; height: 1rem; color: var(--fg-3); }
.panel .links { display: grid; gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.panel .links a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 600; }
.panel .btn { margin-top: 1.5rem; width: 100%; }
body[data-menu="open"] { overflow: hidden; }
body[data-menu="open"] .top { z-index: 41; background: var(--bg); }

/* ---------- Lightbox ---------- */
.zoomable { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 60; background: #06080b; display: none; flex-direction: column; }
.lb[data-open="true"] { display: flex; }
.lb__stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb__cap { flex: 0 0 auto; padding: .75rem var(--gutter) 1.25rem; color: var(--fg-2); font-size: .9rem; text-align: center; min-height: 3rem; }
.lb__btn { position: absolute; font: inherit; color: var(--fg); background: rgba(16, 20, 26, .8); border: 1px solid var(--line-2); width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); }
.lb__btn:hover { border-color: var(--fg-3); }
.lb__btn svg { width: 1.1rem; height: 1.1rem; }
.lb__close { top: calc(.75rem + env(safe-area-inset-top, 0px)); right: var(--gutter-r); }
.lb__prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb__next { right: var(--gutter-r); top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; top: calc(1.35rem + env(safe-area-inset-top, 0px)); left: var(--gutter); color: var(--fg-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lb__prev, .lb__next { top: auto; bottom: 3.5rem; transform: none; } }

/* ---------- Målstolper som vokser ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bars i { transition: width 1s cubic-bezier(.2, .7, .2, 1); }
}

/* ---------- Forrige / neste modell ---------- */
.pn { border-top: 1px solid var(--line); }
.pn__in { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.pn__in a { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; gap: 1rem; align-items: center; background: var(--bg); padding: 1.75rem 0; min-width: 0; }
.pn__in a.next { grid-template-columns: 7rem minmax(0, 1fr); text-align: right; padding-left: 2rem; }
.pn__in a.prev { padding-right: 2rem; }
.pn__in a.next img { order: -1; }
.pn small { display: block; color: var(--fg-3); font-size: .82rem; margin-bottom: .2rem; }
.pn b { display: block; font-size: 1.15rem; font-weight: 600; }
.pn a:hover b { color: var(--accent); }
.pn img { width: 7rem; height: 3.6rem; object-fit: contain; }
.pn__cmp { text-align: center; padding: 1rem 0 1.5rem; font-size: .92rem; color: var(--fg-2); }
.pn__cmp a { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) {
  .pn__in { grid-template-columns: 1fr; }
  .pn__in a.prev { padding-right: 0; }
  .pn__in a.next { padding-left: 0; grid-template-columns: minmax(0, 1fr) 7rem; text-align: left; }
  .pn__in a.next img { order: 1; }
}

/* ---------- Utskrift: datablad ---------- */
.print-btn { font: inherit; font-size: .88rem; font-weight: 600; color: var(--fg-2); background: transparent; border: 1px solid var(--line-2); padding: .5rem .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.print-btn:hover { color: var(--fg); border-color: var(--fg-3); }
.print-btn svg { width: 1em; height: 1em; }
.print-row { grid-column: 2; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
a.print-btn { text-decoration: none; }
@media (max-width: 860px) { .print-row { grid-column: auto; } }
@media print {
  :root { --bg: #fff; --bg-2: #fff; --bg-3: #f2f4f7; --fg: #111; --fg-2: #333; --fg-3: #666; --line: #ccc; --line-2: #999; --accent: #0b7fa8; --accent-ink: #fff; color-scheme: light; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .top, .bar, .three, .hero .actions, .hero__kicker, #tilbud, .pn, .menu-btn, .print-btn, .print-row, .lb, .panel, .mega, .others, .hero__car::before, .gal__render::before, .int__tabs, .crumb { display: none !important; }
  .sec, .keys, .hero { border: 0; }
  .sec__in, .hero__in { padding-block: 1rem; }
  .sec__head { margin-bottom: 1rem; }
  .spec-wrap { overflow: visible; }
  .spec { min-width: 0; font-size: 10pt; }
  .hero__in { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28pt; }
  .int__panel[hidden] { display: none; }
  img { max-height: 70mm; width: auto; }
  a[href]::after { content: none; }
  .foot { border-top: 1px solid #ccc; }
}

/* ---------- Forside: filterchips på modellbåndet ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chips button { font: inherit; font-size: .85rem; font-weight: 600; color: var(--fg-2); background: transparent; border: 1px solid var(--line-2); padding: .45rem .85rem; cursor: pointer; border-radius: 0; }
.chips button:hover { color: var(--fg); border-color: var(--fg-3); }
.chips button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.lineup__item { transition: opacity .25s, transform .25s; }
.lineup__item[data-hide="true"] { opacity: 0; transform: translateY(6px); pointer-events: none; position: absolute; visibility: hidden; }
.lineup__count { color: var(--fg-3); font-size: .9rem; }

/* ---------- Forside: Finn riktig bil ---------- */
.chooser { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.chooser__in { padding-block: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.5rem 4rem; align-items: start; }
.chooser h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.02; margin-bottom: .75rem; }
.chooser__lede { color: var(--fg-2); max-width: 34rem; margin-bottom: 2rem; }
.q { margin-bottom: 1.5rem; }
.q legend, .q .q__t { font-size: .92rem; font-weight: 600; margin-bottom: .6rem; padding: 0; display: block; }
.q .opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.q .opts label { display: inline-flex; align-items: center; border: 1px solid var(--line-2); padding: .55rem .85rem; cursor: pointer; font-size: .92rem; color: var(--fg); background: transparent; }
.q .opts label:hover { border-color: var(--fg-3); }
.q .opts label:has(input:checked) { border-color: var(--accent); background: rgba(43, 189, 232, .1); }
.q .opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q fieldset, fieldset.q { border: 0; margin: 0; padding: 0; position: relative; min-width: 0; }
fieldset.q { margin-bottom: 1.5rem; }
.picks { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.pick { background: var(--bg); display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.1rem 1.25rem; position: relative; }
.pick:first-child { background: var(--bg-3); }
.pick:first-child::before { content: "Beste treff"; position: absolute; top: .6rem; right: .9rem; font-size: .72rem; font-weight: 600; color: var(--accent); }
.pick img { width: 8.5rem; height: 4.4rem; object-fit: contain; object-position: center bottom; }
.pick b { display: block; font-size: 1.15rem; font-weight: 600; }
.pick b a:hover { color: var(--accent); }
.pick ul { list-style: none; margin: .35rem 0 0; padding: 0; color: var(--fg-2); font-size: .88rem; display: grid; gap: .15rem; }
.pick ul li::before { content: ""; display: inline-block; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); margin-right: .5rem; vertical-align: middle; }
.pick ul li.warn::before { background: var(--fg-3); }
.picks__none { background: var(--bg); padding: 1.5rem; color: var(--fg-2); }
.picks__foot { color: var(--fg-3); font-size: .85rem; margin-top: 1rem; }
@media (max-width: 860px) { .chooser__in { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 480px) { .pick { grid-template-columns: 6rem minmax(0, 1fr); gap: .9rem; padding: 1rem; } .pick img { width: 6rem; height: 3.2rem; } }

/* ---------- Forside: kalkulator ---------- */
.calc { border-bottom: 1px solid var(--line); }
.calc__in { padding-block: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 4rem; align-items: start; }
.calc h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.02; margin-bottom: .75rem; }
.calc__lede { color: var(--fg-2); max-width: 32rem; margin-bottom: 1.75rem; }
.calc__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.calc__form .field--wide { grid-column: 1 / -1; }
.calc__form input[type="range"] { width: 100%; accent-color: var(--accent); min-height: 0; padding: 0; border: 0; background: transparent; }
.calc__form .val { display: flex; justify-content: space-between; font-size: .88rem; color: var(--fg-2); }
.calc__form .val output { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: .5rem; }
.calc__out { border: 1px solid var(--line-2); padding: 1.5rem; display: grid; gap: 1.5rem; background: var(--bg-2); }
.calc__big { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.calc__big small { display: block; font-size: .5em; font-weight: 500; color: var(--fg-2); letter-spacing: 0; margin-top: .3rem; }
.cbars { display: grid; gap: .9rem; }
.cbar { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; font-size: .92rem; }
.cbar span:first-child { color: var(--fg-2); }
.cbar i { display: block; height: 1.35rem; background: var(--fg-3); transition: width .5s cubic-bezier(.2, .7, .2, 1); min-width: 2px; }
.cbar.el i { background: var(--accent); }
.cbar em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.calc__facts div { background: var(--bg); padding: .8rem .9rem; min-width: 0; }
.calc__facts b { display: block; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__facts span { font-size: .78rem; color: var(--fg-3); }
.calc__note { color: var(--fg-3); font-size: .82rem; }
@media (max-width: 860px) { .calc__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc__form { grid-template-columns: 1fr; } .cbar { grid-template-columns: 5.5rem minmax(0, 1fr) auto; } .calc__facts { grid-template-columns: 1fr 1fr; } .calc__facts div:last-child { grid-column: 1 / -1; } }

/* ---------- Forside: avdelingskart ---------- */
.map { width: 100%; max-width: 520px; height: auto; display: block; margin-inline: auto; }
.map .land { fill: #161b23; stroke: rgba(222, 230, 240, .35); stroke-width: 1.2; }
.map .land2 { fill: #0f1319; stroke: rgba(222, 230, 240, .14); stroke-width: 1; }
.map .pin { fill: var(--accent); }
.map .pin2 { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .55; }
.map text { fill: var(--fg); font-family: inherit; font-size: 30px; font-weight: 600; }
.map .sub { fill: var(--fg-3); font-size: 23px; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .map .pin2 { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
  @keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
}
.dealer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: center; }
.sites { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.sites li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; align-items: start; }
.sites li > b, .sites__a, .sites__c { grid-column: 1; }
.sites li b { font-weight: 600; }
.sites li b small { font-weight: 500; color: var(--fg-3); font-size: .82rem; margin-left: .35rem; }
.sites li span { color: var(--fg-3); font-size: .85rem; display: block; }
.sites__a { color: var(--fg-2) !important; }
.sites__c a { color: var(--fg-3); }
.sites__c a:hover { color: var(--fg); }
.sites__map { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: .85rem; font-weight: 600; color: var(--accent); white-space: nowrap; padding: .25rem 0; }
.sites__note { color: var(--fg-3); font-size: .85rem; margin-top: 1rem; }
.sites__note a, .sec__head p a, .note a, figcaption a, .bodyc__fine a, .gallery__more a, .cmp-foot a, .three__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.sites__note a:hover, .sec__head p a:hover, .note a:hover, figcaption a:hover, .bodyc__fine a:hover, .gallery__more a:hover, .cmp-foot a:hover, .three__note a:hover { color: var(--fg); }
@media (max-width: 480px) { .sites__map { grid-row: 1; align-self: start; } .sites li b small { display: block; margin-left: 0; } }
@media (max-width: 860px) { .dealer__grid { grid-template-columns: 1fr; } }

/* ---------- Bildegalleri ---------- */
/* Film på modellsidene */
.film { position: relative; margin: 0 0 1.25rem; background: #000; border: 1px solid var(--line); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 16/9); background: #000; }
.film__play { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: var(--ar, 16/9); display: flex; align-items: center; justify-content: center; gap: 1rem; background: linear-gradient(180deg, rgba(10, 12, 16, 0) 40%, rgba(10, 12, 16, .7)); border: 0; color: var(--fg); font: inherit; cursor: pointer; padding: 1rem; text-align: left; }
.film__play:hover .film__ic { background: var(--accent-2); }
.film__play:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.film__ic { width: 4.25rem; height: 4.25rem; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: background .15s, transform .15s; }
.film__play:hover .film__ic { transform: scale(1.05); }
.film__ic svg { width: 1.5rem; height: 1.5rem; fill: currentColor; margin-left: .2rem; }
.film__txt { display: grid; gap: .15rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.film__txt b { font-size: 1.15rem; }
.film__txt small { color: var(--fg-2); font-size: .85rem; }
.film[data-film="playing"] .film__play { display: none; }
.film figcaption { padding: .7rem .9rem; font-size: .88rem; color: var(--fg-2); border-top: 1px solid var(--line); background: var(--bg-2); }
.film figcaption b { color: var(--fg); font-weight: 600; }
.sec .film + .gallery { margin-top: 1.25rem; }
/* Stum løkke: boksen holder video, overlegg og pauseknapp; figcaption ligger under. */
.film__box { position: relative; }
.film__box video { aspect-ratio: var(--ar, 16/9); }
.film__box .film__play { inset: 0; width: auto; aspect-ratio: auto; height: 100%; }
.film--loop[data-film="loop"] .film__play, .film--loop[data-film="playing"] .film__play, .film--loop[data-film="held"] .film__play { display: none; }
.film__pause { position: absolute; right: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.1rem; padding: 0 .8rem; background: rgba(10, 12, 16, .6); color: var(--fg-2); border: 1px solid var(--line-2); font: inherit; font-size: .8rem; cursor: pointer; backdrop-filter: blur(6px); }
.film__pause:hover { color: var(--fg); border-color: var(--fg-3); }
.film__pause:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.film__pause svg { width: .65rem; height: .65rem; fill: currentColor; flex: none; }
.film__pause .ic-play, .film--loop[data-film="held"] .film__pause .ic-pause { display: none; }
.film--loop[data-film="held"] .film__pause .ic-play { display: block; }
@media (prefers-reduced-motion: reduce) { .film__ic { transition: none; } }
@media (max-width: 600px) {
  .film__play { gap: .75rem; padding: .6rem; }
  .film__ic { width: 3rem; height: 3rem; }
  .film__ic svg { width: 1.1rem; height: 1.1rem; }
  .film__txt b { font-size: 1rem; }
  .film__txt small { font-size: .78rem; }
}
@media print { .film { display: none; } }

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.gallery__item { margin: 0; min-width: 0; grid-column: span 2; display: flex; flex-direction: column; }
.gallery__item[data-span="2"] { grid-column: span 4; }
.gallery__item[data-span="3"] { grid-column: 1 / -1; }
.gallery__item img { width: 100%; aspect-ratio: 1 / 1; flex: 1 1 auto; min-height: 0; object-fit: cover; display: block; background: var(--bg-3); border: 1px solid var(--line); }
.gallery__item[data-span="2"] img { aspect-ratio: 2 / 1; }
.gallery__item[data-span="3"] img { aspect-ratio: 3 / 1; }
.gallery__item[data-fit="contain"] img { object-fit: contain; padding: 5%; box-sizing: border-box; background: radial-gradient(60% 70% at 50% 85%, rgba(43, 189, 232, .12), transparent 70%), var(--bg-3); }
.gallery__item[data-fit="studio"] img { object-fit: contain; padding: 4%; box-sizing: border-box; background: radial-gradient(60% 70% at 50% 85%, rgba(43, 189, 232, .1), transparent 70%), var(--bg-3); }
.gallery__item figcaption { font-size: .85rem; color: var(--fg-3); margin-top: .55rem; line-height: 1.45; min-height: 2.5em; }
.gallery__more { margin-top: 1.5rem; font-size: .95rem; }
.gallery__more a { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .gallery__item, .gallery__item[data-span="2"], .gallery__item[data-span="3"] { grid-column: span 2; }
  .gallery__item[data-span="1"] { grid-column: span 1; }
  .gallery__item[data-span="2"] img { aspect-ratio: 16 / 9; }
  .gallery__item[data-span="3"] img { aspect-ratio: 16 / 9; }
  .gallery__item figcaption { font-size: .78rem; min-height: 0; }
}

/* ---------- Fra galleriet (forside) ---------- */
.peek { padding-block: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.peek__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.peek__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin: 0; }
.peek__head a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.peek__scroller { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(1rem, calc((100vw - 1240px) / 2 + 1rem)); scrollbar-width: none; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.peek__scroller::-webkit-scrollbar { display: none; }
.peek__track { display: flex; gap: .75rem; padding-inline: max(1rem, calc((100vw - 1240px) / 2 + 1rem)); width: max-content; }
.peek__item { position: relative; display: block; height: clamp(160px, 22vw, 260px); scroll-snap-align: start; border: 1px solid var(--line); background: var(--bg-3); overflow: hidden; }
.peek__item img { height: 100%; width: auto; display: block; transition: transform .5s ease; }
.peek__item:hover img { transform: scale(1.03); }
.peek__item span { position: absolute; left: .75rem; bottom: .6rem; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(6, 8, 11, .6); padding: .2rem .5rem; backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: reduce) { .peek__item img { transition: none; } .peek__item:hover img { transform: none; } }

/* ---------- Tilbudsflyt ---------- */
.qz-host { grid-template-columns: 1fr !important; }
.qz-host > div:first-child { max-width: 44rem; }
form.qz { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem 3rem; align-items: start; }
.qz__main { min-width: 0; }
.qz__steps { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.qz__steps button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--fg-3); padding: .7rem 0; font: inherit; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: .55rem; }
.qz__steps button i { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-size: .78rem; font-variant-numeric: tabular-nums; }
.qz__steps button[aria-current="step"] { color: var(--fg); border-bottom-color: var(--accent); }
.qz__steps button[aria-current="step"] i { border-color: var(--accent); color: var(--accent); }
.qz__steps button[data-done] { color: var(--fg-2); }
.qz__steps button[data-done] i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qz__steps button:disabled { cursor: default; opacity: .5; }
.qz__steps button:not(:disabled):not([aria-current="step"]):hover { color: var(--fg); }
.qz__panel[hidden] { display: none; }
.qz h3 { font-size: .95rem; font-weight: 600; margin: 1.5rem 0 .6rem; color: var(--fg); }
.qz h3 small { color: var(--fg-3); font-weight: 500; margin-left: .4rem; font-size: .82rem; }
.qz__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.qz__head h3 { margin-top: 0; }
.qz__link { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; padding: .2rem 0; min-height: 24px; }
.qz__models { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .6rem; }
.qz__model { text-align: left; background: var(--bg-2); border: 1px solid var(--line); padding: .6rem .7rem .7rem; cursor: pointer; color: var(--fg); font: inherit; display: block; min-width: 0; }
.qz__model img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; object-position: center bottom; display: block; margin-bottom: .4rem; }
.qz__model b { display: block; font-size: .92rem; }
.qz__model small { display: block; color: var(--fg-3); font-size: .74rem; line-height: 1.3; margin-top: .1rem; }
.qz__model.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.qz__model:hover { border-color: var(--line-2); }
.qz__models.shake { animation: qzshake .4s; }
@keyframes qzshake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.qz__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.qz__chip { position: relative; cursor: pointer; }
.qz__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qz__chip span { display: inline-block; border: 1px solid var(--line-2); padding: .5rem .85rem; font-size: .9rem; color: var(--fg-2); background: var(--bg-2); }
.qz__chip:not(.on):hover span { color: var(--fg); border-color: var(--fg-3); }
.qz__chip.on span { border-color: var(--accent); color: var(--fg); background: rgba(43, 189, 232, .1); }
.qz__chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qz__swatches { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.qz__sw { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c); border: 2px solid rgba(255, 255, 255, .25); cursor: pointer; padding: 0; }
.qz__sw.on { outline: 2px solid var(--accent); outline-offset: 3px; }
.qz__sw:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; } /* synlig også når fargen er valgt */
.qz__swname { font-size: .88rem; color: var(--fg-2); margin-left: .4rem; }
.qz__note { font-size: .85rem; color: var(--fg-3); margin: .4rem 0 0; }
.qz__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.qz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.qz .field { margin-top: 1rem; }
.qz__grid .field { margin-top: 0; }
.qz__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.qz__nav small { color: var(--fg-3); font-size: .82rem; margin-left: auto; }
.qz__nav [hidden] { display: none; }
.qz__sum { position: sticky; top: calc(5rem + env(safe-area-inset-top, 0px)); border: 1px solid var(--line); background: var(--bg-2); padding: 1.1rem 1.25rem 1.25rem; }
.qz__sumhead { font-weight: 700; margin: 0 0 .6rem; font-size: .95rem; }
.qz__mini { display: none; }
.qz__sum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem .8rem; font-size: .88rem; }
.qz__sum dt { color: var(--fg-3); }
.qz__sum dd { margin: 0; color: var(--fg); min-width: 0; overflow-wrap: anywhere; }
.qz__edit { background: none; border: 0; color: var(--accent); font: inherit; font-size: .78rem; cursor: pointer; padding: 0 0 0 .3rem; }
.qz__edit:hover, .qz__link:hover { text-decoration: underline; text-underline-offset: 2px; }
.qz__sent { margin: 1rem 0 .5rem; }
.qz__sent summary { cursor: pointer; color: var(--fg-2); font-size: .9rem; }
.qz__sent pre { white-space: pre-wrap; font: inherit; font-size: .85rem; color: var(--fg-2); margin: .6rem 0 0; line-height: 1.5; }
.qz__alt { color: var(--fg-2); font-size: .9rem; margin: .5rem 0 0; }
.qz__alt a { color: var(--accent); }
@media (max-width: 860px) {
  form.qz { grid-template-columns: 1fr; gap: 1rem; }
  .qz__sum { position: static; order: -1; padding: .7rem .9rem; }
  .qz__sumhead { display: none; }
  .qz__mini { display: block; font-size: .85rem; color: var(--fg-2); margin: 0; }
  .qz__sum dl { display: none; }
  .qz__steps { gap: 1rem; overflow-x: auto; }
  .qz__steps button { white-space: nowrap; font-size: .9rem; }
  .qz__two, .qz__grid { grid-template-columns: 1fr; }
  .qz__models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Handlingsfelt på mobil ---------- */
.cta-bar { display: none; }
@media (max-width: 860px) {
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem max(1rem, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgba(10, 12, 16, .92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(0); transition: transform .25s ease; }
  .cta-bar .btn { padding-inline: .5rem; text-align: center; font-size: .92rem; min-height: 2.9rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
  .cta-bar[data-hide="true"], body[data-menu="open"] .cta-bar { transform: translateY(110%); }
  body[data-cta] { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  body[data-cta] .bar .btn--small { display: none; }
}
@media print { .cta-bar { display: none !important; } }

/* ---------- Påbygg og nyttelast ---------- */
.bodyc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 3rem; align-items: start; }
.bodyc h3 { font-size: .95rem; font-weight: 600; margin: 1.25rem 0 .6rem; }
.bodyc h3:first-child { margin-top: 0; }
.bodyc__note { font-size: .88rem; color: var(--fg-3); margin: .6rem 0 0; line-height: 1.5; }
.bodyc__factory { display: inline-block; margin: 0; padding: .45rem .8rem; border: 1px solid var(--accent); color: var(--fg); font-size: .92rem; font-weight: 600; border-radius: 999px; }
.bodyc__tail { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; font-size: .95rem; cursor: pointer; }
.bodyc__tail input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); margin: 0; min-height: 0; }
.bodyc__tail small { color: var(--fg-3); }
.bodyc__own { margin-top: 1.25rem; }
.bodyc__own label { display: block; font-size: .88rem; color: var(--fg-2); margin-bottom: .4rem; }
.bodyc__ownrow { display: flex; align-items: center; gap: 1rem; }
.bodyc__ownrow input { width: 8rem; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--fg); padding: .6rem .75rem; font: inherit; }
.bodyc__ownrow input:focus { outline: none; border-color: var(--accent); }
.bodyc__svg svg { width: 100%; height: auto; display: block; background: var(--bg-2); border: 1px solid var(--line); }
.bodyc__res { margin-top: 1.25rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: start; }
.bodyc__big { grid-row: 1 / 3; }
.bodyc__big b { display: block; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; font-variation-settings: "wdth" 118; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bodyc__big b.neg { color: #ff8b7a; }
.bodyc__big span { display: block; color: var(--fg-3); font-size: .85rem; margin-top: .3rem; }
.bodyc__bar { display: flex; height: 1.4rem; background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.bodyc__bar i { display: block; height: 100%; position: relative; font-style: normal; transition: width .4s ease; min-width: 0; }
.bodyc__bar i span { position: absolute; left: .4rem; top: 50%; transform: translateY(-50%); font-size: .72rem; white-space: nowrap; color: var(--accent-ink); font-weight: 600; overflow: hidden; max-width: calc(100% - .5rem); text-overflow: ellipsis; }
.bodyc__bar .c1 { background: #5b6675; } .bodyc__bar .c1 span { color: #fff; }
.bodyc__bar .c2 { background: var(--accent-2); }
.bodyc__bar .c3 { background: var(--accent); }
.bodyc__dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-size: .9rem; }
.bodyc__dl dt { color: var(--fg-2); } .bodyc__dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.bodyc__fine { grid-column: 1 / -1; font-size: .8rem; color: var(--fg-3); line-height: 1.5; margin: 0; }
.bodyc__res .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 860px) {
  .bodyc { grid-template-columns: 1fr; gap: 1.5rem; }
  .bodyc__res { grid-template-columns: 1fr; }
  .bodyc__big { grid-row: auto; }
}

/* ---------- Spørsmål og svar: samme utseende på regler- og bruksområdesidene ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 1.05rem; color: var(--fg); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0; padding: 0 0 1.25rem; color: var(--fg-2); line-height: 1.6; max-width: 60ch; }
