
/* ---------- Grundlag ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--track-display);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p  { margin: 0; }
p + p { margin-top: 1em; }
a  { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--lyng-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100%;
  background: var(--ink); color: var(--canvas);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-s);
  z-index: 100;
}
.skip-link:focus { top: var(--space-4); }
:is(h1, h2)[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.85em 1.4em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--lyng); color: #fff; }
.btn-primary:hover { background: var(--lyng-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-on-lyng { background: var(--lyng); color: #fff; }
.btn-on-lyng:hover { background: #D9A5EA; color: var(--ink); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1em 1.6em; font-size: 1.0625rem; }

/* ---------- Header: svævende pille ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0.9rem var(--gutter) 0;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: flex-start; gap: var(--space-5);
  width: min(100%, var(--container));
  padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(23,20,28,0.02);
  transition: width var(--dur-slow) var(--ease-inout), box-shadow var(--dur-base), border-color var(--dur-base), background-color var(--dur-base), padding var(--dur-base);
}
.site-header.is-scrolled .nav-pill {
  width: min(100%, 64rem);
  border-color: var(--line);
  box-shadow: 0 12px 40px -16px rgba(23,20,28,0.25);
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 2.4rem; height: auto; color: var(--lyng); }
.brand .wordmark { font-family: var(--font-display); font-size: 1.3125rem; letter-spacing: -0.02em; line-height: 1; }
.brand .wordmark b { font-weight: 700; }
.brand .wordmark span { font-weight: 400; }

.nav-links { display: flex; gap: var(--space-5); margin-left: var(--space-5); }
.nav-links a {
  text-decoration: none; font-size: var(--fs-small); color: var(--ink-2);
  padding: 0.4rem 0; border-bottom: 1px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-login-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.nav-actions .login { text-decoration: none; font-size: var(--fs-small); color: var(--ink-2); padding: 0 0.5rem; }
.nav-actions .login:hover { color: var(--ink); }
.nav-actions .btn { padding: 0.7em 1.1em; font-size: 0.9375rem; }

.nav-toggle {
  order: 3; margin-left: calc(var(--space-3) - var(--space-5));
  display: none; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--ink); color: var(--canvas); border: 0; cursor: pointer;
}
.nav-toggle svg { width: 1.2rem; height: 1.2rem; }
.nav-toggle path { transition: transform var(--dur-base) var(--ease-out); transform-origin: center; }
.site-header.menu-open .nav-toggle .l1 { transform: translateY(4px) rotate(45deg); }
.site-header.menu-open .nav-toggle .l2 { transform: translateY(-4px) rotate(-45deg); }

/* Menu-panel (kompakt header + mobil) */
.site-header.menu-open .nav-links {
  display: flex; flex-direction: column; gap: 0; margin-left: 0;
  position: absolute; left: 50%; top: calc(100% + 0.5rem); transform: translateX(-50%);
  width: min(100% - 2 * var(--gutter), 46rem);
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: 0 24px 60px -24px rgba(23,20,28,0.3);
  padding: var(--space-3) var(--space-5);
  pointer-events: auto;
}
.site-header.menu-open .nav-links a { padding: 0.9rem 0; font-size: 1.125rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header.menu-open .nav-links a:last-child { border-bottom: 0; }
.site-header.menu-open .nav-login-mobile { display: block; }

@media (max-width: 899px) {
  .nav-links, .nav-actions .login { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-pill { padding-left: 0.9rem; }
}

/* ---------- Sektioner: ét mellemrum pr. sektion ---------- */
.section { padding-block: var(--section); }

/* Byens vært – siden */
.auth-card .host-eyebrow { margin-bottom: var(--space-2); color: var(--lyng-deep); }
.auth-card .host-why { color: var(--ink); margin-top: var(--space-6); max-width: 40ch; }
.host-lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-7); }
.host-lists h2 { font-size: 1.125rem; line-height: 1.25; color: var(--ink-2); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.host-note { margin-top: var(--space-4); color: var(--ink-3); }
.form-title { margin-top: var(--space-8); font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
@media (max-width: 700px) { .host-lists { grid-template-columns: 1fr; } }
.price-list { margin-top: var(--space-4); display: grid; gap: var(--space-3); font-size: 1.0625rem; }
.price-list li { display: flex; gap: 0.75rem; align-items: baseline; }
.price-list svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--lyng); transform: translateY(0.15rem); }
.price-list.later { color: var(--ink-2); }
.price-list.later li::before { content: ""; width: 0.5rem; height: 1px; background: var(--ink-3); flex: none; transform: translateY(-0.35rem); margin-right: 0.35rem; }

/* Hvorfor */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.why-grid > li { padding-left: var(--space-5); border-left: 2px solid var(--lyng); }
.why-grid h3 { font-size: 1.375rem; }
.why-grid p { margin-top: var(--space-2); color: var(--ink-2); }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-7) var(--space-6); font-size: var(--fs-small); color: var(--ink-2); }
.site-footer .container { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--space-6); row-gap: var(--space-5); }
.site-footer .brand { grid-column: 1 / span 4; }
.site-footer .tagline { grid-column: 1 / span 4; margin-top: var(--space-3); max-width: 32ch; }
.site-footer .footer-links { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-self: start; }
.site-footer .footer-links a { text-decoration: none; }
.site-footer .footer-links a:hover { text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; margin-top: var(--space-5); color: var(--ink-3); }
.site-footer .legal-id { grid-column: 1 / -1; margin-top: var(--space-5); color: var(--ink-2); font-size: var(--fs-small); }
/* Én kolonne på telefoner: 11 kolonnemellemrum alene er bredere end en 320 px skærm */
@media (max-width: 760px) { .site-footer .container { grid-template-columns: minmax(0, 1fr); } .site-footer .brand, .site-footer .tagline, .site-footer .footer-links { grid-column: 1 / -1; } }

/* ---------- Formularsider ---------- */
.auth-page { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.auth-main { display: grid; place-items: start center; padding-block: clamp(6rem, 5rem + 4vw, 9rem) clamp(2rem, 6vw, 5rem); }
.auth-card { width: min(100% - 2 * var(--gutter), 34rem); }
.auth-card.wide { width: min(100% - 2 * var(--gutter), 42rem); }
.auth-card h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.auth-card .lead { margin-top: var(--space-3); color: var(--ink-2); font-size: 1.0625rem; }
.form { margin-top: var(--space-7); display: grid; gap: var(--space-5); }
.form-row { display: grid; gap: var(--space-2); }
.form-row.two { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.form-row > label, .form legend { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.005em; }
.form-row .hint { font-size: var(--fs-tiny); color: var(--ink-3); }
.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input:focus { outline: none; border-color: var(--lyng); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lyng) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: var(--fs-tiny); color: var(--error); min-height: 1em; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-top: var(--space-3); }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-option .card {
  display: grid; gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-m);
  background: var(--surface);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.type-option .card b { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.type-option .card small { color: var(--ink-3); font-size: var(--fs-tiny); }
.type-option .card .desc { display: none; margin-top: 0.4rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; }
.type-option input:checked + .card .desc { display: block; }
fieldset .hint { margin: 0.25rem 0 0; font-size: var(--fs-small); color: var(--ink-3); }
.type-option input:checked + .card { border-color: var(--lyng); background: var(--lyng-tint); }
.type-option input:focus-visible + .card { outline: 2px solid var(--focus); outline-offset: 2px; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-2); }
.check input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--lyng); flex: none; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-2); }
.form-foot .alt { font-size: var(--fs-small); color: var(--ink-2); }
.form-status { font-size: var(--fs-small); min-height: 1.5em; }
.form-status.error { color: var(--error); }

.divider { display: flex; align-items: center; gap: var(--space-4); color: var(--ink-3); font-size: var(--fs-tiny); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.success { margin-top: var(--space-7); display: grid; gap: var(--space-4); }
.success .pulse { color: var(--lyng); width: 6rem; }
.success h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.success p { color: var(--ink-2); max-width: 46ch; }

/* Lukkede formularer (forms.live = false i content): en besked og et mail-link, ingen felter */
.closed { margin-top: var(--space-7); display: grid; gap: var(--space-4); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--lyng-soft); border-radius: var(--radius-l); background: var(--lyng-tint); }
.form-title + .closed { margin-top: var(--space-5); }
.closed h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.closed p { color: var(--ink-2); max-width: 52ch; }
.closed .hint { font-size: var(--fs-small); color: var(--ink-3); }
.closed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-top: var(--space-2); }
.closed-actions .mail { font-size: var(--fs-small); overflow-wrap: anywhere; }
.type-info { display: grid; gap: 0.15rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.type-info b { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.type-info small { color: var(--ink-3); font-size: var(--fs-tiny); }
.type-info .desc { margin-top: 0.4rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; }
.alt.center { margin-top: var(--space-5); text-align: center; font-size: var(--fs-small); color: var(--ink-2); }
/* Login med link (login.js): uden JS kun beskeden, for formularen sender JSON */
html:not(.js) .login-flow { display: none; }
.login-step { margin-top: var(--space-6); display: grid; justify-items: start; gap: var(--space-4); }
.login-step .btn-block { justify-self: stretch; }

/* Opret, CVR først: opslaget, firmaet, butiksvalget og "Ret oplysninger" */
.cvr-row .input { max-width: 14rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.cvr-status { min-height: 1.4em; font-size: var(--fs-small); color: var(--ink-2); }
.cvr-status[data-kind="ok"] { color: var(--lyng-deep); font-weight: 600; }
.cvr-status[data-kind="error"] { color: #B3261E; }
.cvr-skip { margin: 0; font-size: var(--fs-small); }
.cvr-skip .text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cvr-found { display: grid; gap: var(--space-3); margin-top: var(--space-2); padding: var(--space-4); border-radius: var(--radius-m); background: var(--lyng-tint, #FAF5FC); border: 1px solid var(--lyng-soft); }
.cvr-co { margin: 0; }
.cvr-co b { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.cvr-co span { display: block; color: var(--ink-2); font-size: var(--fs-small); }
.cvr-units { display: grid; gap: 0.5rem; }
.cvr-units > label { font-weight: 700; }
.cvr-list { display: grid; gap: 0.4rem; max-height: 18rem; overflow: auto; padding: 0.15rem; transition: opacity 150ms; }
.cvr-list[aria-busy="true"] { opacity: 0.4; pointer-events: none; }
.cvr-unit { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: center; padding: 0.55rem 0.75rem; border-radius: var(--radius-s, 0.6rem); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.cvr-unit:has(input:checked) { border-color: var(--lyng); box-shadow: 0 0 0 1px var(--lyng); }
.cvr-unit span { display: grid; gap: 0.1rem; min-width: 0; }
.cvr-unit small { color: var(--ink-3); font-size: var(--fs-small); overflow-wrap: anywhere; }
.cvr-page { margin: 0; padding: 0.55rem 0.8rem; border-radius: var(--radius-s, 0.6rem); background: var(--lyng); color: #fff; font-weight: 700; }
.cvr-call { margin: 0.25rem 0 0; font-weight: 600; color: var(--lyng-deep); }
.cvr-more { margin-top: var(--space-5); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.cvr-more > summary { cursor: pointer; font-weight: 600; color: var(--ink-2); list-style-position: inside; }
.cvr-more[open] > summary { margin-bottom: var(--space-3); }
/* Uden JS står alle felter fremme: ingen fold */
html:not(.js) .cvr-more > summary { display: none; }

.auth-footer { padding-block: var(--space-6); font-size: var(--fs-tiny); color: var(--ink-3); text-align: center; }



@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
[hidden] { display: none !important; }

/* ================= Forsiden: originalens design (artefaktet, e6db901) med byens rigtige data ================= */
html { scroll-padding-top: 6rem; }
.home main { overflow-x: clip; }
.text-link { color: var(--ink); text-underline-offset: 0.2em; font-weight: 600; }
.text-link:hover { color: var(--lyng); }
:is(h1, h2)[tabindex="-1"]:focus { outline: none; }

/* ---------- Hero: tesen centreret (animationen under den: hero-animation.css) ---------- */
.hero { position: relative; padding-top: clamp(7rem, 5rem + 6vw, 11rem); overflow: clip; }
/* Hero'en glider over i det lilla bånd (Ulrik 25.10.2026): ingen kant, bare en lang, rolig overgang fra hvid til Lyng */
.home .hero { --fade: clamp(10rem, 30vh, 18rem); padding-bottom: var(--fade); background: linear-gradient(to bottom, #fff 0, color-mix(in oklab, var(--lyng) 0%, #fff) calc(100% - var(--fade) * 1), color-mix(in oklab, var(--lyng) 3%, #fff) calc(100% - var(--fade) * 0.85), color-mix(in oklab, var(--lyng) 10%, #fff) calc(100% - var(--fade) * 0.7), color-mix(in oklab, var(--lyng) 23%, #fff) calc(100% - var(--fade) * 0.55), color-mix(in oklab, var(--lyng) 42%, #fff) calc(100% - var(--fade) * 0.4), color-mix(in oklab, var(--lyng) 65%, #fff) calc(100% - var(--fade) * 0.25), color-mix(in oklab, var(--lyng) 85%, #fff) calc(100% - var(--fade) * 0.12), color-mix(in oklab, var(--lyng) 100%, #fff) calc(100% - var(--fade) * 0)); }
.hero-copy { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hero h1 { max-width: 17ch; font-size: clamp(2.75rem, 1.2rem + 5.6vw, 5.75rem); letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
.hero .lead { margin-top: var(--space-6); font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.hero-eyebrow { margin-bottom: var(--space-4); font-family: var(--font-display); font-weight: 600; color: var(--lyng); letter-spacing: 0.01em; }
/* Byvælgeren i eyebrow'en: "For byens aktører i [Viborg ▾] Vis" (handoff P1.1) */
.hero-town { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: var(--space-4); }
.hero-town label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--lyng); letter-spacing: 0.01em; }
.hero-town select { width: auto; max-width: 14rem; font-weight: 600; color: var(--lyng-deep); }
.hero-town .town-row { min-width: 0; max-width: 100%; }

/* "Find jeres side" (find.js): søgefelt, resultater og "ingen resultater" (handoff P1.2) */
/* Søgningen står i sin egen sektion under hero-animationen (Ulrik 25.10.2026) */
.find-section { padding-block: var(--space-4) var(--section); }
/* Søgningen er hero-animationens handling: centreret lige under pointen, uden ekstra knap (Ulrik 25.10.2026) */
.find-section .find-label { justify-self: center; font-size: 1.25rem; }
.find-section .find-note { text-align: center; }
.find-wrap { display: grid; justify-items: center; }
.find-wrap .find { width: min(100%, 40rem); }
.find-town { flex: none; max-width: 11rem; font: inherit; padding: 0.8rem 2.2rem 0.8rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.find-label { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.find-row { display: flex; gap: 0.5rem; }
.find-input { flex: 1; min-width: 0; width: 100%; font: inherit; padding: 0.8rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.find-input:focus-visible { outline: 2px solid var(--lyng); outline-offset: 2px; }
.find-note { font-size: var(--fs-small); color: var(--ink-3); }
.find-note a { color: var(--lyng-deep); font-weight: 600; }
.find-out:empty { display: none; }
.find-out { display: grid; gap: 0.6rem; }
.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.find-hit { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; align-items: center; padding: 0.75rem 0.9rem; border-radius: var(--radius-m); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.find-name { font-family: var(--font-display); font-weight: 700; overflow-wrap: anywhere; }
.find-meta, .find-count { grid-column: 1; font-size: var(--fs-small); color: var(--ink-2); }
.find-claim { grid-column: 2; grid-row: 1 / span 3; white-space: nowrap; }
.find-none { color: var(--ink-2); }
.find-out > .btn { justify-self: start; }
@media (max-width: 560px) { .find-row { flex-wrap: wrap; } .find-row .find-input { flex: 1 1 100%; } .find-row .find-town { flex: 1; max-width: none; } }
/* Mobil: "Find jeres side" fast i bunden (find.js viser den, når hero er ude, og intet søgefelt er synligt eller i brug); uden JS findes den ikke */
.sticky-find { display: none; }
@media (max-width: 960px) {
  html.js .sticky-find { display: flex; justify-content: center; position: fixed; z-index: 40; left: var(--gutter); right: var(--gutter); bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 0 0 2px #fff, 0 14px 32px -14px rgba(23,20,28,.5); transform: translateY(calc(100% + 2rem)); /* hvid kant: synlig også på det lilla bånd */ visibility: hidden; transition: transform 300ms var(--ease-out), visibility 0s linear 300ms; }
  html.js .sticky-find.is-shown { transform: none; visibility: visible; transition: transform 300ms var(--ease-out), visibility 0s; }
}
html.reduced .sticky-find { transition: none !important; }
/* Ulrik 26.10.2026: på mobil er den svævende knap sidens CTA; de faste CTA-knapper i teksten skjules (søgefeltet og de andre handlinger bliver) */
@media (max-width: 960px) { html.js .bpf-btn, html.js .invite-cta { display: none; } }
@media (max-width: 560px) { .find-hit { grid-template-columns: minmax(0, 1fr); } .find-claim { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.4rem; white-space: normal; } }

[data-chip] b { font-weight: 700; letter-spacing: 0.02em; }
@media (max-width: 960px) {
  .hero h1 { max-width: 12ch; }
}

/* ---------- Marquee: byens rigtige ting de næste to uger (byvælgeren står i hero) ---------- */
.marquee { padding-block: var(--space-6) var(--space-8); overflow: clip; }
.marquee-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.marquee-label { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); letter-spacing: -0.02em; }
/* Kun overskriften, centreret (Ulrik 25.10.2026) */
.marquee-head.container { display: flex; justify-content: center; text-align: center; }
.town-row { display: flex; gap: 0.5rem; }
.town-row select { font: inherit; padding: 0.65rem 2.4rem 0.65rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); min-width: 0; width: min(100%, 15rem); }
.marquee-rows { display: grid; gap: var(--space-3); }
.marquee-track { display: flex; gap: var(--space-3); width: max-content; will-change: transform; }
.marquee-row { display: flex; gap: var(--space-3); align-items: stretch; }
html.js:not(.reduced) .marquee-track { animation: marquee 70s linear infinite; }
html.js:not(.reduced) .marquee-track:nth-child(2) { animation-direction: reverse; animation-duration: 84s; }
html.js .marquee-rows:hover .marquee-track, html.js .marquee-rows:focus-within .marquee-track, html.js.ph-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--space-3) / 2)); } }
/* Uden bevægelse: én række, der kan rulles vandret; kopien skjules */
html:not(.js) .marquee-rows, html.reduced .marquee-rows { overflow-x: auto; padding-inline: var(--gutter); }
html:not(.js) .marquee-row[aria-hidden], html.reduced .marquee-row[aria-hidden] { display: none; }

.mcard { display: flex; flex-direction: column; width: 19rem; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; font-size: var(--fs-small); color: var(--ink); }
.mart { position: relative; height: 7.5rem; color: var(--m, var(--lyng)); background: color-mix(in srgb, var(--m, var(--lyng)) 12%, #fff); }
.mart .ph-pat path { stroke-width: 1.6; opacity: 0.45; }
.mphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcredit { margin-top: 0.35rem; font-size: max(0.75rem, 12px); color: var(--ink-3); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.mcredit:hover { text-decoration: underline; color: var(--ink-2); }
.mart .chip { position: absolute; left: 0.75rem; bottom: 0.65rem; background: rgba(23,20,28,0.78); color: #fff; font-size: max(0.8125rem, 13px); font-family: var(--font-display); padding: 0.3rem 0.65rem; border-radius: var(--radius-pill); }
.mbody { display: grid; gap: 0.3rem; padding: 0.95rem 1.05rem 1.05rem; align-content: start; flex: 1; }
.mcard .kind { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-tiny); letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--m, var(--lyng)); }
.mcard .kind::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.mcard .title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; font-size: 1.0625rem; }
.mcard .by { color: var(--ink-3); font-size: var(--fs-tiny); }
.mcta { margin-top: 0.5rem; justify-self: start; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-tiny); padding: 0.45rem 0.85rem; border-radius: var(--radius-pill); background: var(--ink); color: var(--canvas); }

/* ---------- Missionen: ord lyser op ---------- */
.mission .container { display: grid; justify-items: center; }
.mission-text { max-width: 28ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 2.2vw, 3rem); line-height: 1.18; letter-spacing: -0.025em; color: var(--ink); text-wrap: pretty; }
.mission-text .w { color: var(--line-strong); transition: color 160ms linear; }
.mission-text .w.is-on, html.reduced .mission-text .w, html.ph-paused .mission-text .w { color: var(--ink); }

/* ---------- Historierne: et sticky bånd i Lyng, tre slag ---------- */
.story { position: relative; color: #fff; }
.story-pin { position: sticky; top: 0; height: 100svh; display: grid; align-items: start; overflow: clip; padding-top: clamp(6.5rem, 16vh, 11rem); background: var(--lyng); }
.story-stage { position: static; display: grid; align-items: start; }
/* Båndets overskrift står fast, mens slagene skifter: hvorfor vi har lavet Bypuls */
/* "Derfor har vi lavet Bypuls" centreret med en pil, der svæver nedad (Ulrik 26.10.2026); stille med Reduce Motion */
.story-arrow { width: 1.5rem; height: 1.5rem; }
html.js:not(.reduced):not(.ph-paused) .story-arrow { animation: hover-down 1.8s var(--ease-inout) infinite; }
@keyframes hover-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.story-heading { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-2); text-align: center; margin-bottom: var(--space-6); font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: 0.02em; text-transform: uppercase; color: #E9C9F3; }
.story-mark { position: absolute; right: -3%; top: 50%; width: min(46vw, 42rem); transform: translateY(-50%); color: #fff; opacity: 0.28; pointer-events: none; }
.beat { grid-area: 1 / 1; max-width: min(100%, 64rem); }
.beat-line { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; color: rgba(255,255,255,0.78); text-wrap: balance; max-width: 30ch; }
.beat-punch { margin-top: 0.5em; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.4rem + 4.2vw, 5.5rem); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; max-width: 15ch; color: #fff; }
.beat-close .beat-punch { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.75rem); font-weight: 600; max-width: 24ch; }
/* "… ALT.": pointen står alene, stor og i versaler, med pulslinjen under. story.js sætter --alt (0-1), når lukningen har stået et øjeblik */
.beat-alt { position: relative; display: block; width: max-content; margin-top: 0.15em; font-size: clamp(4.5rem, 2rem + 13vw, 13rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; text-transform: uppercase; color: #fff;
  opacity: var(--alt, 1); transform: translateY(calc((1 - var(--alt, 1)) * 0.25em)) scale(calc(0.7 + 0.3 * var(--alt, 1))); transform-origin: 0 100%; }
/* Et langt sidste ord (engelsk "everything.", 11 tegn ≈ 5,5 em) holder sig inden for skærmen og tekstens kolonne */
.beat-alt.is-long { font-size: min(clamp(4.5rem, 2rem + 13vw, 13rem), calc((100vw - 2.5rem) / 5.6), 8.5rem); }
.alt-pulse { display: block; width: 100%; height: 0.32em; margin-top: 0.06em; color: #E9C9F3; clip-path: inset(0 calc((1 - var(--alt, 1)) * 100%) 0 0); }
.alt-dots { opacity: calc(0.4 + 0.6 * var(--alt, 1)); }
html.js:not(.reduced) .story { height: calc(100svh * 3.5); }
html.js:not(.reduced) .beat { opacity: var(--o, 0); transform: translateY(var(--y, 40px)); }
html.js:not(.reduced) .story-stage > .beat:first-of-type { --o: 1; --y: 0px; }
html.js:not(.reduced) .story-mark { clip-path: inset(0 calc(100% - var(--draw, 0) * 100%) 0 0); }
html.reduced .story-pin, html:not(.js) .story-pin, html.ph-paused .story-pin { position: static; height: auto; min-height: 0; padding-block: var(--section); }
html.ph-paused .story { height: auto !important; }
html.reduced .story-stage, html:not(.js) .story-stage, html.ph-paused .story-stage { display: grid; gap: var(--space-8); }
html.reduced .beat, html:not(.js) .beat, html.ph-paused .beat { grid-area: auto; --o: 1; --y: 0px; }
@media (max-width: 960px) { .story-mark { width: 120vw; right: -30%; opacity: 0.35; } }

/* ---------- Bevægelsesgrundlag: kun med JS og uden Reduce Motion starter noget skjult; uden JS står alt ---------- */
html.js:not(.reduced):not(.ph-paused) .home [data-reveal] { opacity: 0; }
html.js:not(.reduced):not(.ph-paused) .home.is-in [data-reveal] { animation: rise 900ms var(--ease-out) forwards; }
.home .lead[data-reveal] { animation-delay: 500ms !important; }
/* Hero'ens puls (Ulrik 25.10.2026): byens hjerteslag under overskriften tegner sig og slår så roligt, igen og igen. Med Reduce Motion står linjen stille. */
.hero-pulse { display: block; width: min(30rem, 78%); height: auto; margin: var(--space-5) auto 0; overflow: visible; color: var(--lyng); }
.hero-pulse polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-pulse-base { opacity: 0.4; }
.hero-pulse-beat { stroke-width: 3.2; opacity: 0; stroke-dasharray: 0.16 1.4; }
html.js:not(.reduced):not(.ph-paused) .home .hero-pulse-base { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js:not(.reduced):not(.ph-paused) .home.is-in .hero-pulse-base { animation: pulse-draw 1.4s var(--ease-inout) 0.45s forwards; }
html.js:not(.reduced):not(.ph-paused) .home.is-in .hero-pulse-beat { animation: pulse-run 3.4s cubic-bezier(.5,0,.3,1) 1.9s infinite; }
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-run { 0% { stroke-dashoffset: 0.16; opacity: 1; } 62% { stroke-dashoffset: -1; opacity: 1; } 63%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* H1: linjerne folder sig ud (story.js deler i linjer) */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: block; }
html.js:not(.reduced):not(.ph-paused) .split-line > span { transform: translateY(110%); transition: transform 1.15s cubic-bezier(.16,1,.3,1); }
html.js:not(.reduced):not(.ph-paused) .home.is-in .split-line > span { transform: none; }

/* ========== Siden under historien, som før fase 3 (03aeaeb), statisk ========== */
.section + .section { padding-top: 0; }
.section.invite, .invite + .section { padding-top: var(--section); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 3vw, 4rem); }
.section-head p { margin-top: var(--space-4); color: var(--ink-2); font-size: 1.0625rem; }
.section-head.centered { text-align: center; display: grid; justify-items: center; }
.section-head.centered h2 { max-width: 18ch; }
.section-head.centered p { max-width: 46ch; }

/* For hvem: fire kort, der stabler (sticky); story.js lader det forrige trække sig lidt tilbage. Med Reduce Motion: fire kort under hinanden */
.stack { display: grid; gap: var(--space-4); }
.stack-card {
  position: sticky;
  top: calc(5.5rem + var(--i, 0) * 1.25rem);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 1.2rem + 3vw, 4rem);
  min-height: clamp(18rem, 14rem + 18vw, 27rem);
  display: grid; align-items: end;
  transform-origin: top center;
}
.stack-card:nth-child(1) { --i: 0; } .stack-card:nth-child(2) { --i: 1; } .stack-card:nth-child(3) { --i: 2; } .stack-card:nth-child(4) { --i: 3; }
.tone-1 { background: var(--lyng); color: #fff; }
.tone-2 { background: var(--lyng-soft); color: var(--ink); }
.tone-3 { background: var(--ink); color: #fff; }
.tone-4 { background: var(--canvas-2); color: var(--ink); border: 1px solid var(--line); }
.stack-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-6); align-items: end; }
.stack-text h3 { font-size: clamp(2rem, 1.4rem + 3vw, 4rem); letter-spacing: -0.03em; }
.stack-text .examples { margin-top: var(--space-2); font-size: var(--fs-small); opacity: 0.72; }
.stack-text .body { margin-top: var(--space-5); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); max-width: 38ch; }
.stack-text .detail { margin-top: var(--space-3); font-size: var(--fs-small); opacity: 0.8; max-width: 44ch; }
.stack-art { justify-self: end; width: min(100%, 22rem); opacity: 0.9; }
.tone-1 .stack-art { color: rgba(255,255,255,0.9); }
.tone-2 .stack-art { color: var(--lyng); }
.tone-3 .stack-art { color: #D9A5EA; }
.tone-4 .stack-art { color: var(--lyng); }
@media (max-width: 760px) {
  .stack-inner { grid-template-columns: minmax(0, 1fr); }
  .stack-art { width: 9rem; justify-self: start; order: -1; }
  .stack-card { top: calc(5rem + var(--i, 0) * 0.75rem); }
}
html.reduced .stack-card { position: static; }
@media (prefers-reduced-motion: reduce) { .stack-card { position: static; } }

/* Byens vært */
.host-card {
  position: relative; overflow: clip;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--space-6); row-gap: var(--space-6);
}
.host-copy { grid-column: 1 / span 6; position: relative; z-index: 1; }
.host-text { grid-column: 8 / span 5; position: relative; z-index: 1; display: grid; gap: var(--space-4); align-content: end; font-size: 1.0625rem; color: rgba(255,255,255,0.82); }
.host-eyebrow { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); color: #D9A5EA; }
.host-card h2 { margin-top: var(--space-3); font-size: clamp(2.5rem, 1.6rem + 4vw, 5.5rem); letter-spacing: -0.035em; max-width: 10ch; }
.host-intro { margin-top: var(--space-5); font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem); color: rgba(255,255,255,0.85); max-width: 34ch; }
.host-why { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; color: #fff; }
.host-fine { font-size: var(--fs-small); color: rgba(255,255,255,0.65); }
.host-mark { position: absolute; right: -4%; bottom: -34%; width: min(42%, 30rem); color: #D9A5EA; opacity: 0.2; pointer-events: none; }
@media (max-width: 960px) { .host-copy, .host-text { grid-column: 1 / -1; } .host-mark { width: 90%; right: -20%; } }


/* Visionen */
.vision-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--space-6); row-gap: var(--space-6); align-items: start; }
.vision-grid h2 { grid-column: 1 / span 6; font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.5rem); max-width: 16ch; }
.vision-text { grid-column: 7 / span 6; display: grid; gap: var(--space-4); font-size: 1.0625rem; color: var(--ink-2); max-width: 54ch; }
.vision-label { font-size: var(--fs-small); color: var(--ink-3); margin-top: var(--space-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); background: var(--lyng-soft); color: var(--lyng-deep); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); letter-spacing: -0.005em; }
.vision-promise { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; }
@media (max-width: 960px) { .vision-grid h2, .vision-text { grid-column: 1 / -1; } }


/* Pris */
.pricing .section-head h2 { max-width: 16ch; }
.price-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--space-6); row-gap: var(--space-6); }
.price-col-free { grid-column: 1 / span 7; }
.price-col-later { grid-column: 8 / span 5; }
.price-col { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); }
.price-col-free { background: var(--canvas-2); }
.price-col-later { background: var(--lyng-soft); }
.price-col h3 { font-size: 1.125rem; color: var(--ink-2); font-weight: 600; letter-spacing: -0.01em; padding-bottom: var(--space-3); border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
/* Pro: "Kommer" står som badge ved siden af overskriften, ikke i den (handoff P2.3) */
.price-promise {
  grid-column: 1 / span 8;
  margin-top: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-m);
  background: transparent; border-left: 2px solid var(--lyng); padding: var(--space-2) var(--space-5);
  color: var(--ink-2);
  font-size: 1.0625rem;
}
/* Gratis og Pro side om side: Pro i Lyng-fladen, prisen stor */
.price-col-pro { grid-column: 7 / span 6; background: var(--lyng-soft); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lyng) 35%, transparent); }
.pricing .price-col-free { grid-column: 1 / span 6; }
.price-col { display: flex; flex-direction: column; }
.price-tag { display: grid; gap: 0.2rem; margin-top: var(--space-4); }
.price-tag b { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.price-tag span { color: var(--ink-2); font-size: var(--fs-small); }
.price-year, .price-plus { margin-top: var(--space-2); color: var(--ink-3); font-size: var(--fs-small); }
.price-plus { margin-top: var(--space-4); font-weight: 600; color: var(--ink-2); }
.price-plus + .price-list { margin-top: var(--space-2); }
.price-fine { margin-top: auto; padding-top: var(--space-5); color: var(--ink-3); font-size: var(--fs-small); }
.price-now { font-weight: 600; color: var(--lyng-deep) !important; }
.price-trial { margin-top: var(--space-5); padding: 0.6rem 0.9rem; border-radius: var(--radius-m); background: var(--surface); color: var(--lyng-deep); font-weight: 600; font-size: var(--fs-small); }
.price-trial + .price-fine { margin-top: 0; padding-top: var(--space-3); }
.price-more { margin-top: var(--space-4); font-weight: 600; }
.price-more a { color: var(--lyng-deep); text-underline-offset: 3px; }
.price-more + .price-fine { margin-top: 0; padding-top: var(--space-3); }
.price-status { margin-top: var(--space-3); }
.price-status .soon { margin-left: 0; }
/* Hvornår giver Pro mening: fem situationer, Gratis mod Pro */
.price-compare { grid-column: 1 / -1; overflow-x: auto; border-block: 1px solid var(--line); }
/* Sammenklappede afsnit (Ulrik 26.10.2026: mindre tekst på én gang, især på mobil): som FAQ'ens rækker */
.price-compare summary, .host-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.price-compare summary { font-size: var(--fs-h3); }
.price-compare summary::-webkit-details-marker, .host-more summary::-webkit-details-marker { display: none; }
.price-compare summary svg, .host-more summary svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--lyng); transition: transform var(--dur-base) var(--ease-out); }
.price-compare[open] summary svg, .host-more[open] summary svg { transform: rotate(45deg); }
.price-compare table { margin-bottom: var(--space-4); }
.host-more { border-block: 1px solid rgba(255,255,255,.18); }
.host-more summary { font-size: 1.125rem; color: #fff; }
.host-more summary svg { color: #D9A5EA; }
.host-more p { padding-bottom: var(--space-4); }
.price-compare table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.price-compare th, .price-compare td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-top: 1px solid var(--line); }
.price-compare thead th { border-top: 0; color: var(--ink-3); font-weight: 600; padding-top: 0; }
.price-compare tbody th { font-weight: 600; color: var(--ink); width: 36%; }
.price-compare td { color: var(--ink-2); }
.price-compare td:last-child { color: var(--lyng-deep); font-weight: 600; }
@media (max-width: 560px) { .price-compare tbody th { width: auto; } .price-compare th, .price-compare td { padding-right: 0.6rem; } }
.soon { display: inline-block; margin-left: 0.35rem; padding: 0.1rem 0.55rem; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); font-style: normal; font-size: max(0.75rem, 12px); font-weight: 600; vertical-align: 0.1em; white-space: nowrap; }
@media (max-width: 960px) {
  .price-col-free, .price-col-later, .price-col-pro, .pricing .price-col-free, .price-promise { grid-column: 1 / -1; }
}

/* Invitation */
.invite { background: var(--ink); color: #fff; }
.invite .container { display: grid; justify-items: center; row-gap: var(--space-6); text-align: center; }
.invite h2 { max-width: 14ch; font-size: clamp(2.5rem, 1.6rem + 4.5vw, 5.5rem); line-height: 1.02; }
.invite p { max-width: 38rem; font-size: 1.125rem; opacity: 0.92; }
.invite { position: relative; overflow: clip; }
.invite .container { position: relative; z-index: 1; }
.invite-line { display: block; width: 100%; height: clamp(90px, 12vw, 170px); margin-top: var(--space-6); margin-bottom: calc(-1 * var(--section) + var(--space-5)); color: var(--lyng); opacity: 0.9; pointer-events: none; }
@media (max-width: 960px) {
}

/* FAQ */
.faq .container { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--space-6); }
.faq .section-head { grid-column: 1 / span 4; margin-bottom: var(--space-5); }
.faq-list { grid-column: 5 / span 7; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--lyng); transition: transform var(--dur-base) var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 var(--space-5); color: var(--ink-2); max-width: 60ch; font-size: 1.0625rem; }
@media (max-width: 960px) { .faq .section-head, .faq-list { grid-column: 1 / -1; } }

.text-link.on-ink { color: #fff; }
.text-link.on-ink:hover { color: #D9A5EA; }
.invite :focus-visible { outline-color: #D9A5EA; }
/* Slut-CTA'ens søgefelt (handoff P1.2) på den mørke flade */
.invite .invite-create { color: #E9C8F2; font-weight: 600; }
.invite-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-5); }
/* Under 960 px: én kolonne (12 kolonner med 11 mellemrum er bredere end kortet på en telefon og klippede teksten) */
@media (max-width: 960px) { .host-card, .vision-grid, .price-grid, .faq .container { grid-template-columns: minmax(0, 1fr); } }
/* Invitationens pulslinje tegnes én gang, når båndet kommer i billedet (story.js); uden JS og med Reduce Motion står den færdig */
html.js:not(.reduced) .invite-line:not(.is-drawn) polyline { stroke-dasharray: 1; stroke-dashoffset: 1; }
.invite-line.is-drawn polyline { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-inout); }
/* /telefon: virksomhedens tilbud bygges i et lille felt */
.tel-builder { display: grid; gap: 0.75rem; max-width: 24rem; }
.tel-builder label { display: grid; gap: 0.35rem; font-weight: 600; }
.tel-builder .btn { justify-self: start; }
.tel-small { font-size: var(--fs-small); color: var(--ink-3); }

.site-footer .people { grid-column: 1 / -1; color: var(--ink-3); }

/* Formularens kvittering: pulslinjen tegnes én gang */
#success-pulse.is-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1.2s var(--ease-inout) forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* Pause: én knap i navigationen, der fryser al bevægelse på siden */
.nav-pause { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.nav-pause:hover { color: var(--ink); border-color: var(--line-strong); }
.nav-pause[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-pause .ph-i { width: 1rem; height: 1rem; }
/* Smalle telefoner: logo, pause, CTA og menu skal stå på én linje uden at klippe logoet */
@media (max-width: 379px) {
  .nav-pill { gap: 0.35rem; padding-left: 0.8rem; }
  .nav-pill .brand { flex: none; }
  .nav-toggle { margin-left: 0; }
  .nav-actions { gap: 0.3rem; }
  .nav-actions .btn { font-size: 0.875rem; padding: 0.55em 0.65em; white-space: nowrap; }
  .nav-pause { width: 2rem; height: 2rem; }
}

/* Mobil (Ulrik 26.10.2026): mindre luft mellem elementerne */
@media (max-width: 760px) {
  :root { --section: 2.75rem; }
  .hero { padding-top: 6rem; }
  .home .hero { --fade: 8rem; }
  .section-head { margin-bottom: var(--space-5); }
  .stack-card { min-height: 0; padding: 1.5rem; }
  .stack-art { width: 5.5rem; }
  .stack-inner { gap: var(--space-3); }
  .stack-text .body { margin-top: var(--space-3); }
  .faq-list summary { padding: var(--space-4) 0; font-size: 1.125rem; }
  .price-grid { gap: var(--space-4); }
}

/* Hvem står bag (Ulrik 26.10.2026) */
.team { margin-top: var(--space-4); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.team h3 { font-size: 1.125rem; }
.team-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.team-list b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.0625rem; }
.team-role { display: block; color: var(--lyng-deep); font-size: var(--fs-small); font-weight: 600; }
.team-bio { display: block; margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink-3); }

/* Citater fra aktører */
.quote-list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.quote-list li { background: var(--lyng-soft); border-radius: var(--radius-l); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: space-between; }
.quote-list blockquote { margin: 0; font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.quote-list blockquote p::before { content: "“"; } .quote-list blockquote p::after { content: "”"; }
.quote-who { font-size: var(--fs-small); color: var(--ink-2); }

/* Appbutikkerne */
.apps { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.app-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.app-badge img { height: 48px; width: auto; }
.apps .invite .apps { justify-content: center; }
.site-footer .apps { grid-column: 1 / -1; }
/* Sprog: DA/EN, det aktive står fremhævet. På skrivebordet i headerens handlinger, på telefoner nederst i menuen. */
.lang-switch { display: inline-flex; align-items: center; gap: 0.15rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; }
.lang-switch a, .lang-switch span { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2rem; padding: 0 0.4rem; border-radius: var(--radius-pill); line-height: 1; text-decoration: none; }
.lang-switch a { color: var(--ink-3); }
.lang-switch a:hover { color: var(--ink); background: var(--lyng-soft); }
.lang-switch [aria-current] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav-lang-mobile { display: none; }
@media (max-width: 899px) {
  .nav-lang { display: none; }
  .site-header.menu-open .nav-lang-mobile { display: flex; gap: 0.5rem; padding: 0.75rem 0 0.25rem; }
  .site-header.menu-open .nav-links .nav-lang-mobile a, .site-header.menu-open .nav-links .nav-lang-mobile span { min-width: 3rem; min-height: 2.75rem; padding: 0 0.9rem; font-size: 1rem; border-bottom: 0; }
}

/* Når hero-animationen og feedsektionen skubber indholdet op til sidst, efterlader de et tomt stykke af samme højde; det næste afsnit
   rykker op i det (--bph-/--bpf-overflow sættes af deres JS, 0 uden pin), så der ikke står en tom skærm imellem (Ulrik 26.10.2026) */
.bph-pin + .find-section { margin-top: calc(-1 * var(--bph-overflow, 0px)); position: relative; background: var(--canvas); }
.bpf-pin + .marquee { margin-top: calc(-1 * var(--bpf-overflow, 0px)); position: relative; background: var(--canvas); }

/* Opret på sekunder (forms.start): find siden, "Det er os", en kode på mail. Uden JS står leadformularen; med JS står den
   først, når bypuls-api svarer start_closed (start.js sætter .is-open) */
@media (scripting: enabled) { .start ~ .start-fallback:not(.is-open) { display: none; } }
@media (scripting: none) { .start { display: none; } }
.start-step { margin-top: var(--space-6); }
.start-step + .start-step { padding-top: var(--space-6); border-top: 1px solid var(--line); }
.start-hits { display: grid; gap: var(--space-2); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.start-hit { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.start-hit > div { display: grid; min-width: 0; }
.start-hit b { font-family: var(--font-display); font-weight: 600; }
.start-hit span { font-size: var(--fs-small); color: var(--ink-2); overflow-wrap: anywhere; }
.start-hit .btn { flex: none; white-space: nowrap; }
.start-new { margin-top: var(--space-4); }
.start-new .text-link, .start-step .text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.start-how { border: 0; padding: 0; margin: 0 0 var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.start-how legend { margin-bottom: var(--space-2); font-weight: 600; }
.start-terms { max-width: 60ch; margin: var(--space-2) 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.start-terms a { color: inherit; font-weight: 600; }
.st-code { font-size: 1.5rem; letter-spacing: .3em; max-width: 12ch; font-variant-numeric: tabular-nums; }

/* Borgernes side (Ulrik 28/10, ledger #24): en stor, fed knap i menuen og under heroen, til meta.citizenSite */
.b2c-i { width: 1em; height: 1em; flex: none; }
/* Undersidernes og /en's header har ikke plads til den ved siden af menuen (engelsk ombrydes ved alle bredder, og headeren
   krymper til 64rem, når man scroller): her står den i telefonmenuen, og på /en under heroen */
.nav-links a.nav-b2c { display: none; }
.site-header.menu-open .nav-links a.nav-b2c { display: flex; align-items: center; justify-content: center; gap: 0.4em; margin: var(--space-2) 0; padding: 0.9rem 1rem; border-bottom: 0; border-radius: 999px; background: var(--lyng); color: #fff; font-weight: 700; }
.btn-b2c { display: inline-flex; align-items: center; gap: 0.5em; background: var(--lyng); color: #fff; font-weight: 700; }
.btn-b2c:hover { background: var(--lyng-deep); }
.hero-b2c { margin-top: var(--space-6); }

/* the office as it leaves (office.js): nothing to show if the browser keeps the page */
html.is-gone body { visibility: hidden; }
