/* ==========================================================================
   eduvo.dk – globalt stylesheet (redesign 18-11-2026)
   Designsprog: lys baggrund, marineblå (#0B2545) til tekst/footer/CTA-bånd,
   én accentblå (#2457E6), Plus Jakarta Sans til overskrifter, Inter til brødtekst.
   De gamle tokennavne (--bg-deep, --accent, --bg-light …) beholdes med nye værdier,
   så eksisterende inline-styles på siderne følger med automatisk.
   Indlæses fra includes/header.php med ?v=<filemtime>.
   ========================================================================== */

/* ---- Skrifter (selvhostet, OFL – ingen kald til Google) ---- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/Inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/Inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700 800;font-display:swap;src:url(/assets/fonts/PlusJakartaSans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700 800;font-display:swap;src:url(/assets/fonts/PlusJakartaSans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---- Tokens ---- */
:root {
  --bg-deep: #0B2545;          /* marineblå: footer, CTA-bånd, mørke kort */
  --bg-light: #F5F7FB;         /* blød sektionsbaggrund */
  --bg-card: #13315C;          /* kort på marineblå */
  --text-primary: #ffffff;
  --text-dark: #0B2545;
  --text-dim: #C9D4EA;
  --accent: #2457E6;
  --accent-hover: #1B46C4;
  --sky: #E8F0FE;
  --line: #E3E8F0;
  --line-strong: #D3DAE6;
  --border-color: rgba(255,255,255,0.12);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --radius-xl: 24px;
  --max-width: 1216px;

  --space-1: .5rem; --space-2: .75rem; --space-3: 1rem; --space-4: 1.5rem; --space-5: 2rem; --space-6: 3rem; --space-7: 4rem;

  --font-display: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-size-h1: clamp(2.1rem, 1.4rem + 2.2vw, 3.25rem);
  --font-size-h2: clamp(1.7rem, 1.3rem + 1.2vw, 2.25rem);
  --font-size-h3: 1.35rem;
  --font-size-h4: 1.15rem;
  --font-size-body-lg: 1.15rem;
  --font-size-body: 1rem;
  --font-size-sm: .9rem;
  --font-size-xs: .8rem;

  --text-muted: #4A5876;
  --text-muted-light: #6B778F;

  --status-success: #176B45; --status-success-bg: #E1F4EA;
  --status-warning: #8A4B06; --status-warning-bg: #FEF1D6;
  --status-danger: #B42318;  --status-danger-bg: #FEE4E2;
  --status-info: var(--accent); --status-info-bg: #E8F0FE;
  --status-purple: #7C3AED; --status-purple-bg: #F3E8FF;
  --status-pink: #DB2777;   --status-pink-bg: #FCE7F3;

  --shadow-sm: 0 1px 3px rgba(11,37,69,.06);
  --shadow-md: 0 10px 30px -14px rgba(11,37,69,.18);
  --shadow-lg: 0 30px 60px -30px rgba(11,37,69,.35);
  --gradient-accent: linear-gradient(135deg, #2457E6 0%, #1B46C4 100%);
}

/* ---- Grundlag ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--text-dark); text-wrap: balance; margin: 0 0 .75rem; }
h1 { font-size: var(--font-size-h1); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); letter-spacing: -0.01em; }
h4 { font-size: var(--font-size-h4); }
p { margin: 0 0 1rem; }
a { color: var(--accent); }
img, svg { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sky); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--max-width); margin: auto; padding: 0 2rem; width: 100%; }
.lead { font-size: 1.2rem; line-height: 1.55; color: #3D4B66; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.text-muted { color: var(--text-muted); }

/* ---- Knapper ---- */
.btn, .cta-btn, .demo-btn, .login-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: 0 1.5rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg, .cta-btn svg, .demo-btn svg, .login-btn svg, .page-cta-secondary svg { width: 18px; height: 18px; flex: none; }
.btn-primary, .cta-btn { background: var(--accent); color: #fff; }
.btn-primary:hover, .cta-btn:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary, .demo-btn, .login-btn { background: #fff; color: var(--text-dark); border-color: var(--line-strong); }
.btn-secondary:hover, .demo-btn:hover, .login-btn:hover { border-color: var(--text-dark); color: var(--text-dark); background: #fff; }
.btn-ghost { background: transparent; color: var(--text-dark); padding: 0 .9rem; }
.btn-ghost:hover { background: #F2F5FA; }
.btn-white { background: #fff; color: var(--text-dark); }
.btn-white:hover { background: var(--sky); color: var(--text-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---- Piller og ikonchips ---- */
.pill { display: inline-flex; align-items: center; gap: .35rem; min-height: 26px; padding: .1rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.pill-green { background: var(--status-success-bg); color: var(--status-success); }
.pill-amber { background: var(--status-warning-bg); color: var(--status-warning); }
.pill-blue { background: var(--sky); color: #1E46B8; }
.pill-grey { background: #EEF1F6; color: #3D4B66; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--accent); flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico-green { background: var(--status-success-bg); color: var(--status-success); }
.ico-teal { background: #E6F2F1; color: #0F6E66; }
.ico-amber { background: var(--status-warning-bg); color: var(--status-warning); }

/* ---- Topmenu ---- */
.site-header { background: #fff; border-bottom: 1px solid #E8ECF3; position: relative; z-index: 40; }
.nav { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-dark); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; line-height: 1; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; color: var(--text-dark); }
.brand-mark svg { width: 34px; height: 34px; }
.brand img { height: 36px; width: auto; }
.nav-center { display: flex; align-items: center; gap: .15rem; flex: 1; }
.nav-item { position: relative; }
.nav-center > .nav-item > a { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: 0 .75rem; border-radius: 10px; color: #1D2B48; font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav-center > .nav-item > a:hover, .nav-item.is-active > a { background: #F2F5FA; color: var(--text-dark); }
.nav-caret { width: 14px; height: 14px; color: #8A96AE; transition: transform .15s ease; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown { display: none; position: absolute; top: calc(100% + .4rem); left: 0; min-width: 16rem; margin: 0; padding: .5rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 50; }
.nav-dropdown::before { content: ''; position: absolute; top: -.6rem; left: 0; right: 0; height: .6rem; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: .6rem .8rem; border-radius: 9px; color: #1D2B48; font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current="page"] { background: #F2F5FA; color: var(--text-dark); }
.nav-right { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav-right .btn-ghost { color: var(--text-dark); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--text-dark); cursor: pointer; padding: 0; }
.burger svg { width: 22px; height: 22px; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-menu { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 45; }
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { max-width: var(--max-width); margin: 0 auto; padding: .5rem 1.25rem 1.5rem; display: grid; gap: .15rem; font-size: 1.05rem; font-weight: 600; }
.mobile-menu-inner > a, .mobile-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 .75rem; border-radius: 10px; color: var(--text-dark); text-decoration: none; cursor: pointer; list-style: none; }
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary svg { width: 16px; height: 16px; color: #8A96AE; transition: transform .15s ease; }
.mobile-group[open] summary svg { transform: rotate(180deg); }
.mobile-group[open] { background: var(--bg-light); border-radius: 12px; }
.mobile-group-links { display: grid; padding: 0 .5rem .5rem; }
.mobile-group-links a { display: flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 8px; color: #1D2B48; font-size: 1rem; font-weight: 500; text-decoration: none; }
.mobile-group-links a:hover { background: #fff; }
.mobile-auth { display: grid; gap: .6rem; padding: 1rem .25rem 0; }
.mobile-menu-legal { display: flex; gap: 1rem; padding: 1rem .75rem 0; font-size: .85rem; }
.mobile-menu-legal a { color: var(--text-muted); text-decoration: none; }

/* ---- Brødkrumme ---- */
.breadcrumb { background: transparent; color: var(--text-muted); font-size: .88rem; padding: 1.1rem 0 0; }
.breadcrumb .container { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-dark); text-decoration: underline; }
.breadcrumb span { margin: 0; }
.breadcrumb span[aria-current] { color: var(--text-dark); font-weight: 500; }
/* Sider uden hero, hvor første sektion er hvid (.features: priser, kontakt, funktioner, login, opret konto):
   brødkrummen får samme hvide baggrund, så den ikke står som en grå stribe mellem header og indhold, og
   sektionens toppolstring reduceres, fordi brødkrummen allerede giver luft. Hero-sider beholder den lyse
   body-baggrund, som heroen deler. (Browsere uden :has() viser blot den hidtidige lyse stribe.) */
.breadcrumb + .features { margin-top: 0; }
.breadcrumb:has(+ .features), .breadcrumb:has(+ style + .features) { background: #fff; padding-top: 1.25rem; }
.breadcrumb:has(+ .features) + .features, .breadcrumb:has(+ style + .features) + style + .features { padding-top: 3rem; }

/* ---- Hero på produkt- og målgruppesider ---- */
.page-hero { background: radial-gradient(800px 480px at 90% 0%, var(--sky) 0%, rgba(232,240,254,0) 65%), var(--bg-light); color: var(--text-dark); padding: 2.5rem 0 4.5rem; }
.page-hero .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.page-hero h1 { margin: 0 0 1.1rem; }
.page-hero p { color: #3D4B66; font-size: 1.2rem; line-height: 1.55; max-width: 36rem; margin: 0 0 1.6rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.page-hero-actions .demo-btn { display: inline-flex; }
.page-hero-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 1.75rem 1.9rem; font-size: 1rem; line-height: 1.5; }
.page-hero-aside h2, .page-hero-aside-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 1rem; font-weight: 700; font-family: var(--font-body); }
.page-hero-aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.page-hero-aside li { position: relative; padding-left: 2rem; color: #1D2B48; }
.page-hero-aside li::before, .check-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---- Indholdssektioner ---- */
.content-section { padding: 5.5rem 0; background: #fff; }
.content-section.alt { background: var(--bg-light); }
.content-section h2 { margin: 0 0 1rem; max-width: 46rem; }
.content-section h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.content-section .lead { max-width: 44rem; margin: 0 0 2.25rem; }
.prose { max-width: 44rem; line-height: 1.7; color: #1D2B48; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--accent); text-underline-offset: 2px; }
.prose h3 { margin-top: 1.5rem; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 3rem; align-items: start; }

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.step-list li { position: relative; padding-left: 3.4rem; line-height: 1.6; min-height: 2.5rem; }
.step-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--bg-deep); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-list strong { color: var(--text-dark); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { padding-left: 2rem; position: relative; line-height: 1.5; color: #1D2B48; }

/* Kort */
.features { background: #fff; padding: 4.5rem 0; }
.features h2 { text-align: center; margin-bottom: 2.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 1.25rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: none; }
.content-section:not(.alt) .feature-card, .features .feature-card { background: #fff; }
.feature-card h3 { margin: 0 0 .5rem; color: var(--text-dark); font-size: 1.15rem; }
.feature-card p { color: var(--text-muted); font-size: .98rem; line-height: 1.55; margin: 0 0 .75rem; }
.feature-card p:last-child { margin-bottom: 0; }
.feature-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.feature-card a:hover { text-decoration: underline; }
.feature-card h4 { margin: 0 0 .35rem; }

/* Tabel */
.split-table { width: 100%; border-collapse: collapse; font-size: .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.split-table th, .split-table td { text-align: left; padding: .75rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.split-table th { color: var(--text-muted); background: var(--bg-light); font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }

/* ---- Skærmbilleder (includes/shot.php) ---- */
.shot-figure { margin: 0; text-align: center; }
.shot-phone { display: inline-block; width: 100%; max-width: 270px; background: var(--bg-deep); border-radius: 36px; padding: 10px; box-shadow: var(--shadow-lg); }
.shot-phone img { display: block; width: 100%; height: auto; border-radius: 28px; background: #f4f5fc; }
.shot-figure--crop .shot-phone img { aspect-ratio: 390 / 600; object-fit: cover; object-position: top; }
.shot-figure--short .shot-phone img { aspect-ratio: 390 / 600; object-fit: contain; object-position: top; }
.shot-figure figcaption { margin: .9rem auto 0; max-width: 21rem; font-size: .85rem; color: var(--text-muted); line-height: 1.5; }
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 2rem 1.5rem; align-items: start; margin-top: 1.5rem; }
.two-col.shot-grid { align-items: center; }
.two-col.shot-grid > .shot-figure, .two-col.shot-grid > .shot-row { justify-self: center; width: 100%; }
/* Desktop-skærmbilleder i browserramme (shot_window(), 19-11-2026): billedkolonnen får lidt mere plads end teksten,
   og to billeder i en .shot-row stables, så hvert vindue beholder læsbar størrelse. */
.shot-figure--window { text-align: left; }
.shot-window { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-window-bar { display: flex; align-items: center; gap: .35rem; padding: .5rem .8rem; background: var(--bg-light); border-bottom: 1px solid var(--line); }
.shot-window-bar i { display: block; width: .55rem; height: .55rem; border-radius: 50%; background: #D3DAE6; }
.shot-window-bar b { margin-left: .45rem; font-size: .72rem; font-weight: 500; color: var(--text-muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .12rem .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.shot-window img { display: block; width: 100%; height: auto; background: #f4f5fc; }
.shot-figure--window figcaption { max-width: none; text-align: left; margin: .8rem 0 0; }
.two-col.shot-grid:has(.shot-window) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem 3.5rem; }
.shot-row:has(.shot-window) { grid-template-columns: 1fr; gap: 1.75rem; }
.two-col.shot-grid:has(.shot-row .shot-window) { align-items: start; } /* to stablede vinduer: teksten starter i toppen */
@media (max-width: 900px) {
  .two-col.shot-grid:has(.shot-window) { grid-template-columns: 1fr; gap: 2rem; }
}

/* Klubbens hjemmeside: browserramme med mobil over hjørnet */
.site-showcase { position: relative; margin: 2.25rem 0 0; padding-bottom: 2.5rem; }
.site-desktop { margin: 0 8% 0 0; }
.browser-frame { display: block; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem .6rem .6rem; box-shadow: var(--shadow-lg); }
.browser-bar { position: absolute; top: .85rem; left: 1rem; display: flex; gap: .4rem; }
.browser-bar i { display: block; width: .6rem; height: .6rem; border-radius: 50%; background: #DDE3EE; }
.browser-frame img { display: block; width: 100%; height: auto; border-radius: .6rem; background: #f4f5fc; }
.site-mobile { position: absolute; right: 0; bottom: 0; width: 21%; max-width: 210px; margin: 0; }
.site-mobile .shot-phone { max-width: none; padding: .35rem; border-radius: 1.6rem; }
.site-mobile .shot-phone img { border-radius: 1.3rem; }
.site-caption { margin: 1rem auto 0; max-width: 44rem; font-size: .85rem; color: var(--text-muted); line-height: 1.5; text-align: center; }

/* Branding-sektion (app med eget logo) */
.branding-grid { align-items: center; }
.branding-figure { margin: 0; text-align: center; }
.branding-phone { width: 100%; max-width: 260px; height: auto; filter: drop-shadow(0 24px 40px rgba(11,37,69,.25)); }
.branding-figure figcaption { margin: 1rem auto 0; max-width: 20rem; font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ---- FAQ ---- */
.faq { padding: 5.5rem 0; background: var(--bg-light); }
.faq h2 { margin: 0 0 1.5rem; }
.faq-list { display: grid; gap: .75rem; max-width: 52rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 1.5rem; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-dark); padding: 1.15rem 2.25rem 1.15rem 0; list-style: none; position: relative; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; right: 0; top: 1.2rem; width: 20px; height: 20px; background: var(--text-muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.25rem; line-height: 1.65; color: #3D4B66; }
.faq-answer p { margin: 0 0 .75rem; }
.faq-answer a { color: var(--accent); }

/* ---- Læs også ---- */
.related-links { padding: 4rem 0; background: #fff; border-top: 1px solid var(--line); }
.related-links h2 { font-size: 1.5rem; margin: 0 0 1.25rem; }
.related-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; }
.related-link-card { display: grid; gap: .35rem; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.25rem 1.35rem; color: var(--text-dark); transition: border-color .15s ease, box-shadow .15s ease; }
.related-link-card:hover { border-color: var(--text-dark); }
.related-link-anchor { display: block; color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.35; }
.related-link-text { display: block; font-size: .9rem; color: var(--text-muted); line-height: 1.5; }

/* ---- CTA-bånd ---- */
.page-cta { position: relative; overflow: hidden; background: var(--bg-deep); color: #fff; padding: 6rem 0; text-align: center; }
.page-cta::before { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(36,87,230,.55), rgba(36,87,230,0) 70%); pointer-events: none; }
.page-cta .container { position: relative; }
.page-cta h2 { color: #fff; margin: 0 0 .9rem; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.75rem); }
.page-cta p { color: var(--text-dim); max-width: 38rem; margin: 0 auto 1.75rem; line-height: 1.6; font-size: 1.15rem; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; }
.page-cta .cta-btn { background: #fff; color: var(--text-dark); }
.page-cta .cta-btn:hover { background: var(--sky); }
.page-cta-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.5rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.page-cta-secondary:hover { border-color: #fff; }

/* ---- Footer ---- */
footer.site-footer { background: var(--bg-deep); color: #fff; padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand .brand { color: #fff; font-size: 1.35rem; }
.footer-brand .brand-mark { color: #fff; }
.footer-tagline { color: #B7C6E6; font-size: .95rem; line-height: 1.55; max-width: 20rem; margin: 1.1rem 0 0; }
.footer-address { color: #8FA3C9; font-size: .88rem; line-height: 1.6; margin: 1rem 0 0; }
.footer-address a { color: #C9D4EA; text-decoration: none; }
.footer-col-title { color: #8FA3C9; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .9rem; }
.footer-links { display: grid; gap: .65rem; font-size: .95rem; line-height: 1.4; }
.footer-links a, .footer-links .footer-link-btn { color: #C9D4EA; text-decoration: none; font-weight: 400; }
.footer-links a:hover, .footer-links .footer-link-btn:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3.25rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8FA3C9; }

/* ---- Artikler ---- */
.artikler-hero { background: var(--bg-light); color: var(--text-dark); padding: 2rem 0 2.5rem; }
.artikler-hero h1 { margin: 0 0 .75rem; }
.artikler-hero p { color: #3D4B66; font-size: 1.15rem; line-height: 1.55; max-width: 44rem; margin: 0 0 1.5rem; }
.artikler-kategorier { display: flex; flex-wrap: wrap; gap: .5rem; }
.artikler-kategorier a { color: #1D2B48; background: #fff; text-decoration: none; font-size: .88rem; font-weight: 500; line-height: 1.2; border: 1px solid var(--line-strong); border-radius: 999px; padding: .6rem 1rem; transition: border-color .15s ease, background .15s ease; }
.artikler-kategorier a:hover { border-color: var(--text-dark); }
.artikler-kategorier a[aria-current] { background: var(--bg-deep); border-color: var(--bg-deep); color: #fff; font-weight: 600; }
.artikler-liste { background: #fff; padding: 3rem 0 4.5rem; }
.artikler-liste-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.5rem; color: var(--text-muted); font-size: .9rem; }
.artikler-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; }
.artikel-kort { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem 1.5rem; text-decoration: none; color: var(--text-dark); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.artikel-kort:hover { border-color: var(--text-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.artikel-kort-billede { display: block; margin: -1.4rem -1.5rem 1.25rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--sky); }
.artikel-kort-billede img { display: block; width: 100%; height: 100%; object-fit: cover; }
.artikel-kort-kategori { display: inline-flex; align-self: flex-start; font-size: .75rem; font-weight: 600; color: #1E46B8; background: var(--sky); border-radius: 999px; padding: .2rem .65rem; margin: 0 0 .75rem; }
.artikel-kort h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; }
.artikel-kort p { flex: 1; margin: 0 0 1rem; font-size: .92rem; color: var(--text-muted); line-height: 1.55; }
.artikel-kort-meta { font-size: .8rem; color: var(--text-muted-light); }
.artikler-tom { color: var(--text-muted); }
.artikler-paginering { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.artikler-paginering a, .artikler-paginering span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text-dark); text-decoration: none; font-size: .9rem; font-weight: 500; background: #fff; }
.artikler-paginering a:hover { border-color: var(--text-dark); }
.artikler-paginering [aria-current] { background: var(--bg-deep); border-color: var(--bg-deep); color: #fff; font-weight: 600; }
.artikler-paginering .er-deaktiveret { color: var(--text-muted-light); border-color: transparent; background: transparent; }

.artikel-container { max-width: 52rem; }
.artikel-header { background: var(--bg-light); color: var(--text-dark); padding: 1.5rem 0 2.5rem; }
.artikel-kategori-link { display: inline-flex; color: #1E46B8; background: var(--sky); text-decoration: none; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .3rem .7rem; margin: 0 0 1.1rem; }
.artikel-kategori-link:hover { background: #d9e6fd; }
.artikel-header h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); margin: 0 0 1rem; }
.artikel-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--text-muted); font-size: .9rem; }
.artikel-body { background: #fff; padding: 2.5rem 0 3.5rem; }
.artikel-billede { margin: 0 0 2rem; }
.artikel-billede img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.artikel-billede figcaption { margin: .5rem 0 0; font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.artikel-toc { background: #F8FAFD; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.5rem; margin: 0 0 2.25rem; font-size: .92rem; }
.artikel-toc-titel { margin: 0 0 .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--text-muted); }
.artikel-toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.artikel-toc li { margin: 0 0 .35rem; break-inside: avoid; line-height: 1.4; }
.artikel-toc a { color: var(--text-dark); text-decoration: none; }
.artikel-toc a:hover { color: var(--accent); text-decoration: underline; }
.artikel-prose { font-size: 1.08rem; line-height: 1.75; color: #1D2B48; }
.artikel-prose > p:first-child { font-size: 1.18rem; line-height: 1.65; color: #2b3b5e; }
.artikel-prose h2 { font-size: 1.65rem; margin: 2.25rem 0 .75rem; scroll-margin-top: 1.5rem; }
.artikel-prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.artikel-prose h4 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.artikel-prose p { margin: 0 0 1.1rem; }
.artikel-prose ul, .artikel-prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.artikel-prose li { margin-bottom: .45rem; }
.artikel-prose li > p { margin-bottom: .5rem; }
.artikel-prose a { color: var(--accent); text-underline-offset: 2px; }
.artikel-prose strong { color: var(--text-dark); }
.artikel-prose blockquote { margin: 1.5rem 0; padding: 1.1rem 1.4rem; background: var(--sky); border-radius: var(--radius-md); font-size: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--text-dark); }
.artikel-prose blockquote p { margin-bottom: .75rem; }
.artikel-prose blockquote p:last-child { margin-bottom: 0; }
.artikel-prose .md-table { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.artikel-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.artikel-prose th, .artikel-prose td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.artikel-prose th { background: var(--bg-light); color: var(--text-muted); font-weight: 600; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.artikel-prose tbody tr:last-child td { border-bottom: 0; }
.artikel-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.artikel-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-light); border-radius: .3rem; padding: .1em .35em; }
.artikel-prose pre { background: var(--bg-light); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; font-size: .9rem; line-height: 1.5; }
.artikel-prose pre code { background: none; padding: 0; }
.artikel-produkt { margin-top: 2.5rem; background: var(--bg-deep); color: #fff; border-radius: var(--radius-xl); padding: 2rem 2.1rem; }
.artikel-produkt-over { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9DB7F2; font-weight: 700; margin: 0 0 .5rem; }
.artikel-produkt h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 .6rem; color: #fff; }
.artikel-produkt h2 a { color: #fff; text-decoration: none; }
.artikel-produkt h2 a:hover { text-decoration: underline; }
.artikel-produkt p { margin: 0 0 1.25rem; color: var(--text-dim); line-height: 1.6; }
.artikel-produkt-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.artikel-produkt-links .cta-btn { background: #fff; color: var(--text-dark); }
.artikel-produkt-links .cta-btn:hover { background: var(--sky); }
.artikel-produkt-links a:not(.cta-btn) { color: #fff; font-weight: 600; text-decoration: none; }
.artikel-produkt-links a:not(.cta-btn):hover { text-decoration: underline; }
.artikel-alle-link { margin: 1.5rem 0 0; font-size: .9rem; color: var(--text-muted); }
.artikel-alle-link a { color: var(--accent); }

/* ---- Hjælp ---- */
.hjaelp-overskrift { font-size: 1.5rem; margin: 0 0 1.25rem; }
.hjaelp-kategori-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1rem; margin: 0 0 3rem; }
.hjaelp-kategori-kort { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; text-decoration: none; color: var(--text-dark); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.hjaelp-kategori-kort:hover { border-color: var(--text-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hjaelp-kategori-navn { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-dark); }
.hjaelp-kategori-tekst { flex: 1; font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.hjaelp-kategori-antal { font-size: .82rem; color: var(--accent); font-weight: 600; }
.hjaelp-kontakt { margin: 2.5rem 0 0; font-size: .95rem; color: var(--text-muted); }
.hjaelp-kontakt a { color: var(--accent); }
.hjaelp-prose .hjaelp-figur { margin: 1.5rem 0 2rem; }
.hjaelp-prose .hjaelp-figur img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.hjaelp-prose .hjaelp-figur--smal img { max-width: min(100%, 24rem); }
/* Billedpar: samme skærm på computer (venstre, naturlig størrelse, krymper efter behov) og mobil (smal) side om side. På smalle skærme kommer mobilbilledet først. */
.hjaelp-prose .hjaelp-par { display: flex; align-items: flex-start; gap: 1rem; }
.hjaelp-prose .hjaelp-par img { height: auto; }
.hjaelp-prose .hjaelp-par-computer { flex: 0 1 auto; min-width: 0; }
.hjaelp-prose .hjaelp-par-mobil { flex: 0 0 13rem; width: 13rem; }
@media (max-width: 42rem) {
  .hjaelp-prose .hjaelp-par { flex-direction: column; }
  .hjaelp-prose .hjaelp-par-mobil { order: -1; flex-basis: auto; width: min(100%, 20rem); }
  .hjaelp-prose .hjaelp-par-computer { flex: none; max-width: 100%; }
}
.hjaelp-prose .hjaelp-figur figcaption { margin: .5rem 0 0; font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.hjaelp-prose .md-table td:first-child, .hjaelp-prose .md-table th:first-child { white-space: nowrap; }
.hjaelp-soeg { display: flex; gap: .5rem; max-width: 36rem; margin: 0 0 1.5rem; }
.hjaelp-soeg label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hjaelp-soeg input { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; font: inherit; font-size: 1rem; line-height: 1.2; min-height: 50px; padding: .75rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text-dark); transition: border-color .15s ease, box-shadow .15s ease; }
.hjaelp-soeg input::placeholder { color: var(--text-muted-light); opacity: 1; }
.hjaelp-soeg input::-webkit-search-decoration { -webkit-appearance: none; }
.hjaelp-soeg input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36,87,230,.18); }
.hjaelp-soeg button { flex: none; font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2; min-height: 50px; padding: .75rem 1.25rem; border: 0; border-radius: var(--radius-sm); background: var(--accent); color: #fff; cursor: pointer; transition: background .15s ease; }
.hjaelp-soeg button:hover { background: var(--accent-hover); }
.hjaelp-soeg button:focus-visible { outline: 2px solid var(--text-dark); outline-offset: 2px; }
.hjaelp-soeg-boks { background: var(--bg-light); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 2.5rem 0 0; }
.hjaelp-soeg-boks-titel { margin: 0 0 .75rem; font-weight: 600; color: var(--text-dark); }
.hjaelp-soeg-boks .hjaelp-soeg { margin: 0; max-width: none; }
.hjaelp-soeg-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 50rem; }
.hjaelp-soeg-liste .artikel-kort { padding: 1.25rem 1.5rem; }
.hjaelp-soeg-liste .artikel-kort p { flex: none; }
.hjaelp-soeg-uddrag { overflow-wrap: anywhere; }
.artikel-kort mark { background: #fde68a; color: inherit; padding: 0 .1em; border-radius: 2px; }

/* ---- Formularer (login, signup, kontakt) ---- */
.flabel { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .9rem; color: #1D2B48; }
.flabel small, .flabel span { font-weight: 500; color: var(--text-muted); }
.finput { width: 100%; min-height: 50px; padding: .7rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; background: #fff; color: var(--text-dark); box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
textarea.finput { min-height: 9rem; resize: vertical; line-height: 1.5; }
select.finput { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6C85' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; }
.finput:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36,87,230,.18); }
.finput.error { border-color: var(--status-danger); }
.finput[readonly] { background: var(--bg-light); color: var(--text-muted); cursor: default; }
.fhint { display: block; font-size: .82rem; color: var(--text-muted); margin-top: .4rem; line-height: 1.5; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 2.5rem; }
.form-message { display: none; margin-bottom: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); text-align: center; font-size: .95rem; }
.form-message.is-error { display: block; background: var(--status-danger-bg); color: var(--status-danger); border: 1px solid #F8C7C3; }
.form-message.is-success { display: block; background: var(--status-success-bg); color: var(--status-success); border: 1px solid #BFE6D0; }
.check-option { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: #1D2B48; line-height: 1.5; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.check-option input { width: 20px; height: 20px; accent-color: var(--accent); margin: .1rem 0 0; flex: none; }
.check-option a { color: var(--accent); }

/* Opret konto: foreningstype-kort og trinvisning */
.step-indicator { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.step-dot { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; flex: none; transition: background .2s, color .2s, border-color .2s; }
.step-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-dot.done { background: var(--bg-deep); border-color: var(--bg-deep); color: #fff; }
.step-label { font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.step-label.active { color: var(--text-dark); }
.step-connector { flex: 1; min-width: 1.5rem; max-width: 80px; height: 2px; background: var(--line-strong); }
.type-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.type-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: .85rem; align-items: start; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.type-card b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.type-card .type-desc { display: block; font-size: .85rem; color: var(--text-muted); line-height: 1.45; margin-top: .2rem; }
.type-card .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-top: .15rem; }
.type-card .tick svg { width: 12px; height: 12px; display: none; }
.type-card:hover { border-color: var(--text-dark); }
.type-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: #F3F7FF; }
.type-card:has(input:checked) .tick { background: var(--accent); border-color: var(--accent); }
.type-card:has(input:checked) .tick svg { display: block; }
.type-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.type-card.error { border-color: var(--status-danger); }

/* ---- Priser ---- */
.pricing-head { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.pricing-head h1 { margin: 0 0 1rem; }
.pricing-head p { color: #3D4B66; font-size: 1.15rem; line-height: 1.6; margin: 0; }
.type-switch-wrap { max-width: 800px; margin: 0 auto 2.5rem; text-align: center; }
.type-switch-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .75rem; }
.type-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .35rem; padding: .35rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.type-switch button { flex: 0 0 auto; min-height: 40px; padding: .5rem 1.1rem; font: inherit; font-size: .9rem; font-weight: 500; color: #1D2B48; background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.type-switch button[aria-pressed="true"] { background: var(--bg-deep); color: #fff; font-weight: 600; }
.type-switch-note { color: var(--text-muted); font-size: .9rem; line-height: 1.5; margin: .9rem auto 0; max-width: 36rem; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; text-align: left; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.plan-card.highlighted { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 30px 60px -36px rgba(36,87,230,.5); }
.plan-card.highlighted::before { content: 'Mest populær'; position: absolute; top: -13px; left: 1.5rem; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; color: var(--text-dark); }
.plan-card.highlighted .plan-name { color: var(--accent); }
.plan-price { display: flex; align-items: baseline; gap: .4rem; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; color: var(--text-dark); margin: 0; }
.plan-price small { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--text-muted); letter-spacing: 0; }
.plan-trial { align-self: flex-start; }
.plan-card .cta-btn { width: 100%; }
.plan-inc { font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; padding-top: .9rem; border-top: 1px solid #EEF1F6; margin: .25rem 0 0; }
.plan-features { text-align: left; list-style: none; padding: 0; margin: 0; flex-grow: 1; display: grid; gap: .5rem; }
.plan-features li { font-size: .9rem; color: #1D2B48; display: flex; align-items: flex-start; gap: .5rem; line-height: 1.4; }
.plan-features li.plan-inherit { color: var(--text-muted); font-weight: 600; }
.plan-features li .feature-icon { flex-shrink: 0; display: inline-flex; margin-top: .1rem; }
.plan-features li .feature-icon svg { width: 16px; height: 16px; }
.plan-note { color: var(--text-muted); font-size: .8rem; margin: 0; line-height: 1.5; }
.plan-ribbon { display: none; }
.plans-footnote { text-align: center; color: var(--text-muted); font-size: .88rem; margin: 1.5rem 0 0; }
.pricing-extra { max-width: 52rem; margin: 4rem auto 0; line-height: 1.65; }
.pricing-extra h2 { font-size: 1.6rem; margin: 2.75rem 0 1rem; text-align: left; }
.pricing-extra h2:first-child { margin-top: 0; }
.pricing-extra a { color: var(--accent); }
.pricing-extra .feature-card h3 { font-size: 1.05rem; }
.pricing-extra .feature-card p { margin-bottom: 0; }

/* ---- Funktioner (features.php) ---- */
.feature-toc { max-width: 100%; margin: -1rem auto 3rem; background: transparent; border: 0; padding: 0; }
.feature-toc-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .75rem; text-align: center; }
.feature-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.feature-toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: #1D2B48; text-decoration: none; font-weight: 500; font-size: .9rem; }
.feature-toc a:hover { border-color: var(--text-dark); }
.feature-group-title { font-size: var(--font-size-h2); margin: 3.5rem 0 .5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.feature-group-lead { max-width: 52rem; color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin: 0 0 2rem; }
.feature-group-lead a { color: var(--accent); }
.feature-bottom { max-width: 52rem; margin: 3rem auto 0; text-align: center; font-size: 1.1rem; line-height: 1.6; }
.feature-bottom a { color: var(--accent); font-weight: 600; }
.features .mock-title { font-family: var(--font-display); }

/* ---- Juridiske sider ---- */
.policy-container { background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius-xl) !important; padding: 2.5rem !important; max-width: 52rem !important; margin: 2rem auto 4rem !important; box-shadow: none !important; line-height: 1.7; }
.policy-container h1 { margin: 0 0 1.25rem; }
.policy-container h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; }
.policy-container h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.policy-container p, .policy-container li { color: #1D2B48; }

/* ---- Forside (pages/home.php) ---- */
.hero-home { background: radial-gradient(900px 520px at 85% 0%, var(--sky) 0%, rgba(232,240,254,0) 65%), #F7F9FC; padding: 5rem 0 6rem; }
.hero-home .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 4rem; align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; max-width: 600px; }
.hero-copy h1 { margin: 0; }
.hero-copy .lead { margin: 0; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; font-size: .92rem; color: #3D4B66; font-weight: 500; }
.hero-trust li { display: flex; gap: .5rem; align-items: center; }
.hero-trust svg { width: 18px; height: 18px; color: var(--status-success); flex: none; }
.hero-art { position: relative; min-height: 540px; }
.hero-win { position: absolute; right: 0; top: 0; width: min(540px, 100%); }
.hero-note { position: absolute; left: -24px; bottom: 0; width: 300px; }
.ui { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: .82rem; line-height: 1.4; color: var(--text-dark); }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #EEF1F6; background: #F8FAFD; }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DDE3EE; }
.ui-url { margin-left: 10px; font-size: .75rem; color: var(--text-muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #EEF1F6; }
.ui-row:first-child { border-top: 0; }
.ui-name { display: flex; align-items: center; gap: 10px; }
.ui-name b { font-weight: 600; display: block; }
.ui-name small { color: var(--text-muted); font-size: .78rem; }
.av { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: #1E46B8; font-size: .7rem; font-weight: 700; flex: none; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--bg-light); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.kpi b { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.kpi span { font-size: .75rem; color: var(--text-muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.bars span { flex: 1; border-radius: 4px; background: #C9D8F7; }
.bars span.is-now { background: var(--accent); }
.bars span.is-next { background: var(--line); }
.sec-head { max-width: 760px; display: grid; gap: 1rem; }
.sec-head h2 { margin: 0; }
.sec-head .lead { margin: 0; }
.sec-head .eyebrow { margin: 0; }
.sec-head.center { margin: 0 auto; text-align: center; justify-items: center; }
.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.pillar { display: grid; gap: 1.1rem; padding: 1.25rem 1.25rem 2rem; }
.pillar-body { display: grid; gap: .75rem; padding: 0 .5rem; }
.pillar-body p { font-size: 1rem; }
.vig { height: 168px; border-radius: 14px; background: #F0F4FA; padding: 18px; overflow: hidden; position: relative; }
.vig .ui { position: absolute; left: 18px; right: 18px; top: 18px; }
.agenda { display: grid; gap: 6px; font-size: .78rem; }
.agenda div { display: flex; gap: 8px; align-items: center; }
.agenda i { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; font-style: normal; flex: none; }
.audience-card { display: grid; gap: .9rem; text-decoration: none; color: inherit; }
.audience-card .link-arrow { margin-top: auto; }
.audience-card:hover { border-color: var(--text-dark); }
.start-card { background: var(--bg-deep); color: #fff; border: 0; padding: 2.5rem; display: grid; gap: 1.5rem; border-radius: var(--radius-xl); }
.start-card .eyebrow { color: #9DB7F2; margin: 0; }
.start-price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.start-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.75rem, 2rem + 2vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.start-price span { color: #B7C6E6; font-size: 1rem; }
.start-card .check-list { color: #E6ECF7; }
.start-card .check-list li { color: #E6ECF7; }
.start-card .check-list li::before { background: #9DB7F2; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: .85rem; align-content: start; }
.tile h3 { font-size: 1.1rem; margin: 0; }
.tile p { font-size: .95rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.tile-wide { grid-column: span 2; }
.tile-media { padding: 0; overflow: hidden; }
.tile-media .tile-head { padding: 1.5rem 1.5rem 0; display: grid; gap: .6rem; }
.tile-shot { margin: .5rem 0 0 1.5rem; border-radius: 14px 0 0 0; overflow: hidden; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: 0 20px 40px -24px rgba(11,37,69,.3); }
.tile-shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.tile-split { grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem; }
.bub { display: inline-block; max-width: 80%; padding: 8px 12px; border-radius: 14px; font-size: .82rem; background: #F0F4FA; }
.bub.r { align-self: flex-end; background: var(--accent); color: #fff; }
.progress { height: 8px; border-radius: 999px; background: #EEF1F6; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.demo-band { background: var(--bg-deep); color: #fff; padding: 5.5rem 0; }
.demo-band .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 4rem; align-items: center; }
.demo-band h2 { color: #fff; margin: 0; }
.demo-band .lead { color: var(--text-dim); margin: 0; }
.demo-band .eyebrow { color: #9DB7F2; margin: 0; }
.demo-copy { display: grid; gap: 1.5rem; }
.demo-note { font-size: .88rem; color: #8FA3C9; }
.demo-shell { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 300px; }
.demo-side { background: var(--bg-light); border-right: 1px solid #EEF1F6; padding: 16px 12px; display: grid; gap: 6px; align-content: start; font-size: .8rem; color: #3D4B66; }
.demo-side span { padding: 7px 10px; border-radius: 8px; }
.demo-side span.is-active { background: #fff; color: var(--accent); font-weight: 600; }
.demo-main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.plan-teaser { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .85rem; background: #fff; }
.plan-teaser .plan-price { font-size: 2.4rem; }
.plan-teaser p { font-size: .95rem; color: var(--text-muted); margin: 0; flex: 1; }
.plan-teaser.highlighted { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-teaser-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 600; color: #3D4B66; }
.plan-teaser.highlighted .plan-teaser-head { color: var(--accent); }
.home-faq .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 4rem; align-items: start; }
.home-faq .faq-list { max-width: none; }
.m-only { display: none; }

/* Fjern gamle animerede fx-kort hvis de stadig findes et sted */
.fx-grid { display: none; }

/* ---- 404 ---- */
.notfound { padding: 6rem 0 4.5rem; }
.notfound .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 4rem; align-items: center; }
.notfound-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 6rem); letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.quicklinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: .75rem; }
.quicklink { display: grid; gap: .3rem; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; background: #fff; }
.quicklink:hover { border-color: var(--text-dark); }
.quicklink b { font-family: var(--font-display); font-weight: 700; }
.quicklink span { font-size: .88rem; color: var(--text-muted); }

/* ---- Responsivt ---- */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { min-height: 0; display: grid; gap: 1rem; }
  .hero-win, .hero-note { position: static; width: 100%; }
}
@media (max-width: 1080px) {
  .nav-center, .nav-right .btn-ghost { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 900px) {
  .page-hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .container, .footer-inner { padding: 0 1.25rem; }
  .nav { gap: 1rem; min-height: 68px; }
  .nav .btn-sm { min-height: 40px; padding: 0 .8rem; font-size: .85rem; }
  .nav-right { gap: .4rem; }
  .brand { font-size: 1.3rem; }
  .lead, .page-hero p, .artikler-hero p { font-size: 1.05rem; }
  .content-section, .faq, .features { padding: 3.5rem 0; }
  .page-hero { padding: 1.5rem 0 3rem; }
  .hero-home { padding: 2.5rem 0 3.5rem; }
  .hero-home .container, .demo-band .container { gap: 2.5rem; }
  .page-cta { padding: 4rem 0; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
  .shot-phone { max-width: 240px; }
  .site-showcase { padding-bottom: 0; }
  .site-desktop { margin-right: 0; }
  .browser-frame { padding-top: 1.8rem; }
  .site-mobile { position: static; width: 60%; max-width: 230px; margin: 1.5rem auto 0; }
  .split-table { font-size: .9rem; }
  .artikler-hero { padding: 1.5rem 0 2rem; }
  .artikler-liste { padding: 2rem 0 3rem; }
  .artikel-header { padding: 1rem 0 1.75rem; }
  .artikel-body { padding: 2rem 0 2.5rem; }
  .artikel-prose { font-size: 1rem; }
  .artikel-prose > p:first-child { font-size: 1.08rem; }
  .artikel-prose h2 { font-size: 1.4rem; }
  .artikel-produkt { padding: 1.5rem 1.25rem; }
  .artikel-toc ol { columns: 1; }
  .feature-card, .form-card { padding: 1.4rem 1.25rem; }
  .plan-card { padding: 1.4rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  .tile-split { grid-template-columns: 1fr; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-side { display: none; }
  .m-hide { display: none !important; }
  .m-only { display: block; }
  .type-switch { width: 100%; }
  .policy-container { padding: 1.5rem 1.25rem !important; }
  .pricing-extra { margin-top: 3rem; }
  .step-connector { display: none; }
  .step-label:not(.active) { display: none; }
  .feature-group-title { margin-top: 2.5rem; padding-top: 1.75rem; }
  .features .container > div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  /* Funktionssidens produktudsnit (inline grids i kortene) stables på smalle skærme */
  .features .container [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .features .container [style*="grid-template-columns"] > * { min-width: 0; }
}
@media (max-width: 480px) {
  /* Lange sammensatte ord i overskrifter (fx "kontingentopkrævning") må brydes, så heroen ikke bliver bredere end skærmen */
  h1 { overflow-wrap: anywhere; }
  .cta-btn, .btn:not(.btn-sm), .demo-btn, .page-cta-secondary { width: 100%; }
  .nav .btn, .nav .cta-btn { width: auto; }
  .nav .btn-sm { padding: 0 .7rem; }
  .burger { width: 40px; height: 40px; }
  .pill { white-space: normal; }
  .kpi b { font-size: 1.2rem; }
}
@media (max-width: 400px) {
  /* Plads til Log ind + Prøv gratis + burger: kun emblemet vises som logo */
  .brand-name { display: none; }
  .nav { gap: .5rem; }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
