/* Utendørseksperten — fasadevask-LP. Brand fra klientens live side (Montserrat, gul #FAD049).
   Vibe: Soft Structuralism (hvit, bold grotesk, myke diffuse skygger). Se DESIGN.md. */
:root {
  --yellow: #FAD049;
  --yellow-hover: #f6c322;
  --yellow-ink: #1a1505;
  --green: #437924;
  --green-deep: #2f5a18;
  --star: #f5a623;
  --ink: #14130f;
  --muted: #585650;
  --line: #e8e6e0;
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --maxw: 1180px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* Myke, hue-tintede skygger (ikke harde svarte) */
  --shadow-sm: 0 1px 2px rgba(20,19,15,.05), 0 4px 14px rgba(20,19,15,.05);
  --shadow-md: 0 10px 30px rgba(20,19,15,.09), 0 2px 8px rgba(20,19,15,.05);
  --shadow-lg: 0 30px 70px rgba(20,19,15,.16), 0 8px 24px rgba(20,19,15,.08);

  /* Sterke custom easing-kurver (Emil) */
  --ease-out: cubic-bezier(.23,1,.32,1);
  --ease-drawer: cubic-bezier(.32,.72,0,1);

  --z-sticky: 100;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
i[class^="ph"], i[class*=" ph"] { line-height: 1; display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1rem 1.4rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; min-height: 54px;
  transition: transform .16s var(--ease-out), background-color .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn i { font-size: 1.2em; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--yellow); color: var(--yellow-ink); box-shadow: var(--shadow-sm); }
.btn-primary .btn-ico { display: inline-flex; align-items: center; justify-content: center; transition: transform .22s var(--ease-out); }
.btn-primary .btn-ico i { font-size: 1.05rem; }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: rgba(20,19,15,.18); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--yellow-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn-primary:hover .btn-ico { transform: translateX(3px); }
  .btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
}

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.4rem);
  max-width: var(--maxw); margin: 0 auto;
}
.site-header .logo img { height: clamp(34px, 8vw, 44px); width: auto; }
.badge-google {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: .5rem .8rem; border-radius: var(--r-pill); white-space: nowrap;
}
.badge-google .ph-star { color: var(--star); font-size: 1rem; }
/* Navbar-lenker + nav-CTA finnes KUN på desktop (vises i ≥1100px-blokken) */
.site-nav, .nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 2.4rem) clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: clamp(2rem, 6vw, 3rem); align-items: center;
}
.eyebrow {
  font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  color: var(--green-deep); text-transform: uppercase;
}
.hero h1 {
  font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2.5rem, 9vw, 3.6rem);
  text-wrap: balance; margin-top: .7rem;
}
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .08em; height: .32em;
  background: var(--yellow); z-index: -1; border-radius: 3px;
}
.hero .sub {
  font-size: clamp(1.05rem, 3.4vw, 1.2rem); color: var(--muted);
  max-width: 36ch; margin-top: 1.1rem; text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ---------- Before/After slider (wow) ---------- */
/* Double-bezel: hero-proof = ytre brett, .ba = indre ramme (konsentriske radier) */
.hero-proof {
  padding: 7px; border-radius: var(--r-lg); background: var(--bg-soft);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.ba {
  position: relative; overflow: hidden; border-radius: calc(var(--r-lg) - 7px);
  aspect-ratio: 4 / 5; touch-action: none; cursor: ew-resize; user-select: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba.ba--hint .ba-before { transition: clip-path .55s var(--ease-out); }
.ba.ba--hint .ba-handle { transition: left .55s var(--ease-out); }
.ba-tag {
  position: absolute; top: .8rem; z-index: 3;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: var(--r-pill); color: #fff;
}
.ba-tag-foer { left: .8rem; background: rgba(20,19,15,.78); backdrop-filter: blur(3px); }
.ba-tag-etter { right: .8rem; background: var(--green); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; z-index: 4;
  background: rgba(255,255,255,.92); transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(20,19,15,.08), 0 2px 10px rgba(20,19,15,.25);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(20,19,15,.06);
}
.ba-knob i { font-size: 1.25rem; }
@media (hover: hover) and (pointer: fine) {
  .ba:hover .ba-knob { transform: translate(-50%, -50%) scale(1.06); transition: transform .2s var(--ease-out); }
}

/* ---------- Trustbar ---------- */
.trustbar {
  background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.8rem;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.4rem);
}
.trustbar span { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.trustbar i { font-size: 1.15rem; color: var(--green); }
.trustbar .ph-star { color: var(--star); }
/* "Oslo og omegn" faller alene på egen linje på mobil — skjul kun der (beholdt på desktop) */
@media (max-width: 859px) { .trustbar .trust-geo { display: none; } }

/* ---------- Sticky mobil-CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: flex; gap: .6rem; padding: .7rem 1rem .9rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px) saturate(1.4);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(20,19,15,.08);
  transition: transform .3s var(--ease-out);
}
.sticky-cta--hidden { transform: translateY(115%); }
.sticky-cta .btn-primary { flex: 1; min-height: 50px; }
.sticky-cta .btn-ghost { flex: 0 0 auto; width: 54px; padding: 0; }
.sticky-cta .btn-ghost i { font-size: 1.4rem; }

/* ---------- Desktop ---------- */
@media (min-width: 860px) {
  .hero { grid-template-columns: 0.92fr 1.08fr; column-gap: clamp(2.5rem, 4vw, 5rem); align-items: center; padding-top: clamp(2.5rem, 5vw, 4rem); }
  .hero .sub { max-width: 42ch; }
  .hero-proof { width: 100%; }
  .ba { aspect-ratio: 3 / 4; }
  .sticky-cta { display: none; }
}

/* FULL-BREDDE desktop (brukervalg): innholdet fyller skjermen kant-til-kant.
   Container blir ~92vw med en mild cap på ultrabrede skjermer. Hero får et stort,
   liggende før/etter-showpiece. Alt gated bak min-width — mobil er helt urørt. */
@media (min-width: 1100px) { :root { --maxw: 92vw; } }
@media (min-width: 2800px) { :root { --maxw: 2560px; } }

/* Root-skala: drar HELE den rem-baserte siden opp på desktop så den ikke
   ser bittelite ut på store skjermer. Alt gated bak min-width:1280px — mobil urørt. */
@media (min-width: 1100px) { html { font-size: 17.5px; } }
@media (min-width: 1280px) { html { font-size: 19px; } }
@media (min-width: 1440px) { html { font-size: 20px; } }
@media (min-width: 1600px) { html { font-size: 21px; } }
@media (min-width: 1920px) { html { font-size: 22.5px; } }
@media (min-width: 2560px) { html { font-size: 24px; } }

@media (min-width: 1400px) {
  .hero h1 { font-size: clamp(3rem, 4.6vw, 4.6rem); }
  .hero .sub { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
  .ba { aspect-ratio: 4 / 3; }   /* liggende showpiece som fyller den brede kolonnen */
}

/* ---------- Seksjon 3: Slik funker det (3 steg) ---------- */
.steps {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.4rem);
}
.steps .section-head { max-width: 18ch; margin: 0 auto clamp(2.2rem, 5vw, 3.2rem); text-align: center; }
@media (min-width: 780px) { .steps .section-head { max-width: 30ch; } }
.steps h2 {
  font-size: clamp(1.7rem, 5vw, 2.45rem); font-weight: 800; letter-spacing: -.025em;
  line-height: 1.1; text-wrap: balance;
}
.steps-grid { list-style: none; display: grid; gap: clamp(2.2rem, 5vw, 2.5rem); position: relative; }
.step { position: relative; text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1.35rem;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255,255,255,.12);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.16rem; font-weight: 700; margin-top: 1.1rem; letter-spacing: -.01em; }
.step p { color: var(--muted); margin: .45rem auto 0; max-width: 30ch; }

@media (min-width: 780px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .steps-grid::before {
    content: ""; position: absolute; top: 29px; left: 16.6%; right: 16.6%; height: 2px;
    background: linear-gradient(90deg, var(--line), var(--green) 18%, var(--green) 82%, var(--line));
    opacity: .4; z-index: 0;
  }
}

/* Scroll-reveal som ALDRI skjuler innhold (gated; visible by default ellers) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step { animation: stepRise linear both; animation-timeline: view(); animation-range: entry 5% entry 42%; }
    @keyframes stepRise { from { opacity: .001; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Seksjon 4: Se forskjellen (før/etter-bevis) ---------- */
.proof {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.4rem);
}
.proof .section-head { text-align: center; max-width: 42ch; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.proof h2 {
  font-size: clamp(1.7rem, 5vw, 2.45rem); font-weight: 800; letter-spacing: -.025em;
  line-height: 1.1; text-wrap: balance;
}
.proof-sub { color: var(--muted); margin-top: .7rem; font-size: clamp(1rem, 3vw, 1.1rem); text-wrap: pretty; }
.proof-note {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem;
  font-size: .85rem; font-weight: 700; color: var(--green-deep);
  background: rgba(67,121,36,.08); border: 1px solid rgba(67,121,36,.2);
  padding: .55rem .95rem; border-radius: var(--r-pill); text-wrap: balance;
}
.proof-note i { font-size: 1.1rem; color: var(--green); }

/* Interaktivt før/etter-galleri: trykk Før/Etter, bla mellom eksempler */
.ba-gallery { max-width: 33.75rem; margin: 0 auto; }
.bag-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  padding: 7px; border-radius: var(--r-lg); background: var(--bg-soft);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.bag-img {
  position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px);
  object-fit: cover; border-radius: calc(var(--r-lg) - 7px);
  opacity: 0; transition: opacity .34s var(--ease-out);
}
.ba-gallery[data-state="foer"] .bag-foer { opacity: 1; }
.ba-gallery[data-state="etter"] .bag-etter { opacity: 1; }
.bag-tag {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: var(--r-pill); color: #fff;
  background: rgba(20,19,15,.78); backdrop-filter: blur(3px);
}
.ba-gallery[data-state="etter"] .bag-tag { background: var(--green); }

/* Desktop-duo (to hus side om side) — skjult på mobil, vist via desktop-blokk nederst */
.proof-duo { display: none; }

.bag-bar { display: flex; justify-content: center; margin-top: 1.1rem; }
.bag-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; gap: 4px; }
.bag-tbtn {
  font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--muted);
  background: transparent; border: none; cursor: pointer; padding: .55rem 1.5rem; border-radius: var(--r-pill);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.bag-tbtn.is-active { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }

.bag-caption { text-align: center; color: var(--muted); font-size: .95rem; max-width: 46ch; margin: 1.1rem auto 0; text-wrap: pretty; min-height: 2.8em; }

.bag-controls { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: .8rem; }
.bag-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); cursor: pointer; color: var(--ink); font-size: 1.2rem;
  transition: transform .16s var(--ease-out), border-color .2s var(--ease-out);
}
.bag-nav:active { transform: scale(.95); }
.bag-dots { display: flex; gap: .5rem; }
.bag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.bag-dot.is-active { background: var(--green); transform: scale(1.3); }

@media (hover: hover) and (pointer: fine) {
  .bag-nav:hover { border-color: var(--ink); transform: translateY(-1px); }
  .bag-tbtn:hover:not(.is-active) { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .bag-img { transition: none; } }

/* ---------- Seksjon 5: Anmeldelser (ekte Google-reviews) ---------- */
.reviews { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.4rem); }
.reviews .section-head { text-align: center; max-width: 40ch; margin: 0 auto clamp(2rem, 5vw, 2.8rem); }
.reviews h2 {
  font-size: clamp(1.7rem, 5vw, 2.45rem); font-weight: 800; letter-spacing: -.025em;
  line-height: 1.1; text-wrap: balance;
}
.reviews-rating { display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem; font-size: .95rem; }
.reviews-rating .rev-stars { display: inline-flex; gap: .06rem; color: var(--star); font-size: 1.05rem; }

.reviews-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); }
.review {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: clamp(1.3rem, 3vw, 1.7rem);
}
.review-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.review-avatar {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--av); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.review-id { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.review-name { font-weight: 700; font-size: .98rem; }
.review-src { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); }
.review-src .g-logo { width: 14px; height: 14px; flex: 0 0 auto; }
.review-stars { display: inline-flex; gap: .05rem; color: var(--star); font-size: .95rem; flex: 0 0 auto; }
.review blockquote { font-size: 1rem; line-height: 1.55; color: var(--ink); text-wrap: pretty; }

@media (min-width: 780px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 2.5vw, 1.5rem); align-items: start; }
}

/* Scroll-reveal (gated, visible by default) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .review { animation: stepRise linear both; animation-timeline: view(); animation-range: entry 2% entry 36%; }
  }
}

/* ---------- Seksjon 6: Fornøydgaranti (drenched brand-grønn) ---------- */
.guarantee {
  background: linear-gradient(160deg, #2f5a18 0%, #1d3a0f 100%);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.1rem, 4vw, 2.4rem);
}
.guarantee-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.guarantee-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: var(--yellow);
  font-size: 2.4rem; margin-bottom: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.guarantee h2 {
  font-size: clamp(1.8rem, 5.5vw, 2.7rem); font-weight: 800; letter-spacing: -.025em;
  line-height: 1.08; text-wrap: balance;
}
.guarantee p {
  margin: 1.1rem auto 0; font-size: clamp(1.05rem, 3vw, 1.2rem);
  color: rgba(255,255,255,.9); max-width: 46ch; text-wrap: pretty;
}
.guarantee .btn-primary { margin-top: 1.9rem; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .guarantee-inner { animation: stepRise linear both; animation-timeline: view(); animation-range: entry 3% entry 40%; }
  }
}

/* ---------- Seksjon 7: Skjema (konverteringspunkt) ---------- */
.lead-section { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.4rem); }
.lead-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

.lead-intro h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.025em;
  line-height: 1.06; text-wrap: balance;
}
.lead-sub { color: var(--muted); margin-top: 1rem; font-size: clamp(1.02rem, 3vw, 1.15rem); max-width: 42ch; text-wrap: pretty; }
.lead-points { list-style: none; margin-top: 1.6rem; display: grid; gap: .85rem; }
.lead-points li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: 1rem; }
.lead-points i { color: var(--green); font-size: 1.3rem; flex: 0 0 auto; }
.lead-call { margin-top: 1.6rem; color: var(--muted); font-size: .98rem; }
.lead-call a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--green-deep); white-space: nowrap; }
.lead-call a i { font-size: 1.1rem; }
.lead-quote { display: none; }
.lead-quote-stars { display: inline-flex; gap: .05rem; color: var(--star); font-size: .95rem; }
.lead-quote blockquote { margin-top: .5rem; font-size: 1.02rem; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.lead-quote figcaption { display: flex; align-items: center; gap: .4rem; margin-top: .75rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.lead-quote figcaption .g-logo { width: 13px; height: 13px; flex: 0 0 auto; }

.lead-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 4vw, 2.2rem);
}
.lead-fields { display: grid; gap: 1rem; }
.lead-fields[hidden] { display: none; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 52px;
  padding: .85rem .95rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #9b988f; }
.field select { cursor: pointer; }
.field input:hover, .field select:hover { border-color: #cfccc3; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(67,121,36,.16); }
.field input:user-invalid, .field select:user-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.field select:required:invalid { color: #9b988f; }
.select-wrap { position: relative; }
.select-wrap i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 1.1rem; }

/* Trykk-pills (erstatter dropdown for tjeneste) */
.choice { display: block; border: none; padding: 0; margin: 0; min-width: 0; }
.choice legend { font-weight: 700; font-size: .9rem; padding: 0; margin-bottom: .65rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; padding: .6rem 1.05rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out), color .18s var(--ease-out);
}
.pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .pill input:not(:checked) + span:hover { border-color: var(--ink); }
}

.lead-submit { width: 100%; margin-top: 1.3rem; min-height: 56px; font-size: 1.05rem; }
.lead-submit[disabled] { opacity: .7; cursor: default; }
.lead-privacy { display: flex; align-items: center; gap: .45rem; justify-content: center; margin-top: 1rem; font-size: .82rem; color: var(--muted); text-align: center; text-wrap: pretty; }
.lead-privacy i { font-size: 1rem; color: var(--green); flex: 0 0 auto; }
.lead-error { margin-top: .8rem; text-align: center; color: #c0392b; font-size: .9rem; font-weight: 600; }

.lead-success { text-align: center; padding: 1.5rem .5rem; }
.lead-success-ico { color: var(--green); font-size: 3.2rem; display: inline-flex; }
.lead-success h3 { font-size: 1.3rem; font-weight: 800; margin-top: .6rem; letter-spacing: -.01em; }
.lead-success p { color: var(--muted); margin: .5rem auto 0; max-width: 34ch; }

@media (min-width: 860px) {
  .lead-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .lead-intro { position: sticky; top: 2rem; }
  .lead-quote {
    display: block; margin-top: 2.2rem; max-width: 38ch;
    padding: 1.3rem 1.4rem; background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  }
}

/* ---------- Seksjon 8: Støtte-vinkler ---------- */
.angles { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.4rem); }
.angles .section-head { text-align: center; max-width: 40ch; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.angles h2 { font-size: clamp(1.7rem, 5vw, 2.45rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.angles-grid { display: grid; gap: clamp(2rem, 5vw, 2.5rem); max-width: 55rem; margin: 0 auto; }
.angle { text-align: center; }
.angle-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(67,121,36,.1); color: var(--green); font-size: 1.9rem; margin-bottom: 1.1rem;
}
.angle h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; }
.angle p { color: var(--muted); margin: .6rem auto 0; max-width: 40ch; text-wrap: pretty; }

@media (min-width: 780px) {
  .angles-grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
  .angle { text-align: left; }
  .angle p { margin-left: 0; }
}

/* ---------- Seksjon 9: Område ---------- */
.area { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vw, 5rem) clamp(1.1rem, 4vw, 2.4rem); text-align: center; }
.area .section-head { max-width: 30ch; margin: 0 auto; }
.area h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.area-sub { color: var(--muted); margin-top: .7rem; }
.area-chips {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  margin: 1.8rem auto 0; max-width: 47.5rem;
}
.area-chips li {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .5rem 1rem; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.area-note { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; text-wrap: pretty; }

/* ---------- Seksjon 10: FAQ ---------- */
.faq { max-width: 48rem; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.4rem); }
.faq .section-head { text-align: center; margin: 0 auto clamp(2rem, 5vw, 2.8rem); }
.faq h2 { font-size: clamp(1.7rem, 5vw, 2.45rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1.05rem; cursor: pointer;
  list-style: none; transition: color .18s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--green); font-size: 1.2rem; flex: 0 0 auto; transition: transform .25s var(--ease-out); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--green-deep); }
.faq-body { padding: 0 1.3rem 1.2rem; }
.faq-body p { color: var(--muted); text-wrap: pretty; max-width: 60ch; }

/* ---------- Seksjon 11: Footer ---------- */
.footer { background: #16280e; color: #fff; }
.footer-cta {
  text-align: center; max-width: 620px; margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.1rem, 4vw, 2.4rem) clamp(2.5rem, 6vw, 3.5rem);
}
.footer-cta h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.footer-cta p { color: rgba(255,255,255,.72); margin-top: .8rem; font-size: clamp(1rem, 3vw, 1.12rem); }
.footer-cta .btn-primary { margin-top: 1.7rem; }

.footer-main {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.1rem, 4vw, 2.4rem);
  border-top: 1px solid rgba(255,255,255,.1);
  display: grid; gap: 2rem;
}
.footer-brand p { color: rgba(255,255,255,.62); margin-top: 1rem; max-width: 38ch; font-size: .95rem; text-wrap: pretty; }
.footer-brand .footer-privacy { font-size: .82rem; color: rgba(255,255,255,.42); margin-top: .7rem; }
.footer-logo { display: inline-flex; background: #fff; padding: .55rem .8rem; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.footer-logo img { height: 38px; width: auto; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: .9rem; }
.footer-col a { display: flex; align-items: center; gap: .45rem; width: fit-content; color: rgba(255,255,255,.82); font-weight: 600; font-size: .96rem; padding: .25rem 0; transition: color .18s var(--ease-out); }
.footer-col a:hover { color: #fff; }
.footer-col a i { color: var(--yellow); font-size: 1.05rem; }

.footer-base {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.4rem clamp(1.1rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 1.8rem);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  font-size: .84rem; color: rgba(255,255,255,.55);
}

@media (min-width: 780px) {
  .footer-main { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}

/* Scroll-reveal for støtte-vinkler (gated, visible by default) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .angle { animation: stepRise linear both; animation-timeline: view(); animation-range: entry 3% entry 40%; }
  }
}

/* ---------- Motion: hero-inngang (stagger), reduced-motion-trygt ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-proof {
    opacity: 0; transform: translateY(16px);
    animation: rise .7s var(--ease-out) forwards;
  }
  .hero-copy > *:nth-child(1) { animation-delay: .04s; }
  .hero-copy > *:nth-child(2) { animation-delay: .10s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .22s; }
  .hero-proof { animation-delay: .18s; transform: translateY(20px) scale(.985); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ============================================================
   FULL-BREDDE desktop-overstyringer (brukervalg: kant-til-kant).
   Plassert sist så de vinner over seksjons-reglene (kildeorden).
   Alt gated bak min-width:1400px — mobil og småskjerm urørt.
   ============================================================ */
@media (min-width: 1400px) {
  /* Anmeldelser på én rad (4 stk) — fyller bredden. minmax(0,1fr) lar kolonnene
     krympe under innholdsbredden så de ikke blåser ut containeren på smale desktop. */
  .reviews-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Før/etter side-om-side: stort liggende bilde til venstre, kontroller til høyre */
  .ba-gallery {
    max-width: min(96rem, 92vw); margin: 0 auto; display: grid; align-items: center;
    grid-template-columns: 1.4fr .6fr; column-gap: clamp(3rem, 5vw, 5rem);
  }
  .ba-gallery .bag-frame { grid-row: 1 / span 3; aspect-ratio: 3 / 2; }
  .ba-gallery .bag-bar { justify-content: flex-start; margin-top: 0; }
  .ba-gallery .bag-caption { text-align: left; margin: 1.3rem 0 0; max-width: 38ch; min-height: 0; font-size: 1.1rem; }
  .ba-gallery .bag-controls { justify-content: flex-start; margin-top: 1.6rem; }

  /* FAQ i to kolonner så den ikke står som en tynn stripe */
  .faq { max-width: 80rem; }
  .faq-list { grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; align-items: start; }

  /* Skjema: intro fyller venstre, skjemakortet holdes brukervennlig smalt til høyre */
  .lead-grid { grid-template-columns: 1fr minmax(0, 30rem); column-gap: clamp(3rem, 6vw, 6rem); }

  /* Få-element-seksjoner: bredere, men samlet (kant-til-kant strukket = tomt/rart) */
  .steps-grid { max-width: 80rem; margin-inline: auto; }
  .angles-grid { max-width: 72rem; }
}

/* ============================================================
   PC-VIEW (desktop ≥1100/1400px). Mobil (<1100px) HELT urørt.
   Navbar, strukket tillitsstripe, ikke-stablede overskrifter,
   to-hus-duo, kort-vinkler, stort skjema, footer-CTA.
   Plassert sist → vinner på kildeorden.
   ============================================================ */
@media (min-width: 1100px) {
  /* ---- Sticky navbar ---- */
  .site-header {
    position: sticky; top: 0; z-index: var(--z-sticky);
    max-width: 100%; margin: 0; gap: 2rem;
    padding: .85rem clamp(1.5rem, 4vw, 4rem);
    background: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--line);
  }
  .site-header .logo img { height: 66px; }
  .site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.2vw, 2.4rem); margin-left: clamp(1.2rem, 3vw, 3rem); margin-right: auto; }
  .site-nav a { font-weight: 600; font-size: 1rem; color: var(--ink); position: relative; padding: .35rem 0; transition: color .18s var(--ease-out); }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--green); transition: right .22s var(--ease-out); }
  .site-nav a:hover { color: var(--green-deep); }
  .site-nav a:hover::after { right: 0; }
  .badge-google { display: none; }            /* erstattet av nav + CTA på desktop */
  .nav-cta { display: inline-flex; min-height: 48px; padding: .75rem 1.5rem; font-size: 1rem; }

  /* Anker-scroll under sticky header */
  h2[id], section[id] { scroll-margin-top: 6rem; }

  /* ---- CTA-knapper ---- */
  .btn { font-size: 1.1rem; padding: 1.1rem 1.9rem; min-height: 58px; }
  .hero-cta .btn { min-height: 62px; padding: 1.2rem 2.1rem; font-size: 1.15rem; }
  .hero-cta { gap: 1rem; margin-top: 2rem; }

  /* ---- Tillitsstripe: strukket helt ut ---- */
  .trustbar {
    max-width: 100%; justify-content: space-between;
    gap: 1rem 2rem; padding: 1.5rem clamp(2rem, 6vw, 6rem);
  }
  .trustbar span { font-size: 1.12rem; font-weight: 600; }
  .trustbar i { font-size: 1.4rem; }

  /* ---- Overskrifter skal IKKE stable seg: gi dem full bredde ---- */
  .steps .section-head,
  .proof .section-head,
  .reviews .section-head,
  .angles .section-head,
  .area .section-head { max-width: none; }
  .footer-cta { max-width: 900px; }

  /* ---- Tre steg ---- */
  .steps h2 { font-size: 2.9rem; }
  .step-num { width: 78px; height: 78px; font-size: 1.8rem; }
  .steps-grid::before { top: 39px; }
  .step h3 { font-size: 1.45rem; margin-top: 1.4rem; }
  .step p { font-size: 1.12rem; max-width: 34ch; }

  /* ---- Anmeldelser ---- */
  .reviews h2 { font-size: 2.9rem; }
  .review { padding: 1.9rem; }
  .review-avatar { width: 50px; height: 50px; font-size: 1.2rem; }
  .review-name { font-size: 1.08rem; }
  .review blockquote { font-size: 1.15rem; line-height: 1.6; }

  /* ---- Vinkler som ryddige kort side om side ---- */
  .angles h2 { font-size: 2.9rem; }
  .angle {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); padding: 2.2rem 2.2rem 2.4rem;
  }
  .angle h3 { font-size: 1.4rem; }
  .angle p { font-size: 1.08rem; }

  /* ---- Garanti + footer-CTA: bred nok til at overskriften står på ÉN linje ---- */
  .guarantee-inner { max-width: none; }
  .guarantee h2 { white-space: nowrap; font-size: 2.6rem; }
  .guarantee p { max-width: 52ch; margin-inline: auto; font-size: 1.2rem; }
  .footer-cta { max-width: none; }
  .footer-cta h2 { white-space: nowrap; font-size: 2.9rem; }
  .footer-cta p { max-width: 50ch; margin-inline: auto; }

  /* ---- Skjema: hovedelementet, stort og tydelig ---- */
  .lead-intro { position: static; }          /* skal IKKE være sticky */
  .lead-intro h2 { font-size: 2.9rem; }
  .lead-sub { font-size: 1.2rem; max-width: 46ch; }
  .lead-points li { font-size: 1.1rem; }
  .lead-points i { font-size: 1.5rem; }
  .lead-form { padding: 2.8rem; }
  .field label, .choice legend { font-size: 1.02rem; }
  .field input { min-height: 62px; font-size: 1.1rem; padding: 1.05rem 1.15rem; }
  .pill span { font-size: 1.04rem; padding: .75rem 1.3rem; }
  .lead-submit { min-height: 66px; font-size: 1.2rem; margin-top: 1.7rem; }

  /* ---- Konsistent overskriftsstørrelse for ALLE seksjoner ---- */
  .proof h2, .faq h2, .area h2 { font-size: 2.9rem; }
  .eyebrow { font-size: .9rem; }

  /* ---- Område: på nivå med resten ---- */
  .area-sub { font-size: 1.15rem; }
  .area-chips { gap: .7rem; }
  .area-chips li { font-size: 1.05rem; padding: .6rem 1.2rem; }
  .area-note { font-size: 1.02rem; }

  /* ---- FAQ: bredere og mer lesbar (ikke en tynn stripe) ---- */
  .faq { max-width: min(76rem, 92vw); }
  .faq-list { grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; align-items: start; }
  .faq-item summary { font-size: 1.15rem; padding: 1.3rem 1.5rem; }
  .faq-body { padding: 0 1.5rem 1.4rem; }
  .faq-body p { font-size: 1.08rem; }

  /* ---- Footer: ikke nedskalert på stor skjerm ---- */
  .footer-logo img { height: 46px; }
  .footer-brand p { font-size: 1.02rem; }
  .footer-col h4 { font-size: .9rem; }
  .footer-col a { font-size: 1.04rem; }
  .footer-base { font-size: .92rem; }

  /* ---- Ikon-elementer i balanse med større type ---- */
  .guarantee-seal { width: 88px; height: 88px; font-size: 2.8rem; }
  .angle-ico { width: 72px; height: 72px; font-size: 2.1rem; }
}

@media (min-width: 1400px) {
  /* Overskrifter ett hakk større — alle seksjoner likt */
  .steps h2, .reviews h2, .angles h2, .footer-cta h2,
  .proof h2, .faq h2, .area h2 { font-size: 3.2rem; }
  .guarantee h2 { font-size: 3rem; }

  /* Tre steg fyller bredden */
  .steps-grid { max-width: 88rem; gap: clamp(2.5rem, 5vw, 5rem); }

  /* Anmeldelser: 4 på rad */
  .reviews-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }

  /* ---- "Se forskjellen selv": to ULIKE hus side om side, hver med egen toggle ---- */
  .proof .ba-gallery { display: none; }       /* mobil-galleriet skjult på desktop */
  .proof-duo {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem); max-width: min(96rem, 94vw); margin: 0 auto;
  }
  .duo-card { display: flex; flex-direction: column; }
  .duo-frame {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    padding: 7px; border-radius: var(--r-lg); background: var(--bg-soft);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  }
  .duo-img {
    position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px);
    object-fit: cover; border-radius: calc(var(--r-lg) - 7px);
    opacity: 0; transition: opacity .34s var(--ease-out);
  }
  .duo-card[data-state="foer"] .duo-foer { opacity: 1; }
  .duo-card[data-state="etter"] .duo-etter { opacity: 1; }
  .duo-tag {
    position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: .32rem .7rem; border-radius: var(--r-pill); color: #fff;
    background: rgba(20,19,15,.78); backdrop-filter: blur(3px);
  }
  .duo-card[data-state="etter"] .duo-tag { background: var(--green); }
  .duo-toggle {
    display: inline-flex; align-self: center; margin-top: 1.3rem;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill);
    padding: 4px; gap: 4px; box-shadow: var(--shadow-sm);
  }
  .duo-tbtn {
    font-family: inherit; font-weight: 700; font-size: 1rem; color: var(--muted);
    background: transparent; border: none; cursor: pointer; padding: .6rem 1.8rem; border-radius: var(--r-pill);
    transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
  }
  .duo-tbtn.is-active { background: var(--green); color: #fff; }
  @media (hover: hover) and (pointer: fine) {
    .duo-tbtn:hover:not(.is-active) { color: var(--ink); }
  }

  /* ---- Skjema: bredt kort, store felter ---- */
  .lead-grid { grid-template-columns: 1fr minmax(0, 46rem); column-gap: clamp(3rem, 6vw, 6rem); }
  .lead-intro h2 { font-size: 3.2rem; }
  .lead-form { padding: 3.2rem; }
  .field input { min-height: 66px; }
  .lead-submit { min-height: 72px; font-size: 1.28rem; }
}
