/* ============================================================
   CONTAINERUTLEIE STAVANGER & SANDNES — "Granitt & plattform"
   Kolgrå granitt + plattformoransje. Archivo Black / Archivo /
   JetBrains Mono. Chevron + FASTPRIS-stempel som signatur.
   ============================================================ */

:root {
  --coal: #171c1f;
  --granite: #222a2e;
  --granite-2: #2d373c;
  --stone: #f1f2f0;
  --surface: #ffffff;
  --flame: #f25c1a;
  --flame-deep: #d84d10;
  --mist: #57646b;
  --mist-dark: #9aa7ad;
  --line: #dbdfdd;
  --line-dark: #39444a;
  --radius: 4px;
  --chevron: repeating-linear-gradient(135deg,
      var(--flame) 0 18px, transparent 18px 36px);
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--coal);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--flame-deep); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 2px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- signatur: chevron-band ---------- */
.chevron-band {
  height: 10px;
  background: var(--coal);
  background-image: var(--chevron);
}

/* ---------- typografi ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  display: block;
  margin-bottom: 0.9rem;
}

.lede { font-size: 1.16rem; color: var(--mist); max-width: 60ch; }
.dark .lede { color: var(--mist-dark); }

/* FASTPRIS-stempel */
.stamp {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--flame); border: 2.5px solid var(--flame);
  padding: 0.45rem 1rem; border-radius: 3px;
  transform: rotate(-2.5deg);
}

/* ---------- knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.8rem;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background-color 0.2s cubic-bezier(0.16,1,0.3,1),
              color 0.2s cubic-bezier(0.16,1,0.3,1),
              border-color 0.2s cubic-bezier(0.16,1,0.3,1),
              transform 0.15s cubic-bezier(0.16,1,0.3,1);
  min-height: 52px;
}
.btn:active { transform: scale(0.98); }
.btn svg { flex: none; }

.btn-flame { background: var(--flame); color: #fff; }
.btn-flame:hover { background: var(--flame-deep); }

.btn-outline { background: transparent; color: var(--coal); border-color: var(--coal); }
.btn-outline:hover { border-color: var(--flame); color: var(--flame-deep); }
.dark .btn-outline, .btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,0.5); }
.dark .btn-outline:hover, .btn-outline.on-dark:hover { border-color: var(--flame); color: var(--flame); }

.btn-coal { background: var(--coal); color: #fff; }
.btn-coal:hover { background: var(--granite-2); }

/* ---------- header ---------- */
.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--coal); }
.brand-mark {
  width: 40px; height: 30px; flex: none;
  background: var(--flame); border-radius: 2px;
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0 6px, rgba(23,28,31,0.28) 6px 8px);
}
.brand-name {
  font-family: var(--font-display); font-size: 1.02rem; line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mist); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  font-weight: 600; font-size: 0.98rem; color: var(--coal);
  text-decoration: none; padding: 0.35rem 0;
  border-bottom: 2.5px solid transparent;
}
.nav a:hover { border-bottom-color: var(--flame); }
.nav a[aria-current="page"] { border-bottom-color: var(--flame); }
.nav .btn { font-size: 0.95rem; padding: 0.5rem 1.15rem; min-height: 44px; }

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    cursor: pointer; color: var(--coal);
  }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 1rem 24px 1.4rem; gap: 0.3rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0.2rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--flame); }
  .nav .btn { margin-top: 0.6rem; }
}

/* ---------- hero (split) ---------- */
.hero { background: var(--coal); color: #fff; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(78vh, 640px);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(24px, 4vw, 4rem);
  max-width: 640px; margin-left: auto;
}
.hero-copy h1 { color: #fff; }
.hero-copy h1 em { font-style: normal; color: var(--flame); }
.hero-copy p { margin: 1.3rem 0 2rem; font-size: 1.15rem; color: #c8d1d5; max-width: 46ch; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 320px; }
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-visual::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 12px;
  background: var(--coal); background-image: var(--chevron);
  z-index: 2;
}
.hero-stamp { position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: 1.6rem; z-index: 3;
  background: rgba(23,28,31,0.85); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 3rem 24px 2.5rem; max-width: none; margin: 0; }
  .hero-visual { min-height: 260px; }
  .hero-visual::before { left: 0; top: -1px; bottom: auto; right: 0; width: auto; height: 10px; }
}

/* ---------- seksjoner ---------- */
.section { padding: clamp(3.6rem, 7vw, 6rem) 0; }
.section.dark { background: var(--granite); color: #fff; }
.section.white { background: var(--surface); }
.section-head { max-width: 700px; margin-bottom: 2.4rem; }

/* ---------- USP-strip (ingen kort, kun linjer) ---------- */
.usp-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--coal);
}
.usp-strip > div {
  padding: 1.5rem 1.5rem 0 0;
  border-top: 6px solid transparent; margin-top: -4px;
}
.usp-strip > div:hover { border-top-color: var(--flame); }
.usp-strip h3 { margin-bottom: 0.3rem; }
.usp-strip p { color: var(--mist); font-size: 0.98rem; max-width: 34ch; }
.usp-strip .num {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem;
  color: var(--flame); display: block; margin-bottom: 0.7rem;
}
@media (max-width: 780px) { .usp-strip { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- containerkort ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.section.white .card { background: var(--stone); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card-spec {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame-deep);
  margin-bottom: 0.7rem;
}
.card h3 { font-size: 1.55rem; margin-bottom: 0.55rem; }
.card p { color: var(--mist); flex: 1; }
.card .btn { margin-top: 1.5rem; align-self: flex-start; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- split (bilde + tekst) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split figure { position: relative; }
.split figure img { border-radius: var(--radius); }
.split .stamp-overlay { position: absolute; top: 1.2rem; left: 1.2rem; background: rgba(255,255,255,0.92); }
.split-copy p { color: var(--mist); margin-bottom: 1rem; }
.dark .split-copy p { color: var(--mist-dark); }
.split-copy ul { list-style: none; margin: 1.2rem 0; }
.split-copy li {
  padding: 0.55rem 0 0.55rem 1.9rem; position: relative;
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.dark .split-copy li { border-bottom-color: var(--line-dark); }
.split-copy li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem;
  width: 12px; height: 12px;
  background: var(--flame);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- mørkt bånd (henting) ---------- */
.band { position: relative; background: var(--coal); color: #fff; overflow: hidden; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.band .wrap { position: relative; padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.band h2 { color: #fff; max-width: 22ch; }
.band p { color: #c8d1d5; max-width: 56ch; margin: 1rem 0 1.8rem; }

/* ---------- prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.7rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1.05rem; color: #37444b; }
.prose ul { margin: 0 0 1.05rem 1.3rem; color: #37444b; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--coal); }
.faq summary {
  font-weight: 700; font-size: 1.12rem;
  padding: 1.1rem 3rem 1.1rem 0.2rem; cursor: pointer; list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.6rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.35rem; color: var(--flame);
}
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 0.2rem 1.2rem; color: var(--mist); max-width: 66ch; }

/* ---------- skjema ---------- */
.form-panel {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border-top: 8px solid var(--flame);
}
.form-inner { padding: clamp(1.6rem, 4vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist);
}
.field label b { color: #b3261e; font-weight: 700; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--coal);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.78rem 0.9rem; background: var(--stone);
  min-height: 50px;
}
.field textarea { min-height: 115px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--flame); background: #fff;
}
.form-note { font-size: 0.88rem; color: var(--mist); margin-top: 0.9rem; }
.contact-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

.contact-list { list-style: none; }
.contact-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--line-dark);
}
.contact-list svg { flex: none; color: var(--flame); margin-top: 3px; }
.contact-list a { color: #fff; }
.contact-list .label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mist-dark); display: block;
}
.contact-list .value { font-size: 1.08rem; font-weight: 700; }

/* ---------- CTA-band ---------- */
.cta-band { background: var(--flame); color: #fff; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; padding-top: 2.5rem; padding-bottom: 2.5rem;
}
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { color: #ffd9c4; font-weight: 500; }

/* ---------- footer ---------- */
.site-foot { background: var(--coal); color: var(--mist-dark); }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem;
  padding: 3rem 0 2.2rem;
}
.foot-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.85rem; }
.foot-grid a { color: var(--mist-dark); text-decoration: none; }
.foot-grid a:hover { color: var(--flame); }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 0.45rem; }
.foot-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.1rem 0 5.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
}
@media (min-width: 921px) { .foot-bottom { padding-bottom: 1.1rem; } }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- sticky ring-bar (mobil) ---------- */
.call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: none; gap: 1px; background: var(--coal);
  padding-bottom: env(safe-area-inset-bottom);
}
.call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.02rem;
  padding: 0.95rem 0.5rem; text-decoration: none; min-height: 54px;
}
.call-bar .call { background: var(--flame); color: #fff; }
.call-bar .quote { background: var(--coal); color: #fff; }
@media (max-width: 920px) { .call-bar { display: flex; } }

/* ---------- diverse ---------- */
.phone-inline { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--flame); color: #fff; padding: 0.7rem 1.2rem;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

.reveal { transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1); }
.reveal.pre { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .reveal.pre { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .brand-name { font-size: 0.92rem; }
}


/* ---------- sosiale medier ---------- */
.social-row { display: flex; gap: 0.8rem; padding: 0 0 1.5rem; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius);
  color: inherit; border: 1px solid rgba(255,255,255,0.22);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.social-row a:hover { color: var(--flame); border-color: var(--flame); }
.social-row a:active { transform: scale(0.95); }
