/* Forvaltning og Drift AS – skisse */

:root {
  --pine: #15322c;
  --pine-2: #1e453d;
  --pine-soft: #dfe9e4;
  --sand: #f4f0e6;
  --paper: #fffdf8;
  --ink: #15201d;
  --muted: #5a6763;
  --line: #e1dacb;
  --accent: #e9912f;
  --accent-dark: #cf7a1b;
  --accent-ink: #2a1703;
  --vipps: #ff5b24;
  --error: #b3261e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(21, 32, 29, .06), 0 8px 24px rgba(21, 32, 29, .07);
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }

svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .9em;
}

.hint { font-size: .875rem; color: var(--muted); margin: .6em 0 0; }
.center { text-align: center; }
.optional { font-weight: 400; color: var(--muted); }

/* Skisse-stripe */
.draft-strip {
  margin: 0; padding: 6px 16px; text-align: center;
  font-size: .8rem; background: #fbe9c8; color: #5a3d07;
}

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.35em;
  font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background .15s, transform .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--pine); border-color: var(--line); }
.btn-ghost { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-ghost:hover { background: var(--pine-soft); }
.btn-vipps { background: var(--vipps); color: #fff; margin-top: 10px; }
.btn-vipps:disabled { opacity: .45; cursor: not-allowed; }
.soon {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .28); padding: 2px 8px; border-radius: 999px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; }
.brand-mark {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  background: var(--pine); color: #fff; border-radius: 10px;
  font-size: .85rem; font-weight: 800; letter-spacing: 0;
}
.brand-mark i { font-style: normal; color: var(--accent); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }
.header-cta { min-height: 42px; font-size: .95rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    repeating-radial-gradient(circle at 100% 0, transparent 0 46px, rgba(255, 255, 255, .04) 46px 47px),
    radial-gradient(ellipse at 15% 110%, #2a5a4f 0, transparent 55%),
    var(--pine);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d3e0da; max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: .5em; color: #e6efeb; }
.hero-points li { padding-left: 1.7em; position: relative; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.action-card {
  background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.action-title { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .8em; }
.action-tile {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px; margin-bottom: 12px; text-decoration: none;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.action-tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.action-tile strong { display: block; font-size: 1.12rem; }
.action-tile small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.action-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--pine-soft); color: var(--pine); }
.action-arrow { font-size: 1.3rem; color: var(--accent-dark); font-weight: 700; }
.action-phone { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
.action-phone a { color: var(--ink); font-weight: 700; }

/* Seksjoner */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--sand); }
.section-dark { background: var(--pine); color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark p { color: #d3e0da; }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > p:last-child { color: var(--muted); margin-bottom: 0; }

/* Tjenester */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  display: flex; flex-direction: column; text-decoration: none;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pine-2); }
.service svg { width: 34px; height: 34px; color: var(--pine-2); margin-bottom: 18px; }
.service p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-link { font-weight: 700; font-size: .95rem; color: var(--accent-dark); }

.audience {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.audience li { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--pine-soft); color: var(--pine); font-size: .95rem; }
.audience strong { display: block; font-size: 1.02rem; }

/* Skjemafelt */
.field { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 10px 14px;
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cfc7b5; border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine-2); box-shadow: 0 0 0 3px rgba(30, 69, 61, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--error); font-weight: 600; font-size: .92rem; margin: 0 0 12px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.step { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.step legend, .plain legend { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; padding: 0; margin-bottom: 16px; }
.step-no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pine); color: #fff; font-size: .95rem; }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.equip {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  padding: 16px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.equip:hover { border-color: #bdb39c; }
.equip input { position: absolute; opacity: 0; pointer-events: none; }
.equip-name { font-weight: 700; padding-right: 30px; line-height: 1.25; }
.equip-desc { color: var(--muted); font-size: .88rem; line-height: 1.4; margin: 4px 0 12px; flex: 1; }
.equip-price { font-weight: 700; color: var(--pine-2); }
.equip-price small { font-weight: 500; color: var(--muted); }
.equip::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px;
  border: 2px solid #cfc7b5; border-radius: 50%; background: #fff;
}
.equip:has(input:checked) { border-color: var(--pine-2); box-shadow: 0 0 0 3px rgba(30, 69, 61, .14); }
.equip:has(input:checked)::after {
  content: "✓"; display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  background: var(--pine-2); border-color: var(--pine-2); color: #fff;
}
.equip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

.summary {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow);
}
.summary-list { list-style: none; padding: 0; margin: 0 0 16px; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary-list .summary-empty { color: var(--muted); border: 0; }
.summary-meta { margin: 0 0 16px; font-size: .95rem; }
.summary-meta div { display: flex; justify-content: space-between; padding: 3px 0; }
.summary-meta dt { color: var(--muted); }
.summary-meta dd { margin: 0; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 18px; }
.summary-total strong { font-size: 1.6rem; letter-spacing: -.02em; }

/* Forespørsel */
.request-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.request-layout .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.how { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 14px; color: var(--muted); }
.how li { counter-increment: how; position: relative; padding-left: 46px; }
.how li::before {
  content: counter(how); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pine-soft); color: var(--pine); font-weight: 700; font-size: .95rem;
}
.how strong { color: var(--ink); }
.plain { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.plain legend { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; cursor: pointer;
  border: 1.5px solid #cfc7b5; border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem;
  transition: background .15s, border-color .15s, color .15s;
}
.chip span:hover { border-color: var(--pine-2); }
.chip input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Kvittering */
.done { text-align: center; padding: clamp(32px, 5vw, 56px) 24px; max-width: 560px; margin-inline: auto; }
.done[hidden] { display: none; }
.done-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pine-soft); color: var(--pine); font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.done .btn { margin-top: 18px; }

/* Om oss */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.facts div { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.facts dt { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.facts dd { margin: 8px 0 0; color: #d3e0da; font-size: .95rem; line-height: 1.4; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-item { display: block; padding: 22px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.contact-item:hover { border-color: var(--pine-2); box-shadow: var(--shadow); }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.contact-item strong { overflow-wrap: anywhere; line-height: 1.35; display: block; }

/* Footer */
.site-footer { background: #0f2521; color: #b9c9c3; font-size: .92rem; padding-block: 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: #fff; }

/* Mobil handlingslinje */
.mobile-bar { display: none; }

/* Responsivt */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-inner, .request-layout, .about { grid-template-columns: 1fr; }
  .request-layout .section-head { position: static; }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
  .service-grid, .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .header-cta { display: none; }
  .service-grid, .audience, .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .equip-grid { gap: 10px; }
  .equip { padding: 14px; }
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 0 .6em; font-size: .95rem; }
}

@media (max-width: 400px) {
  .equip-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
