/* Slätterne Gård – designen "Nordisk sjö": lugn, luftig och stilren. Färgerna går att ändra i admin → Design. */
:root {
  --bg: #f3f5f3;
  --card: #ffffff;
  --ink: #22393a;
  --muted: #5d6f6e;
  --sjo: #7b9ba0;
  --sjo-ljus: #dfe7e6;
  --mossa: #5f7f6a;
  --line: rgba(34, 57, 58, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--sans); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--sjo); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { font: 600 .72rem/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sjo); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--sjo-ljus); }
.section.dark { background: var(--ink); color: #eef2f1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .muted, .section.dark .lead { color: #c3d0ce; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; }
.loading { padding: 40vh 0; text-align: center; color: var(--muted); }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent; font: 500 .92rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 85%, #000); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost.on-img { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost.on-img:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: .7em 1.3em; font-size: .85rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--ink); }

/* Toppen */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.top-in { width: min(var(--wrap), 100% - 40px); margin-inline: auto; height: 84px; display: flex; align-items: center; gap: 28px; }
.top.solid, .top.paper { background: rgba(243, 245, 243, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.brand { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; line-height: 1; }
.brand-name { font: 500 1.65rem/1 var(--serif); letter-spacing: -.01em; }
.brand-ort { font: 600 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin-top: 6px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .9; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { opacity: 1; border-color: currentColor; }
.top:not(.solid):not(.paper) .top-cta { background: #fff; color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit; padding: 10px; }
.menu-btn span { display: block; height: 1.5px; background: currentColor; margin: 7px 0; transition: transform .25s; }
.menu-open .menu-btn span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 104px 24px 32px; overflow: auto; }
.mm-in { display: flex; flex-direction: column; gap: 4px; max-width: 520px; margin: 0 auto; }
.mm-in > a:not(.btn), .mm-in [data-mobile-tj] a { font: 500 1.6rem/1.2 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
[data-mobile-tj] { display: flex; flex-direction: column; }
.mm-in [data-mobile-tj] a { display: block; font-size: 1.2rem; padding-left: 14px; }
.mm-lab { margin: 18px 0 2px; font: 600 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sjo); }
.mm-in .btn { margin-top: 24px; }

/* Startbild */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 36, 37, .45) 0%, rgba(20, 36, 37, .05) 35%, rgba(20, 36, 37, .55) 100%); }
.hero-in { position: relative; z-index: 1; width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 0 0 clamp(56px, 9vw, 110px); }
.hero .eyebrow { color: #dfe7e6; }
.hero h1 { max-width: 15ch; color: #fff; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.hero h1 em { color: #dfe7e6; }
.hero p { max-width: 54ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .9); margin-bottom: 30px; }
.page-hero { min-height: min(72svh, 640px); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.crumbs { font-size: .8rem; letter-spacing: .06em; margin-bottom: 18px; color: rgba(255, 255, 255, .85); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.paper-head { padding: 150px 0 40px; }
.paper-head .crumbs { color: var(--muted); }

/* Siffror */
.fakta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-bottom: 1px solid var(--line); }
.fakta div { padding: 34px 24px; border-right: 1px solid var(--line); }
.fakta div:last-child { border-right: 0; }
.fakta b { display: block; font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--ink); margin-bottom: 8px; }
.fakta span { font-size: .9rem; color: var(--muted); }

/* Aktivitetskort */
.tj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.tj-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: var(--r); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.tj-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20, 36, 37, .45); }
.tj-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sjo-ljus); }
.tj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tj-img img.contain { object-fit: contain; padding: 28px; }
.tj-card:hover .tj-img img:not(.contain) { transform: scale(1.04); }
.tj-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tj-body .etikett { font: 600 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sjo); margin-bottom: 10px; }
.tj-body h3 { margin-bottom: 10px; }
.tj-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.tj-body .mer { font-weight: 500; font-size: .9rem; margin-top: 8px; }
.tj-small { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; justify-content: center; }
.chip { display: inline-flex; padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: .88rem; }
.chip:hover { border-color: var(--ink); }

/* Citat */
.quote { font: italic 500 clamp(1.7rem, 3.4vw, 2.7rem)/1.25 var(--serif); max-width: 26ch; margin: 0 auto 22px; }
.quote-by { font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sjo); }

/* Två kolumner */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-imgs { position: relative; }
.split-imgs .second { position: absolute; width: 46%; right: -6%; bottom: -10%; aspect-ratio: 1; border: 8px solid var(--bg); border-radius: var(--r); }

/* Årstider */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.season { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; display: flex; align-items: flex-end; }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 36, 37, .75)); }
.season div { position: relative; z-index: 1; padding: 22px; }
.season h3 { color: #fff; margin-bottom: 6px; }
.season p { font-size: .88rem; margin: 0; color: rgba(255, 255, 255, .88); }

/* Galleri */
.gal { columns: 3 260px; column-gap: 14px; }
.gal button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; break-inside: avoid; }
.gal img { width: 100%; height: auto; transition: transform .5s; }
.gal button:hover img { transform: scale(1.03); }
.gal-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gal-strip button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--sjo-ljus); }
.gal-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Aktivitetssida */
.tj-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose p { font-size: 1.04rem; }
.prose .lead { margin-bottom: 1.4em; }
.side { position: sticky; top: 110px; background: var(--card); border-radius: var(--r); padding: 30px; }
.side h3 { font-size: 1.5rem; }
.side .btn { width: 100%; margin-top: 8px; }
.side .kontakt-rad { display: flex; gap: 10px; font-size: .92rem; padding: 8px 0; border-top: 1px solid var(--line); }
.side .kontakt-rad:first-of-type { border-top: 0; }
.paket { display: grid; gap: 18px; margin: 40px 0; }
.pk { background: var(--card); border-radius: var(--r); padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; }
.pk h3 { font-size: 1.55rem; margin: 0; }
.pk .pris { font: 500 1.35rem/1.2 var(--serif); text-align: right; white-space: nowrap; }
.pk .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.pk .meta span { font-size: .78rem; padding: .35em .8em; border-radius: 999px; background: var(--sjo-ljus); }
.pk p { grid-column: 1 / -1; color: var(--muted); margin: 6px 0 0; font-size: .96rem; }
.pk img { grid-column: 1 / -1; border-radius: 12px; margin-top: 12px; max-height: 320px; width: 100%; object-fit: cover; }
.prices { background: var(--card); border-radius: var(--r); padding: 26px 30px; margin: 40px 0; }
.prices h3 { margin-bottom: 14px; }
.prices ul { list-style: none; margin: 0; padding: 0; }
.prices li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.prices li:first-child { border-top: 0; }
.prices li b { font-weight: 500; }
.prices li strong { font: 500 1.2rem var(--serif); white-space: nowrap; }
.prices li small { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }
.info { border-left: 2px solid var(--sjo); padding: 4px 0 4px 24px; margin: 40px 0; }
.info h3 { font-size: 1.4rem; }
.info p { color: var(--muted); font-size: .96rem; }
.film { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: #000; margin: 40px 0; }
.film iframe, .film video { width: 100%; height: 100%; border: 0; }

/* Om */
.meriter { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.meriter li { display: flex; gap: 12px; align-items: baseline; }
.meriter li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sjo); transform: translateY(-2px); }

/* Bokning */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-info p { color: inherit; }
.kontakt-lista { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.kontakt-lista li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: .95rem; }
.kontakt-lista span { font: 600 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .7; padding-top: 4px; }
.kontakt-lista a { text-decoration: none; border-bottom: 1px solid currentColor; }
.form { background: var(--card); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: .8em 1em; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sjo); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.form .small { font-size: .8rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* Sidfot */
.foot { background: #172a2b; color: #c3d0ce; padding: 70px 0 34px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { font: 600 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot .brand-name { color: #fff; font-size: 2rem; }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: #8ea3a1; }

/* Bildvisare */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15, 26, 27, .94); display: grid; place-items: center; padding: 50px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 100px); object-fit: contain; border-radius: 8px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 90; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: .9rem; transition: transform .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.quick-edit { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 6px; background: var(--ink); padding: 6px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.quick-edit a, .quick-edit button { color: #fff; text-decoration: none; font: 500 .82rem var(--sans); padding: .6em 1.1em; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .12); cursor: pointer; }

/* Mobil och surfplatta */
@media (max-width: 980px) {
  .nav, .top-cta { display: none; }
  .menu-btn { display: block; }
  .top-in { height: 72px; }
  .split, .book, .tj-layout { grid-template-columns: 1fr; }
  .split-imgs .second { display: none; }
  .split-img { aspect-ratio: 4 / 3; }
  .side { position: static; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap, .top-in, .hero-in { width: calc(100% - 32px); }
  .brand-name { font-size: 1.4rem; }
  .hero { min-height: 88svh; }
  .page-hero { min-height: 62svh; }
  .tj-grid { grid-template-columns: 1fr; }
  .fakta { grid-template-columns: 1fr 1fr; }
  .fakta div { padding: 24px 16px; border-bottom: 1px solid var(--line); }
  .fakta div:nth-child(2n) { border-right: 0; }
  .seasons { grid-template-columns: 1fr 1fr; gap: 12px; }
  .season { aspect-ratio: 3 / 4; }
  .season div { padding: 14px; }
  .season p { display: none; }
  .gal-strip { grid-template-columns: repeat(3, 1fr); }
  .pk { grid-template-columns: 1fr; }
  .pk .pris { text-align: left; }
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .kontakt-lista li { grid-template-columns: 80px 1fr; }
  .lightbox { padding: 60px 10px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .btns .btn { flex: 1 1 auto; }
}
