/* Styrebarometeret: marine, bronse, papir. Rette hjørner, rolig rytme. */
:root {
  --papir: #F6F4EF; --flate: #FFFFFF; --sand: #EDE9E0; --tekst: #1B1F27; --tekst-2: #454B57; --dempet: #646A77;
  --marine: #1C2B4A; --marine-2: #2A3D63; --bronse: #8C6431; --bronse-lys: #C99A5B; --linje: #D8D3C8; --linje-2: #E6E2D9;
  --ok: #2E6A4C; --feil: #8A4B14;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --maks: 1120px; --smal: 720px;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px }
body { margin: 0; background: var(--papir); color: var(--tekst); font-family: var(--font); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto; display: block }
a { color: var(--marine); text-underline-offset: 3px; text-decoration-thickness: 1px }
a:hover { color: var(--bronse) }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; margin: 0; text-wrap: balance; color: var(--marine) }
h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.03 }
h2 { font-size: clamp(27px, 3.6vw, 40px) }
h3 { font-size: 21px; line-height: 1.3 }
p { margin: 0 }
ul, ol { margin: 0; padding-left: 20px }
li + li { margin-top: 6px }
:focus-visible { outline: 2px solid var(--bronse); outline-offset: 3px }

.hopp { position: absolute; left: -9999px; top: 8px; background: var(--marine); color: #fff; padding: 10px 14px; z-index: 50 }
.hopp:focus { left: 16px }

.innhold { max-width: var(--maks); margin: 0 auto; padding: 0 20px }
.smal { max-width: var(--smal) }
.stabel { display: flex; flex-direction: column; gap: 18px }
.stabel-l { display: flex; flex-direction: column; gap: 28px }
.overtittel { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronse); font-weight: 500 }
.ingress { font-size: clamp(19px, 2.2vw, 22px); color: var(--tekst-2); line-height: 1.5; max-width: 62ch }
.dempet { color: var(--dempet) }
.liten { font-size: 15px }

/* toppfelt */
.topp { position: sticky; top: 0; z-index: 20; background: var(--papir); border-bottom: 1px solid var(--linje) }
.topp .innhold { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px }
.merke { display: flex; align-items: flex-end; gap: 12px; color: var(--marine); text-decoration: none }
.merke svg { width: 44px; height: 22px; flex: none }
.merke b { font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: .78 }
.merke:hover { color: var(--marine) }
.meny { display: flex; align-items: center; gap: 4px }
.meny a { text-decoration: none; color: var(--tekst-2); padding: 8px 11px; font-size: 16px; white-space: nowrap }
.meny a:hover, .meny a[aria-current="page"] { color: var(--bronse) }
.meny .gruppe { position: relative }
.meny .gruppe > button { white-space: nowrap; font: inherit; font-size: 16px; color: var(--tekst-2); background: none; border: 0; padding: 8px 11px; cursor: pointer }
.meny .gruppe > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px }
.meny .under { display: none; position: absolute; top: 100%; left: 0; background: var(--flate); border: 1px solid var(--linje); min-width: 260px; padding: 8px 0 }
.meny .under a { display: block; padding: 9px 16px }
.meny .gruppe:hover .under, .meny .gruppe:focus-within .under, .meny .gruppe.apen .under { display: block }
.knapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font: inherit; font-weight: 500; font-size: 16.5px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--marine); background: var(--marine); color: #fff }
.knapp:hover { background: var(--tekst); border-color: var(--tekst); color: #fff }
.knapp.bronse { background: var(--bronse); border-color: var(--bronse) }
.knapp.bronse:hover { background: #74521F; border-color: #74521F }
.knapp.lys { background: transparent; color: var(--marine) }
.knapp.lys:hover { background: var(--marine); color: #fff }
.meny .knapp { color: #fff; padding: 0 18px; min-height: 42px; margin-left: 10px }
.menyknapp { display: none; font: inherit; background: none; border: 1px solid var(--linje); padding: 8px 12px; color: var(--marine); cursor: pointer }

@media (max-width: 1080px) {
  .menyknapp { display: inline-block }
  .meny { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--papir); border-bottom: 1px solid var(--linje); flex-direction: column; align-items: stretch; padding: 8px 20px 20px }
  .meny.apen { display: flex }
  .meny a, .meny .gruppe > button { padding: 12px 0; font-size: 17px; text-align: left; width: 100% }
  .meny .under { display: block; position: static; border: 0; background: none; padding: 0 0 0 16px; min-width: 0 }
  .meny .gruppe > button::after { display: none }
  .meny .knapp { margin: 12px 0 0; width: 100% }
}

/* seksjoner */
section { padding: clamp(56px, 8vw, 96px) 0 }
section.sand { background: var(--sand) }
section.marine { background: var(--marine); color: #E9ECF2 }
section.marine h2, section.marine h3 { color: #fff }
section.marine .overtittel { color: var(--bronse-lys) }
section.marine a { color: #fff }
.helt { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px) }
.helt .rad { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end }
.helt .knapper { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px }
.bilde { position: relative; margin: 0 }
.bilde img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); filter: grayscale(1) }
.bilde.bred img { aspect-ratio: 16 / 7 }
.bilde figcaption { font-size: 12.5px; color: var(--dempet); margin-top: 6px }
.to { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px) }
.tre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px }
.fire { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px }
.kort { background: var(--flate); border: 1px solid var(--linje-2); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px }
.kort.anbefalt { border-top: 3px solid var(--bronse) }
.kort .pris { font-size: 15px; color: var(--dempet); margin-top: auto; padding-top: 8px }
.strek { border-top: 2px solid var(--marine); padding-top: 18px; display: flex; flex-direction: column; gap: 8px }
.steg { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px }
.steg li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; margin: 0 }
.steg li::before { content: counter(s); font-size: 52px; font-weight: 500; letter-spacing: -.03em; color: var(--bronse); line-height: 1; margin-bottom: 8px }
.marine .steg li::before { color: var(--bronse-lys) }
.dimensjoner { columns: 2 280px; column-gap: 40px; list-style: none; padding: 0 }
.dimensjoner li { break-inside: avoid; display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linje); margin: 0 }
.dimensjoner b { font-weight: 500; color: var(--bronse); min-width: 24px; font-variant-numeric: tabular-nums }
.hake { list-style: none; padding: 0 }
.hake li { position: relative; padding-left: 26px }
.hake li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--bronse); border-bottom: 2px solid var(--bronse); transform: rotate(-45deg) }
.kilde { font-size: 14px; color: var(--dempet); border-left: 2px solid var(--linje); padding-left: 12px }
.merknad { background: var(--sand); padding: 16px 18px; font-size: 15.5px }
.sitat { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.35; letter-spacing: -.01em; color: var(--marine); border-left: 3px solid var(--bronse); padding-left: 20px }
.oppfordring { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap }
.oppfordring .knapper { display: flex; gap: 12px; flex-wrap: wrap }
.marine .knapp.lys { color: #fff; border-color: #fff }
.marine .knapp.lys:hover { background: #fff; color: var(--marine) }
.tabell { width: 100%; border-collapse: collapse; font-size: 16px }
.tabell th, .tabell td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linje); vertical-align: top }
.tabell th { font-weight: 500; color: var(--dempet); font-size: 14px }
.tabell-ramme { overflow-x: auto }
.sju { color: var(--marine) }
.sju .k { fill: var(--bronse) }
.sju.lys { color: var(--bronse-lys) }
.sju.lys .k { fill: var(--papir) }

/* skjema */
form.skjema { display: flex; flex-direction: column; gap: 18px }
.felt { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15.5px }
.felt .hint { font-weight: 400; color: var(--dempet); font-size: 14px }
.felt input, .felt select, .felt textarea { font: inherit; font-weight: 400; font-size: 16.5px; color: var(--tekst); background: var(--flate); border: 1px solid #B9B3A6; padding: 11px 12px; width: 100%; border-radius: 0 }
.felt textarea { min-height: 130px; resize: vertical }
.felt input[aria-invalid="true"], .felt textarea[aria-invalid="true"] { border-color: var(--feil); border-width: 2px }
.feilmelding { color: var(--feil); font-weight: 500; font-size: 14.5px }
.samtykke { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400 }
.samtykke input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--marine); flex: none }
.honning { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.status { padding: 14px 16px; font-size: 15.5px }
.status.ok { background: #E3EFE7; color: var(--ok) }
.status.feil { background: #F4E9DC; color: var(--feil) }
.valg { display: flex; gap: 8px; flex-wrap: wrap }
.valg label { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--linje); background: var(--flate); padding: 9px 14px; font-weight: 400; cursor: pointer }
.valg input { accent-color: var(--marine) }

/* bunn */
.bunn { background: var(--marine); color: #C9CFDD; padding: 56px 0 40px; font-size: 15.5px }
.bunn a { color: #fff }
.bunn .rad { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px }
.bunn .merke { color: #fff }
.bunn h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronse-lys); margin-bottom: 12px }
.bunn ul { list-style: none; padding: 0 }
.bunn .under-linje { border-top: 1px solid #33456A; margin-top: 40px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px }

@media (max-width: 860px) {
  .helt .rad, .to, .tre, .fire, .steg, .bunn .rad { grid-template-columns: 1fr }
  .helt .bilde img { aspect-ratio: 16 / 10 }
  .helt .rad { align-items: start }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important } }
@media print { .topp, .bunn, .knapp { display: none } body { background: #fff } }

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonter/schibsted-grotesk-latin-400-normal.woff2") format("woff2") }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonter/schibsted-grotesk-latin-500-normal.woff2") format("woff2") }
