/* =========================================================================
   Søya Gard – forside (utkast v2)
   Design: bevarer identiteten (logo, Montserrat/Inter, fjell-overskrifter,
   bakgrunnsbilde-seksjoner, grønn/gull-palett) – men mindre "AI-generisk",
   sterkere hero (plakat), meir engasjerande seksjonar.
   Håndskrevet CSS – ingen rammeverk.
   ========================================================================= */

/* Skrifttypene ligger på egen server (ikke Google Fonts) – se assets/css/fonter.css */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Design tokens ---------- */
:root {
  --green-900: #263c33;
  --green-800: #33493f;
  --green-700: #2c433a;
  --green-600: #327660;
  --gold:      #d99a2b;
  --gold-600:  #c2871f;
  --gold-200:  #f6e799;

  --ink:      #2b2b2b;
  --ink-soft: #5c5f5b;
  --cream:    #faf6ee;
  --cream-2:  #f3ede0;
  --paper:    #ffffff;
  --line:     #e7e1d3;

  --maxw: 1180px;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(31, 41, 36, .08);
  --shadow-md: 0 16px 44px rgba(31, 41, 36, .18);

  --ff-head: "Montserrat", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; font-family: var(--ff-body); color: var(--ink); background: var(--paper);
  line-height: 1.7; font-size: 1.0625rem; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.14; margin: 0 0 .5em; font-weight: 700; overflow-wrap: break-word; }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--green-800); color:#fff; padding:.7rem 1.1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Fjell-overskrift (eyebrow – bevart identitet, no på BEGGE sider) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--ff-head); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; font-size: .82rem; color: #cf9526; margin: 0 0 1rem;
  white-space: nowrap;
}
/* Same gull-farge på ALLE eyebrow-titlar, uansett lys/mørk seksjon */
.eyebrow--light { color: #cf9526; }
.eyebrow .eb-deco { width: 74px; height: 14px; color: currentColor; flex: none; }
.eyebrow .eb-deco.r { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: #241a02; }
.btn--gold:hover { background: var(--gold-600); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: #fff; color: var(--green-900); border-color:#fff; }
.btn--green { background: var(--green-600); color:#fff; }
.btn--green:hover { background: var(--green-800); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Google-vurdering badge */
.rating { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ff-head); font-weight: 600; }
.rating .stars { color: var(--gold-200); letter-spacing: .08em; }
.rating .num { color: #fff; }
.rating .sub { color: #e6e9e2; font-weight: 500; font-family: var(--ff-body); font-size: .92rem; }

/* =========================================================================
   Header
   ========================================================================= */
.topbar { background: var(--green-900); color: #eef2ee; font-size: .84rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; padding: .5rem 0; }
.topbar li { display: inline-flex; align-items: center; gap: .5rem; list-style: none; }
.topbar ul { display: contents; margin: 0; padding: 0; }
.topbar a { display: inline-block; padding: .3rem 0; }
/* Mobil: én linje med åpningstid og telefon. Adressen (2. punkt) skjules – den står i
   kontaktdelen og footeren. Åpningstiden kan bli lang (avvik), og bryter da til en ekstra linje. */
@media (max-width: 600px) {
  .topbar { font-size: .8rem; }
  .topbar .wrap { gap: 0 1.1rem; padding: .15rem 0; }
  .topbar li:nth-child(2) { display: none; }
}
.topbar .ico { color: var(--gold-200); display:inline-flex; }
.ico svg { display: block; }
.topbar .ico svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
}
.site-header::before { /* lesbarheits-scrim på toppen (over bilde) */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1;
  background: linear-gradient(180deg, rgba(15,25,20,.72) 0%, rgba(15,25,20,.28) 55%, transparent 100%);
  transition: opacity .3s ease; pointer-events: none;
}
.site-header.solid { background: var(--green-900); box-shadow: 0 6px 24px rgba(0,0,0,.22); }
.site-header.solid::before { opacity: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 66px; width: auto; transition: height .3s ease; }
.site-header.solid .brand img { height: 46px; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; padding: .35rem 0; position: relative; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.site-header.solid .nav-links a { text-shadow: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold-200); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { right: 0; }
/* Aktiv side i menyen: gull tekst og fast strek. aria-current="page" = siden du er på,
   aria-current="true" = forelder (f.eks. Hytteutleige på hyttesidene). */
.nav-links a[aria-current] { color: var(--gold-200); }
/* Seksjon på denne siden (satt av main.js): pil ned etter teksten. Lenker til andre sider har
   ingen pil. */
.til-seksjon { display: inline-flex; align-items: center; gap: .3rem; }
.til-seksjon .seksjon-pil { opacity: .8; flex: none; }
.skjult-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Undermeny (Gardsutsal → Gardsutsal & kafé, Kunst & galleri, Jernaldersau, Søya-drakta):
   åpnes når musa er over eller tastaturfokus er inni. ::before tetter gapet mellom
   menyvalget og boksen, så den ikke lukkes på vei ned. */
.har-under { position: relative; }
.har-under > a { display: inline-flex; align-items: center; gap: .35rem; }
.har-under > a .pil { transition: transform .2s ease; }
.har-under:hover > a .pil, .har-under:focus-within > a .pil { transform: rotate(180deg); }
.undermeny { list-style: none; margin: 0; padding: .45rem 0; position: absolute; top: calc(100% + .6rem); left: -1rem;
  min-width: 220px; background: var(--green-900); border-radius: 12px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 50; }
.undermeny::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.har-under:hover > .undermeny, .har-under:focus-within > .undermeny { opacity: 1; visibility: visible; transform: none; }
.undermeny a { display: block; padding: .5rem 1.1rem; font-size: .92rem; text-shadow: none; }
.undermeny a::after { display: none; }
.undermeny a:hover { background: rgba(255,255,255,.08); color: var(--gold-200); }

/* Språkvalg (English/Norsk) i headeren: klode + tekst i en egen pille, så det ser ut som et
   språkvalg og ikke som et vanlig menyvalg. Står alltid synlig, også på mobil. */
.nav > nav { margin-left: auto; }
.sprakval {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .3rem .85rem;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff;
  font-family: var(--ff-head); font-weight: 600; font-size: .85rem; letter-spacing: .02em; white-space: nowrap; margin-left: .8rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.35); transition: color .2s ease, border-color .2s ease;
}
.sprakval-gruppe { display: inline-flex; align-items: center; gap: .4rem; margin-left: .8rem; }
.sprakval-gruppe .sprakval { margin-left: 0; }
.sprakval .flagg { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.sprakval:hover, .sprakval:focus-visible { color: var(--gold-200); border-color: var(--gold-200); }
/* Smale PC-skjermar: berre flagga, så menyen får plass (namnet står i title og blir lese opp) */
@media (min-width: 901px) and (max-width: 1320px) {
  .sprakval { padding: .3rem .55rem; min-width: 40px; justify-content: center; }
  .sprakval span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-header.solid .sprakval { text-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: #fff; }
@media (max-width: 900px) {
  .nav > nav { margin-left: 0; }
  /* Mobil: bare flagga (namnet står i title/lang og blir lese opp via skjult tekst) */
  .sprakval-gruppe { margin-left: auto; gap: .3rem; }
  .sprakval { margin-left: 0; padding: .3rem .55rem; min-width: 40px; justify-content: center; }
  .sprakval span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: .3rem;
    background: var(--green-900); padding: 5rem 1.6rem 2rem;
    transform: translateX(100%); transition: transform .3s ease, visibility 0s linear .3s; box-shadow: -20px 0 60px rgba(0,0,0,.4);
    visibility: hidden; /* lukket meny: lenkene skal ikke kunne nås med Tab */
  }
  .nav-links.open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
  .nav-links a { color:#fff; font-size: 1.15rem; padding: .6rem 0; width:100%; text-shadow:none; }
  .nav-links a::after { display:none; }
  /* Mobil: ingen strek under, så aktiv side får gull strek til venstre i stedet */
  .nav-links a[aria-current] { color: var(--gold-200); border-left: 3px solid var(--gold-200); padding-left: .8rem; }
  /* Mobil: undermenyen står alltid åpen, innrykket under Gardsutsal. Panelet ruller bare
     når valgene ikke får plass i høyden. */
  .nav-links { overflow-y: auto; }
  .har-under { width: 100%; }
  .har-under > a .pil { display: none; }
  .undermeny { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: none;
    min-width: 0; padding: 0 0 .3rem 1.1rem; border-radius: 0; }
  .undermeny::before { display: none; }
  .undermeny a { font-size: 1rem; padding: .4rem 0; color: rgba(255,255,255,.85); }
  .undermeny a[aria-current] { padding-left: .7rem; }
  body.nav-open { overflow: hidden; }
}

/* =========================================================================
   Hero – "plakat" (midtstilt, ramma av gull-linjer)
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: end start;
  margin-top: -104px; padding: 8rem 0 5rem; color: #fff; text-align: left;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: #223; background-size: cover; background-position: center 55%; }
.hero::after { content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,28,22,.66) 0%, rgba(18,28,22,.42) 45%, rgba(18,28,22,.74) 100%); }
.hero__inner { max-width: 840px; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { justify-content: flex-start; }
.hero__rule { width: min(320px, 70%); height: 0; border-top: 1px solid rgba(246,231,153,.55); margin: .2rem 0; position: relative; }
.hero__rule::before { content:""; position:absolute; top:-3px; left:50%; width:6px; height:6px; transform:translateX(-50%) rotate(45deg); background: var(--gold-200); }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.07; font-weight: 800; letter-spacing: -.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.4); margin: .4rem 0 0;
}
.hero p.lede { font-size: clamp(1.05rem, 2.1vw, 1.3rem); max-width: 42ch; color: #f3f1ea; margin: 1rem 0 0; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: flex-start; margin-top: 1.8rem; }
/* Rektangulær vurderings-badge under teksten (brand-fargar) */
.rating-badge { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem;
  background: rgba(38,60,51,.66); border: 1.5px solid var(--gold-200); border-radius: 12px;
  padding: .6rem 1rem; color: #fff; font-family: var(--ff-head); font-weight: 600; backdrop-filter: blur(3px); }
.rating-badge .stars { color: var(--gold-200); letter-spacing: .06em; }
.rating-badge b { font-size: 1.2rem; }
.rating-badge .txt { font-weight: 500; font-family: var(--ff-body); color: #e6e9e2; font-size: .92rem; }
/* «Ledig no» – ledige hytter i natt (fylt av ledig.js). Desktop: til høgre i heroen.
   Under 1100px: inne i Hytteutleige-ruta under «Kva vi tilbyr» (hero-ledig--tile). */
.hero-ledig { display: none; padding: 1.1rem 1.1rem 1.2rem;
  background: rgba(38,60,51,.72); border: 1.5px solid var(--gold-200); border-radius: var(--radius);
  backdrop-filter: blur(4px); }
@media (min-width: 1100px) {
  .hero__wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
  .hero__side { flex: 0 0 340px; display: flex; flex-direction: column; gap: 1rem; }
  .hero-ledig--hero:not([hidden]) { display: block; box-shadow: var(--shadow-md); }
}
/* «Kjem snart» – de neste arrangementene (Asle 21.10.2026), fylt av innhold.ts. Desktop: over hyttelisten til høyre;
   mobil/nettbrett: under vurderingen i heroen. */
.hero-arr { padding: 1rem 1.1rem 1.1rem; background: rgba(38,60,51,.72); border: 1.5px solid var(--gold-200);
  border-radius: var(--radius); backdrop-filter: blur(4px); box-shadow: var(--shadow-md); }
.hero-arr[hidden] { display: none; }
@media (max-width: 1099.98px) { .hero__side { max-width: 420px; } .hero__side:has(.hero-arr:not([hidden])) { margin-top: 1.4rem; } }
.hero-arr__tittel { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
.hero-arr__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hero-arr__kort { display: flex; align-items: center; gap: .85rem; padding: .5rem .6rem; border-radius: 10px; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .2s, border-color .2s; }
.hero-arr__kort:hover, .hero-arr__kort:focus-visible { background: rgba(255,255,255,.16); border-color: var(--gold-200); }
.hero-arr__dato { flex: 0 0 3.2rem; height: 3.2rem; border-radius: 8px; background: var(--gold-200); color: #2c2306;
  display: grid; place-content: center; text-align: center; line-height: 1; font-family: var(--ff-head); }
.hero-arr__dato b { font-size: 1.3rem; font-weight: 800; }
.hero-arr__dato small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }
.hero-arr__tekst { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hero-arr__namn { font-family: var(--ff-head); font-weight: 700; font-size: .98rem; }
.hero-arr__tekst > span:last-child { font-size: .84rem; color: #e6e9e2; }
.hero-arr__alle { display: inline-block; margin-top: .65rem; font-size: .85rem; color: var(--gold-200); font-weight: 600; }
.hero-arr__alle:hover { text-decoration: underline; }
@media (max-width: 1099.98px) {
  .hero-ledig--tile:not([hidden]) { display: block; margin-top: 1.1rem; max-width: 420px; padding: .9rem .8rem 1rem; }
  .hero-ledig--tile .hero-ledig__kort { gap: .7rem; padding-right: .5rem; }
  .hero-ledig--tile .hero-ledig__bilde { flex-basis: 64px; height: 52px; }
  .hero-ledig--tile .hero-ledig__tekst strong { font-size: .95rem; white-space: nowrap; }
  /* Ruta blir høg med boksen inni, så den lyse delen av biletet kjem bak teksten – mørk heile ruta */
  .tile:has(.hero-ledig--tile:not([hidden]))::after {
    background: linear-gradient(180deg, rgba(15,24,19,.35) 0%, rgba(15,24,19,.72) 22%, rgba(15,24,19,.88) 100%); }
  .tile:has(.hero-ledig--tile:not([hidden])) .tile__body p { color: #f3f1ea; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
}
/* .tile img er bakgrunnsbiletet i ruta – miniatyrane skal ikkje arve det */
.tile .hero-ledig__bilde img, .tile:hover .hero-ledig__bilde img { position: static; transform: none; }
.hero-ledig__tittel { display: flex; align-items: center; gap: .55rem; margin: 0 0 .85rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
/* Minimer/vis-knappen til høgre i tittelen (ledig.js). Lukka: berre tittelen står att. */
.hero-ledig__knapp { margin-left: auto; width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(246,231,153,.45); border-radius: 50%; background: rgba(255,255,255,.06); color: var(--gold-200); cursor: pointer;
  transition: background .2s, border-color .2s; }
.hero-ledig__knapp:hover, .hero-ledig__knapp:focus-visible { background: rgba(255,255,255,.16); border-color: var(--gold-200); }
.hero-ledig__knapp:focus-visible { outline: 2px solid var(--gold-200); outline-offset: 2px; }
.hero-ledig__knapp svg { width: 16px; height: 16px; transition: transform .25s; }
.hero-ledig--lukket .hero-ledig__knapp svg { transform: rotate(180deg); }
.hero-ledig--lukket .hero-ledig__tittel { margin-bottom: 0; }
.hero-ledig--lukket .hero-ledig__liste { display: none; }
.hero-ledig--lukket { padding-bottom: 1.1rem; }
@media (prefers-reduced-motion: reduce) { .hero-ledig__knapp svg { transition: none; } }
.hero-ledig__prikk { width: 9px; height: 9px; border-radius: 50%; background: #7fd49b; box-shadow: 0 0 0 4px rgba(127,212,155,.22); }
.hero-ledig__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hero-ledig__kort { display: flex; align-items: center; gap: .85rem; padding: .45rem .7rem .45rem .45rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(246,231,153,.22); border-radius: 12px;
  color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.hero-ledig__kort:hover, .hero-ledig__kort:focus-visible { background: rgba(255,255,255,.16); border-color: var(--gold-200); }
.hero-ledig__bilde { flex: 0 0 84px; height: 64px; border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.25); }
.hero-ledig__bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-ledig__tekst { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.hero-ledig__navn { font-family: var(--ff-head); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-200); }
.hero-ledig__tekst strong { font-family: var(--ff-head); font-size: 1rem; font-weight: 700; }
.hero-ledig__tekst > span:last-child { font-size: .88rem; color: #e6e9e2; }
.hero-ledig__rad { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .5rem; }
/* Ledig/opptatt i natt: alle hyttene står i lista, merket viser status */
.hero-ledig__status { font-size: .68rem; font-weight: 600; line-height: 1; padding: .22rem .45rem; border-radius: 99px;
  background: rgba(127,212,155,.2); color: #b9ecc9; white-space: nowrap; }
.hero-ledig__kort--opptatt .hero-ledig__status { background: rgba(232,120,104,.22); color: #ffc9bf; }
.hero-ledig__kort--opptatt .hero-ledig__bilde img { filter: grayscale(.55) brightness(.85); }
.hero-ledig__pil { width: 18px; height: 18px; flex: 0 0 18px; color: var(--gold-200); opacity: .8; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); color: #fff; opacity: .85; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* =========================================================================
   Seksjonstittel (delt)
   ========================================================================= */
.section-head { max-width: 660px; margin: 0 auto 2.8rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--green-900); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
.on-dark .section-head h2, .on-dark h2 { color: #fff; }

/* =========================================================================
   Hva vi tilbyr – redesign (bento/editorial)
   ========================================================================= */
.offer { background: var(--cream); }
.offer-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  min-height: 300px; display: flex; align-items: flex-end; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.07); }
.tile::after { content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(20,30,24,0) 25%, rgba(18,28,22,.5) 62%, rgba(15,24,19,.92) 100%); }
.tile__body { position: relative; z-index: 2; padding: 1.4rem 1.5rem 1.5rem; width: 100%; }
.tile__kicker { font-family: var(--ff-head); font-weight: 700; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
.tile__body h3 { font-size: 1.35rem; margin: .3rem 0 .35rem; }
.tile__body p { margin: 0; font-size: .96rem; color: #e9e6dc; }
.tile__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--gold-200); }
.tile__more .arrow { transition: transform .2s ease; }
.tile:hover .tile__more .arrow { transform: translateX(4px); }
.tile--feature { grid-column: span 2; min-height: 380px; }
.tile--feature h3 { font-size: 1.9rem; }
.tile--feature .tile__body p { font-size: 1.02rem; max-width: 46ch; }
@media (max-width: 860px){
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .tile--feature { grid-column: span 2; min-height: 320px; }
}
@media (max-width: 560px){
  .offer-grid { grid-template-columns: 1fr; }
  .tile--feature { grid-column: span 1; }
}

/* =========================================================================
   Naturopplevelser (bilde-bakgrunn) – behald design (kunden likar denne)
   ========================================================================= */
.feature { position: relative; color: #fff; text-align: center; padding: clamp(4.5rem, 12vw, 8rem) 0; }
.feature__bg { position:absolute; inset:0; z-index:-2; background-size: cover; background-position: center; }
.feature::after { content:""; position:absolute; inset:0; z-index:-1; background: rgba(18,28,22,.5); }
.feature .eyebrow { justify-content:center; }
.feature h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 20ch; margin: 0 auto .4em; }
.feature p:not(.eyebrow) { max-width: 46ch; margin: 0 auto 1.6rem; font-size: 1.15rem; color:#f2efe8; }

/* =========================================================================
   Siste nytt – redesign (avis-stil, gull-aksent)
   ========================================================================= */
.news { background: var(--paper); }
.news-grid { display:grid; gap: 2.4rem 3rem; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); }
/* Boksfri redaksjonell nyhetsliste – tynn gull-linje over kvar sak */
.post { background: transparent; border: 0; border-top: 2px solid var(--gold); border-radius: 0;
  box-shadow: none; padding: 1.1rem 0 0; }
.post time { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.13em; color: var(--ink-soft); font-family: var(--ff-head); font-weight:600; }
.post h3 { font-size:1.32rem; margin:.55rem 0 .5rem; color: var(--green-900); }
.post p { margin:0 0 .8rem; color: var(--ink-soft); font-size:.98rem; }
.post .more { font-family: var(--ff-head); font-weight:600; color: var(--green-600); display:inline-flex; gap:.35rem; align-items:center; }
.post .more .arrow, .post .more span { transition: transform .2s ease; }
.post .more:hover { color: var(--gold-600); }
.post .more:hover span { transform: translateX(3px); }
/* Bilde øverst på nyhetskortene (variant A, Asle 21.10.2026). Facebook-bildene er ofte stående – beskjæres til 4:3. */
.news-grid .post { padding-top: 0; border-top: 0; display: flex; flex-direction: column; }
.news-grid .post .post__type { align-self: flex-start; }
.post__bilde { display: block; margin: 0 0 1rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4d8; }
.post__bilde img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform .4s ease; }
.post:hover .post__bilde img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .post__bilde img { transition: none; } .post:hover .post__bilde img { transform: none; } }
/* Arrangement i «Nytt og arrangement»: merkelapp, og «Sjå alle»-lenker under kortene */
.post__type { display: inline-block; margin-bottom: .4rem; padding: .12rem .6rem; border-radius: 999px; background: var(--gold-200);
  color: var(--green-900); font: 700 .7rem var(--ff-head); letter-spacing: .1em; text-transform: uppercase; }
.news-more { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 2.2rem; }
.news-more:empty { display: none; }
.news-more a { font-family: var(--ff-head); font-weight: 600; color: var(--green-600); }
.news-more a:hover { color: var(--gold-600); }
.news-tom { color: var(--ink-soft); }

/* =========================================================================
   Om oss (bilde-bakgrunn) – betre komponert (panel + fakta)
   ========================================================================= */
.about { position: relative; color:#fff; }
.about__bg { position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; }
.about::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg, rgba(16,26,21,.9) 0%, rgba(16,26,21,.62) 60%, rgba(16,26,21,.45) 100%); }
.about-panel { max-width: 620px; }
.about-panel h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.about-panel p:not(.eyebrow) { color: #eef0ec; }
.about-stats { display:flex; flex-wrap:wrap; gap: 1.6rem 2.4rem; margin-top: 1.8rem; }
.stat b { display:block; font-family: var(--ff-head); font-size: 1.5rem; color: var(--gold-200); line-height:1; }
.stat span { font-size:.9rem; color:#dfe3dd; }

/* =========================================================================
   Aktivitetar – video (facade) + liste
   ========================================================================= */
.activities { background: var(--cream); }
.act-grid { display:grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items:center; }
@media (max-width: 880px){ .act-grid { grid-template-columns: 1fr; } }

.video-facade { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); background:#000; }
.video-facade img { width:100%; height:100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.video-facade:hover img { transform: scale(1.04); filter: brightness(.9); }
.video-facade .play-btn {
  position:absolute; inset:0; margin:auto; width:84px; height:84px; border-radius:50%;
  background: rgba(217,154,43,.94); color:#241a02; display:grid; place-items:center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s ease, background .2s ease;
}
.video-facade:hover .play-btn { transform: scale(1.08); background: var(--gold); }
.video-facade .vlabel { position:absolute; left:0; right:0; bottom:0; padding: 2.2rem 1.3rem .9rem; color:#fff;
  background: linear-gradient(0deg, rgba(15,24,19,.85), transparent); font-family: var(--ff-head); font-weight:600; font-size:.95rem; }
.video-facade iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

.acts { display:grid; gap: .9rem; }
.act { display:flex; gap: .9rem; align-items:flex-start; background: var(--paper); border:1px solid var(--line); border-radius: 12px; padding: .95rem 1.1rem; transition: transform .2s ease, box-shadow .2s ease; }
.act:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.act .ico { color: var(--gold); flex:none; margin-top:.15rem; }
.act .ico svg { width: 26px; height: 26px; }
.act b { font-family: var(--ff-head); display:block; color: var(--green-900); }
.act span { font-size:.92rem; color: var(--ink-soft); }

/* =========================================================================
   Anerkjennelsar – trust-bar (før kontakt)
   ========================================================================= */
.trust { background: var(--green-700); color:#eef2ec; padding-block: clamp(4.5rem, 9vw, 7rem); }
.trust .section-head { margin-bottom: 2.6rem; }
.trust .section-head h2 { color: #fff; }
.trust-row { display:flex; flex-wrap:wrap; gap: 2rem 4rem; align-items:center; justify-content:center; text-align:center; }
.trust-item { display:flex; align-items:center; gap:1rem; font-size:1.05rem; }
.trust-item img { height: 96px; width:auto; background:#fff; border-radius:12px; padding:.5rem; }
.trust-badge { font-family: var(--ff-head); font-weight:800; letter-spacing:.02em; color:#fff; background:#e8482a; padding:.8rem 1.1rem; border-radius:10px; line-height:1.05; text-align:center; font-size:1.05rem; }
.trust-badge small { display:block; font-weight:600; font-size:.62rem; letter-spacing:.16em; opacity:.95; margin-top:.25rem; }
.trust-google { display:flex; align-items:center; gap:.7rem; font-family: var(--ff-head); }
.trust-google .stars { color: var(--gold-200); letter-spacing:.06em; font-size:1.5rem; }
.trust-google b { font-size:1.6rem; }
.trust-google span { color:#cfd6ce; font-weight:500; font-family:var(--ff-body); font-size:1rem; }

/* =========================================================================
   Kontakt oss (nederst) + Google-kart
   ========================================================================= */
.contact { background: var(--cream); }
.contact-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items:stretch; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--green-900); }
.contact-info .facts { display:grid; gap: 1.1rem; margin: 1.4rem 0 1.6rem; }
.fact { display:flex; gap:.85rem; align-items:flex-start; }
.fact .ico { color: var(--gold); flex:none; margin-top:.15rem; }
.fact .ico svg { width: 22px; height: 22px; }
.fact strong { display:block; font-family: var(--ff-head); color: var(--green-900); }
.fact span, .fact a { color: var(--ink-soft); font-size:.98rem; }
.fact a:hover { color: var(--gold-600); }
.contact-map { position: relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-md); min-height: 340px; }
.contact-map iframe { position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

/* =========================================================================
   Footer
   ========================================================================= */
/* Fjell-/skog-silhuett på toppen av footeren */
.footer-skyline { line-height: 0; background: var(--cream); }
.footer-skyline svg { display: block; width: 100%; height: clamp(72px, 9vw, 148px); }
.footer-skyline .sky-fill { fill: #1d2b23; }
/* Silhuett OPPÅ eit bilde-band (undersider): gjennomsiktig bakgrunn + trekk opp
   over botnen av bandet over, så fjella reiser seg frå footeren mot bildet –
   utan cremefarga stripe. (På mobil er .footer-skyline skjult, sjå media query.) */
.footer-skyline--overlap { background: transparent; position: relative; z-index: 3;
  margin-top: calc(-1 * clamp(72px, 9vw, 148px)); pointer-events: none; }
.site-footer { position: relative; color:#e9ede8; background: #1d2b23; margin-top: -1px; }
.footer-main { padding: clamp(2rem, 5vw, 3.5rem) 0 2rem; text-align:center; }
.footer-brand a { display: inline-block; margin: 0 0 .9rem; }
.footer-brand img { height: 84px; width: auto; display: block; }
.footer-tag { max-width: 42ch; margin: 0 auto 1.8rem; color:#cdd3cc; }

/* Footer-menyen: tre like breie grupper (Overnatting · Gardsutsalet · Søya Gard), alt midtstilt –
   same uttrykk som logoen, teksten og kontaktlinja over og under. Midtkolonnen står dermed rett
   under logoen. Mobil: to kolonnar, og den tredje gruppa midt under dei. */
.footer-nav { display:grid; grid-template-columns: repeat(3, minmax(0, 13rem)); justify-content:center;
  gap: 1.2rem clamp(1rem, 3vw, 2.5rem); margin: 0 auto 1.8rem; text-align:center; }
.footer-nav ul { list-style:none; margin:0; padding:0; }
.footer-nav__tittel { margin:0 0 .2rem; font-family: var(--ff-head); font-weight:700; font-size:.74rem; letter-spacing:.14em;
  text-transform:uppercase; color: var(--gold-200); }
.footer-nav a { display:inline-block; padding: .5rem 0; font-family: var(--ff-head); font-weight:600; font-size:.95rem; }
@media (max-width: 600px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .footer-nav__gruppe:nth-child(3) { grid-column: 1 / -1; }
}
.footer-nav a:hover { color: var(--gold-200); }
/* Siden du er på (satt av main.js): gull tekst og strek under, som i hovedmenyen */
.footer-nav a[aria-current] { color: var(--gold-200); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.footer-contact { display:flex; flex-wrap:wrap; gap:0 2rem; justify-content:center; padding: 1rem 0; border-top:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); }
.footer-contact a, .footer-contact span { display:inline-flex; align-items:center; gap:.55rem; font-size:.92rem; min-height: 44px; }
.footer-contact .ico { color: var(--gold-200); }
.footer-contact .ico svg { width:16px; height:16px; }
.footer-social { display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; border-radius:50%; background: var(--gold); color:#241a02; margin-top:1.5rem; transition: transform .2s ease; }
.footer-social:hover { transform: translateY(-3px); }
.footer-legal { text-align:center; padding: 1.4rem 0 2rem; font-size:.82rem; color:#9aa39a; line-height: 2.4; }
/* Samtykke til statistikk (assets/js/samtykke.js): fast boks nederst, «Godta» og «Avslå» like
   synlige. Knappen «Endre samtykke» i footeren ser ut som en lenke. */
.samtykke { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; display: flex; justify-content: center; pointer-events: none; }
.samtykke[hidden] { display: none; }
.samtykke__inn { pointer-events: auto; max-width: 40rem; background: var(--green-900); color: #eef2ee; border: 1px solid rgba(246,231,153,.35);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.35); padding: 1.1rem 1.3rem; font-size: .92rem; }
.samtykke__inn p { margin: 0 0 .6rem; }
.samtykke__inn a { color: var(--gold-200); text-decoration: underline; }
.samtykke__tittel { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: #fff; }
.samtykke__knappar { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.samtykke__knappar .btn { flex: 1 1 8rem; justify-content: center; }
.samtykke__tittel { margin: 0 0 .4rem; }
.samtykke__val { list-style: none; margin: .4rem 0 .8rem; padding: 0; display: grid; gap: .5rem; }
.samtykke__val li { display: grid; gap: .1rem; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; }
.samtykke__val label { display: flex; align-items: center; gap: .5rem; cursor: pointer; min-height: 32px; }
.samtykke__val input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.samtykke__val span { color: #cdd3cc; font-size: .86rem; padding-left: 1.6rem; }
.btn--outline-lys { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn--outline-lys:hover { border-color: var(--gold-200); color: var(--gold-200); }
.lenkeknapp { background: none; border: 0; padding: .2rem 0; font: inherit; color: #c7cdc6; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; line-height: 1.6; }
.lenkeknapp[hidden] { display: none; }
.footer-legal a { color:#c7cdc6; text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding: .2rem 0; line-height: 1.6; }

/* =========================================================================
   Undersider – felles (page-hero + breadcrumb)
   ========================================================================= */
.page-hero {
  position: relative; margin-top: -104px; color: #fff; text-align: center;
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(3rem, 7vw, 4.5rem);
  min-height: 46vh; display: grid; place-items: center;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-color: #223; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,28,22,.62) 0%, rgba(18,28,22,.5) 55%, rgba(18,28,22,.74) 100%); }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.01em;
  text-shadow: 0 2px 26px rgba(0,0,0,.4); margin: .2rem 0 0; }
.page-hero p { max-width: 54ch; margin: 1rem auto 0; color: #f2efe8;
  font-size: clamp(1.02rem, 2vw, 1.2rem); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-width: 900px){ .page-hero { margin-top: -84px; } }
/* Farge-hero (utan stort bilde) – brukast på hytte-detaljsidene førebels */
.page-hero--solid .page-hero__bg { background: linear-gradient(135deg, #33493f 0%, #1d2b23 100%); }
.page-hero--solid::after { background: linear-gradient(180deg, rgba(18,28,22,.12) 0%, rgba(18,28,22,.34) 100%); }

.breadcrumb { background: var(--green-900); }
.breadcrumb .wrap { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  padding: .6rem 0; font-size: .85rem; color: #cfd6ce; font-family: var(--ff-head); }
.breadcrumb a { color: #e9ede8; display: inline-block; padding: .25rem 0; } /* min. 24 px trykkflate */
.breadcrumb a:hover { color: var(--gold-200); }
.breadcrumb .sep { color: #6f7d73; }

/* Godt å vite – redaksjonelt oppsett med gull-hårstrek (som "Siste nytt") + runde gull-ikon */
.info-band { background: var(--paper); }
.info-list { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px){ .info-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .info-list { grid-template-columns: 1fr; } }
.info-item { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.info-item--viktig { border-top-color: #b4432e; }
.info-item--viktig .ico { color: #b4432e; }
.info-item .ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(217,154,43,.13); color: var(--gold-600); margin-bottom: .8rem; }
.info-item .ico svg { width: 24px; height: 24px; display: block; }
.info-item b { display: block; font-family: var(--ff-head); color: var(--green-900); font-size: 1.1rem; margin-bottom: .3rem; }
.info-item p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Nærområde – severdigheiter (info-item med avstand-merke + lenke) */
.info-item .dist { display: inline-block; font-family: var(--ff-head); font-weight: 600;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600);
  background: rgba(217,154,43,.13); border-radius: 999px; padding: .18rem .65rem; margin-bottom: .5rem; }
.info-item .more-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--green-600); }
.info-item .more-link .arrow { transition: transform .2s ease; }
.info-item .more-link:hover { color: var(--gold-600); }
.info-item .more-link:hover .arrow { transform: translateX(3px); }

/* To-kolonne intro (tekst + bilde) – brukast på undersider */
.intro-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 820px){ .intro-split { grid-template-columns: 1fr; } }
.intro-split h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--green-900); }
.intro-split p { color: var(--ink-soft); }
.intro-split__img { margin: 0; }
.intro-split__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
/* Panorama i full bredde under teksten (Nærområdet, Asle 21.10.2026) */
.intro-split--panorama { grid-template-columns: 1fr; }
.intro-split--panorama > div { max-width: 68ch; margin-inline: auto; text-align: center; }
/* To stående bilder side om side (Om oss, Asle 21.10.2026) */
.intro-duo { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.intro-duo img { aspect-ratio: 3 / 4; object-fit: cover; }
.intro-duo picture:last-child { margin-top: 2.2rem; }

/* Hytte-kort (oversikt) – 2×2 så alle fire er balanserte (ingen ensleg på ny rad) */
.cabins { background: var(--cream); }
.cabin-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(2, 1fr); }
.cabin-grid-cta { text-align: center; margin: 2.6rem 0 0; }
@media (max-width: 620px){ .cabin-grid { grid-template-columns: 1fr; } }
.cabin-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.cabin-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cabin-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.cabin-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cabin-card:hover .cabin-card__img img { transform: scale(1.06); }
.cabin-card__body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.cabin-card h3 { font-size: 1.3rem; color: var(--green-900); margin: 0 0 .3rem; }
.cabin-card p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .96rem; }
.cabin-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 0 0 1.1rem;
  font-size: .86rem; color: var(--green-800); font-family: var(--ff-head); font-weight: 600; }
.cabin-meta .mi { display: inline-flex; align-items: center; gap: .4rem; }
.cabin-meta .ico svg { width: 17px; height: 17px; color: var(--gold-600); display: block; }
.cabin-card .price-tag { font-family: var(--ff-head); font-weight: 700; color: var(--green-900); margin-bottom: 1rem; }
.cabin-card .price-tag small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.cabin-card .btn { margin-top: auto; align-self: flex-start; }

/* CTA-avslutning: gjenbruk .feature (bilde-band) for fin overgang til footer.
   Sentrer knappane. */
.feature .hero__cta { justify-content: center; margin-top: .4rem; }

/* =========================================================================
   Hytte-detaljside
   ========================================================================= */
.detail { background: var(--paper); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px){ .detail-grid { grid-template-columns: 1fr; } }

/* Galleri – 2×2, klikkbart (lightbox) */
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow-sm); cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease; }
.gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery img.focus-bottom { object-position: center bottom; }
.gallery img.focus-top { object-position: center 12%; } /* ståande bilete: vis toppen (t.d. koftene på garn-biletet) */
/* Heile biletet (måleri, tekst på skinn, avisutklipp): ikkje beskjer, lys bakgrunn rundt */
.gallery img.heil { object-fit: contain; background: #efe9dc; padding: .4rem; box-sizing: border-box; }
/* Brei: eit liggjande bilete over heile rada (t.d. siste bilete i eit 3×3-galleri) */
.gallery img.brei { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
@media (max-width: 520px){ .gallery { grid-template-columns: 1fr; } }
/* 3-kolonne galleri (t.d. drakt-variantar) */
.gallery.gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px){ .gallery.gallery--3 { grid-template-columns: 1fr; } }

/* Skildring + fasilitetar */
.detail-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--green-900); margin-top: 2rem; }
.detail-body p { color: var(--ink-soft); }
.facility-list { list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.4rem; }
@media (max-width: 520px){ .facility-list { grid-template-columns: 1fr; } }
.facility-list li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-size: .98rem; }
.facility-list .ico { color: var(--gold-600); flex: none; display: inline-flex; }
.facility-list .ico svg { width: 19px; height: 19px; display: block; }

/* Book-panel (sticky) */
.book-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 1.5rem; position: sticky; top: 96px; }
.book-panel h3 { font-size: 1.3rem; color: var(--green-900); margin: 0 0 .2rem; }
.book-panel .bp-price { font-family: var(--ff-head); font-weight: 700; color: var(--green-900);
  font-size: 1.15rem; margin: .2rem 0 1.1rem; }
.book-panel .bp-price small { font-weight: 500; color: var(--ink-soft); font-size: .82rem; }
.book-panel .bp-facts { display: grid; gap: .55rem; margin: 0 0 1.3rem; }
.book-panel .bp-fact { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--ink-soft); }
.book-panel .bp-fact .ico { color: var(--gold-600); flex: none; }
.book-panel .bp-fact .ico svg { width: 18px; height: 18px; display: block; }
.book-panel .bp-fact--viktig { color: #8f3424; font-weight: 600; }
.book-panel .bp-fact--viktig .ico { color: #b4432e; }
.book-panel .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }
.book-panel .bp-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: .7rem 0 0; }

/* Ledige datoar – kalender kjem (placeholder) */
.calendar-ph { background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.calendar-ph .ico { color: var(--gold-600); }
.calendar-ph .ico svg { width: 42px; height: 42px; }
.calendar-ph h3 { color: var(--green-900); font-size: 1.4rem; margin: .7rem 0 .4rem; }
.calendar-ph p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }

/* =========================================================================
   Booking – kalender + førespurnadsskjema (hytte-detaljsider)
   ========================================================================= */
.booking { background: var(--cream); }
.booking-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.6rem); align-items: start; }
@media (max-width: 880px){ .booking-wrap { grid-template-columns: 1fr; } }

/* Kalender */
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.2rem 1.3rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal-head h3 { margin: 0; font-size: 1.1rem; color: var(--green-900); font-family: var(--ff-head); text-transform: capitalize; }
.cal-nav button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; color: var(--green-800); display: grid; place-items: center; }
.cal-nav button:hover:not(:disabled) { background: var(--cream); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-weekdays, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-weekdays span { text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .04em; padding: .3rem 0; }
.cal-day { aspect-ratio: 1; border: 0; background: transparent; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: .9rem; color: var(--ink); display: grid; place-items: center; }
.cal-day.empty { visibility: hidden; }
.cal-day:disabled { color: #c3c0b8; cursor: default; }
/* Ledig = grøn, oppteken = raud med strek, passert = blass (tydeleg skilnad, Asle 15.10.2026) */
.cal-day.available { background: #e3f1e8; color: #1f4d39; font-weight: 600; box-shadow: inset 0 0 0 1px #b9dcc6; }
.cal-day.available:hover { background: #c9e6d3; }
.cal-day.occupied { background: #f7e0da; color: #a3402c; text-decoration: line-through; text-decoration-thickness: 2px; }
.cal-day.past { color: #c9c6be; }
.cal-tider { margin: .55rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.cal-prikk--ledig { background: #e3f1e8; box-shadow: inset 0 0 0 1px #b9dcc6; }
.cal-prikk--oppteke { background: #f7e0da; box-shadow: inset 0 0 0 1px #e6b9ad; }
/* Delt dag: noen reiser innen 12.00 (ledig som innsjekk) eller kommer 15.00 (bare som utsjekk) */
.cal-day.half-out { background: linear-gradient(135deg, #f7e0da 0 50%, #e3f1e8 50%); }
.cal-day.half-out:hover { background: linear-gradient(135deg, #f7e0da 0 50%, #c9e6d3 50%); }
.cal-day.half-in { background: linear-gradient(135deg, #e3f1e8 0 50%, #f7e0da 50%); color: #1f4d39; font-weight: 600; box-shadow: inset 0 0 0 1px #e6b9ad; }
.cal-day.half-in:disabled { cursor: default; }
.cal-prikk--delt { background: linear-gradient(135deg, #f7e0da 0 50%, #e3f1e8 50%); box-shadow: inset 0 0 0 1px #d9c8bf; }
.cal-day.in-range { background: var(--gold-200); border-radius: 0; }
.cal-day.range-start, .cal-day.range-end { background: var(--gold); color: #241a02; font-weight: 700; }
.cal-day.in-range, .cal-day.range-start, .cal-day.range-end { box-shadow: none; }
.cal-day.range-start { border-radius: 8px 0 0 8px; }
.cal-day.range-end { border-radius: 0 8px 8px 0; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: .9rem; font-size: .8rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* Skjema */
.booking-form label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .85rem;
  color: var(--green-900); margin: .8rem 0 .3rem; }
.booking-form input, .booking-form textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; background: var(--paper); color: var(--ink); }
.booking-form input:focus, .booking-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
/* Skyveknapp for antall personer (1 til maks for hytta) */
.booking-form label output { font-weight: 700; color: var(--green-800); }
.booking-form .bk-skyvar input[type="range"] { padding: 0; border: 0; height: 2.2rem; background: none; accent-color: var(--green-600); cursor: pointer; }
.booking-form .bk-skyvar input[type="range"]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.bk-skyvar__ende { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-soft); margin-top: -.2rem; }
.booking-form .req { color: #b3402a; }
/* Valet om utvask (radioknappar) */
.booking-form .bk-valg { border: 0; padding: 0; margin: .8rem 0 0; }
.booking-form .bk-valg legend { font-family: var(--ff-head); font-weight: 600; font-size: .85rem; color: var(--green-900); margin-bottom: .3rem; padding: 0; }
.booking-form .bk-valg label { display: flex; align-items: flex-start; gap: .55rem; margin: .35rem 0 0; padding: .6rem .8rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-family: var(--ff-body); font-weight: 500;
  font-size: .95rem; color: var(--ink); cursor: pointer; }
.booking-form .bk-valg label:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.booking-form .bk-valg input { width: auto; margin: .2rem 0 0; padding: 0; accent-color: var(--green-600); }
.booking-form .bk-valg__merk { margin: .45rem 0 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }
/* Soveposer/dyr ikke tillatt – skal være lett å se (Asle 21.10.2026) */
.booking-form .bk-regler { margin: .9rem 0 0; padding: .65rem .8rem; border-left: 4px solid #b4432e; background: #fbeeea; border-radius: 6px; font-size: .9rem; line-height: 1.45; }
.booking-summary { background: var(--paper); border: 1px dashed var(--gold); border-radius: 12px;
  padding: .8rem 1rem; font-size: .95rem; color: var(--ink); margin-bottom: .2rem; }
.booking-form .btn { width: 100%; justify-content: center; margin-top: 1.1rem; }
.booking-msg { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-size: .95rem; }
.booking-msg.ok { background: #e8f2ea; color: #1f5133; border: 1px solid #bcdcc6; }
.booking-msg.err { background: #fbeae6; color: #8a2f1c; border: 1px solid #f0c4b8; }
/* Takk-popup etter sendt førespurnad (booking.js visTakk) */
.takk-popup { width: min(440px, calc(100vw - 32px)); padding: 2rem 1.6rem 1.6rem; border: 0; border-top: 5px solid var(--gold);
  border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-md); text-align: center; }
.takk-popup::backdrop { background: rgba(20, 30, 25, .55); }
.takk-popup[open] { animation: takk-inn .25s ease-out; }
@keyframes takk-inn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.takk-popup__ikon { width: 56px; height: 56px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-2); color: var(--green-600); }
.takk-popup h2 { font-family: var(--ff-head); font-size: 1.45rem; color: var(--green-900); margin: 0 0 .7rem; }
.takk-popup p { margin: 0 0 1.4rem; line-height: 1.6; }
.takk-ref { display: block; margin: 0 auto 1rem; padding: .55rem .9rem; border-radius: 8px; background: #faf1d9; color: var(--green-900); font-size: 1.02rem; }
.takk-ref strong { letter-spacing: .04em; }
.booking-msg .takk-ref { display: inline-block; margin: .4rem 0 .5rem; }
.takk-popup .btn { min-width: 9rem; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .takk-popup[open] { animation: none; } }

/* Lightbox (fullskjerm-bilde ved klikk i galleri) */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 2rem; background: rgba(10,16,13,.92); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff;
  cursor: pointer; padding: .4rem; z-index: 2; }
.lightbox__close svg { width: 30px; height: 30px; display: block; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease; }
.lightbox__nav:hover { background: rgba(0,0,0,.6); }
.lightbox__nav svg { width: 26px; height: 26px; display: block; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@media (max-width: 520px){
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: .4rem; } .lightbox__next { right: .4rem; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* =========================================================================
   Mobil-justeringar
   ========================================================================= */
/* Lukk-kryss i mobilmenyen */
.nav-close { display: none; }
.nav-close-li { list-style: none; }
@media (max-width: 900px) {
  .nav-close { display: inline-flex; position: absolute; top: 1.05rem; right: 1.3rem; z-index: 2;
    background: none; border: 0; color: #fff; cursor: pointer; padding: .4rem; }
  .nav-close svg { display: block; }
}

/* Eyebrow-titlane skal ikkje renne ut av skjermen på mobil */
@media (max-width: 600px) {
  .eyebrow { white-space: normal; gap: .5rem; letter-spacing: .13em; font-size: .74rem; }
  .eyebrow .eb-deco { width: 38px; }
  .eyebrow { max-width: 100%; }
}

/* Om oss midtstilt på mobil */
@media (max-width: 820px) {
  .about-panel { text-align: center; margin-inline: auto; }
  .about-panel .eyebrow { justify-content: center; }
  .about-stats { justify-content: center; }
}

/* Anerkjenningar: bilete over tekst, litt større, tydeleg gruppert */
@media (max-width: 700px) {
  .trust-row { gap: 2.6rem; }
  .trust-item { flex-direction: column; gap: .6rem; }
  .trust-item img { height: 114px; }
}

/* Siste nytt: vis berre tre saker på mobil */
@media (max-width: 560px) {
  .news-grid .post:nth-child(n+4) { display: none; }
}

/* Footer-silhuett blir squished/rar på smal skjerm – skjul toppane på mobil/nettbrett (mellombels) */
@media (max-width: 900px) {
  .footer-skyline { display: none; }
}

/* ===================== Tekstsider (personvern, artiklar, arrangement) ===================== */
.prose { max-width: 46rem; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--green-900); margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; color: var(--green-900); margin-top: 1.6em; }
.prose a { color: var(--green-600); text-decoration: underline; text-underline-offset: .15em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .55em .6em; border-bottom: 1px solid var(--line); }
.prose th { color: var(--green-900); }
.prose figure { margin: 0 0 1.6em; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); }
.prose .meta { color: var(--ink-soft); font-size: .95rem; margin-top: 0; }
.prose .tilbake { margin-top: 2.5em; }
.prose .fb-lenke { margin: 1.2em 0; }
/* .prose a (grønn, understreket) skal ikke slå gjennom på knappen */
.prose .fb-lenke a.btn, .prose .fb-lenke a.btn:hover { text-decoration: none; color: #241a02; }
@media (max-width: 600px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose thead { display: none; } .prose td { border: 0; padding: .2em 0; } .prose tr { border-bottom: 1px solid var(--line); padding: .6em 0; } }

.post-list { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.post-card__date { color: var(--gold-600); font-family: var(--ff-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.post-card h2 { font-size: 1.25rem; color: var(--green-900); margin: 0; }
.post-card p { margin: 0; color: var(--ink-soft); }
.post-tom { text-align: center; color: var(--ink-soft); }

/* ===================== Hyttekalender (/hyttekalender/, assets/js/hyttekalender.js) ===================== */
.hk { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.6rem); box-shadow: var(--shadow-sm, 0 6px 20px rgba(0,0,0,.06)); }
.hk-melding { margin: 0; color: var(--ink-soft); }
.hk-topp { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.hk-tittel { margin: 0; min-width: 11rem; text-align: center; font-family: var(--ff-head); font-size: 1.2rem; color: var(--green-900); }
.hk-tittel::first-letter { text-transform: uppercase; }
.hk-pil { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--green-900); }
.hk-pil:hover:not(:disabled) { background: var(--cream); }
.hk-pil:disabled { opacity: .35; cursor: default; }
/* Rulling sideveis berre når månaden ikkje får plass (mobil); hyttenamna står fast til venstre */
.hk-rulle { overflow-x: auto; position: relative; } /* relative: dei skjulte .hk-skjult-tekstane (position: absolute) må haldast inni rulleboksen, elles kan heile sida rullast sidelengs på mobil */
.hk-tabell { border-collapse: separate; border-spacing: 3px; width: 100%; table-layout: fixed; min-width: 44rem; }
.hk-hjorne, .hk-hytte { width: 6.5rem; }
.hk-dag { font-size: .78rem; font-weight: 700; color: var(--green-900); text-align: center; padding: 0 0 .3rem; line-height: 1.15; }
.hk-dag small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-soft); text-transform: capitalize; }
.hk-dag.hk-helg small { color: var(--gold-700, #9a6a12); }
.hk-dag.hk-idag { color: #327660; }
.hk-dag.hk-idag::after { content: ""; display: block; height: 3px; width: 1rem; margin: .15rem auto 0; border-radius: 2px; background: var(--gold); }
.hk-hytte { position: sticky; left: 0; z-index: 1; background: var(--paper); text-align: left; padding-right: .4rem; font-size: .9rem; white-space: nowrap; }
.hk-hytte a { display: inline-block; padding: .35rem 0; color: var(--green-900); font-weight: 700; text-decoration: none; }
.hk-hytte a:hover { text-decoration: underline; }
.hk-celle { height: 2.6rem; border-radius: 6px; padding: 0; }
.hk-celle--ledig { background: #e3f1e8; box-shadow: inset 0 0 0 1px #b9dcc6; }
.hk-celle--ledig a { display: block; width: 100%; height: 100%; border-radius: 6px; }
.hk-celle--ledig:hover { background: #c3e3cf; }
.hk-celle--ledig a:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.hk-celle--oppteke { background: repeating-linear-gradient(135deg, #f0c9bf 0 5px, #f7e0da 5px 10px); box-shadow: inset 0 0 0 1px #e6b9ad; }
.hk-celle--ikkje { background: #f1efea; }
/* Delt dag (innsjekk 15.00 / utsjekk 12.00): øvre venstre trekant = formiddag, nedre høyre = fra kl. 15 */
.hk-celle--ut { background: linear-gradient(135deg, #f0c9bf 0 50%, #e3f1e8 50%); }
.hk-celle--ut:hover { background: linear-gradient(135deg, #f0c9bf 0 50%, #c3e3cf 50%); }
.hk-celle--inn { background: linear-gradient(135deg, #e3f1e8 0 50%, #f0c9bf 50%); box-shadow: inset 0 0 0 1px #e6b9ad; }
.hk-skjult { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hk-forklaring { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1rem 0 0; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.hk-forklaring li { display: inline-flex; align-items: center; gap: .45rem; }
.hk-prikk { display: inline-block; width: 1.3rem; height: .9rem; border-radius: 4px; }
.hk-prikk--ledig { background: #e3f1e8; box-shadow: inset 0 0 0 1px #b9dcc6; }
.hk-prikk--oppteke { background: repeating-linear-gradient(135deg, #f0c9bf 0 4px, #f7e0da 4px 8px); box-shadow: inset 0 0 0 1px #e6b9ad; }
.hk-prikk--ikkje { background: #f1efea; box-shadow: inset 0 0 0 1px #e2ded5; }
.hk-prikk--delt { background: linear-gradient(135deg, #f0c9bf 0 50%, #e3f1e8 50%); box-shadow: inset 0 0 0 1px #d9c8bf; }
.hk-rulle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* Mobil: breiere ruter så de er lette å treffe med fingeren (min. 24 px) */
@media (max-width: 600px) {
  .hk-tabell { min-width: 62rem; }
  .hk-hjorne, .hk-hytte { width: 5rem; }
}
.hk-hytter { padding-top: 0; }

/* Ruter for kvar hytte (lenkar til hyttesida) */
.hk-ruter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.hk-rute { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.hk-rute picture, .hk-rute img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hk-rute::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,28,22,0) 35%, rgba(18,28,22,.82) 100%); }
.hk-rute__tekst { position: absolute; left: 1rem; right: 2.8rem; bottom: .9rem; z-index: 1; display: grid; gap: .15rem; font-size: .88rem; }
.hk-rute__tekst strong { font-family: var(--ff-head); font-size: 1.25rem; }
.hk-rute__tekst span { display: inline-flex; align-items: center; gap: .35rem; opacity: .95; }
.hk-rute__tekst .ico { width: 14px; height: 14px; display: inline-flex; }
.hk-rute__pil { position: absolute; right: .9rem; bottom: .9rem; z-index: 1; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold); color: #241a02;
  display: grid; place-items: center; font-weight: 700; transition: transform .2s ease; }
.hk-rute:hover img { transform: scale(1.05); }
.hk-rute:hover .hk-rute__pil { transform: translateX(3px); }
.hk-rute:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) { .hk-ruter { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hk-ruter { gap: .8rem; } .hk-rute__tekst { left: .7rem; bottom: .7rem; font-size: .8rem; } .hk-rute__tekst strong { font-size: 1.05rem; } }
/* Smale telefonar: lange eyebrow-ord («Informasjonskapslar») skal ikkje stikke ut av skjermen */
@media (max-width: 380px) { .eyebrow .eb-deco { width: 24px; } .eyebrow { gap: .35rem; letter-spacing: .1em; } }
