/* Golfregistret.se – stil (grund från Slottsregistret). Typsnitt: Fraunces (rubriker) och Instrument Sans (text), båda med fri licens (OFL). */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin.woff2?v=7f9d191d99') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin-italic.woff2?v=bceec2ef4d') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/instrument-sans-latin.woff2?v=2ee17598a9') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Golf: greenens gröna, sandens ljusa ton och flaggans gula. Variabelnamnen är kvar från Slottsregistret. */
  --paper: #F4F6F0; --paper-2: #E6ECDF; --card: #FFFFFF;
  --ink: #18221C; --ink-2: #4A564E; --line: #D2DCCC;
  --forest: #173F2B; --forest-2: #22573C; --forest-3: #2E7D4F;
  --gold: #E3B925; --gold-2: #F0D468; --gold-ink: #6B5410;
  --gold-grad: linear-gradient(100deg, #D9A915 0%, #F2D45E 40%, #FBE89A 55%, #E3B925 100%);
  /* Silver och brons, för senare (t.ex. nivåer): */
  --silver: #B9BEC2; --silver-grad: linear-gradient(100deg, #8E959B 0%, #D9DDE0 35%, #F4F6F7 50%, #B5BBC0 70%, #848B91 100%);
  --bronze: #A8703F; --bronze-grad: linear-gradient(100deg, #7A4B25 0%, #C48A55 35%, #E2B385 50%, #A86E3E 70%, #6E4220 100%);
  --radius: 14px; --shadow: 0 1px 2px rgba(28,35,32,.06), 0 8px 24px -12px rgba(28,35,32,.25);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--forest-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: 'opsz' 96, 'SOFT' 30; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }
.small { font-size: .92rem; color: var(--ink-2); }
.kicker { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }

/* Knappar */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 1.5px solid var(--forest); background: var(--forest); color: #fff; font: 600 .98rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { background: var(--forest-2); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-gold { background: var(--gold-grad); border-color: #C9A24E; color: #1C1A12; box-shadow: 0 6px 20px -8px rgba(169,122,39,.6); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: #1C1A12; }
.btn-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--forest); }

/* Sidhuvud */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.hdr { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font: 500 1.28rem/1 var(--serif); letter-spacing: -.01em; }
.logo b { font-weight: 700; }
.logo-mark { width: 34px; height: 34px; color: var(--forest); }
.logo-mark .door { fill: var(--gold); }
.logo-light, .logo-light .logo-mark { color: #F3EBDB; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: .5em .8em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current] { background: var(--paper-2); color: var(--forest); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--forest); position: relative; margin: auto; transition: .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: .8em; }
}

/* Startsidan */
.hero { position: relative; color: #F6F1E7; background: #0E1A15; overflow: hidden; }
.hero-film { min-height: min(94vh, 900px); display: flex; align-items: center; }
.film, .film .slide, .hero-shade { position: absolute; inset: 0; }
.film .slide { opacity: 0; transition: opacity 1.8s ease; }
.film .slide.on { opacity: 1; z-index: 1; }
.film .slide.off { opacity: 0; z-index: 0; }
.film picture, .film img { width: 100%; height: 100%; }
.film img { object-fit: cover; transform: scale(1.04); will-change: transform; }
.film .slide.on img, .film .slide.off img { animation: kenburns 11s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(var(--dx), var(--dy)); } }
.hero-shade { z-index: 2; background:
  linear-gradient(90deg, rgba(8,16,13,.9) 0%, rgba(8,16,13,.7) 40%, rgba(8,16,13,.25) 72%, rgba(8,16,13,.08) 100%),
  linear-gradient(0deg, rgba(8,16,13,.7) 0%, rgba(8,16,13,0) 35%),
  linear-gradient(180deg, rgba(8,16,13,.55) 0%, rgba(8,16,13,0) 22%); }
.hero-in { position: relative; z-index: 3; padding: clamp(110px, 14vw, 170px) 0 clamp(70px, 9vw, 120px); }
.hero h1 { max-width: 12em; color: #FBF6EC; font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.9rem); letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.35); font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.hero h1 em { font-style: italic; font-weight: 380; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker-gold { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-2); }
.kicker-gold::before, .kicker-gold::after { content: ''; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.kicker-gold::after { background: linear-gradient(90deg, var(--gold-2), transparent); }
.hero .lead { color: #DCE3DE; max-width: 34em; font-size: 1.2rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.quick { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.quick a { display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.1em; border-radius: 999px; background: rgba(12,22,18,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(226,194,122,.38); color: #FBF6EC; text-decoration: none; font-weight: 500; letter-spacing: .01em; transition: border-color .2s, background .2s; }
.quick a:hover { background: rgba(201,162,78,.22); border-color: var(--gold-2); color: #fff; }
.quick svg { color: var(--gold-2); }
.quick svg, .tiles svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.film-caption { position: absolute; z-index: 3; right: max(16px, calc((100% - 1180px) / 2)); bottom: 22px; margin: 0; text-align: right; font-size: .82rem; color: #C8D3CC; display: flex; flex-direction: column; gap: 2px; }
.film-caption > a { color: var(--gold-2); font: italic 500 1.05rem var(--serif); text-decoration: none; }
.film-caption > a::before { content: ''; display: inline-block; width: 26px; height: 1px; background: var(--gold-2); vertical-align: middle; margin-right: 10px; }
.film-caption small { color: rgba(220,227,222,.7); font-size: .75rem; }
.film-caption small a { color: inherit; }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-pause { position: absolute; z-index: 3; left: max(16px, calc((100% - 1180px) / 2)); bottom: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(226,194,122,.4); background: rgba(12,22,18,.4); color: #FBF6EC; cursor: pointer; }
.film-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-pause .i-play { display: none; fill: currentColor; }
.film-pause[aria-pressed="true"] .i-play { display: inline; }
.film-pause[aria-pressed="true"] .i-pause { display: none; }
/* Sidhuvudet ligger över filmen på startsidan */
.home .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 1px solid rgba(226,194,122,.18); }
.home .site-header .logo, .home .site-header .logo-mark { color: #F6F1E7; }
.home .site-header .nav a { color: #EDE6D6; }
.home .site-header .nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.home .bars, .home .bars::before, .home .bars::after { background: #F6F1E7; }
@media (max-width: 960px) { .home .nav { background: #0E1A15; border-color: rgba(226,194,122,.18); } }
@media (max-width: 700px) {
  .hero-film { min-height: 100svh; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,16,13,.9) 0%, rgba(8,16,13,.6) 50%, rgba(8,16,13,.35) 100%); }
  .film-caption { left: 16px; right: auto; text-align: left; top: 80px; bottom: auto; }
  .kicker-gold { font-size: .7rem; gap: 10px; }
  .kicker-gold::before { width: 24px; }
  .kicker-gold::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .film .slide.on img { animation: none; } }

/* Sök */
.search { position: relative; display: flex; gap: 8px; max-width: 640px; margin-top: 8px; }
.search input { flex: 1; min-width: 0; padding: .85em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.search-big input { padding: 1em 1.3em; font-size: 1.05rem; border-color: transparent; box-shadow: var(--shadow); }
.search button { padding: 0 1.5em; border-radius: 999px; border: 0; background: var(--gold-grad); color: #1C1A12; font: 600 1rem var(--sans); letter-spacing: .02em; cursor: pointer; }
.search button:hover { background: var(--gold-2); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; list-style: none; margin: 0; padding: 6px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 12px 40px -10px rgba(0,0,0,.35); max-height: 60vh; overflow: auto; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest [aria-selected="true"] a { background: var(--paper); }
.suggest small { color: var(--ink-2); display: block; font-size: .85rem; }
.suggest .s-cat { font-weight: 600; color: var(--forest); }
.suggest .gold { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(201,162,78,.25); }
.suggest .grey { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #9AA39C; flex: none; }

/* Sektioner */
.band { padding: clamp(44px, 6vw, 80px) 0; }
.band-tight { padding: 28px 0 64px; }
.band-dark { background: var(--forest); color: #EEF1EC; }
.band-dark h2 { color: #FBF6EC; }
.band-dark .sec-head p { color: #C8D3CC; }
.band-paper2 { background: var(--paper-2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; max-width: 34em; color: var(--ink-2); }
.more { margin-top: 28px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.map-teaser { display: block; border-radius: var(--radius); overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.page-head { padding: 18px 0 8px; }
.page-head h1 { margin-bottom: .3em; }
.ingress { max-width: 46em; color: var(--ink-2); margin: .6em 0 1.2em; }
.ingress p { margin: 0 0 .8em; }

/* Kort */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 36px -16px rgba(28,35,32,.4); }
.card-img { position: relative; aspect-ratio: 3/2; background: var(--paper-2); display: block; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--paper-2), #E3D8C1); }
.lit { position: absolute; left: 10px; bottom: 10px; background: var(--gold); color: #1C1A12; font: 600 .8rem/1 var(--sans); padding: .5em .8em; border-radius: 999px; box-shadow: 0 0 0 4px rgba(201,162,78,.25); }
.lit::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1C1A12; margin-right: 6px; vertical-align: 1px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.card-body strong { font: 600 1.12rem/1.25 var(--serif); }
.card-body small { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: .28em .7em; border-radius: 999px; background: var(--paper-2); color: var(--forest-2); text-decoration: none; }
a.tag:hover { background: var(--forest); color: #fff; }
.tag-tour { background: var(--gold); color: #1C1A12; }
.band-dark .card a { background: #fff; }
.count { color: var(--ink-2); margin-bottom: 14px; }
.lit-text { color: var(--gold-ink); font-weight: 600; }

/* Kategorirutor */
.tiles { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tiles a { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.tiles a:hover { border-color: var(--forest); background: #fff; }
.tiles svg { width: 28px; height: 28px; color: var(--gold-ink); }
.tiles strong { font: 600 1.1rem/1.2 var(--serif); }
.tiles small { color: var(--ink-2); }
.pills, .chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a, .chips a { display: inline-block; padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.pills a:hover, .chips a:hover { border-color: var(--forest); }
.chips a[aria-current] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pills small, .chips small { color: var(--ink-2); margin-left: 2px; }
.chips a[aria-current] small { color: #C8D3CC; }
.chips { margin: 4px 0 22px; }

/* Andel */
.coverage { max-width: 520px; margin: 16px 0; }
.coverage .bar, .mini { display: block; height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.coverage .bar span, .mini span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 999px; min-width: 4px; }
.coverage p { margin: 8px 0 0; color: var(--ink-2); }
.coverage b { color: var(--ink); font-family: var(--serif); font-size: 1.3rem; }
.county-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px; }
.county-list a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.county-list a:hover strong { color: var(--forest-2); text-decoration: underline; }
.county-list .mini { grid-column: 1 / -1; height: 6px; }
.county-list small { color: var(--ink-2); grid-row: 1; grid-column: 2; }
.county-list-big a { grid-template-columns: 2.2em 1fr auto; }
.county-list-big .rank { color: var(--gold-ink); font: 600 1.1rem var(--serif); }
.county-list-big .mini { grid-column: 2 / -1; }
.county-list-big small { grid-column: 3; }

/* Brödsmulor */
.crumbs ol { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }

/* Slottets sida */
.more-tours { color: #FBF6EC; margin-top: 28px; font-size: 1.2rem; }
.tour-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tour-list a { display: block; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.tour-list a:hover { background: rgba(201,162,78,.25); border-color: var(--gold); }
.tour-list strong { display: block; font-family: var(--serif); font-weight: 560; }
.tour-list small { color: #C8D3CC; }
.c-head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 18px 0 40px; }
.c-title h1 { margin-bottom: .3em; }
.c-title .tags { margin-bottom: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.c-img { margin: 0; }
.c-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.c-img figcaption, .credit { font-size: .82rem; color: var(--ink-2); margin-top: 8px; }
.c-img figcaption a, .credit a { color: var(--ink-2); }
@media (max-width: 900px) { .c-head-in { grid-template-columns: minmax(0, 1fr); } .c-img { order: -1; } }
.tour { background: var(--forest); color: #EEF1EC; padding: clamp(36px, 5vw, 64px) 0; }
.tour h2 { color: #FBF6EC; }
.tour .credit, .tour .credit a { color: #B9C7BF; }
.tour-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #0F1F1A; }
.tour-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); }
/* Film om banan: i andra hand efter rundvisningen, mindre och ljus. */
/* Besöksläge: rundvisningen fyller hela skärmen. */
.visit-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(14px, 3vw, 28px); background: #0F1F1A; color: #fff; }
.visit-bar[hidden] { display: none; }
.visit-title { display: flex; flex-direction: column; min-width: 0; }
.visit-title strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); line-height: 1.1; }
.visit-title span { color: #C8D3CC; }
.visit-close { flex-shrink: 0; min-height: 56px; padding: 0 26px; border: 0; border-radius: 14px; background: #fff; color: var(--forest); font: inherit; font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.tour.is-visit { position: fixed; inset: 0; z-index: 300; padding: 0; display: flex; flex-direction: column; }
.tour.is-visit .wrap { flex: 1; width: 100%; max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tour.is-visit h2, .tour.is-visit .credit { display: none; }
.tour.is-visit .tour-frame { flex: 1; aspect-ratio: auto; border-radius: 0; }
body.visit-open { overflow: hidden; }
.tour-film { background: var(--paper-2); color: inherit; padding: clamp(28px, 4vw, 48px) 0; }
.tour-film h2 { color: inherit; font-size: 1.4rem; }
.tour-film .tour-frame { max-width: 720px; }
.tour-film .credit, .tour-film .credit a { color: #5B6B62; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.tour-cta .kind { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.tour-cta .btn { font-size: 1.1rem; padding: .9em 1.6em; box-shadow: 0 0 0 8px rgba(201,162,78,.2); }
.tour-cta .consent { margin-top: 14px; font-size: .85rem; color: #C8D3CC; max-width: 30em; }
@media (max-width: 600px) { .tour-frame { aspect-ratio: 3/4; } }
.tour-none { background: var(--paper-2); color: var(--ink); }
.tour-none h2 { color: var(--ink); }
.tour-none-in { max-width: 760px; }
.tour-none-in > div { border-left: 4px solid var(--gold); padding-left: 22px; }
.c-body { padding: clamp(36px, 5vw, 64px) 0; }
.c-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .c-grid { grid-template-columns: 1fr; } }
.c-text { max-width: 40em; }
.source { font-size: .85rem; color: var(--ink-2); }
.offer-list { padding-left: 1.2em; }
.facts { margin: 0 0 20px; background: var(--card); border-radius: var(--radius); padding: 6px 20px; box-shadow: var(--shadow); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--paper-2); }
.facts div:last-child { border: 0; }
.facts dt { color: var(--ink-2); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 500; }
.mini-map { height: 260px; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; background: var(--paper-2); }

/* Text- och formulärsidor */
.prose { max-width: 760px; padding: 24px 0 72px; }
.prose h2 { margin-top: 1.4em; }
.form { display: grid; gap: 8px; margin-top: 24px; background: var(--card); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { font-weight: 500; margin-top: 8px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { width: 100%; padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.form fieldset { border: 0; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }
.form legend { font-weight: 600; margin-bottom: 4px; }
.form fieldset label { font-weight: 400; margin: 0; display: flex; gap: 10px; align-items: center; }
.form input[type=checkbox], .form input[type=radio] { width: 20px; height: 20px; accent-color: var(--forest); }
.form .btn { justify-self: start; margin-top: 14px; }
.trap { position: absolute; left: -9999px; }

/* Kartan */
.map-body .site-footer { display: none; }
.map-layout { display: grid; grid-template-columns: 380px 1fr; height: calc(100vh - 67px); height: calc(100dvh - 67px); }
.map-panel { overflow: auto; padding: 16px; border-right: 1px solid var(--line); background: var(--paper); }
.map { height: 100%; background: #DCE3DE; }
.map-filter { border: 0; padding: 0; margin: 14px 0 6px; display: grid; gap: 10px; }
.map-filter select { padding: .6em; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.map-filter label { display: flex; gap: 8px; align-items: center; }
.legend { font-size: .88rem; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,78,.3); }
.dot-grey { border: 2px solid #7E8A82; background: #fff; margin-left: 10px; }
.map-list { list-style: none; padding: 0; margin: 0; }
.map-list a { display: flex; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: center; }
.map-list a:hover { background: var(--paper-2); }
.map-list img, .map-list .ph { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; flex: none; background: var(--paper-2); }
.map-list small { display: block; color: var(--ink-2); font-size: .85rem; }
.map-list .k { color: var(--gold-ink); font-weight: 600; font-size: .82rem; }
.pop { width: 230px; font-family: var(--sans); }
.pop img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.pop strong { font: 600 1.05rem var(--serif); display: block; }
.pop small { display: block; color: var(--ink-2); }
.pop .btn { margin-top: 10px; padding: .55em 1em; font-size: .9rem; color: #fff; }
.pop .btn-gold { color: #1C1A12; }
@media (max-width: 820px) {
  .map-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; }
  .map { height: 62vh; order: -1; }
  .map-panel { border: 0; }
}

/* Sidfot */
.site-footer { background: #17291F; color: #C8D3CC; padding: 56px 0 24px; margin-top: 0; }
.ftr { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 32px; }
.site-footer h2 { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .94rem; }
.site-footer ul.cols { grid-template-columns: 1fr 1fr; }
.site-footer a { color: #E4EAE5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { font-size: .94rem; margin-top: 14px; }
.fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 18px; font-size: .82rem; color: #93A49A; }
@media (max-width: 900px) { .ftr { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Golf ---- */
.hero-golf { background: radial-gradient(120% 90% at 85% 10%, #2E7D4F 0%, #173F2B 55%, #0F2A1D 100%); }
.hero-golf::after { content: ''; position: absolute; right: -6%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(240,212,104,.18); box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015); pointer-events: none; }
.hero-golf .hero-in { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.card-img .ph { display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(70% 70% at 50% 60%, #CFE3C6 0%, #B5D3A8 60%, #9CC28E 100%); color: var(--forest); }
.card-img .ph::after { content: none; }
.card-img .ph b { font: 500 2.6rem/1 var(--serif); }
.card-img .ph small { font: 600 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.c-map { width: 100%; max-width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table.courses { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
table.courses th, table.courses td { text-align: left; padding: .5em .7em; border-bottom: 1px solid var(--line); }
table.courses th { font: 600 .74rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.claim { background: var(--paper-2); border-radius: var(--radius); padding: 18px 18px 6px; margin: 16px 0; }
.chips-quiet a { background: transparent; }
.card-img .ph:empty::before { content: ''; width: 44px; height: 56px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 50'%3E%3Cellipse cx='20' cy='44' rx='16' ry='4.5' fill='none' stroke='%23173F2B' stroke-width='2.2'/%3E%3Cpath d='M15 44V5' stroke='%23173F2B' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M15 5l15 6-15 6z' fill='%23E3B925'/%3E%3C/svg%3E"); }
