1import{i as e,n as t,o as n,r}from"./i18n-BUcWwEfc.js";import{a as i,c as a,d as o,i as s,l as c,o as l,r as u,s as d,t as f}from"./index-BdB-EZHV.js";import{t as p}from"./bar.png.asset-BSQuYH3n.js";var m=c(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),h=c(`compass`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z`,key:`9ktpf1`}]]),g=c(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),_=c(`utensils-crossed`,[[`path`,{d:`m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8`,key:`n7qcjb`}],[`path`,{d:`M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7`,key:`d0u48b`}],[`path`,{d:`m2.1 21.8 6.4-6.3`,key:`yn04lh`}],[`path`,{d:`m19 5-7 7`,key:`194lzd`}]]),v=n(e(),1),y=r();function b({children:e,className:t=``,delay:n=0,as:r=`div`,soft:i=!1}){let a=(0,v.useRef)(null),[o,s]=(0,v.useState)(!1);(0,v.useEffect)(()=>{let e=a.current;if(!e)return;if(typeof IntersectionObserver>`u`){s(!0);return}let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(s(!0),t.unobserve(e.target))})},{threshold:i?.08:.12,rootMargin:`0px 0px -60px 0px`});return t.observe(e),()=>t.disconnect()},[i]);let c=i?14:28,l=i?1100:900;return(0,y.jsx)(r,{ref:a,style:{opacity:+!!o,transform:o?`translateY(0)`:`translateY(${c}px)`,transition:`opacity ${l}ms cubic-bezier(0.22, 1, 0.36, 1) ${n}ms, transform ${l}ms cubic-bezier(0.22, 1, 0.36, 1) ${n}ms`,willChange:`opacity, transform`},className:t,children:e})}var x={asset_id:`cd6924d6-db00-4c19-8ff8-28fc5b6cfb20`,content_type:`image/png`,created_at:`2026-07-08T09:05:11Z`,original_filename:`ekkeroy-kaia-forside.png`,project_id:`f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0`,r2_key:`a/v1/f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0/cd6924d6-db00-4c19-8ff8-28fc5b6cfb20/ekkeroy-kaia-forside.png`,size:2669940,url:`/__l5e/assets-v1/cd6924d6-db00-4c19-8ff8-28fc5b6cfb20/ekkeroy-kaia-forside.png`,version:1},S={asset_id:`c501b18a-6027-48cc-905a-70e35919826b`,content_type:`image/png`,created_at:`2026-07-03T15:51:17Z`,original_filename:`havhesten-exterior.png`,project_id:`f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0`,r2_key:`a/v1/f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0/c501b18a-6027-48cc-905a-70e35919826b/havhesten-exterior.png`,size:2344388,url:`/__l5e/assets-v1/c501b18a-6027-48cc-905a-70e35919826b/havhesten-exterior.png`,version:1},C={asset_id:`249cce37-b785-44a4-a702-f94db9f038de`,content_type:`image/png`,created_at:`2026-07-08T08:55:45Z`,original_filename:`restaurant-building.png`,project_id:`f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0`,r2_key:`a/v1/f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0/249cce37-b785-44a4-a702-f94db9f038de/restaurant-building.png`,size:2348182,url:`/__l5e/assets-v1/249cce37-b785-44a4-a702-f94db9f038de/restaurant-building.png`,version:1},w={asset_id:`2e16f239-6aa2-4a53-beed-c625a38a50af`,content_type:`image/png`,created_at:`2026-07-03T15:51:29Z`,original_filename:`ekkeroy-beach.png`,project_id:`f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0`,r2_key:`a/v1/f4add6c1-e3d8-4e98-a6cb-4dd3246a43d0/2e16f239-6aa2-4a53-beed-c625a38a50af/ekkeroy-beach.png`,size:264804,url:`/__l5e/assets-v1/2e16f239-6aa2-4a53-beed-c625a38a50af/ekkeroy-beach.png`,version:1};function T(){return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(E,{}),(0,y.jsx)(D,{}),(0,y.jsx)(O,{}),(0,y.jsx)(k,{}),(0,y.jsx)(A,{}),(0,y.jsx)(j,{}),(0,y.jsx)(M,{}),(0,y.jsx)(N,{})]})}function E(){let{t:e}=t();return(0,y.jsxs)(`section`,{className:`relative h-[100svh] min-h-[640px] w-full overflow-hidden`,children:[(0,y.jsx)(`img`,{src:x.url,alt:`Røde rorbuer og brygge på Ekkerøy med blått hav og klart vær`,className:`absolute inset-0 h-full w-full object-cover`,style:{filter:`brightness(0.92)`}}),(0,y.jsx)(`div`,{className:`absolute inset-0 hero-gradient`}),(0,y.jsx)(`div`,{className:`absolute inset-0 hero-sky-gradient`}),(0,y.jsx)(`div`,{className:`relative z-10 mx-auto flex h-full max-w-7xl flex-col justify-start px-5 pt-28 md:px-10 md:pt-36`,children:(0,y.jsxs)(`div`,{className:`max-w-3xl fade-in-up`,children:[(0,y.jsx)(`p`,{className:`eyebrow text-sand/90 text-shadow-ink`,children:e.home.eyebrow}),(0,y.jsxs)(`h1`,{className:`mt-4 text-sand text-[2.6rem] leading-[1.02] text-shadow-ink md:text-7xl lg:text-8xl`,style:{fontFamily:`var(--font-display)`,fontWeight:300},children:[e.home.h1a,` `,(0,y.jsx)(`br`,{className:`hidden md:block`}),` `,(0,y.jsx)(`em`,{className:`italic text-sun text-shadow-ink`,children:e.home.h1b})]}),(0,y.jsx)(`p`,{className:`mt-6 max-w-xl text-base md:text-lg text-sand/90 leading-relaxed text-shadow-ink`,children:e.home.heroText}),(0,y.jsxs)(`div`,{className:`mt-10 flex flex-wrap gap-3`,children:[(0,y.jsxs)(`a`,{href:`https://booking.gastroplanner.no/havhesten/t`,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-2 rounded-full bg-sun px-7 py-4 text-sm font-medium text-ink transition hover:bg-sun-deep`,style:{backgroundColor:`var(--sun)`,color:`var(--ink)`},children:[e.home.ctaTable,` `,(0,y.jsx)(m,{className:`h-4 w-4`})]}),(0,y.jsx)(o,{to:`/rorbuer`,className:`inline-flex items-center gap-2 rounded-full border border-sand/40 bg-sand/10 px-7 py-4 text-sm font-medium text-sand backdrop-blur transition hover:bg-sand/20`,children:e.home.ctaStay})]})]})}),(0,y.jsxs)(`div`,{className:`absolute bottom-6 right-6 z-10 hidden md:flex items-center gap-2 text-xs text-sand/70`,children:[(0,y.jsx)(`span`,{className:`h-px w-10 bg-sand/50`}),` `,e.common.scroll]})]})}function D(){let{t:e}=t();return(0,y.jsxs)(`section`,{className:`mx-auto max-w-5xl px-5 md:px-10 py-16 md:py-36 text-center`,children:[(0,y.jsx)(b,{children:(0,y.jsx)(`p`,{className:`eyebrow text-primary/70`,children:e.home.introEyebrow})}),(0,y.jsx)(b,{delay:120,children:(0,y.jsx)(`p`,{className:`mt-6 text-3xl md:text-5xl leading-tight text-foreground`,style:{fontFamily:`var(--font-display)`,fontWeight:300},children:e.home.introLead})}),(0,y.jsx)(b,{delay:220,children:(0,y.jsx)(`p`,{className:`mt-8 text-base text-muted-foreground max-w-2xl mx-auto leading-relaxed`,children:e.home.introText})})]})}function O(){let{t:e}=t();return(0,y.jsx)(`section`,{className:`mx-auto max-w-7xl px-5 md:px-10 pb-16 md:pb-24`,children:(0,y.jsx)(`div`,{className:`grid gap-6 md:grid-cols-3`,children:[{icon:_,href:`/restaurant`,img:C.url},{icon:g,href:`/rorbuer`,img:i.url},{icon:h,href:`/opplevelser`,img:u.url}].map(({icon:t,href:n,img:r},i)=>{let{title:a,text:s}=e.home.pillars[i];return(0,y.jsx)(b,{delay:i*120,children:(0,y.jsxs)(o,{to:n,className:`group relative block overflow-hidden rounded-2xl bg-card shadow-[var(--shadow-card)] hover:shadow-[var(--shadow-elegant)] hover:-translate-y-1`,children:[(0,y.jsx)(`div`,{className:`aspect-[4/5] overflow-hidden`,children:(0,y.jsx)(`img`,{src:r,alt:a,className:`h-full w-full object-cover group-hover:scale-[1.06]`})}),(0,y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-ink/95 via-ink/55 to-ink/10`}),(0,y.jsxs)(`div`,{className:`absolute inset-x-0 bottom-0 p-7 text-sand`,children:[(0,y.jsx)(t,{className:`h-6 w-6 text-sun`}),(0,y.jsx)(`h3`,{className:`mt-3 text-2xl text-shadow-ink`,style:{fontFamily:`var(--font-display)`,fontWeight:400},children:a}),(0,y.jsx)(`p`,{className:`mt-2 text-sm text-sand/90 max-w-xs text-shadow-ink`,children:s}),(0,y.jsxs)(`div`,{className:`mt-4 inline-flex items-center gap-1 text-sm text-sun`,children:[e.common.readMore,` `,(0,y.jsx)(m,{className:`h-4 w-4 transition group-hover:translate-x-1`})]})]})]})},n)})})})}function k(){let{t:e}=t();return(0,y.jsxs)(`section`,{className:`mx-auto max-w-7xl px-5 md:px-10 py-16 md:py-24 grid gap-12 md:grid-cols-2 md:items-center`,children:[(0,y.jsxs)(b,{className:`relative`,children:[(0,y.jsx)(`img`,{src:s.url,alt:`Terrassen med utsikt over Varangerfjorden`,className:`rounded-2xl shadow-[var(--shadow-card)] w-full aspect-[4/3] object-cover hover:scale-[1.02]`}),(0,y.jsx)(`img`,{src:p.url,alt:`Baren på Havhesten`,className:`hidden md:block absolute -bottom-10 -right-6 w-56 rounded-xl shadow-[var(--shadow-elegant)] ring-4 ring-background hover:-rotate-1`})]}),(0,y.jsxs)(b,{className:`md:pl-8`,delay:140,children:[(0,y.jsx)(`p`,{className:`eyebrow text-primary/70`,children:e.home.restaurantEyebrow}),(0,y.jsx)(`h2`,{className:`mt-4 text-4xl md:text-5xl leading-tight`,style:{fontFamily:`var(--font-display)`,fontWeight:400},children:e.home.restaurantTitle}),(0,y.jsx)(`p`,{className:`mt-6 text-muted-foreground leading-relaxed`,children:e.home.restaurantText}),(0,y.jsx)(`ul`,{className:`mt-6 space-y-2 text-sm text-foreground
1/80`,children:e.home.restaurantBullets.map(e=>(0,y.jsxs)(`li`,{children:[`· `,e]},e))}),(0,y.jsxs)(`div`,{className:`mt-8 flex flex-wrap gap-3`,children:[(0,y.jsxs)(o,{to:`/restaurant`,className:`inline-flex items-center gap-2 rounded-full bg-primary px-6 py-3 text-sm font-medium text-primary-foreground hover:bg-primary/90 hover:-translate-y-0.5`,children:[e.home.restaurantCta,` `,(0,y.jsx)(m,{className:`h-4 w-4`})]}),(0,y.jsxs)(`a`,{href:`tel:+4740620327`,className:`inline-flex items-center gap-2 rounded-full border border-border px-6 py-3 text-sm hover:bg-accent/40 hover:-translate-y-0.5`,children:[(0,y.jsx)(l,{className:`h-4 w-4`}),` `,e.home.restaurantCall]})]})]})]})}function A(){let{t:e}=t();return(0,y.jsxs)(`section`,{className:`relative py-32 mt-12`,children:[(0,y.jsxs)(`div`,{className:`absolute inset-0`,children:[(0,y.jsx)(`img`,{src:i.url,alt:`Rorbuene i gyllent kveldslys`,className:`h-full w-full object-cover`}),(0,y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-ink/85 via-ink/50 to-transparent`})]}),(0,y.jsx)(`div`,{className:`relative mx-auto max-w-7xl px-5 md:px-10`,children:(0,y.jsxs)(b,{className:`max-w-xl text-sand`,children:[(0,y.jsx)(`p`,{className:`eyebrow text-sun`,children:e.home.cabinsEyebrow}),(0,y.jsx)(`h2`,{className:`mt-4 text-4xl md:text-5xl leading-tight`,style:{fontFamily:`var(--font-display)`,fontWeight:400},children:e.home.cabinsTitle}),(0,y.jsx)(`p`,{className:`mt-6 text-sand/85 leading-relaxed`,children:e.home.cabinsText}
1),(0,y.jsxs)(o,{to:`/rorbuer`,className:`mt-8 inline-flex items-center gap-2 rounded-full bg-sand px-7 py-4 text-sm font-medium text-ink hover:bg-sand/90 hover:-translate-y-0.5`,children:[e.home.cabinsCta,` `,(0,y.jsx)(m,{className:`h-4 w-4`})]})]})})]})}function j(){let{t:e}=t(),n=[u.url,w.url,f.url,S.url];return(0,y.jsxs)(`section`,{className:`mx-auto max-w-7xl px-5 md:px-10 py-16 md:py-24 pb-12`,children:[(0,y.jsxs)(`div`,{className:`flex flex-col gap-3 mb-10 sm:flex-row sm:items-end sm:justify-between sm:gap-6`,children:[(0,y.jsxs)(`div`,{className:`min-w-0`,children:[(0,y.jsx)(`p`,{className:`eyebrow text-primary/70`,children:e.home.stripEyebrow}),(0,y.jsx)(`h2`,{className:`mt-3 text-3xl md:text-4xl`,style:{fontFamily:`var(--font-display)`},children:e.home.stripTitle})]}),(0,y.jsx)(o,{to:`/opplevelser`,className:`shrink-0 text-sm underline underline-offset-4 hover:text-primary`,children:e.common.seeAll})]}),(0,y.jsx)(`div`,{className:`grid grid-cols-2 gap-4 md:grid-cols-4`,children:e.home.strip.map((e,t)=>(0,y.jsx)(b,{delay:t*100,children:(0,y.jsxs)(`div`,{className:`group overflow-hidden rounded-xl`,children:[(0,y.jsx)(`div`,{className:`aspect-square overflow-hidden`,children:(0,y.jsx)(`img`,{src:n[t],alt:e.title,className:`h-full w-full object-cover group-hover:scale-110`})}),(0,y.jsxs)(`div`,{className:`pt-4`,children:[(0,y.jsx)(`div`,{className:`font-medium`,children:e.title}),(0,y.jsx)(`div`,{className:`text-sm text-muted-foreground mt-1`,children:e.text})]})]})},e.title))})]})}function M(){let{t:e}=t();return(0,y.jsxs)(`section`,{className:`mx-auto max-w-5xl px-5 md:px-10 pt-8 pb-16 text-center`,children:[(0,y.jsx)(b,{soft:!0,children:(0,y.jsx)(`p`,{className:`eyebrow text-primary/70`,children:e.home.testimonialEyebrow})}),(0,y.jsx)(`div`,{className:`mt-6 grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:e.home.testimonials.map((e,t)=>(0,y.jsx)(b,{delay:t*80,soft:!0,children:(0,y.jsxs)(`blockquote`,{className:`text-foreground`,children:[(0,y.jsx)(`span`,{className:`text-sun text-2xl leading-none`,children:`â`}),(0,y.jsx)(`p`,{className:`mt-2 text-base leading-relaxed`,style:{fontFamily:`var(--font-display)`,fontWeight:300},children:e.quote}),e.source&&(0,y.jsx)(`div`,{className:`mt-3 text-xs text-muted-foreground`,children:e.source})]})},t))})]})}function N(){let{t:e}=t();return(0,y.jsx)(`section`,{className:`mx-auto max-w-7xl px-5 md:px-10 pb-16 md:pb-24`,children:(0,y.jsx)(b,{children:(0,y.jsxs)(`div`,{className:`rounded-3xl bg-card border border-border p-10 md:p-16 text-center shadow-[var(--shadow-card)] hover:shadow-[var(--shadow-elegant)]`,children:[(0,y.jsx)(`p`,{className:`eyebrow text-primary/70`,children:e.home.ctaEyebrow}),(0,y.jsx)(`h2`,{className:`mt-4 text-3xl md:text-5xl`,style:{fontFamily:`var(--font-display)`,fontWeight:400},children:e.home.ctaTitle}),(0,y.jsx)(`p`,{className:`mt-4 text-muted-foreground max-w-xl mx-auto`,children:e.home.ctaText}),(0,y.jsxs)(`div`,{className:`mt-8 flex flex-wrap items-center justify-center gap-3`,children:[(0,y.jsxs)(`a`,{href:`tel:+4740620327`,className:`inline-flex items-center gap-2 rounded-full bg-primary px-7 py-4 text-sm font-medium text-primary-foreground hover:bg-primary/90 hover:-translate-y-0.5`,children:[(0,y.jsx)(l,{className:`h-4 w-4`}),` +47 406 20 327`]}),(0,y.jsxs)(`a`,{href:`mailto:[email protected]`,className:`inline-flex items-center gap-2 rounded-full border border-border px-7 py-4 text-sm hover:bg-accent hover:-translate-y-0.5`,children:[(0,y.jsx)(a,{className:`h-4 w-4`}),` [email protected]`]}),(0,y.jsxs)(o,{to:`/kontakt`,className:`inline-flex items-center gap-2 rounded-full border border-border px-7 py-4 text-sm hover:bg-accent hover:-translate-y-0.5`,children:[(0,y.jsx)(d,{className:`h-4 w-4`}),` `,e.home.ctaContact]})]})]})})})}export{T as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.