/* Lakkstua – skade og lakk (eksempel laget av Klartil) */
:root {
  --ink: #16181b;
  --ink-2: #2a2d31;
  --text: #24272b;
  --muted: #5c6168;
  --line: #e3e0da;
  --bg: #faf9f7;
  --tint: #f1eee9;
  --red: #d7263d;
  --red-dark: #b01c30;
  --red-soft: #fbe5e8;
  --ok: #1f7a4d;
  --ok-soft: #e2f3ea;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(22, 24, 27, .12);
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.opt { font-weight: 400; color: var(--muted); font-size: .88em; }
.proto-badge { background: var(--red); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--red-dark); text-decoration: underline; cursor: pointer; }

/* Topp */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--red); display: grid; place-items: center; }
.logo__mark svg { width: 20px; height: 20px; fill: #fff; }
.logo__text { font: 700 1.3rem/1 var(--head); letter-spacing: -.02em; display: flex; flex-direction: column; }
.logo__text small { font: 600 .66rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: rgba(255,255,255,.65); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 11px; border-radius: 8px; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: var(--tint); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.dot.is-open { background: var(--ok); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero__facts { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero__facts strong { display: block; font: 700 1.2rem/1.2 var(--head); color: var(--ink); }
.hero__facts span { font-size: .9rem; color: var(--muted); }
.hero__media { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; }
.hero__tag span { background: rgba(22, 24, 27, .82); color: #fff; font-size: .9rem; font-weight: 600; padding: 9px 14px; border-radius: 10px; }

/* Seksjoner */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d8dadd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.head { max-width: 640px; margin-bottom: 40px; }
.head p:last-child { color: var(--muted); font-size: 1.06rem; }
.head--light p:last-child { color: #b9bdc2; }
.eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section--dark .eyebrow { color: #ff8a98; }

/* Tjenester */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.svc__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red-dark); display: grid; place-items: center; margin-bottom: 16px; }
.svc__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svc p { color: var(--muted); font-size: .96rem; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.svc__price { font-weight: 700; color: var(--ink); }
.svc__price small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.svc .btn { min-height: 42px; padding: 8px 16px; font-size: .94rem; }

/* Steg */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--ink-2); border-radius: var(--radius); padding: 24px; }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.05rem var(--head); margin-bottom: 16px; }
.steps p { color: #b9bdc2; font-size: .96rem; margin: 0; }

/* Skjema */
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.quote__intro { position: sticky; top: 100px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b01c30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 6px 24px rgba(22,24,27,.05); }
.qform { display: grid; gap: 16px; }
.qform label, .field-label, legend { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.qform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]), select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #cfcbc4; border-radius: 10px; padding: 11px 13px; min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(215, 38, 61, .22); }
#qReg { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; height: 100%; border: 1.5px solid #cfcbc4; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.seg strong { display: block; color: var(--ink); }
.seg small { color: var(--muted); font-weight: 400; }
.seg input:checked + span { border-color: var(--red); background: var(--red-soft); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.yn legend { margin-bottom: 10px; }
.yn label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-weight: 500; min-height: 32px; }
.yn input { width: 18px; height: 18px; accent-color: var(--red); }
.photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin: 8px 0; }
.photos__grid:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--tint); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(22,24,27,.8); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.photos__add { position: relative; margin-top: 8px; }
.photos__add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photos__add span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border: 2px dashed #c9c4bc; border-radius: 12px; color: var(--ink-2); font-weight: 600; }
.photos__add:focus-within span { border-color: var(--red); background: var(--red-soft); }
.photos__add svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.days, .times { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 8px; scrollbar-width: thin; }
.times { flex-wrap: wrap; overflow: visible; }
.chip { flex: 0 0 auto; border: 1.5px solid #cfcbc4; background: #fff; border-radius: 12px; padding: 9px 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 44px; text-align: center; }
.chip small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.chip[aria-checked="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.chip[aria-checked="true"] small { color: rgba(255,255,255,.85); }
.form-error { background: var(--red-soft); color: var(--red-dark); font-weight: 600; padding: 10px 14px; border-radius: 10px; margin: 0; }
.qdone h3 { font-size: 1.5rem; }
.offer { margin: 22px 0 18px; }
.offer__label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.offer__card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.offer__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .92rem; }
.offer__top span { color: var(--muted); }
.offer__what { margin: 10px 0 6px; }
.offer__sum { font: 700 1.8rem/1.2 var(--head); color: var(--ink); }
.offer__sum small { font: 500 .85rem var(--body); color: var(--muted); }
.offer__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.offer__msg { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }

/* Før og etter */
.ba { position: relative; max-width: 860px; margin: 0 auto 12px; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); --pos: 50%; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: saturate(.25) contrast(.8) brightness(.92) blur(.6px); }
.ba__tag { position: absolute; top: 14px; background: rgba(22,24,27,.8); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; pointer-events: none; }
.ba__tag--l { left: 14px; } .ba__tag--r { right: 14px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.ba__handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within { outline: 3px solid var(--red); outline-offset: 4px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 14px; font-size: .92rem; }
.gallery figcaption strong { display: block; color: var(--ink); }
.gallery figcaption span { color: var(--muted); font-size: .85rem; }

/* Forsikring */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: var(--shadow); }
.split p { color: var(--muted); font-size: 1.06rem; }

/* Min side */
.mine { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--ink); color: #d8dadd; border-radius: var(--radius-lg); padding: 48px; }
.mine h2 { color: #fff; }
.mine .eyebrow { color: #ff8a98; }
.mine p { color: #b9bdc2; }
.mine .btn--dark { background: #fff; color: var(--ink); }
.mine__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mine__list li { background: var(--ink-2); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 2px; }
.mine__list strong { color: #fff; }
.mine__list small { color: #9da2a8; }
.pill { justify-self: start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; margin-bottom: 4px; }
.pill--ok { background: #1f7a4d; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact > div > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact__list span { color: var(--muted); font-size: .9rem; padding-top: 2px; }
.contact__list a { font-weight: 600; }
.hours table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--red-dark); }

/* Bunn */
.footer { background: var(--ink); color: #b9bdc2; padding: 48px 0 32px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__links a { color: #fff; text-decoration: none; font-weight: 500; }
.footer__links a:hover { text-decoration: underline; }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.footer__bottom a { color: #fff; }
.credits summary { cursor: pointer; font-size: .88rem; }
.credits p { max-width: 520px; margin: 8px 0 0; }

/* Mobil og nettbrett */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .header__cta { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero__in, .quote, .split, .mine, .contact { grid-template-columns: 1fr; gap: 32px; }
  .quote__intro { position: static; }
  .hero__media { aspect-ratio: 16 / 11; }
  .split img { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header__in { gap: 10px; min-height: 64px; }
  .header__cta { padding: 9px 14px; min-height: 42px; font-size: .92rem; }
  .logo__text { font-size: 1.12rem; }
  .logo__text small { display: none; }
  .hero { padding: 32px 0 48px; }
  .hero__btns .btn { width: 100%; }
  .hero__facts { gap: 10px; }
  .hero__facts strong { font-size: 1.02rem; }
  .section { padding: 60px 0; }
  .services, .steps, .gallery { grid-template-columns: 1fr; }
  .grid-2, .seg { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .mine { padding: 28px 20px; }
  .ba { aspect-ratio: 4 / 3.4; }
  .footer__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.nw { white-space: nowrap; }
.split p.eyebrow, .mine p.eyebrow { font-size: .78rem; }
.contact p.eyebrow, .split p.eyebrow { color: var(--red); }
.quote > *, .qform > *, .slots { min-width: 0; }
