/* ==========================================================================
   Jæren Betongsaging AS – stilark
   Farger hentet fra logo: grønn #0BA14B, svart, grå #58585A
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #121314;
  --ink-2: #1b1d1f;
  --ink-3: #26292c;
  --line-dark: #34383c;
  --paper: #f5f4f1;
  --stone: #e7e5e0;
  --stone-2: #d6d3cc;
  --white: #ffffff;
  --text: #1c1e20;
  --muted: #565a5f;
  --muted-light: #a9adb2;
  --green: #0ba14b;
  --green-bright: #19c25f;
  --green-text: #067a36;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Archivo", "Arial Narrow", sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--green); color: #fff; padding: .6em 1em; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Overline med "sagkutt" ------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green-text);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--green); transform: skewX(-30deg); }
.on-dark .kicker, .kicker--light { color: var(--green-bright); }

/* Knapper --------------------------------------------------------------- */
.btn {
  --bg: var(--green); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em;
  font: 700 1rem/1.1 var(--font); letter-spacing: .02em;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { --bg: #088a3f; color: #fff; transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { --bg: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: var(--ink-3); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { --bg: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18,19,20,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 270px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav a {
  display: block; padding: .55em .8em; color: #e8e9ea; text-decoration: none;
  font-weight: 600; font-size: .95rem; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover { color: #fff; background: var(--ink-3); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.header-call { flex: none; min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-dark);
  background: transparent; color: #fff; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: .9em .25em; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); padding-left: .9em; }
  .brand img { width: 220px; }
}

/* Mobil ringeknapp (fast nederst) ---------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--line-dark);
    box-shadow: 0 -6px 20px rgba(0,0,0,.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 56px; font-weight: 700; text-decoration: none; color: #fff; background: var(--ink);
  }
  .mobile-cta a:first-child { background: var(--green); }
  .mobile-cta svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
}

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; color: #fff; background: var(--ink);
  min-height: min(86vh, 760px); display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,15,16,.9) 0%, rgba(14,15,16,.62) 45%, rgba(14,15,16,.12) 100%),
    linear-gradient(0deg, rgba(14,15,16,.8) 0%, rgba(14,15,16,0) 45%);
}
@media (max-width: 720px) {
  .hero::before { background: linear-gradient(0deg, rgba(14,15,16,.95) 0%, rgba(14,15,16,.78) 55%, rgba(14,15,16,.45) 100%); }
  .hero__bg img { object-position: 35% 50%; }
}
.hero .wrap { padding-block: clamp(4rem, 12vh, 8rem) clamp(3rem, 8vh, 5rem); }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--green-bright); }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40ch; color: #dcdee0; margin-bottom: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 2.2rem 0 0; padding: 0; list-style: none; color: #cfd2d5; font-size: .95rem; font-weight: 600; }
.hero__badges li { display: flex; align-items: center; gap: .5em; }
.hero__badges svg { width: 18px; height: 18px; color: var(--green-bright); flex: none; }
.hero__cut {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; z-index: 1;
  background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Undersidehero */
.page-hero {
  position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,15,16,.95) 0%, rgba(14,15,16,.8) 50%, rgba(14,15,16,.45) 100%);
}
.page-hero .wrap { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 18ch; }
.page-hero p { max-width: 52ch; color: #dcdee0; font-size: 1.15rem; }
.page-hero--plain { background: var(--ink-2); }
.page-hero--plain::before { display: none; }

.breadcrumb { font-size: .875rem; margin-bottom: 1.5rem; color: var(--muted-light); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.breadcrumb li + li::before { content: "/"; margin-right: .4em; color: #6d7177; }
.breadcrumb a { color: #e8e9ea; text-decoration: none; }
.breadcrumb a:hover { color: var(--green-bright); text-decoration: underline; }

/* Seksjoner ------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--stone { background: var(--stone); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #e9eaeb; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section__head p { color: var(--muted); font-size: 1.15rem; }
.section--dark .section__head p { color: var(--muted-light); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }

/* Tillitslinje */
.trustbar { background: var(--white); border-bottom: 1px solid var(--stone-2); }
.trustbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar li { display: flex; gap: .9rem; align-items: center; padding: 1.4rem 1.2rem; border-left: 1px solid var(--stone); }
.trustbar li:first-child { border-left: 0; padding-left: 0; }
.trustbar svg { width: 34px; height: 34px; color: var(--green); flex: none; }
.trustbar strong { display: block; font-size: 1rem; line-height: 1.25; }
.trustbar span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; }
@media (max-width: 900px) {
  .trustbar ul { grid-template-columns: 1fr 1fr; }
  .trustbar li { padding: 1.1rem .8rem; border-left: 0; border-top: 1px solid var(--stone); }
  .trustbar li:nth-child(-n+2) { border-top: 0; }
  .trustbar li:first-child { padding-left: .8rem; }
}
@media (max-width: 480px) { .trustbar ul { grid-template-columns: 1fr; } .trustbar li:nth-child(2) { border-top: 1px solid var(--stone); } }

/* Tjenestekort */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  color: var(--text); text-decoration: none; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 18px 40px rgba(0,0,0,.14); color: var(--text); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: 1.1rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card__num { font: 700 .8rem/1 var(--font); letter-spacing: .14em; color: var(--green-text); margin-bottom: .6rem; }
.service-card h3 { margin-bottom: .4em; font-size: 1.8rem; text-transform: uppercase; }
.service-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.2rem; }
.service-card__more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .45em; color: var(--ink); }
.service-card__more svg { width: 18px; height: 18px; color: var(--green); transition: transform .2s; }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* To-kolonne */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.media-frame::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%;
  border-left: 4px solid var(--green); border-bottom: 4px solid var(--green); z-index: -1;
}
.media-frame { isolation: isolate; }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }

.signature { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--stone-2); }
.signature__mark { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--ink); border-radius: 50%; }
.signature__mark img { width: 28px; height: 28px; filter: invert(1); }
.signature strong { display: block; font-size: 1.05rem; }
.signature span { color: var(--muted); font-size: .95rem; }

/* Hvorfor oss */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
@media (max-width: 960px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }
.reason { padding: 2rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line-dark); }
.reason + .reason { padding-left: 1.6rem; border-left: 1px solid var(--line-dark); }
@media (max-width: 960px) { .reason:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .reason, .reason + .reason { padding-left: 0; border-left: 0; } }
.reason__num { font: 700 3rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--green-bright); margin-bottom: 1rem; }
.reason h3 { font-size: 1.55rem; text-transform: uppercase; margin-bottom: .35em; }
.reason p { color: var(--muted-light); margin: 0; }

/* Prosess */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; background: var(--white); padding: 1.6rem 1.4rem 1.5rem; border-top: 4px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: "0" counter(step); display: block; font: 700 2.4rem/1 var(--display); color: var(--green); margin-bottom: .6rem; }
.steps h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Område */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.areas li { padding: .5em 1em; background: var(--white); border: 1px solid var(--stone-2); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.areas li.is-home { background: var(--ink); color: #fff; border-color: var(--ink); }

.map-card { background: var(--ink); color: #e9eaeb; border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; }
.map-card h3 { color: #fff; text-transform: uppercase; }
.map-card address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.map-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; background: url("../img/stjerne.svg") center / contain no-repeat; filter: invert(1); opacity: .06; }

/* Liste med hake */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 2px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.checklist--cols { grid-template-columns: 1fr 1fr; gap: .65rem 2rem; }
@media (max-width: 640px) { .checklist--cols { grid-template-columns: 1fr; } }

/* Innholdstekst */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: #e9eaeb; padding: 1.8rem; border-radius: var(--radius); border-top: 4px solid var(--green); }
.aside-card h2 { font-size: 1.9rem; color: #fff; margin-bottom: .3em; }
.aside-card p { color: var(--muted-light); font-size: .98rem; }
.aside-card .btn { width: 100%; margin-top: .6rem; }
.aside-card hr { border: 0; border-top: 1px solid var(--line-dark); margin: 1.5rem 0; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li a { display: flex; justify-content: space-between; padding: .55em 0; color: #e9eaeb; text-decoration: none; border-bottom: 1px solid var(--line-dark); font-weight: 600; }
.aside-card li a:hover { color: var(--green-bright); }
.aside-card li a[aria-current="page"] { color: var(--green-bright); }

.figure { margin: 2rem 0; }
.figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--stone-2); }
.faq details:first-of-type { border-top: 1px solid var(--stone-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 1.4rem; color: var(--muted); max-width: 70ch; }
.faq details > div p:last-child { margin: 0; }

/* CTA-bånd */
.cta-band { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,161,75,.94) 0%, rgba(8,110,52,.9) 45%, rgba(14,15,16,.75) 100%); }
.cta-band .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { font-size: 1.15rem; color: rgba(255,255,255,.92); margin: 0; max-width: 48ch; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .btn-row { justify-content: flex-start; } }
.cta-band .btn { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.cta-band .btn:hover { --bg: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.7); }

/* Kontakt ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); padding: 1.1rem 1.25rem; border-radius: var(--radius); border-left: 4px solid var(--green); }
.contact-list svg { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: .15rem; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact-list a, .contact-list span { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green-text); text-decoration: underline; }

.form { background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--ink); }
.form h2 { font-size: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8em .9em; background: var(--paper); border: 1px solid #bdb9b1; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(11,161,75,.2); }
.field-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: .5rem 0 1.4rem; }
.consent-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e3f5ea; color: #0a5a2c; border-left: 4px solid var(--green); }
.form-status.is-error { display: block; background: #fdecea; color: #8a1c12; border-left: 4px solid #c0392b; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: #0d0e0f; color: #b9bdc1; font-size: .96rem; }
.site-footer a { color: #e3e5e7; text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-top h2 { font-size: 1.15rem; color: #fff; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-brand img { width: 260px; margin-bottom: 1.4rem; }
.footer-brand p { max-width: 34ch; }
.footer-top address { font-style: normal; line-height: 1.8; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; }
.social a:hover { border-color: var(--green); background: var(--green); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #222528; padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: .88rem; color: #8b9096; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; }
.footer-bottom button { background: none; border: 0; padding: 0; font: inherit; color: #e3e5e7; cursor: pointer; }
.footer-bottom button:hover { color: var(--green-bright); text-decoration: underline; }

/* Samtykkebanner ------------------------------------------------------------ */
.consent {
  position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--text); border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35); border-top: 4px solid var(--green);
  padding: 1.4rem 1.4rem 1.2rem;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.5rem; margin-bottom: .35em; text-transform: none; }
.consent p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.consent .btn-row { gap: .6rem; }
.consent .btn { flex: 1 1 180px; min-height: 48px; font-size: .95rem; clip-path: none; }
.consent__more { display: inline-block; margin-top: .8rem; font-size: .88rem; }
@media (max-width: 720px) { .consent { bottom: calc(68px + env(safe-area-inset-bottom)); left: 10px; right: 10px; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font: 700 clamp(6rem, 20vw, 12rem)/0.9 var(--display); color: transparent; -webkit-text-stroke: 2px var(--green); }

/* Hjelpeklasser */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.icon-inline { width: 1.1em; height: 1.1em; vertical-align: -.15em; }

@media (max-width: 380px) { .brand img { width: 190px; } }

/* Utvalgte jobber ---------------------------------------------------------- */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr; } }
.job { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.job__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink); }
.job__pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.job__body { padding: 1.4rem 1.5rem 1.6rem; }
.job__tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); margin-bottom: .5rem; }
.job h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: .35em; }
.job p { color: var(--muted); }
.job a { font-weight: 700; text-decoration: none; color: var(--ink); }
.job a:hover { color: var(--green-text); }

/* Bildegalleri på tjenestesider */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 2rem 0 2.5rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .45rem; line-height: 1.4; }

/* Signatur: produsert og hostet av Teknisk Multimedia */
.footer-credit { background: #090a0b; border-top: 1px solid #222528; }
.footer-credit .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; padding-block: 1.1rem; font-size: .85rem; color: #8b9096; }
.footer-credit a { display: inline-flex; }
.footer-credit img { width: 150px; height: auto; opacity: .95; transition: opacity .15s; }
.footer-credit a:hover img { opacity: 1; }
@media (max-width: 720px) { .site-footer { padding-bottom: 0; } .footer-credit .wrap { padding-bottom: 1.1rem; } }
