/* ==========================================================================
   axopar.no — klasser som erstatter eSite-originalens style="..." (#27778).
   CSP-en (style-src 'self', uten unsafe-inline) blokkerer inline stiler. Lastes sist, slik at den
   vinner som inline-stilen gjorde.
   ========================================================================== */

/* ---- Felles typografi: samme fontpar som i toppkarusellen ---- */
body { font-family:'Roboto',sans-serif; font-weight:400; line-height:1.65; }
button, input, select, textarea { font-family:'Roboto',sans-serif; }
h1, h2, h3, h4, h5, h6, .itemheader, .itempreviewheader { font-family:'Montserrat',sans-serif; font-weight:700; line-height:1.2; letter-spacing:-.035em; text-wrap:balance; }
h1, .itemheader { font-size:clamp(30px,3.2vw,46px); }
h2, .itempreviewheader { font-size:clamp(23px,2.2vw,32px); }
h3 { font-size:clamp(20px,1.8vw,26px); }
.forsideingress, .ingress { font-family:'Roboto',sans-serif; font-weight:400; font-size:clamp(18px,1.6vw,22px); line-height:1.65; }
.modell-mappe p, .forhandler p { line-height:1.7; }
#social h2 em { font-style:normal; }
a.bestillbtn, a.facebtn { font-family:'Roboto',sans-serif; font-size:16px; font-weight:400; letter-spacing:.04em; }
.privacy-dialog h2 { font-family:'Montserrat',sans-serif; font-weight:700; letter-spacing:-.035em; }

/* Gjeldende Axopar-sortiment: reserver bildeplass for stabile ankerhopp. */
.range-intro { max-width:960px; padding-top:65px; padding-bottom:35px; text-align:center; }
.range-intro h2 { font-size:clamp(38px,5.5vw,72px); line-height:1.08; letter-spacing:-.05em; margin:0 0 28px; }
/* Kompasset er dekorasjon i en avgrenset sticky-bakgrunn, ikke en fast overlay. */
.catalog-experience { position:relative; isolation:isolate; background:#fff; }
.catalog-foreground { position:relative; z-index:1; }
.compass-sticky { position:sticky; top:130px; height:0; z-index:0; pointer-events:none; }
/* Sjøkartet deler sticky-lag med kompasset og forsvinner etter modelloversikten. */
.nautical-chart { position:absolute; top:-130px; left:0; width:100%; height:100vh; height:100svh; color:#416d80; opacity:.11; pointer-events:none; }
.nautical-chart path, .nautical-chart circle { fill:none; stroke:currentColor; stroke-width:1; vector-effect:non-scaling-stroke; }
.nautical-chart .chart-grid { opacity:.45; stroke-dasharray:2 10; }
.nautical-chart .chart-contours { opacity:.7; }
.nautical-chart .chart-land path { fill:#dce8e9; stroke-width:1.4; }
.nautical-chart .chart-route { stroke-dasharray:8 9; opacity:.7; }
.nautical-chart .chart-symbols path { stroke-width:1.5; }
.nautical-chart .chart-red { color:#c72f39; }
.nautical-chart .chart-green { color:#267965; }
.nautical-chart .chart-text { fill:currentColor; font:italic 15px 'Roboto',sans-serif; }
.nautical-chart .chart-disclaimer { font:9px 'Roboto',sans-serif; letter-spacing:1.5px; }
@media (max-width:767px) { .nautical-chart { top:-150px; opacity:.075; } }
.tech-compass { position:absolute; right:3vw; top:90px; width:min(46vw,570px); aspect-ratio:1; color:#3c728c; isolation:isolate; font-family:'Montserrat',sans-serif; }
/* Hvit, ugjennomsiktig bakplate skjuler sjøkartet uten å gjøre kompasset sterkere. */
.tech-compass::before { content:""; position:absolute; inset:-4%; border-radius:50%; background:#fff; z-index:-1; }
.tech-compass > * { opacity:.085; }
.compass-orbit, .compass-ticks, .compass-inner { position:absolute; border-radius:50%; }
.compass-orbit { inset:0; border:1px solid currentColor; outline:1px solid currentColor; outline-offset:-16px; }
.compass-orbit::before, .compass-orbit::after { content:""; position:absolute; inset:5%; border:2px solid transparent; border-top-color:currentColor; border-bottom-color:currentColor; border-radius:50%; animation:compass-orbit 65s linear infinite; }
.compass-orbit::after { inset:11%; border-width:1px; animation-direction:reverse; animation-duration:45s; }
.compass-ticks { inset:3%; background:repeating-conic-gradient(from 0deg,currentColor 0deg 1deg,transparent 1deg 5deg); mask:radial-gradient(transparent 65%,#000 65% 70%,transparent 70%); -webkit-mask:radial-gradient(transparent 65%,#000 65% 70%,transparent 70%); }
.compass-inner { inset:20%; border:1px dashed currentColor; }
.compass-crosshair { position:absolute; inset:0; }
.compass-crosshair::before, .compass-crosshair::after { content:""; position:absolute; background:currentColor; }
.compass-crosshair::before { left:50%; top:8%; width:1px; height:84%; }
.compass-crosshair::after { top:50%; left:8%; height:1px; width:84%; }
.compass-north, .compass-south, .compass-east, .compass-west { position:absolute; font-size:clamp(17px,2.3vw,30px); font-weight:700; line-height:1; }
.compass-north { top:13%; left:50%; transform:translateX(-50%); }
.compass-south { bottom:13%; left:50%; transform:translateX(-50%); }
.compass-east { top:50%; right:13%; transform:translateY(-50%); }
.compass-west { top:50%; left:13%; transform:translateY(-50%); }
.compass-needle { position:absolute; inset:24%; animation:compass-heading 18s ease-in-out infinite alternate; }
.compass-needle::before, .compass-needle::after { content:""; position:absolute; left:43%; width:14%; height:50%; background:currentColor; clip-path:polygon(50% 0,100% 100%,50% 86%,0 100%); }
.compass-needle::before { top:0; background:#e3292e; }
.compass-needle::after { bottom:0; transform:rotate(180deg); }
.compass-hub { position:absolute; left:48%; top:48%; width:4%; height:4%; border:2px solid currentColor; border-radius:50%; background:#fff; }
.compass-label { position:absolute; bottom:23%; left:25%; width:50%; text-align:center; font-size:clamp(7px,.8vw,10px); letter-spacing:.2em; }
@keyframes compass-orbit { to { transform:rotate(360deg); } }
@keyframes compass-heading { 0% { transform:rotate(-28deg); } 50% { transform:rotate(12deg); } 100% { transform:rotate(-8deg); } }
@media (max-width:767px) { .range-intro { padding-top:42px; } .compass-sticky { top:150px; } .tech-compass { width:74vw; right:8vw; top:100px; } .tech-compass > * { opacity:.06; } }
@media (prefers-reduced-motion:reduce) { .compass-needle, .compass-orbit::before, .compass-orbit::after { animation:none; } }
.range-eyebrow { font-size:11px; letter-spacing:.18em; color:#0079bb; }
.range-intro > p:last-child { font-size:19px; line-height:1.7; }
.range-section { padding:50px 0 30px; }
.range-heading { display:grid; grid-template-columns:1fr 1.4fr; align-items:center; gap:40px; margin-bottom:32px; }
.range-heading h2 { font-size:clamp(32px,4vw,56px); letter-spacing:-.045em; margin:0; }
.range-heading p { font-size:19px; line-height:1.65; margin:0; }
/* Den lange AX/E-tittelen får hele raden, uten å krympe overskriftsfonten. */
#ax-e .range-heading { grid-template-columns:minmax(0,1fr); gap:24px; }
#ax-e .range-heading p { max-width:720px; }
@media (min-width:768px) { #ax-e-tittel { white-space:nowrap; text-wrap:nowrap; } }
.range-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.range-card { border:1px solid #e4edf1; border-radius:8px; overflow:hidden; background:#fff; }
.range-image { display:block; overflow:hidden; background:#f7f9fa; aspect-ratio:1080/608; }
.range-image img { display:block; width:100%; height:100%; object-fit:contain; transition:transform .6s ease; }
.range-card-body { padding:24px; }
.range-card h3 { font-size:22px; line-height:1.25; margin:0 0 20px; }
.range-detail, .range-contact { display:block; font-size:14px; font-weight:400; }
.range-language { display:block; font-size:12px; color:#617783; margin-top:3px; }
.range-contact { margin-top:20px; padding-top:16px; border-top:1px solid #e4edf1; }
.range-source { font-size:13px; color:#617783; margin-top:35px; margin-bottom:55px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .range-image:hover img { transform:scale(1.04); } }
@media (max-width:1100px) { .range-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) { .range-heading { grid-template-columns:1fr; gap:18px; } .range-grid { grid-template-columns:1fr; } .range-section { padding-top:30px; } }
@media (prefers-reduced-motion:reduce) { .range-image img { transition:none; } }

/* Kompakt velkomst uten de fjernede tekstblokkene. */
#Forsideingressholder #ForsideIngress { margin-top:30px; }
#Forsideingressholder { padding-bottom:10px; }
/* Produktkort: skulpturelle flater, røde signaturstreker og tydelige handlinger. */
.range-heading h2::after { content:""; display:block; width:64px; height:2px; background:#e3292e; margin-top:20px; }
.range-card { position:relative; display:flex; flex-direction:column; border:1px solid #879ca9; border-radius:12px; overflow:hidden; background:#fff; box-shadow:0 8px 30px rgba(9,32,45,.035); transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.range-card .range-image { position:relative; background:linear-gradient(150deg,#fff,#eef3f6); aspect-ratio:16/10; }
.range-card .range-image img { object-fit:contain; padding:10px; mix-blend-mode:multiply; transition:transform .65s cubic-bezier(.2,.65,.3,1); }
.range-card-body { display:flex; flex-direction:column; flex:1; padding:28px; }
.range-card h3 { font-size:clamp(19px,1.7vw,24px); line-height:1.25; margin:0 0 24px; }
.range-card h3::after { content:""; display:block; width:38px; height:2px; margin-top:17px; background:#e3292e; transition:width .35s ease; }
.range-card .range-detail { display:flex; justify-content:space-between; align-items:center; gap:12px; color:#102b3b; font-weight:700; font-size:14px; margin-top:auto; min-height:44px; text-decoration:none; }
.range-card .range-detail span { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#edf3f6; transition:background .3s,color .3s,transform .3s; }
.range-card .range-contact { color:#617783; font-size:12px; padding-top:16px; margin-top:16px; min-height:40px; }
.range-card:focus-within { border-color:#0079bb; box-shadow:0 12px 35px rgba(9,32,45,.12); }
.range-card .range-contact:hover { color:#0079bb; }
/* Sosiale medier under forhandlerne. Tekstoverskriften er fjernet. */
#social.social-bottom { display:flex; align-items:center; justify-content:center; gap:18px; clear:both; margin-top:0; padding-top:25px; padding-bottom:35px; }
#social .social-link { position:relative; isolation:isolate; display:grid; place-items:center; width:62px; height:62px; border:1px solid #dce4e8; border-radius:50%; color:#101820; background:#fff; font-size:27px; text-decoration:none; transition:color .3s, border-color .3s, box-shadow .3s, transform .3s; }
#social .social-link::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; background:#f0f7fc; transform:scale(.6); opacity:0; transition:transform .35s,opacity .35s; }
#social .social-instagram::before { background:#fff0f0; }
#social .social-link i { transition:transform .35s cubic-bezier(.2,.65,.3,1); }
#social .social-link:hover, #social .social-link:focus-visible { color:#0079bb; border-color:#0079bb; box-shadow:0 8px 24px rgba(0,121,187,.12); }
#social .social-instagram:hover, #social .social-instagram:focus-visible { color:#e3292e; border-color:#e3292e; box-shadow:0 8px 24px rgba(227,41,46,.12); }
#social .social-link:hover::before, #social .social-link:focus-visible::before { opacity:1; transform:scale(1); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .range-card:hover { transform:translateY(-7px); border-color:#354f60; box-shadow:0 20px 45px rgba(9,32,45,.1); }
 .range-card:hover .range-image img { transform:scale(1.055) translateY(-3px); }
 .range-card:hover h3::after, .range-card:focus-within h3::after { width:65px; }
 .range-card:hover .range-detail span { background:#102b3b; color:#fff; transform:rotate(-35deg); }
 #social .social-link:hover { transform:translateY(-5px); }
 #social .social-link:hover i { transform:rotate(-8deg) scale(1.12); }
 #social .social-instagram:hover i { transform:rotate(8deg) scale(1.12); }
}
@media (max-width:767px) { .range-card-body { padding:24px; } #social .social-link { width:56px; height:56px; font-size:25px; } }
@media (prefers-reduced-motion:reduce) {
 .range-card, .range-card .range-image img, .range-card h3::after, .range-card .range-detail span, #social .social-link, #social .social-link::before, #social .social-link i { transition:none; }
}

/* Bakgrunnsfilm før kontakt – uten konfigurator. */
.adventure-film { position:relative; isolation:isolate; overflow:hidden; min-height:620px; display:flex; align-items:center; background:#eef1f2; margin:35px 0 55px; }
.adventure-film video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.adventure-film-content { padding-top:65px; padding-bottom:100px; }
.adventure-film-card { max-width:460px; background:rgba(255,255,255,.96); border-radius:10px; padding:40px; box-shadow:0 12px 50px rgba(9,32,45,.08); }
.adventure-film-eyebrow { font-size:11px; letter-spacing:.18em; color:#0079bb; }
.adventure-film-card h2 { font-size:clamp(28px,3vw,40px); line-height:1.12; margin:14px 0 22px; }
.adventure-film-card > p { line-height:1.65; }
.adventure-film-card a { display:inline-block; margin-top:18px; font-weight:700; }
.adventure-film-card a span { margin-left:14px; }
.adventure-film-toggle { position:absolute; right:24px; bottom:24px; padding:12px 18px; min-height:44px; border:1px solid #d8e5eb; border-radius:5px; background:#fff; color:#153446; font-size:14px; box-shadow:0 3px 20px rgba(9,32,45,.1); }
.adventure-film-toggle[hidden] { display:none; }
@media (max-width:767px) {
    .adventure-film { min-height:660px; align-items:flex-end; }
    .adventure-film video { object-position:65% center; }
    .adventure-film-content { padding-top:280px; padding-bottom:90px; }
    .adventure-film-card { max-width:440px; padding:26px; }
    .adventure-film-toggle { right:15px; bottom:20px; }
}

/* Norske modellsider med interne lenker. */
.model-page { padding-top:125px; }
.model-breadcrumb { font-size:13px; color:#617783; margin:0 0 40px; line-height:1.8; }
.model-breadcrumb > span { margin-right:6px; }
.model-page-heading { max-width:950px; margin-bottom:45px; }
.model-page-heading h1 { font-size:clamp(36px,5vw,68px); line-height:1.08; letter-spacing:-.045em; margin:18px 0 28px; }
.model-lead { font-size:clamp(19px,2vw,24px); line-height:1.65; }
.model-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-top:28px; }
a.model-cta { display:inline-block; background:#0079bb; color:#fff; padding:15px 24px; border-radius:4px; text-decoration:none; font-size:16px; }
a.model-cta:hover { background:#005a8b; color:#fff; }
.model-page-image { margin:0 0 65px; }
.model-page-image img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#f7f9fa; border-radius:8px; }
.model-page-image figcaption { font-size:12px; color:#617783; margin-top:10px; }
.model-highlights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; padding-bottom:65px; scroll-margin-top:110px; }
.model-highlights h2 { font-size:26px; line-height:1.25; margin:0 0 18px; }
.model-highlights p { line-height:1.8; }
.model-specs { padding:60px 0; background:#f1f7fa; scroll-margin-top:110px; }
.model-spec-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:35px; }
.model-spec-grid > div { padding:18px 0; border-top:1px solid #c9dce5; }
.model-spec-grid dt { font-size:13px; color:#526975; font-weight:400; }
.model-spec-grid dd { font-size:21px; font-weight:700; line-height:1.4; margin-top:8px; }
.model-disclaimer { font-size:13px; color:#526975; max-width:900px; margin-top:35px; }
.model-enquiry { text-align:center; max-width:850px; padding-top:70px; padding-bottom:70px; }
.model-enquiry p { font-size:20px; line-height:1.7; margin:25px 0; }
.model-related { padding-bottom:50px; }
.model-related > h2 { margin-bottom:30px; }
.model-back { margin-bottom:60px; }
.model-page-footer { background:#04344e; color:#fff; padding:35px 0; text-align:center; font-size:14px; }
.model-page-footer #Byline > a { color:#fff; text-decoration:underline; }
@media (max-width:767px) {
    .model-page { padding-top:110px; }
    .model-breadcrumb { margin-bottom:25px; }
    .model-highlights, .model-spec-grid { grid-template-columns:1fr; }
    .model-highlights { gap:25px; }
    .model-spec-grid { gap:6px; }
    .model-actions { gap:16px; }
}

/* ---- Toppmenyen ---- */
.yamaha { margin-top:-18px; margin-left:20px; }
/* De tre strekene roterer rundt samme midtpunkt når menyen åpnes. */
#DropBtn { position:relative; width:44px; height:44px; cursor:pointer; }
#DropBtn .icon-bar { position:absolute; left:8px; top:21px; width:28px; height:2px; margin:0; transform-origin:center; transition:transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
#DropBtn #span1 { transform:translateY(-8px); }
#DropBtn #span12 { transform:scaleX(1); }
#DropBtn #span122 { transform:translateY(8px); }
#DropBtn.active #span1 { transform:rotate(45deg); }
#DropBtn.active #span12 { opacity:0; transform:scaleX(0); }
#DropBtn.active #span122 { transform:rotate(-45deg); }
@media (prefers-reduced-motion:reduce) { #DropBtn .icon-bar { transition:none; } }

/* ---- Bildekarusellen: hvert lysbilde hadde bakgrunnsbildet og 180 px luft i style="" ----
   Bildet er nå et <img> (redigerbart felt) bak teksten med samme geometri som
   background-size:cover / background-position:center bottom. */
.slideramme { padding-top:180px; padding-bottom:180px; overflow:hidden; }
.slidebilde { position:absolute; left:0; top:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center bottom; }
.maks1000 { max-width:1000px; }
.skygge2 { text-shadow:2px 2px 1px rgba(0, 0, 0, 1); }
.skygge1 { text-shadow:1px 1px 1px rgba(0, 0, 0, 1); }
/* responsiveslides satte disse som inline-stiler fra JS; nå tilstander styrt av site.js */
.rslides > li.slideramme { float:none; position:absolute; opacity:0; z-index:1; display:list-item; transition:opacity 500ms ease-in-out; }
.rslides > li.slideramme.rslides1_on { float:left; position:relative; opacity:1; z-index:2; }

/* ---- Båtmodellene ---- */
.modell-ramme { margin-bottom:50px; margin-left:auto; margin-right:auto; float:none; }
.mb30 { margin-bottom:30px; }
.mb40 { margin-bottom:40px; }
.mb20 { margin-bottom:20px; }
.mt20 { margin-top:20px; }
/* #Artikkelbilde fantes én gang pr modell (duplikat-id) — nå klasse med samme regel som css_styles */
.artikkelbilde img { width:100%; height:auto; }
.ingress-luft { margin-bottom:25px; margin-top:20px; }
img.mainimg { width:100%; height:auto; }
.h50 { height:50px; }
.tc { text-align:center; }

/* ---- Bølgende avslutning på forsiden ---- */
.pt-forside #Felt8 { border-bottom:0; display:flow-root; }
.pt-forside #KnappAvdelingerHolder { display:flow-root; }
.pt-forside #kontakt { margin-bottom:0; }
#FooterHolder.ocean-footer { clear:both; padding:0; margin-top:12px; overflow:hidden; }
.ocean-waves { position:relative; height:110px; overflow:hidden; pointer-events:none; }
.ocean-wave { position:absolute; left:0; bottom:-1px; display:block; width:200%; max-width:none; height:100%; animation:ocean-flow 18s linear infinite; }
.ocean-wave-back { fill:#a7d8eb; height:110%; animation-duration:26s; animation-delay:-9s; }
.ocean-wave-middle { fill:#52acd1; height:90%; animation-duration:21s; animation-direction:reverse; animation-delay:-5s; }
.ocean-wave-front { fill:#0079bb; height:72%; animation-duration:17s; animation-delay:-12s; }
.ocean-depth { position:relative; background:linear-gradient(180deg,#0079bb 0%,#005a8b 60%,#04344e 100%); padding:24px 0 46px; }
.ocean-footer #Tekstblokk { margin:0 15px; }
.ocean-footer #Byline { color:#fff; font-size:14px; font-style:normal; font-weight:400; line-height:1.9; padding:8px 0; text-wrap:balance; }
.ocean-footer #Byline a { color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.55); text-underline-offset:4px; }
.ocean-footer #Byline a:hover { color:#fff; text-decoration-color:#fff; }
@keyframes ocean-flow { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (max-width:767px) {
    .ocean-waves { height:70px; }
    .ocean-depth { padding:20px 0 34px; }
    .ocean-footer #Byline { font-size:14px; max-width:320px; margin:auto; }
}
@media (prefers-reduced-motion:reduce) { .ocean-wave { animation:none; } }

/* Godvær over vannet: lette CSS-former, ingen ekstra bildefiler. */
.coastal-scene { position:relative; height:270px; overflow:hidden; background:linear-gradient(180deg,#fff 0%,#f4fbff 28%,#dff3fb 72%,#cae9f4 100%); pointer-events:none; }
.coastal-sky { position:absolute; inset:0; overflow:hidden; }
.coastal-scene .ocean-waves { position:absolute; bottom:0; left:0; width:100%; z-index:3; }
.coastal-sun { position:absolute; right:19%; top:48px; width:64px; height:64px; border-radius:50%; background:#ffda7a; box-shadow:0 0 0 14px rgba(255,220,137,.14),0 0 60px 22px rgba(255,216,120,.2); }
.coastal-cloud { position:absolute; left:-180px; width:120px; height:25px; border-radius:60px; background:rgba(255,255,255,.9); animation:coastal-cloud-drift 80s linear infinite; }
.coastal-cloud::before, .coastal-cloud::after { content:""; position:absolute; bottom:0; background:inherit; border-radius:50%; }
.coastal-cloud::before { width:54px; height:54px; left:22px; }
.coastal-cloud::after { width:40px; height:40px; right:15px; }
.coastal-cloud-one { top:80px; animation-delay:-20s; }
.coastal-cloud-two { top:52px; width:100px; height:20px; opacity:.65; animation-duration:105s; animation-delay:-67s; }
.coastal-cloud-three { top:125px; width:145px; height:24px; opacity:.55; animation-duration:90s; animation-delay:-46s; }
.coastal-gull { position:absolute; width:30px; height:15px; color:#527b8b; animation:coastal-gull-glide 10s ease-in-out infinite alternate; }
.coastal-gull::before, .coastal-gull::after { content:""; position:absolute; top:3px; width:17px; height:10px; border-top:2px solid currentColor; border-radius:50%; }
.coastal-gull::before { left:0; transform:rotate(16deg); }
.coastal-gull::after { right:0; transform:rotate(-16deg); }
.coastal-gull-one { left:36%; top:84px; }
.coastal-gull-two { left:40%; top:103px; scale:.75; animation-delay:-4s; animation-duration:13s; }
.coastal-gull-three { left:33%; top:112px; scale:.55; opacity:.7; animation-delay:-7s; }
.coastal-island { position:absolute; right:12%; bottom:47px; width:210px; height:62px; }
.island-rock { position:absolute; bottom:0; background:#83a6a7; border-radius:65% 70% 0 0; }
.island-rock-one { left:16px; width:160px; height:42px; transform:rotate(-6deg); }
.island-rock-two { right:0; width:110px; height:29px; background:#96b4b1; }
.island-grass { position:absolute; left:36px; bottom:22px; width:125px; height:25px; border-radius:65% 85% 25% 20%; background:#7a9f88; transform:rotate(-5deg); }
@keyframes coastal-cloud-drift { from { left:-180px; } to { left:calc(100% + 30px); } }
@keyframes coastal-gull-glide { from { transform:translate(-12px,3px) rotate(-5deg); } to { transform:translate(25px,-8px) rotate(5deg); } }
@media (max-width:767px) {
    .coastal-scene { height:215px; }
    .coastal-sun { width:48px; height:48px; right:16%; top:42px; }
    .coastal-island { right:5%; bottom:28px; scale:.75; transform-origin:right bottom; }
    .coastal-gull-one { left:22%; top:75px; }
    .coastal-gull-two { left:32%; top:95px; }
    .coastal-gull-three { left:17%; top:108px; }
    .coastal-cloud-three { top:115px; }
}
@media (prefers-reduced-motion:reduce) {
    .coastal-cloud, .coastal-gull { animation:none; }
    .coastal-cloud-one { left:12%; }
    .coastal-cloud-two { left:65%; }
    .coastal-cloud-three { left:40%; }
}

/* Personvernvalg: native dialog gir fokusfelle og Escape-lukking. */
.privacy-dialog { position:fixed; inset:0; width:calc(100% - 32px); max-width:560px; max-height:85vh; overflow:auto; margin:auto; padding:36px; border:0; border-radius:14px; background:#fff; color:#153446; text-align:left; font:400 16px/1.6 'Roboto',sans-serif; box-shadow:0 24px 100px rgba(0,20,35,.3); }
.privacy-dialog:not([open]) { display:none; }
.privacy-dialog::backdrop { background:rgba(3,20,32,.72); backdrop-filter:blur(6px); }
.privacy-dialog form { margin:0; }
.privacy-close { position:absolute; right:12px; top:10px; width:44px; height:44px; border:0; border-radius:50%; background:#edf5f8; color:#153446; font-size:28px; cursor:pointer; }
.privacy-eyebrow { color:#0079bb; font-size:11px; letter-spacing:.18em; margin:4px 0 14px; }
.privacy-dialog h2 { color:#153446; font-size:26px; line-height:1.2; margin:0 30px 16px 0; }
.privacy-options { display:grid; gap:12px; margin:24px 0; }
#Byline .privacy-options a { display:block; padding:18px; border:1px solid #cee1eb; border-radius:8px; background:#f4f9fc; color:#153446; text-decoration:none; transition:background .2s; }
#Byline .privacy-options a:hover { background:#e3f2fa; color:#005a8b; }
.privacy-options strong { display:block; font-size:16px; }
.privacy-options a > span { display:block; margin-top:4px; font-size:14px; }
.privacy-options strong span { float:right; }
.privacy-note { font-size:13px; color:#526975; margin-bottom:0; }
@media (max-width:767px) { .privacy-dialog { padding:28px 22px; } }

/* ---- Kontakt ---- */
.blaa { color:#0079bb; }
.stor-tekst { font-size:1.3em; line-height:1.5em; }

/* ---- Personvern: originalen hadde to elementer med id FooterHolder og to med id Footer ---- */
.footerholder2 { clear:both; padding-top:50px; padding-bottom:20px; }
.footer2 { clear:left; text-align:center; background-color:#EBEBEB; padding:24px 0; margin-left:0; margin-right:0; font-size:10px; border-top-color:#B2B2B2; }

/* ---- Tilstander satt av site.js (erstatter jQuery slideToggle) ---- */
#Xs-menu.is-open { display:block; }
#Xs-menu.is-sliding { overflow:hidden; }
/* Tydelig tastaturfokus, også på mobilmenyen. */
.DropBtn:focus-visible, #DropBtn:focus-visible, a:focus-visible, button:focus-visible { outline:3px solid #42c4ff; outline-offset:5px; }

/* Moderne, maritim toppseksjon. Alle effekter styres av klasser, uten inline CSS. */
#RespSlide { position:relative; background:#071c2a; }
.rslides { position:relative; list-style:none; padding:0; margin:0; overflow:hidden; width:100%; }
.rslides > li.slideramme { margin:0; padding:0; width:100%; min-height:640px; height:88vh; height:88svh; max-height:980px; transition:opacity 1s ease; pointer-events:none; }
.rslides > li.slideramme.rslides1_on { float:none; pointer-events:auto; }
#BildeDiv .slidebilde { height:100%; width:100%; object-fit:cover; object-position:center; transform:scale(1.015); }
.hero-slide-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; transition:opacity .7s ease; pointer-events:none; }
.video-ready .hero-slide-video { opacity:1; }
@media (prefers-reduced-motion:reduce) { .hero-slide-video { display:none; } }
.slideramme::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(3,18,29,.8),rgba(3,18,29,.25) 75%),linear-gradient(0deg,rgba(3,18,29,.6),transparent 55%); pointer-events:none; }
#RespSlide .slidetekstholder { z-index:3; top:52%; width:calc(100% - 100px); max-width:1170px; text-align:left; }
.hero-eyebrow { font-size:12px; font-weight:500; letter-spacing:.24em; margin:0 0 24px; color:#fff; }
#RespSlide .bildeheading { color:#fff; font-size:clamp(36px,5.3vw,78px); line-height:1.08; font-weight:700; letter-spacing:-.045em; text-transform:none; max-width:850px; margin:0 0 24px; text-wrap:balance; text-shadow:0 2px 24px rgba(0,0,0,.18); }
#RespSlide .bildeintroduction { max-width:580px; font-size:clamp(17px,1.6vw,22px); line-height:1.6; font-weight:300; margin:0 0 30px; text-wrap:pretty; }
#RespSlide .btn-bilde { display:flex; flex-wrap:wrap; gap:12px; }
#RespSlide .btn-bilde a { margin:0; padding:16px 24px; border-radius:3px; font-size:13px; letter-spacing:.08em; font-weight:500; background:rgba(3,18,29,.2); }
#RespSlide .btn-bilde a.hero-primary { color:#071c2a; background:#fff; border-color:#fff; }
#RespSlide .btn-bilde a:hover { background:#0079bb; border-color:#0079bb; color:#fff; transform:translateY(-3px); }
.hero-primary span { padding-left:18px; }
.hero-controls { position:absolute; bottom:30px; left:50%; transform:translateX(-50%); z-index:5; display:flex; align-items:center; gap:8px; padding:6px; border:1px solid rgba(255,255,255,.25); border-radius:6px; background:rgba(3,18,29,.65); backdrop-filter:blur(14px); }
.hero-controls button { appearance:none; border:0; background:transparent; color:#fff; font:500 12px 'Roboto',sans-serif; min-width:44px; min-height:44px; padding:10px; border-radius:3px; transition:background .2s; }
.hero-controls button:hover, .hero-controls button[aria-current="true"] { background:#fff; color:#071c2a; }
.rslides1_on .slidebilde { animation:hero-drift 8s ease-out both; }
.rslides1_on .hero-eyebrow, .rslides1_on .bildeheading, .rslides1_on .bildeintroduction, .rslides1_on .btn-bilde { animation:hero-enter .9s .12s both; }
.rslides1_on .bildeintroduction { animation-delay:.24s; }
.rslides1_on .btn-bilde { animation-delay:.36s; }
@keyframes hero-drift { from { transform:scale(1.065); } to { transform:scale(1.015); } }
@keyframes hero-enter { from { opacity:0; translate:0 20px; } to { opacity:1; translate:0 0; } }

/* Utsatt rendering av seksjoner uten å fjerne tekst fra HTML eller søkemotorer. */
/* Behold lazy-bilder, men unngå estimerte seksjonshøyder som forskyver ankre. */
.modell-felt { content-visibility:visible; }
.modell-mappe .form-group { display:flow-root; content-visibility:visible; }
.modell, .model-anchor { scroll-margin-top:110px; }
#kontakt { scroll-margin-top:80px; }
/* Beregn den faktiske sidehøyden før hopp til kontakt, ikke estimerte seksjonshøyder. */
.contact-anchor-ready .modell-felt,
.contact-anchor-ready .modell-mappe .form-group { content-visibility:visible; }
.scroll-reveal { transition:opacity .8s ease, translate .8s cubic-bezier(.2,.65,.3,1); }
.reveal-pending { opacity:0; translate:0 26px; }
.scroll-reveal:focus-within { opacity:1; translate:0 0; }
.artikkelbilde { overflow:hidden; border-radius:5px; background:#eff4f6; }
.artikkelbilde img, img.mainimg { transition:transform 1s cubic-bezier(.2,.65,.3,1); }
#Forsideingressholder { padding-top:30px; padding-bottom:45px; }
.modell-ramme h1 { font-family:'Montserrat',sans-serif; font-weight:700; font-size:clamp(32px,4vw,56px); line-height:1.1; letter-spacing:-.045em; text-wrap:balance; }
a.bestillbtn, a.facebtn { border-radius:4px; transition:background .25s, transform .25s, box-shadow .25s; }
a.bestillbtn:hover, a.facebtn:hover { transform:translateY(-3px); box-shadow:0 10px 25px rgba(0,75,115,.16); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .artikkelbilde:hover img { transform:scale(1.025); } }
@media (max-width:767px) {
    .rslides > li.slideramme { min-height:660px; height:90svh; max-height:850px; }
    #RespSlide .slidetekstholder { width:calc(100% - 40px); top:50%; }
    .hero-eyebrow { font-size:10px; letter-spacing:.16em; margin-bottom:20px; }
    #RespSlide .bildeheading { font-size:clamp(34px,9vw,52px); }
    #RespSlide .bildeintroduction { font-size:17px; margin-bottom:24px; }
    #RespSlide .btn-bilde a { font-size:11px; padding:14px 16px; }
    .hero-controls { bottom:18px; gap:0; padding:4px; width:max-content; max-width:calc(100% - 24px); flex-wrap:wrap; justify-content:center; }
    .hero-controls button { flex:0 0 auto; }
    .hero-controls button { min-width:40px; }
    .hero-controls button { padding:8px; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    #RespSlide *, .scroll-reveal, .artikkelbilde img, img.mainimg, a.bestillbtn, a.facebtn { animation:none !important; transition:none !important; }
    .reveal-pending { opacity:1; translate:none; }
    #RespSlide .btn-bilde a:hover, a.bestillbtn:hover, a.facebtn:hover { transform:none; }
}
