/* Fiskerikonsulent – 2026-design. Håndskrevet, ingen byggesteg. */
:root {
    --ink: #10232F;
    --navy: #0C1F2C;
    --paper: #F4F5F3;
    --white: #FBFBFA;
    --mist: #EAECEA;
    --sea: #3E7F94;
    --ice: #9ED3DE;
    --muted: #5B6873;
    --body: #4A5863;
    --text: #33434F;
    --line: rgba(16, 35, 47, .12);
    --line-strong: rgba(16, 35, 47, .2);
    --gutter: clamp(20px, 4vw, 48px);
    --stripe: repeating-linear-gradient(135deg, #e3e6e4 0 10px, #eceeec 10px 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: var(--ink); text-decoration: none; transition: color .15s, background .15s, border-color .15s, opacity .15s; }
a:hover { color: var(--sea); }
img { max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ul, figure { margin: 0; }
input, textarea, select, button { font-family: inherit; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
.sect { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.page { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 112px); }

.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
.on-dark .eyebrow, .eyebrow--ice { color: var(--ice); }
.h-display { font-size: clamp(38px, 5vw, 68px); font-weight: 500; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
.h-section { font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.gap-6 { gap: 6px; } .gap-12 { gap: 12px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; }

/* Knapper */
.btn { display: inline-block; padding: 14px 22px; font-size: 16px; font-weight: 500; border-radius: 2px; border: 1px solid transparent; cursor: pointer; text-align: center; line-height: 1.3; }
.btn--lg { padding: 16px 26px; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--ice); color: var(--navy); }
.btn--ghost { border-color: rgba(251, 251, 250, .5); color: var(--white); font-weight: 400; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); border: none; }
.btn--dark:hover { background: var(--sea); color: var(--white); }
.link-u { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.badge { display: inline-block; background: var(--navy); color: var(--white); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; line-height: 1.2; }
.badge--sold { background: #8C2F2A; }
.badge--sea { background: var(--sea); }

/* Header */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(251, 251, 250, .08); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo img { height: 32px; display: block; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); font-size: 15px; }
.nav__link { color: var(--white); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--ice); }
.nav__link.is-active { border-bottom-color: var(--ice); }
.nav__tel { color: var(--ice); padding-left: clamp(0px, 1.5vw, 20px); border-left: 1px solid rgba(251, 251, 250, .18); }
.nav__tel:hover { color: var(--white); }
.nav__cta { background: var(--white); color: var(--navy); padding: 10px 18px; border-radius: 2px; font-weight: 500; }
.nav__cta:hover { background: var(--ice); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(251, 251, 250, .3); color: var(--white); padding: 8px 12px; font-size: 14px; cursor: pointer; border-radius: 2px; }
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgba(251, 251, 250, .08); }
    .nav.is-open { display: flex; }
    .nav__link { padding: 14px 0; border-bottom: 1px solid rgba(251, 251, 250, .08); }
    .nav__link.is-active { border-bottom-color: rgba(251, 251, 250, .08); color: var(--ice); }
    .nav__tel { border-left: none; padding: 14px 0; }
    .nav__cta { margin-top: 8px; text-align: center; padding: 14px; }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); min-height: clamp(560px, 82vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 31, 44, .15) 0%, rgba(12, 31, 44, .35) 45%, rgba(12, 31, 44, .92) 100%); }
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.hero p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 560px; color: rgba(251, 251, 250, .86); text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; justify-content: flex-end; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 160px)); gap: 1px; background: rgba(251, 251, 250, .18); border: 1px solid rgba(251, 251, 250, .18); }
.stats a { background: rgba(12, 31, 44, .7); padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--white); }
.stats a:hover { background: rgba(12, 31, 44, .9); color: var(--white); }
.stats strong { font-size: 40px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats span { font-size: 14px; color: rgba(251, 251, 250, .75); }
@media (max-width: 700px) { .hero__stats { justify-content: flex-start; } }

/* Seksjonshode */
.sect-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }

/* Kort */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.cards--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.card:hover { color: var(--ink); opacity: .88; }
.card__img { aspect-ratio: 4 / 3; background: var(--stripe); overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__img .badge { position: absolute; top: 14px; left: 14px; font-size: 12px; padding: 6px 10px; }
.card__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.card__name { font-size: 20px; font-weight: 500; }
.card__sub { font-size: 15px; color: var(--muted); }
.card__price { font-size: 17px; font-variant-numeric: tabular-nums; text-align: right; max-width: 50%; }
.card__meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; font-variant-numeric: tabular-nums; }

/* Tjenester */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line-strong); padding-top: 40px; }
.services span { font-size: 14px; color: var(--sea); font-variant-numeric: tabular-nums; }
.services h3 { font-size: 24px; font-weight: 500; }
.services p { font-size: 16px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

/* Mørke bånd */
.band { background: var(--navy); color: var(--white); }
.band__inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.band h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
.band p { font-size: 17px; line-height: 1.55; color: rgba(251, 251, 250, .8); }
.band__img { aspect-ratio: 4 / 3; overflow: hidden; background: #132a3a; }
.band__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts-dark { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(251, 251, 250, .14); border: 1px solid rgba(251, 251, 250, .14); }
.facts-dark > div { background: var(--navy); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.facts-dark dt { font-size: 13px; color: rgba(251, 251, 250, .6); }
.facts-dark dd { font-size: 20px; font-variant-numeric: tabular-nums; }

/* Lyse faktalister */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--ink); }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: none; align-self: start; }
.facts > div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-size: 18px; font-variant-numeric: tabular-nums; }

/* Selger-seksjon på forsiden */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media { aspect-ratio: 5 / 4; background: var(--stripe); overflow: hidden; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 17px; padding-top: 8px; }

/* Båttabell */
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.list-head p { max-width: 420px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.table { overflow-x: auto; border-top: 2px solid var(--ink); }
.table__inner { min-width: 880px; }
.table__row { display: grid; grid-template-columns: 96px minmax(240px, 2.4fr) minmax(140px, 1.3fr) 110px 100px 170px 28px; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; color: var(--ink); font-size: 16px; }
a.table__row:hover { background: var(--mist); color: var(--ink); }
.table__head { font-size: 13px; color: var(--muted); border-bottom-color: var(--line-strong); }
.table__head button { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.table__head button:hover, .table__head button.is-sorted { color: var(--ink); }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table__thumb { width: 96px; height: 64px; background: var(--stripe); overflow: hidden; }
.table__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.table__name { font-weight: 500; font-size: 17px; }
.table__gear { font-size: 15px; color: var(--body); }
.table__price { font-weight: 500; }
.table__go { text-align: right; color: var(--sea); }

/* Prospekt */
.crumbs { padding-top: 24px; font-size: 14px; display: flex; gap: 10px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.prospect-head { padding-top: 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.prospect-head h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 500; letter-spacing: -.025em; line-height: 1; }
.prospect-head .sub { font-size: 19px; color: var(--body); }
.prospect-price { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; max-width: 520px; }
.prospect-price span { font-size: 13px; color: var(--muted); }
.prospect-price strong { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.prospect-price strong.is-text { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }
@media (max-width: 700px) { .prospect-price { align-items: flex-start; text-align: left; } }
.gallery { padding-top: 32px; }
.gallery__main { aspect-ratio: 16 / 8; background: var(--stripe); overflow: hidden; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 8px; }
.gallery__thumbs button { aspect-ratio: 3 / 2; overflow: hidden; background: #e3e6e4; display: block; position: relative; border: none; padding: 0; cursor: pointer; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs button.is-active::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--navy); }
.video { margin-top: 24px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

.prospect-body { padding-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prospect-main { min-width: 0; display: flex; flex-direction: column; gap: 48px; }
@media (max-width: 900px) { .prospect-body { grid-template-columns: 1fr; } }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; }
.specs h3 { font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--sea); margin-bottom: 12px; }
.prose { font-size: 16px; line-height: 1.55; color: var(--ink); }
.prose p { margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 12px; padding: 0; list-style: none; }
.prose li { padding: 9px 0; border-bottom: 1px solid rgba(16, 35, 47, .1); line-height: 1.4; }
.prose strong { font-weight: 500; }
.prose a { border-bottom: 1px solid currentColor; }
.prose--lead { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 680px; }
.prose--lead p { margin-bottom: 18px; }
.disclaimer { font-size: 14px; color: var(--muted); }

.broker { position: sticky; top: 110px; background: var(--navy); color: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.broker__who { display: flex; gap: 16px; align-items: center; }
.broker__avatar { width: 56px; height: 56px; border-radius: 50%; background: #1c3647; flex: none; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ice); letter-spacing: .04em; overflow: hidden; }
.broker__avatar img { width: 100%; height: 100%; object-fit: contain; background: var(--white); padding: 6px; }
.broker__name { font-size: 18px; font-weight: 500; }
.broker__role { font-size: 14px; color: rgba(251, 251, 250, .7); }
.broker .btn { padding: 14px 18px; }
.broker .btn--ghost { border-color: rgba(251, 251, 250, .4); }
.broker p { font-size: 14px; line-height: 1.5; color: rgba(251, 251, 250, .7); }

/* Kvoter */
.quota { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.quota h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.15; text-wrap: balance; }
.quota h2 a:hover { color: var(--sea); }
.quota .desc { font-size: 16px; line-height: 1.55; color: var(--body); }
.cta-band { margin-top: clamp(48px, 6vw, 80px); background: var(--navy); color: var(--white); padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { font-size: 26px; font-weight: 500; }
.cta-band p { font-size: 16px; line-height: 1.55; color: rgba(251, 251, 250, .78); }
.empty { padding: 40px 0; font-size: 18px; color: var(--body); border-bottom: 1px solid var(--line); }

/* Om oss */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 40px 28px; }
.team__name { font-size: 19px; font-weight: 500; }
.team__role { font-size: 14px; color: var(--sea); }
.team p { font-size: 15px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.team > div { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.desks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 2px solid var(--ink); }
.desks > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.desks span { font-size: 13px; color: var(--muted); }
.desks a { font-size: 18px; overflow-wrap: anywhere; }

/* Kontakt */
.contact-list { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-list dt { color: var(--muted); }
.contact-list dd, .contact-list dd a { font-size: 18px; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form label, .form .label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel] { border: none; border-bottom: 1px solid rgba(16, 35, 47, .35); background: transparent; padding: 10px 0; font-size: 17px; color: var(--ink); outline: none; border-radius: 0; }
.form input:focus { border-bottom-color: var(--navy); }
.form textarea { border: 1px solid rgba(16, 35, 47, .25); background: transparent; padding: 12px; font-size: 16px; color: var(--ink); resize: vertical; outline: none; line-height: 1.5; border-radius: 0; }
.form textarea:focus { border-color: var(--navy); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; border: 1px solid rgba(16, 35, 47, .25); color: var(--ink); padding: 9px 14px; font-size: 15px; cursor: pointer; }
.chips span:hover { border-color: var(--ink); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.form .btn { align-self: flex-start; padding: 15px 28px; }
.form-errors { background: #FBEDEC; color: #7A2723; padding: 14px 16px; font-size: 15px; }
.hp { position: absolute; left: -5000px; }

/* Nyhetsbrev */
.newsletter { border-top: 1px solid var(--line); background: var(--mist); }
.newsletter .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.newsletter h3 { font-size: 24px; font-weight: 500; }
.newsletter p { font-size: 16px; color: var(--body); }
.newsletter form { display: flex; flex: 1; max-width: 480px; min-width: min(100%, 280px); }
.newsletter input[type=email] { flex: 1; min-width: 0; border: 1px solid rgba(16, 35, 47, .3); border-right: none; background: var(--white); padding: 14px 16px; font-size: 16px; color: var(--ink); outline: none; border-radius: 0; }
.newsletter button { background: var(--navy); color: var(--white); border: none; padding: 0 22px; font-size: 16px; cursor: pointer; }
.newsletter button:hover { background: var(--sea); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(251, 251, 250, .75); }
.site-footer .top { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.site-footer .about { display: flex; flex-direction: column; gap: 18px; grid-column: span 2; max-width: 420px; }
@media (max-width: 480px) { .site-footer .about { grid-column: auto; } }
.site-footer .about img { height: 30px; width: auto; align-self: flex-start; }
.site-footer .about p { font-size: 15px; line-height: 1.6; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer .col span { color: var(--ice); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .col a { color: var(--white); }
.site-footer .col a:hover { color: var(--ice); }
.site-footer .bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(251, 251, 250, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.site-footer .bottom a { color: rgba(251, 251, 250, .75); }
.site-footer .bottom a:hover { color: var(--white); }

@media (max-width: 600px) {
    .hero__inner { padding-top: 48px; }
    .gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
}

/* Merke for KI-genererte bilder */
.ai-badge { position: absolute; left: 14px; bottom: 14px; background: rgba(12, 31, 44, .82); color: var(--white); font-size: 12px; letter-spacing: .04em; padding: 6px 10px; line-height: 1.3; pointer-events: none; }
.ai-badge[hidden] { display: none; }
.gallery__thumbs:has(> button:only-child) { display: none; }
