@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/sora-latin-800-normal.woff2") format("woff2"); }

/* Layout: mørk bane-grøn side; hver målgruppe får et bånd med telefon og punkter,
   skiftevis venstre/højre. Én guldfarvet "scorekort"-strimmel bærer de rigtige tal fra appen. */
:root {
  --bg: #0A1611;        /* appens dybe grøn */
  --surface: #10221A;
  --raised: #173226;
  --line: #22382D;
  --text: #F3EFE2;
  --soft: #B9C9BE;
  --muted: #8EA396;
  --gold: #D9B65A;
  --gold-ink: #14210C;
  --good: #6FCF97;
  --display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 22px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 34ch; }

/* Header */
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; }
nav.main a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
header.site .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
@media (max-width: 760px) { nav.main { display: none; } header.site .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 16%, transparent), transparent);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.store-note { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .phones { order: 2; } }

/* Telefon */
.phone {
  width: 100%; max-width: 300px; aspect-ratio: 390 / 844; border-radius: 42px; padding: 10px;
  background: #050c08; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }
.phones { position: relative; display: flex; justify-content: center; min-height: 0; }
.phones .phone.back { position: absolute; z-index: 0; max-width: 240px; transform: translate(-58%, 12%) rotate(-6deg); filter: brightness(.5) saturate(.8); }
.phones .phone.front { position: relative; z-index: 1; transform: translateX(14%); }
@media (max-width: 860px) { .phones .phone.front { transform: none; max-width: 260px; } .phones .phone.back { display: none; } }

/* Scorekort-strimmel */
.scorecard { border-block: 1px solid var(--line); background: var(--surface); }
.scorecard .wrap { padding-block: 22px; }
.sc-label { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.sc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sc-cell { padding: 12px 16px; border-right: 1px solid var(--line); min-width: 0; }
.sc-cell:last-child { border-right: 0; }
.sc-cell dt { font-size: 12px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-cell dd { margin: 2px 0 0; font-family: var(--display); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-cell dd small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--good); margin-left: 6px; }
@media (max-width: 760px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc-cell { border-bottom: 1px solid var(--line); } .sc-cell:nth-child(2n) { border-right: 0; } .sc-cell:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* Loop */
section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.loop li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; position: relative; min-width: 0; }
.loop li::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--raised); color: var(--gold); font-family: var(--display); font-weight: 700;
}
.loop li:first-child::before { background: var(--gold); color: var(--gold-ink); }
.loop p { color: var(--soft); font-size: 15px; }
.loop-back { margin-top: 16px; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* Fordele (kort uden trin-numre) */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; border-top: 3px solid var(--gold); }
.cards p { color: var(--soft); font-size: 15px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Dataindsigt: seks spørgsmål i tre kolonner, med hvad klubben kan bruge svaret til. */
.cards.insights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards .use { color: var(--gold); font-weight: 600; font-size: 15px; }
.insight-loop { margin-top: 28px; }
@media (max-width: 900px) { .cards.insights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
details p a { color: var(--gold); }

/* Målgrupper */
.audience { border-top: 1px solid var(--line); }
.audience .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.audience.flip .wrap { grid-template-columns: 1.15fr 0.85fr; }
.audience.flip .phones { order: 2; }
.aud-copy { display: grid; gap: 18px; min-width: 0; }
.features { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.features li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.features li svg { margin-top: 3px; }
.features strong { display: block; font-weight: 600; }
.features span { color: var(--soft); font-size: 15px; }
.audience .phones .phone { max-width: 290px; position: relative; z-index: 1; }
.audience .phones .phone.second { position: absolute; z-index: 0; max-width: 230px; transform: translate(62%, 14%) rotate(5deg); filter: brightness(.5) saturate(.8); }
@media (max-width: 860px) {
  .audience .wrap, .audience.flip .wrap { grid-template-columns: 1fr; }
  .audience .phones, .audience.flip .phones { order: 2; }
  .audience .phones .phone.second { display: none; }
}
/* I spejlvendte bånd står telefonerne i højre side: læg den bagerste ud mod venstre, så den ikke
   stikker ud over sidens kant. */
@media (min-width: 861px) {
  .audience.flip .phones .phone.second { transform: translate(-62%, 14%) rotate(-5deg); }
}

/* Klubplatformen: "i dag" mod fem roller, og tre søjler (docs/design/klubplatform, Main) */
.roles { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 14px; }
.roles .today { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.roles .today ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--soft); font-size: 15px; }
.role-list { display: contents; list-style: none; padding: 0; margin: 0; }
.role-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.role-list svg { color: var(--gold); }
.role-list h3 { font-size: 18px; }
.role-list p { color: var(--soft); font-size: 14.5px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.pillars > div { border-top: 3px solid var(--gold); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.pillars p { color: var(--soft); font-size: 15px; }
.loop-back svg { color: var(--muted); flex: none; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .roles .today { grid-column: 1 / -1; } }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .roles { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 22px; color: var(--gold); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--soft); padding-bottom: 18px; max-width: 65ch; }

/* Kontakt */
.contact { border-top: 1px solid var(--line); }
.contact-card {
  background: linear-gradient(140deg, var(--raised), var(--surface) 60%);
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center;
}
.contact-card .lead { max-width: 40ch; }
.mail-box { display: grid; gap: 12px; min-width: 0; }
.mail { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 16px; min-width: 0; }
.mail code { font-family: var(--body); font-size: 17px; font-weight: 600; user-select: all; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.copy { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 14px var(--body); cursor: pointer; white-space: nowrap; }
.copy[data-done] { color: var(--good); }
.mail-hint { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--muted); font-size: 14px; }
footer .brand { font-size: 16px; color: var(--text); }
footer .brand img { width: 26px; height: 26px; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }

/* Juridiske sider (privatliv, vilkår) */
.doc { padding-block: clamp(40px, 6vw, 72px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--soft); max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--gold); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.doc th { color: var(--text); font-weight: 600; }
.table-scroll { overflow-x: auto; }
