:root {
  --bg: #f2eee5;
  --fg: #111;
  --muted: #5c574f;
  --line: rgba(17, 17, 17, .14);
  --accent: #E0501A;
  --accent-ink: #B83D0D; /* mørkere orange til lille tekst, så kontrasten holder */
  --card: #faf8f3;
  --wrap: 1200px;
  --gutter: 24px;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; }

.accent { color: var(--accent); }
.logo .accent { color: var(--accent-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 8px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border: 1px solid var(--fg); border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.btn-small { padding: 8px 18px; font-size: .9375rem; }
.btn-large { padding: 18px 36px; font-size: 1.125rem; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(242, 238, 229, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { margin-right: auto; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--fg); }

.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before {
  display: block; width: 16px; height: 1.5px; background: currentColor;
}
.nav-toggle-bar { position: relative; top: -2.5px; }
.nav-toggle-bar::before { content: ""; position: absolute; top: 5px; }

/* Hero: overskrift øverst, Claude-næven med systemerne rundt om nedenunder */
.hero { padding: 112px 0 72px; text-align: center; }
.hero-content { display: flex; flex-direction: column; align-items: center; }
.eyebrow { margin-bottom: 20px; color: var(--muted); font-size: .9375rem; }
.hero h1 { max-width: 16ch; margin-bottom: 24px; font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.lead { max-width: 56ch; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }

.orbit { width: 100%; max-width: 780px; height: auto; margin-top: 16px; color: var(--fg); }
.orbit .ring { fill: none; stroke: currentColor; stroke-opacity: .18; stroke-width: 1.2; stroke-dasharray: 2 6; }
.orbit .link { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 3 9; stroke-linecap: round; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.orbit .node-ring { fill: var(--bg); stroke: currentColor; stroke-width: 1.6; }
.orbit .node-icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.orbit .node-label { fill: currentColor; font: 500 21px var(--font); text-anchor: middle; }
.orbit .band-text { fill: var(--bg); font: 600 24px var(--font); letter-spacing: .3em; text-anchor: middle; }
.systems-list { display: none; }

/* Sections */
.section { padding: 120px 0; border-top: 1px solid var(--line); }
.mission-text { max-width: 20ch; font-size: clamp(2rem, 5.5vw, 4.5rem); line-height: 1.08; letter-spacing: -0.03em; }

.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.split > h2 { position: sticky; top: 112px; }

.kan-list, .trin-list { list-style: none; margin: 0; padding: 0; }
.kan-item, .trin {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.kan-item:first-child, .trin:first-child { padding-top: 0; border-top: 0; }
.num { padding-top: .35em; color: var(--accent-ink); font-size: .875rem; font-variant-numeric: tabular-nums; }
.kan-item h3, .trin h3 { margin-bottom: 10px; }
.kan-item p, .trin p { color: var(--muted); }
.nowrap { white-space: nowrap; }
.klar { margin-top: 40px; padding: 28px 32px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--card); }
.klar h3 { margin-bottom: 14px; }
.klar ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.klar li + li { margin-top: 8px; }
.klar strong { color: var(--fg); font-weight: 600; }

/* Packages */
.section-head { margin-bottom: 56px; }
.section-head p { max-width: 56ch; margin-top: 16px; color: var(--muted); }
.pakker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pakke {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--card);
}
.pakke-featured { border-color: var(--accent); }
.badge {
  position: absolute; top: -12px; left: 32px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-ink); color: var(--bg); font-size: .8125rem; font-weight: 600;
}
.pris-tal { display: block; font-size: 2.5rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.pris-enhed { color: var(--muted); font-size: .9375rem; }
.pakke-tagline { color: var(--muted); }
.pakke abbr { text-decoration: none; border-bottom: 1px dotted var(--muted); cursor: help; }
.pakke ul { flex: 1; display: grid; align-content: start; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pakke li { position: relative; padding-left: 24px; color: #2b2925; }
.pakke li::before {
  content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--accent);
}
.pakker-note { margin-top: 24px; color: var(--muted); font-size: .9375rem; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 28px 0; font-size: 1.25rem; font-weight: 500; list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 64ch; padding-bottom: 28px; color: var(--muted); }

/* Blog: oversigt og indlæg */
.page-head { padding: 136px var(--gutter) 96px; }
.article { max-width: 68ch; }
.article h1 { margin-bottom: 16px; font-size: clamp(2.25rem, 5vw, 3.75rem); }
.article h2 { margin: 48px 0 16px; font-size: clamp(1.5rem, 3vw, 2rem); }
.article p + p { margin-top: 16px; }
.article ol, .article ul:not(.post-list) { display: grid; gap: 10px; margin: 16px 0; padding-left: 1.25em; }
.article a:not(.btn):not(.post-card) { color: var(--accent-ink); }
.crumbs { margin-bottom: 20px; color: var(--muted); font-size: .9375rem; }
.crumbs a { color: inherit; }
.post-meta { color: var(--muted); font-size: .9375rem; }
.kort-svar { margin: 32px 0; padding: 24px 28px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--card); }
.kort-svar-label { margin-bottom: 8px; color: var(--accent-ink); font-size: .875rem; font-weight: 600; }
.post-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.post-card {
  display: block; padding: 28px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); text-decoration: none; transition: border-color .2s;
}
.post-card:hover { border-color: var(--accent); }
.post-card h2 { margin: 0 0 8px; font-size: 1.5rem; }
.post-card p { color: var(--muted); }
.post-card .post-meta { margin-top: 12px; }
.table-wrap { overflow-x: auto; }
.article table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: .9375rem; }
.article th, .article td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cta-box { margin-top: 56px; padding: 32px; border-radius: 20px; background: var(--fg); color: var(--bg); }
.cta-box h2 { margin-top: 0; }
.cta-box p { margin-bottom: 24px; color: #d8d2c6; }
.cta-box .btn { background: var(--bg); border-color: var(--bg); color: var(--fg); }
.cta-box .btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.nav a[aria-current="page"] { color: var(--fg); }

/* Booking */
.book { text-align: center; }
.book-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.book h2 { max-width: 18ch; }
.book .lead { margin-bottom: 8px; }

/* Footer */
.site-footer { padding: 48px 0 104px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.footer-inner { display: grid; gap: 8px; }
.site-footer .logo { margin-bottom: 4px; color: var(--fg); }
.footer-contact { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; }
.footer-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.footer-name { color: var(--fg); font-weight: 500; }

/* WhatsApp-knap, fast i nederste højre hjørne */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(17, 17, 17, .2);
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.06); }
.whatsapp svg { width: 30px; height: 30px; }
.small { font-size: .8125rem; }

/* Reveal on scroll (class "js" is set in <head>, so no-JS visitors see everything) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split > h2 { position: static; }
  .pakker { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav-toggle { display: inline-flex; }
  .header-inner .btn-small { display: none; }
  .hero { padding-bottom: 56px; }
  .orbit { margin-top: 24px; }
  .orbit .node-label { display: none; }
  .systems-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin: 0; padding: 0; list-style: none;
  }
  .systems-list li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; }
  .pakke { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
