/* =========================================================
   Flytting – prototype fra Klartil
   Skoggrønn + varm gul. Bytt --green og --accent for å gi siden firmaets egne farger.
   ========================================================= */
:root {
  --bg: #ffffff;
  --cream: #f7f3ea;
  --ink: #15201c;
  --ink-2: #3c4743;
  --muted: #6b7570;
  --line: #e5e0d4;
  --green: #123a2f;
  --green-2: #1b4a3d;
  --green-line: rgba(255,255,255,.12);
  --accent: #f4b03e;
  --accent-2: #ffc35c;
  --accent-ink: #1d1404;
  --ok: #1f7a3d;
  --danger: #b3261e;
  --radius: 16px;
  --display: "Jost", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 16px 40px rgba(18,58,47,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.proto-badge { background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 700; text-align: center; padding: 6px 16px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; padding: 11px 20px; font: 700 .95rem/1.2 var(--body); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-2); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--lg { padding: 15px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Meny */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.4rem/1 var(--display); letter-spacing: -.01em; }
.logo__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--green); display: grid; place-items: center; flex: none; }
.logo__mark svg { width: 22px; height: 22px; fill: var(--accent); }
.logo__mark svg circle { fill: #fff; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); }
.nav a:hover { background: var(--cream); color: var(--ink); }
.header__phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.header__phone svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Forside */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow-x: clip; position: relative; z-index: 2; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.4rem); color: var(--green); }
.hero h1 span { display: block; color: var(--ink); }
.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 50ch; margin-top: 20px; }
.quick { display: flex; align-items: end; gap: 10px; margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); flex-wrap: wrap; max-width: 620px; }
.quick__field { display: grid; gap: 2px; flex: 1 1 200px; min-width: 0; padding: 4px 8px; }
.quick__field > label { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.quick__field input { border: 0; outline: 0; font: 600 1.02rem var(--body); padding: 4px 0 !important; color: var(--ink); width: 100%; padding: 0; background: transparent; }
.quick__field input::placeholder { color: #c4c7c3; }
.quick__arrow { align-self: center; color: var(--muted); margin-top: 14px; }
.quick__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; font-weight: 600; color: var(--ink-2); }
.hero__trust li { display: flex; gap: 8px; align-items: center; }
.hero__trust svg { width: 18px; height: 18px; fill: none; stroke: var(--green-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero__media { position: relative; }
.hero__media > img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 60% center; border-radius: 28px; box-shadow: 0 30px 60px rgba(18,58,47,.25); }
.hero__badge { position: absolute; left: -24px; top: 32px; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.hero__badge strong { font: 700 2rem/1 var(--display); color: var(--green); }
.hero__badge span { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.hero__count { position: absolute; right: -16px; bottom: 28px; background: var(--green); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); }
.hero__count strong { display: block; font: 700 1.8rem/1 var(--display); color: var(--accent); }
.hero__count span { font-size: .8rem; color: rgba(255,255,255,.8); }

/* Seksjoner */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: #fff; }
.section--green .eyebrow { color: var(--accent); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.section__head p:not(.eyebrow), .section__lead { color: var(--muted); margin-top: 14px; font-size: 1.08rem; max-width: 56ch; }
.section--green .section__lead { color: rgba(255,255,255,.75); }

/* Tjenester */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { display: grid; gap: 10px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6d0c1; }
.service__icon { width: 48px; height: 48px; border-radius: 13px; background: var(--cream); display: grid; place-items: center; }
.service__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font: 600 1.25rem/1.2 var(--display); margin-top: 4px; }
.service p { color: var(--muted); font-size: .94rem; }
.service__price { font-weight: 700; font-size: .92rem; color: var(--green-2); margin-top: 4px; }

/* Kalkulator */
.calc-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.calc-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.calc-points li { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--green-line); border-radius: 14px; background: rgba(255,255,255,.04); }
.calc-points strong { font: 600 1.1rem var(--display); color: var(--accent); }
.calc-points span { font-size: .9rem; color: rgba(255,255,255,.75); }
.card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.calc { position: relative; }
.calc__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 22px; }
.calc__steps span { height: 5px; border-radius: 999px; background: var(--line); }
.calc__steps span.is-on { background: var(--accent); }
.calc__step h3 { font: 600 1.5rem var(--display); margin-bottom: 16px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 22px; }
.opts--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 4px; }
.opt { display: grid; gap: 6px; justify-items: start; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.opt:hover { border-color: var(--ink); }
.opt[aria-checked="true"] { border-color: var(--green); background: #eef5f1; box-shadow: 0 0 0 2px var(--green); }
.opt svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.opt strong { font-size: .95rem; }
.opt small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.range-field { display: grid; gap: 10px; }
.range-field span { display: flex; justify-content: space-between; font-weight: 600; }
.range-field strong { font: 600 1.3rem var(--display); color: var(--green); }
input[type="range"] { width: 100%; accent-color: var(--green); height: 28px; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.addr { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.addr legend { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-2); padding: 0 6px; }
.bk-label { font-weight: 700; font-size: .9rem; margin: 0 0 8px; }
.extras { display: grid; gap: 10px; }
.extra { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.extra:has(input:checked) { border-color: var(--green); background: #eef5f1; }
.extra input { width: 20px; height: 20px; accent-color: var(--green); }
.extra strong { display: block; font-size: .95rem; }
.extra small { color: var(--muted); font-size: .84rem; }
.extra__price { font-weight: 700; font-size: .9rem; white-space: nowrap; color: var(--green-2); }
.calc__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc__live { font-size: .88rem; color: var(--muted); text-align: center; }
.calc__live strong { color: var(--ink); font-size: 1rem; }
.estimate { background: var(--green); color: #fff; border-radius: 16px; padding: 20px 22px; margin-bottom: 20px; }
.estimate__price { font: 700 clamp(2rem, 5vw, 2.6rem)/1.1 var(--display); color: var(--accent); }
.estimate__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.estimate ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.85); border-top: 1px solid var(--green-line); padding-top: 12px; }
.estimate li { display: flex; justify-content: space-between; gap: 12px; }
.estimate__note { margin-top: 10px; font-size: .8rem; color: rgba(255,255,255,.6); }
.demo-note { margin-top: 14px; background: #fff4dc; color: #6b4a00; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 10px; }
.sent { text-align: center; padding: 10px 0; }
.sent h3 { font: 600 1.4rem var(--display); margin: 12px 0 6px; }
.sent p { color: var(--muted); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto; }
.done-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Skjema */
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field span { font-weight: 600; font-size: .86rem; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(244,176,62,.4); }
.field.has-error input { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.form-msg { margin-top: 12px; font-weight: 600; color: var(--ok); }

/* Steg */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; background: var(--cream); border-radius: var(--radius); padding: 26px; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--accent); font: 700 1.2rem/1 var(--display); margin-bottom: 16px; }
.steps h3 { font: 600 1.15rem/1.2 var(--display); margin-bottom: 8px; }
.steps p { font-size: .93rem; color: var(--muted); }

/* Bildebånd */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--green); }
.photo-band figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-band figure:hover img { transform: scale(1.04); }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font: 600 1.15rem var(--display); background: linear-gradient(0deg, rgba(10,28,22,.85), transparent); }

/* Flyttekasser */
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.boxes__img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.boxes__img img { width: 100%; height: 100%; object-fit: cover; }
.box-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.box-prices div { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.box-prices strong { display: block; font: 700 1.4rem var(--display); color: var(--green); }
.box-prices span { font-size: .84rem; color: var(--muted); }

/* Omtaler */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--cream); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.review__stars { color: #e3a008; letter-spacing: 2px; }
.review footer { font-weight: 700; font-size: .9rem; }
.review footer small { font-weight: 400; color: var(--muted); }
.note-demo { margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* Om oss */
.about { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.about h2 { margin-bottom: 14px; }
.about > div > p { color: var(--ink-2); font-size: 1.06rem; max-width: 58ch; }
.badges { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.badges li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .92rem; }
.badges svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--green-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-2); }
.hours-card { background: #fff; border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.hours-card h3 { font: 600 1.25rem var(--display); margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 700; }
.hours .closed { color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Bunntekst */
.footer { background: #0c2a22; color: #fff; padding: 52px 0 110px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer .muted { color: rgba(255,255,255,.6); margin-top: 12px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: rgba(255,255,255,.8); font-weight: 600; }
.footer__links a:hover { color: #fff; }
.footer__made { grid-column: 1 / -1; border-top: 1px solid var(--green-line); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: start; }
.footer__made .muted { margin: 0; }
.footer__made a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.footer__made a:hover { color: var(--accent); }
.credits { font-size: .78rem; color: rgba(255,255,255,.55); max-width: 640px; }
.credits summary { cursor: pointer; }
.credits ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.credits a { color: rgba(255,255,255,.75); font-weight: 400; }

.mobile-bar { display: none; }

/* Nettbrett og mobil */
@media (max-width: 1000px) {
  .hero__in, .calc-wrap, .boxes, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 560px; }
  .hero__media > img { aspect-ratio: 16 / 11; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .hours-card { position: static; }
}
@media (max-width: 860px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .menu-btn { display: block; margin-left: auto; }
  .header__cta, .hide-sm { display: none !important; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(18,58,47,.96); backdrop-filter: blur(12px); padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { padding: 13px 10px; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band figure:last-child { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .section { padding: 64px 0; }
  .hero__in { padding-top: 40px; padding-bottom: 56px; }
  .quick { padding: 10px; }
  .quick .btn { width: 100%; }
  .quick__arrow { display: none; }
  .hero__badge { left: 10px; top: 12px; }
  .hero__count { right: 10px; bottom: 12px; }
  .services, .steps, .addr-grid, .field-row, .box-prices, .badges { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opts--3 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .calc__live { display: none; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band figure:nth-child(2) { display: none; }
  .footer__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Forsideskjema: stedsnavn og rute */
.quick__place { font-size: .8rem; color: var(--muted); min-height: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick__place.is-found { color: var(--green-2); font-weight: 700; }
.quick__place.is-miss { color: var(--danger); }
.quick__route { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 2px 8px 2px; font-size: .9rem; font-weight: 600; color: var(--green); }
.quick__route svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--green-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.place { font-size: .8rem; font-weight: 700; color: var(--green-2); min-height: 1.1em; }
.place.is-miss { color: var(--danger); font-weight: 500; }

/* Velg måte å regne på */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--cream); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.mode button { border: 0; background: transparent; border-radius: 9px; padding: 10px 8px; font: 700 .9rem var(--body); color: var(--ink-2); cursor: pointer; }
.mode button[aria-selected="true"] { background: #fff; color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.mode__tip { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }

/* Liste over ting */
.inventory { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 4px; margin-bottom: 4px; }
.inv-group { border: 1px solid var(--line); border-radius: 12px; }
.inv-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; font-weight: 700; }
.inv-group summary::-webkit-details-marker { display: none; }
.inv-group summary::after { content: "+"; color: var(--green-2); font-size: 1.3rem; line-height: 1; margin-left: 10px; }
.inv-group[open] summary::after { content: "–"; }
.inv-group summary small { margin-left: auto; font-weight: 600; color: var(--green-2); }
.inv-items { display: grid; gap: 2px; padding: 0 8px 8px; }
.inv-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 8px; }
.inv-item:hover { background: var(--cream); }
.inv-item span small { display: block; color: var(--muted); font-size: .76rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 32px; border: 0; background: #fff; font: 700 1.1rem var(--body); color: var(--green); cursor: pointer; }
.stepper button:hover { background: var(--cream); }
.stepper button:disabled { color: #c9ccc8; cursor: default; background: #fff; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.inv-item.has-count output { color: var(--green); }

/* Bil som trengs */
.vehicle { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.vehicle__icon { grid-row: span 2; width: 74px; height: 40px; }
.vehicle__icon svg { width: 100%; height: 100%; }
.vehicle__name { font-weight: 700; }
.vehicle__name small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.vehicle__bar { height: 8px; border-radius: 999px; background: #e3ddcf; overflow: hidden; }
.vehicle__bar span { display: block; height: 100%; border-radius: 999px; background: var(--green-2); transition: width .3s; }
.vehicle__bar span.is-tight { background: #c9821c; }
.vehicle__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }

/* Adressefelt med forslag */
.addr-ac { position: relative; }
.addr-ac.field > label span { font-weight: 600; font-size: .86rem; }
.addr-ac input.is-picked { color: var(--green); }
.ac-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.16); max-height: 300px; overflow-y: auto; min-width: 260px; }
.ac-list li { padding: 9px 10px; border-radius: 9px; cursor: pointer; display: grid; line-height: 1.3; }
.ac-list li strong { font-size: .95rem; color: var(--ink); }
.ac-list li small { color: var(--muted); font-size: .8rem; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--cream); }
.ac-list .ac-empty { color: var(--muted); font-size: .88rem; cursor: default; }
.ac-list .ac-empty:hover { background: none; }
.addr .addr-ac .ac-list { min-width: 0; }
