/* Hvalbye Mur AS – stilark
   Farger: sølv/grå/hvit med grønn profilfarge (som firmabilen) */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green-900: #173f0b;
  --green-700: #1f5410;
  --green: #245e12;
  --green-500: #2f7a19;
  --green-100: #e6efe2;
  --green-50: #f2f7f0;

  --ink: #1c2024;
  --ink-2: #2a3036;
  --steel: #56606a;
  --steel-2: #7b858e;
  --silver-50: #f7f8f9;
  --silver-100: #eff1f3;
  --silver-200: #e2e5e9;
  --silver-300: #c9ced4;
  --white: #fff;

  --silver-gradient: linear-gradient(180deg, #f8f9fa 0%, #eceef1 100%);
  --metal-gradient: linear-gradient(135deg, #fdfdfd 0%, #e6e9ec 45%, #f6f7f8 60%, #dde1e5 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow", "Inter", system-ui, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .06), 0 1px 3px rgba(20, 24, 28, .05);
  --shadow: 0 10px 30px -12px rgba(20, 24, 28, .18), 0 2px 6px rgba(20, 24, 28, .05);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.005em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--white); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

/* ---------- Ikoner ---------- */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .02em;
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 6px 16px -6px rgba(36, 94, 18, .55); }
.btn--primary:hover { background: var(--green-500); color: var(--white); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--silver-100); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); color: var(--white); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--green); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Toppstripe og header ---------- */
.topbar { background: var(--ink); color: #c3c9cf; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar ul { list-style: none; padding: 0; display: flex; gap: 22px; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: #8fb87e; }
.topbar a { color: #e9ecef; text-decoration: none; }
.topbar a:hover { color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--silver-200);
}
.site-header .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 200px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { list-style: none; padding: 0; display: flex; gap: 28px; }
.nav ul a {
  position: relative; display: block; padding: 6px 0;
  font-size: 15.5px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--green); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--green); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100vh - var(--header-h) - 40px), 760px);
  min-height: min(calc(100svh - var(--header-h) - 40px), 760px);
  display: flex; align-items: center;
  color: var(--white); background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 19, 22, .88) 0%, rgba(16, 19, 22, .66) 45%, rgba(16, 19, 22, .25) 100%),
    linear-gradient(0deg, rgba(16, 19, 22, .45) 0%, rgba(16, 19, 22, 0) 35%);
}
.hero .container { padding-top: 72px; padding-bottom: 96px; }
.hero__content { max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.hero .eyebrow { color: #a9d394; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin: 18px 0 20px; }
.hero h1 span { color: #b9dca8; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #dde2e6; max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; font-size: 15px; color: #e6eaed; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .icon { color: #9fd187; width: 19px; height: 19px; stroke-width: 2.4; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 28px; }
.hero-dots .container { display: flex; gap: 8px; }
.hero-dots button {
  width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255, 255, 255, .35); transition: background-color .3s, width .3s;
}
.hero-dots button[aria-current="true"] { background: var(--white); width: 52px; }

/* Sidetopp for undersider */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: 88px 0 80px;
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 19, 22, .9) 0%, rgba(16, 19, 22, .7) 55%, rgba(16, 19, 22, .35) 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 14px 0 16px; }
.page-hero p { max-width: 640px; color: #dbe0e4; font-size: 1.12rem; }
.page-hero .eyebrow { color: #a9d394; }
.breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #b7bec5; margin-bottom: 22px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #7f8890; }
.breadcrumb a { color: #e3e7ea; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Seksjoner ---------- */
.section { padding: 104px 0; }
.section--silver { background: var(--silver-gradient); border-top: 1px solid var(--silver-200); border-bottom: 1px solid var(--silver-200); }
.section--dark { background: var(--ink); color: #c9cfd5; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); margin: 14px 0 16px; }
.section-head p { font-size: 1.1rem; color: var(--steel); }
.section--dark .section-head p { color: #aab2ba; }
.section--dark .eyebrow { color: #9fd187; }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-head--split > div { max-width: 680px; }

/* Godkjenninger */
.trust { background: var(--metal-gradient); border-bottom: 1px solid var(--silver-200); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.trust__item { display: flex; align-items: center; gap: 16px; }
.trust__item img { width: 58px; height: 52px; object-fit: contain; flex: none; }
.trust__item .trust__badge {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--green); border: 1px solid var(--silver-300);
}
.trust__item .trust__badge .icon { width: 24px; height: 24px; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 17px; line-height: 1.2; }
.trust__item span { font-size: 14px; color: var(--steel); line-height: 1.35; display: block; }

/* Tjenestekort */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--silver-200); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--silver-300); color: inherit; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--silver-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 23px; }
.card__body p { color: var(--steel); font-size: 16px; flex: 1; }
.card__body .link-arrow { margin-top: 8px; }
.card--cta {
  background: linear-gradient(150deg, var(--green-700) 0%, var(--green) 55%, var(--green-500) 100%);
  border: 0; color: var(--white); justify-content: center;
}
.card--cta .card__body { justify-content: center; gap: 16px; padding: 36px; }
.card--cta h3 { color: var(--white); font-size: 27px; }
.card--cta p { color: #dceed3; flex: 0; }
.card--cta:hover { color: var(--white); }

/* Delt seksjon (tekst + bilde) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__badge {
  position: absolute; left: -22px; bottom: -26px;
  background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.split__badge strong { font-family: var(--font-head); font-size: 30px; line-height: 1; color: var(--green); }
.split__badge span { font-size: 14px; color: var(--steel); line-height: 1.3; }
.split__text h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 14px 0 20px; }
.split__text p + p { margin-top: 16px; }
.split__text p { color: var(--steel); }
.split__text .btn, .split__text .link-arrow { margin-top: 30px; }

.checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--green); margin-top: 4px; stroke-width: 2.4; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; border: 1px solid var(--silver-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.facts div { padding: 16px 20px; border-bottom: 1px solid var(--silver-200); }
.facts div:nth-child(odd) { border-right: 1px solid var(--silver-200); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Fordeler (mørk seksjon) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--ink); padding: 36px 30px; }
.feature__icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, rgba(159, 209, 135, .18), rgba(159, 209, 135, .06));
  border: 1px solid rgba(159, 209, 135, .28); color: #a9d394;
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { font-size: 15.5px; color: #a9b1b9; }

/* Prosess */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--silver-300) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--white); border: 2px solid var(--green); color: var(--green);
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  box-shadow: 0 0 0 8px var(--silver-50);
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 15.5px; }

/* Galleri */
.gallery { display: grid; grid-template-columns: 585fr 475fr; gap: 20px; }
.gallery__col { display: grid; gap: 20px; align-content: start; }
.gallery__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: var(--silver-100); cursor: zoom-in; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .r-small { aspect-ratio: 4 / 3; }
.gallery .r-mid { aspect-ratio: 585 / 430; }
.gallery .r-top { aspect-ratio: 475 / 350; }
.gallery .r-tall { aspect-ratio: 3 / 4; }
.gallery .r-wide { aspect-ratio: 16 / 9; grid-column: 1 / -1; }

.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(10, 12, 14, .94); }
.lightbox::backdrop { background: rgba(10, 12, 14, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 0; border-radius: 50%; width: 48px; height: 48px; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lightbox .icon { width: 24px; height: 24px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Områder */
.areas { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--white); border: 1px solid var(--silver-300); border-radius: 999px;
  font-weight: 500; font-size: 15.5px; box-shadow: var(--shadow-sm);
}
.chips .icon { width: 16px; height: 16px; color: var(--green); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--silver-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--green); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--steel); }

/* CTA-bånd */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--green-900) 0%, var(--green) 50%, var(--green-500) 100%);
  color: var(--white); padding: 72px 0;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 22px);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.cta-band p { color: #d9ecd0; margin-top: 8px; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 14px 0 16px; }
.contact__info > p { color: var(--steel); }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
a.contact-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-card__icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green); flex: none; }
.contact-card small { display: block; color: var(--steel-2); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-weight: 600; font-size: 17px; }

.form-card { background: var(--white); border: 1px solid var(--silver-200); border-radius: 14px; box-shadow: var(--shadow); padding: 40px; }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--steel); font-size: 15.5px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label span { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--silver-50); border: 1px solid var(--silver-300); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245e12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background-color: var(--white); box-shadow: 0 0 0 4px rgba(36, 94, 18, .14);
}
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--steel); display: flex; gap: 8px; align-items: flex-start; }
.form-note .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--green); }
.form-status { font-size: 15px; color: var(--green); font-weight: 500; }
.form-status:empty { display: none; }

/* ---------- Tjenester (detaljside) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--silver-200); }
.subnav ul { list-style: none; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; white-space: nowrap; font-weight: 500; font-size: 15px; color: var(--steel); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--green); border-bottom-color: var(--green); }

.service-detail { padding: 96px 0; border-bottom: 1px solid var(--silver-200); scroll-margin-top: calc(var(--header-h) + 60px); }
.service-detail:nth-of-type(even) { background: var(--silver-gradient); }
.service-detail .split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-detail__num { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--green); }
.service-detail h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 10px 0 18px; }
.service-detail p { color: var(--steel); }
.service-detail p + p { margin-top: 14px; }
.service-detail .btn { margin-top: 32px; }

/* Verdier og sertifiseringer (om oss) */
.cert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.cert img { height: 64px; width: auto; margin-bottom: 22px; }
.cert h3 { font-size: 21px; margin-bottom: 8px; }
.cert p { color: var(--steel); font-size: 15.5px; }

.wide-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.wide-photo img { width: 100%; }

/* Tekstside (personvern) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--steel); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #15181b; color: #9aa3ab; font-size: 15.5px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer-logo { width: 210px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 20px; }
.site-footer h2 { font-family: var(--font-head); color: var(--white); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d3d8dc; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: #8fb87e; }
.footer-certs { display: flex; gap: 14px; margin-top: 24px; }
.footer-certs span { background: var(--white); border-radius: 8px; width: 60px; height: 52px; display: grid; place-items: center; }
.footer-certs img { max-width: 44px; max-height: 40px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; font-size: 14px; }
.footer-bottom ul { display: flex; gap: 22px; }

/* Mobil ringeknapp */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--white);
  place-items: center; box-shadow: 0 10px 24px -6px rgba(36, 94, 18, .6);
}
.call-fab .icon { width: 26px; height: 26px; }


/* Hindre sidelengs scrolling: grid-/flex-barn skal kunne krympe, lange ord skal brytes */
@supports (overflow: clip) { html, body { overflow-x: clip; } body { overflow-x: clip; } }
.split > *, .contact > *, .areas > *, .footer-main > *, .services-grid > *, .form-grid > *, .site-header .container > * { min-width: 0; }
h1, h2, h3, p, li, dd, strong, a { overflow-wrap: break-word; }
.contact-card > span:last-child { min-width: 0; }
.contact-card strong { overflow-wrap: anywhere; }
.logo { flex: 0 1 auto; min-width: 0; }
.nav-toggle { flex: none; }

/* ---------- Responsivt ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar ul:first-child { display: none; }
  .topbar .container { justify-content: center; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--silver-200);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); padding: 8px 24px 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 14px 0; border-bottom: 1px solid var(--silver-100); font-size: 17px; }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .logo img { width: 178px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head--split { display: block; }
  .section-head--split .btn { margin-top: 20px; }
  .split, .areas, .contact { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse > :first-child { order: 0; }
  .split__badge { left: 12px; bottom: -22px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before { display: none; }
  .cert-list { grid-template-columns: 1fr; }
  .service-detail { padding: 72px 0; }
  .gallery, .gallery__col, .gallery__pair { gap: 12px; }
  .call-fab { display: grid; }
}

@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .service-detail .btn, .split__text .btn { width: 100%; }
  .topbar ul { gap: 14px; }
  .logo img { width: 160px; }
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .services-grid, .features, .trust .container, .footer-main { grid-template-columns: 1fr; }
  .trust .container { gap: 18px; padding-top: 26px; padding-bottom: 26px; }
  .hero .container { padding-top: 56px; padding-bottom: 80px; }
  .hero__actions .btn { width: 100%; }
  .hero__checks { flex-direction: column; gap: 8px; }
  .gallery { grid-template-columns: 1fr; }
  .checklist--2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid var(--silver-200); }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .lightbox img { max-width: 100vw; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; transform: none; }
  .footer-main { padding-top: 56px; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero-slides img { transform: none; }
}
