/* Tast – tast.golf. Samme farver som appen; kontrasten er kontrolleret (se scripts/check.mjs). */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/cormorant-700.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --bg: #FAF8F2; --surface: #FFFFFF; --ink: #142C23; --muted: #3B4F45; --primary: #174D35; --on-primary: #FFFFFF;
  --sage: #E5EDE4; --brass: #9B783D; --brass-text: #654A1B; --hairline: #C9D3C8; --border: #4F6B5B;
  --radius: 14px; --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 720px) { body { font-size: 1.125rem; line-height: 1.65; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--on-primary); padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1, h2.display { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; color: var(--primary); letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 11vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.kicker { color: var(--brass-text); font-weight: 600; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.muted { color: var(--muted); }
.rule { height: 3px; width: 72px; background: var(--brass); border: 0; margin: 1.1rem 0 1.4rem; }

/* Header */
.site-header { border-bottom: 2px solid var(--hairline); background: var(--bg); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'brand lang' 'nav nav'; align-items: center; gap: 0 1rem; padding-block: .5rem; }
.brand { grid-area: brand; } .lang { grid-area: lang; } .nav { grid-area: nav; }
@media (min-width: 720px) { .site-header .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .75rem; } }
.brand { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.75rem; color: var(--primary); text-decoration: none; line-height: 1; display: inline-flex; align-items: center; gap: .55rem; padding: .25rem 0; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 0 1.1rem; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav a { white-space: nowrap; }
.nav a { padding: .6rem .1rem; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current='page'] { text-decoration: underline; }
.lang { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.lang a { border: 2px solid var(--border); border-radius: 10px; padding: .2rem .65rem; font-weight: 600; text-decoration: none; min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; background: var(--surface); }
.lang a[aria-current='true'] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* Hero */
.hero { padding-block: 1.5rem 2rem; }
@media (min-width: 720px) { .hero { padding-block: clamp(2rem, 6vw, 4.5rem); } }
.hero .wrap { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.lead { font-size: 1.1rem; max-width: 36rem; }
.status { margin-top: 1.25rem; padding: 1rem 1.2rem; background: var(--sage); border: 2px solid var(--primary); border-radius: var(--radius); max-width: 36rem; }
.status strong { display: block; }
.store-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.4rem; width: 100%; border-radius: var(--radius); border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--on-primary); }
.store-links .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .btn, .store-links .btn { width: auto; flex: 0 0 auto; } }
.phone { border-radius: 36px; border: 3px solid var(--ink); background: var(--surface); overflow: hidden; width: min(72vw, 300px); margin-inline: auto; }

/* Sections */
section { padding-block: clamp(1.75rem, 5vw, 3.5rem); }
section.tinted { background: var(--sage); }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1.5px solid var(--hairline); border-radius: calc(var(--radius) + 2px); padding: 1.1rem 1.2rem; }
@media (min-width: 720px) { .card { padding: 1.4rem; } }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; margin-bottom: .6rem; }
.points { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.points li { margin-bottom: .5rem; }
.shots { display: flex; gap: 1rem; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: -1rem; padding: 0 1rem .5rem; scroll-padding-inline: 1rem; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots figure { flex: 0 0 62%; max-width: 240px; scroll-snap-align: start; }
@media (min-width: 900px) { .shots { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } .shots figure { max-width: none; } }
.shots figure { margin: 0; }
.shots .phone { width: 100%; }
.shots figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; text-align: center; }
.faq dt { font-weight: 600; margin-top: 1.2rem; }
.faq dd { margin: .3rem 0 0; }

/* Dokumentsider (privatliv, support) */
.doc { padding-block: clamp(2rem, 5vw, 3.5rem); max-width: 46rem; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.doc h2 { margin-top: 2rem; }

/* Footer */
.site-footer { border-top: 2px solid var(--hairline); padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: .95rem; }
.site-footer a { display: inline-block; padding: .35rem 0; }
.site-footer .wrap { display: grid; gap: .5rem; }
.site-footer a { color: var(--primary); }
.chooser { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 2rem 1rem; }
.chooser ul { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 1.5rem 0 0; }

/* Mobil først: funktionskort i to kolonner, så siden ikke bliver en lang liste */
@media (max-width: 639px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .grid.cols-3 .card { padding: .9rem; }
  .grid.cols-3 .card h3 { font-size: 1.02rem; }
  .grid.cols-3 .card p { font-size: .92rem; line-height: 1.45; }
  .phone { width: min(64vw, 260px); }
}

/* Spilformer-guide: sammenligningstabel (scroller sidelæns på mobil, første kolonne står fast) */
.prose { max-width: 46rem; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { display: inline-block; padding: .5rem 0; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1.5px solid var(--hairline); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 62rem; font-size: .95rem; line-height: 1.45; }
.matrix.compact { min-width: 0; }
.matrix caption { text-align: left; padding: .8rem 1rem; font-weight: 600; color: var(--muted); }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--hairline); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix thead th { background: var(--sage); font-weight: 600; border-bottom: 2px solid var(--hairline); }
.matrix tbody th { font-weight: 600; background: var(--surface); min-width: 9.5rem; }
.matrix:not(.compact) tbody th, .matrix:not(.compact) thead th:first-child { position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--hairline); }
.matrix:not(.compact) td:nth-child(4) { min-width: 15rem; }
.matrix td.yes { font-weight: 700; color: var(--primary); }
.matrix td:last-child { white-space: nowrap; }
@media (max-width: 639px) { .matrix:not(.compact) tbody th, .matrix:not(.compact) thead th:first-child { min-width: 7.5rem; } }
