@font-face{font-family:"Space Grotesk";src:url(/design/fonts/space-grotesk-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Space Grotesk";src:url(/design/fonts/space-grotesk-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url(/design/fonts/manrope-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url(/design/fonts/manrope-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/design/fonts/jetbrains-mono-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/design/fonts/jetbrains-mono-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
/* cykelfitness.dk – "cykelcomputer og intervalprofil".
   Mobil først. Navy displayflader, isblå baggrund, zoneskala Z1–Z7 som farveblokke og grafik.
   Tal i JetBrains Mono, overskrifter i Space Grotesk, brødtekst i Manrope. Klassepræfiks: mf- */

:root {
  --mf-navy: #0B1B2E;
  --mf-panel: #14304F;
  --mf-deep: #071424;
  --mf-edge-dk: #23415F;
  --mf-ice: #E6F1FB;
  --mf-white: #FFFFFF;
  --mf-slate: #3D5068;
  --mf-blue: #0050C8;
  --mf-lys: #C7DAEE;
  --mf-line: #C3D6EA;
  --mf-edge: #6E8399;
  --mf-zebra: #F3F8FD;
  --mf-z1: #9DB4C8;
  --mf-z2: #2F8CFF;
  --mf-z3: #1FC46B;
  --mf-z4: #FFD21F;
  --mf-z5: #FF8A1F;
  --mf-z6: #FF3B30;
  --mf-z7: #C8104F;
  --mf-zones: linear-gradient(90deg, var(--mf-z1) 0 14.28%, var(--mf-z2) 14.28% 28.57%, var(--mf-z3) 28.57% 42.85%, var(--mf-z4) 42.85% 57.14%, var(--mf-z5) 57.14% 71.42%, var(--mf-z6) 71.42% 85.71%, var(--mf-z7) 85.71% 100%);
  --mf-r: 6px;
  --mf-w: 760px;
  --mf-fh: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --mf-fb: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mf-fm: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--mf-ice);
  color: var(--mf-navy);
  font: 400 1.0625rem/1.7 var(--mf-fb);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--mf-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .17em; }
:focus-visible { outline: 3px solid var(--mf-blue); outline-offset: 3px; border-radius: 2px; }
.mf-hero :focus-visible, .mf-calc-box :focus-visible, .mf-menu-pn :focus-visible, .mf-ft :focus-visible,
.mf-ph-dk :focus-visible, .mf-tool :focus-visible, .mf-nx-dk:focus-visible { outline-color: var(--mf-z4); }
.mf-zb2 :focus-visible, .mf-zb3 :focus-visible, .mf-zb4 :focus-visible, .mf-zb5 :focus-visible,
.mf-zb2:focus-visible, .mf-zb3:focus-visible, .mf-zb4:focus-visible, .mf-zb5:focus-visible { outline-color: var(--mf-navy); }

.mf-wrap { max-width: var(--mf-w); margin-inline: auto; padding-inline: 20px; }
.mf-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.mf-skip { position: absolute; left: 12px; top: -120px; z-index: 100; background: var(--mf-z4); color: var(--mf-navy); padding: 10px 14px; border-radius: var(--mf-r); font-weight: 700; text-decoration: none; }
.mf-skip:focus { top: 12px; }

/* Zoneskalaen: flader (zb) og grafik (zf) */
.mf-zb1 { background: var(--mf-z1); color: var(--mf-navy); }
.mf-zb2 { background: var(--mf-z2); color: var(--mf-navy); }
.mf-zb3 { background: var(--mf-z3); color: var(--mf-navy); }
.mf-zb4 { background: var(--mf-z4); color: var(--mf-navy); }
.mf-zb5 { background: var(--mf-z5); color: var(--mf-navy); }
.mf-zb6 { background: var(--mf-z6); color: var(--mf-navy); }
.mf-zb7 { background: var(--mf-z7); color: var(--mf-white); }
.mf-zf1 { fill: var(--mf-z1); } .mf-zf2 { fill: var(--mf-z2); } .mf-zf3 { fill: var(--mf-z3); } .mf-zf4 { fill: var(--mf-z4); }
.mf-zf5 { fill: var(--mf-z5); } .mf-zf6 { fill: var(--mf-z6); } .mf-zf7 { fill: var(--mf-z7); }
.mf-zc { display: inline-block; min-width: 2.4em; padding: 4px 6px; border-radius: 4px; font: 700 .72rem/1 var(--mf-fm); text-align: center; letter-spacing: .02em; }

/* Header med zonebjælke og burgermenu (alle bredder) */
.mf-hd { position: relative; z-index: 30; background: var(--mf-white); border-top: 6px solid var(--mf-z4); border-image: var(--mf-zones) 1; box-shadow: 0 1px 0 var(--mf-line); }
.mf-hd-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.mf-logo { display: inline-flex; line-height: 0; border-radius: 4px; }
.mf-logo svg { display: block; width: auto; height: 32px; }
.mf-menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: var(--mf-r); background: var(--mf-navy); color: var(--mf-white); font: 700 .82rem/1 var(--mf-fm); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; user-select: none; }
.mf-menu-btn::-webkit-details-marker { display: none; }
.mf-menu-btn::marker { content: ""; }
.mf-menu-btn:hover { background: var(--mf-panel); }
.mf-burger { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 20px; }
.mf-burger-l { display: block; height: 3px; border-radius: 2px; transition: transform .15s ease, opacity .15s ease, width .15s ease; }
.mf-burger-l:nth-child(1) { width: 14px; background: var(--mf-z2); }
.mf-burger-l:nth-child(2) { width: 20px; background: var(--mf-z4); }
.mf-burger-l:nth-child(3) { width: 10px; background: var(--mf-z5); }
.mf-menu[open] .mf-burger-l { width: 20px; background: var(--mf-white); }
.mf-menu[open] .mf-burger-l:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mf-menu[open] .mf-burger-l:nth-child(2) { opacity: 0; }
.mf-menu[open] .mf-burger-l:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mf-menu-pn { position: absolute; left: 0; right: 0; top: 100%; background: var(--mf-navy); color: var(--mf-white); padding: 20px 0 26px; box-shadow: 0 18px 40px rgba(11, 27, 46, .35); }
.mf-menu-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mf-menu-a { display: flex; align-items: baseline; gap: 14px; padding: 11px 10px; border-radius: var(--mf-r); color: var(--mf-white); text-decoration: none; font: 700 1.2rem/1.25 var(--mf-fh); }
.mf-menu-a:hover { background: var(--mf-panel); }
.mf-menu-n { font: 500 .78rem/1 var(--mf-fm); color: var(--mf-lys); }
.mf-menu-a[aria-current="page"] { background: var(--mf-panel); box-shadow: inset 4px 0 0 var(--mf-z4); }
.mf-menu-a[aria-current="page"] .mf-menu-n { color: var(--mf-z4); }
.mf-menu-x { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px 0 0; padding: 14px 10px 0; border-top: 1px solid var(--mf-edge-dk); font: 500 .82rem/1.4 var(--mf-fm); color: var(--mf-lys); }
.mf-menu-xl { text-transform: uppercase; letter-spacing: .08em; }
.mf-menu-xa { color: var(--mf-z4); font-weight: 700; }

/* Fælles typografi */
.mf-h1 { margin: 0 0 14px; font: 700 clamp(2rem, 1.35rem + 3.2vw, 3rem)/1.08 var(--mf-fh); letter-spacing: -.02em; hyphens: auto; }
.mf-h2 { margin: 0 0 12px; font: 700 clamp(1.5rem, 1.25rem + 1.2vw, 2rem)/1.15 var(--mf-fh); letter-spacing: -.015em; }
.mf-h2::before, .mf-tx h2::before { content: ""; display: block; width: 46px; height: 8px; margin-bottom: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--mf-z2) 0 28%, transparent 28% 36%, var(--mf-z4) 36% 64%, transparent 64% 72%, var(--mf-z6) 72% 100%); }
.mf-lead { margin: 0 0 24px; font-size: 1.15rem; line-height: 1.6; }
.mf-ey { margin: 0 0 14px; font: 500 .78rem/1.4 var(--mf-fm); letter-spacing: .08em; text-transform: uppercase; color: var(--mf-z4); }

/* Forsidens hero: displayflade med intervalprofil */
.mf-hero { background: var(--mf-navy); color: var(--mf-white); padding: 36px 0 76px; }
.mf-hero-ld { color: var(--mf-lys); }
.mf-disp { background: var(--mf-deep); border: 1px solid var(--mf-edge-dk); border-radius: var(--mf-r); padding: 14px 14px 12px; }
.mf-disp-hd { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font: 500 .74rem/1.3 var(--mf-fm); letter-spacing: .08em; text-transform: uppercase; color: var(--mf-lys); }
.mf-disp-k { color: var(--mf-z4); }
.mf-prof { display: block; }
.mf-prof-hero { width: 100%; height: auto; }
.mf-disp-ax { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 12px; padding-top: 8px; border-top: 1px solid var(--mf-edge-dk); font: 500 .7rem/1.3 var(--mf-fm); color: var(--mf-lys); }
.mf-zl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; line-height: 1.3; color: var(--mf-lys); }
.mf-zl-i { display: inline-flex; align-items: center; gap: 6px; }
.mf-hero-fig { margin-top: -52px; position: relative; }

/* Billeder med AI-mærkning */
.mf-fig { margin: 0 0 32px; }
.mf-fig-i { display: block; width: 100%; height: auto; border-radius: var(--mf-r); background: var(--mf-line); }
.mf-fig-c { display: flex; justify-content: flex-end; margin-top: 8px; }
.mf-fig-ai { display: inline-flex; align-items: center; gap: 7px; font: 500 .72rem/1.3 var(--mf-fm); letter-spacing: .03em; color: var(--mf-slate); }
.mf-fig-ai::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--mf-z2); }
.mf-hero-fig .mf-fig { margin-bottom: 0; }
.mf-hero-fig .mf-fig-i { box-shadow: 0 14px 36px rgba(11, 27, 46, .25); }

/* Vejen i fire trin: rampe af farveblokke */
.mf-steps { padding: 44px 0 12px; }
.mf-steps-p { margin: 0 0 22px; color: var(--mf-slate); }
.mf-steps-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mf-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 16px 20px; border-radius: var(--mf-r); }
.mf-step-m { display: flex; align-items: flex-end; gap: 12px; }
.mf-step-n { font: 700 1.9rem/1 var(--mf-fm); letter-spacing: -.04em; }
.mf-ramp { display: inline-flex; align-items: flex-end; gap: 3px; height: 28px; }
.mf-ramp-b { width: 8px; border-radius: 2px; background: rgba(11, 27, 46, .22); }
.mf-ramp-b:nth-child(1) { height: 25%; } .mf-ramp-b:nth-child(2) { height: 50%; }
.mf-ramp-b:nth-child(3) { height: 75%; } .mf-ramp-b:nth-child(4) { height: 100%; }
.mf-ramp-b.mf-on { background: var(--mf-navy); }
.mf-step-h { margin: 2px 0 6px; font: 700 1.35rem/1.2 var(--mf-fh); }
.mf-step-p { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; }
.mf-step-ls { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mf-step-a { display: inline-block; padding: 7px 12px; border-radius: var(--mf-r); background: var(--mf-white); color: var(--mf-navy); font-size: .95rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.mf-step-a:hover { background: var(--mf-navy); color: var(--mf-white); }

/* Brødtekst */
.mf-body { padding-top: 36px; padding-bottom: 36px; }
.mf-body-home { padding-top: 28px; }
.mf-tx { overflow-wrap: anywhere; hyphens: auto; }
.mf-tx > :first-child { margin-top: 0; }
.mf-tx p { margin: 0 0 1.1em; }
.mf-tx h2 { margin: 2.1em 0 .6em; font: 700 1.6rem/1.2 var(--mf-fh); letter-spacing: -.012em; overflow-wrap: break-word; }
.mf-tx h3 { margin: 1.8em 0 .5em; font: 700 1.25rem/1.3 var(--mf-fh); overflow-wrap: break-word; }
.mf-tx h4 { margin: 1.6em 0 .4em; font: 700 1.05rem/1.4 var(--mf-fb); }
.mf-tx ul, .mf-tx ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.mf-tx ol { padding-left: 1.9em; }
.mf-tx li { margin: 0 0 .4em; }
.mf-tx li > ul, .mf-tx li > ol { margin: .4em 0 0; }
.mf-tx ul > li::marker { color: var(--mf-blue); }
.mf-tx ol > li::marker { font-family: var(--mf-fm); font-weight: 700; color: var(--mf-blue); }
.mf-tx blockquote { margin: 1.6em 0; padding: 16px 20px; background: var(--mf-white); border-left: 6px solid var(--mf-z3); border-radius: 0 var(--mf-r) var(--mf-r) 0; font-size: 1.08rem; }
.mf-tx blockquote > :last-child { margin-bottom: 0; }
.mf-tx strong { font-weight: 700; }
.mf-tx > table { display: block; max-width: 100%; overflow-x: auto; }

/* Tabeller */
.mf-scroll { max-width: 100%; overflow-x: auto; margin: 1.6em 0; border-radius: var(--mf-r); background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); }
.mf-scroll table, .mf-tbl, .mf-tx table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; overflow-wrap: normal; hyphens: manual; }
.mf-scroll th, .mf-scroll td, .mf-tx table th, .mf-tx table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #DCE8F4; }
.mf-scroll thead th, .mf-tx thead th { background: var(--mf-navy); color: var(--mf-white); font: 700 .78rem/1.3 var(--mf-fm); letter-spacing: .05em; text-transform: uppercase; white-space: normal; }
.mf-scroll tbody tr:nth-child(even), .mf-tx tbody tr:nth-child(even) { background: var(--mf-zebra); }
.mf-scroll tbody tr:last-child > *, .mf-tx tbody tr:last-child > * { border-bottom: 0; }
.mf-scroll caption, .mf-tbl-c, .mf-tx caption { caption-side: top; padding: 12px 12px 10px; text-align: left; font: 500 .76rem/1.4 var(--mf-fm); letter-spacing: .05em; text-transform: uppercase; color: var(--mf-slate); }
.mf-scroll[tabindex]:focus-visible { outline-offset: 2px; }
/* Tabeller, der stadig er bredere end skærmen: synlig swipe-tekst og fade i højre kant (mf.js sætter data-mf-rul/-slut). */
.mf-rul-hint { display: flex; align-items: center; gap: 8px; margin: 1.4em 0 0; font: 700 .74rem/1.4 var(--mf-fm); letter-spacing: .03em; color: var(--mf-slate); }
.mf-rul-hint::after { content: "→"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: var(--mf-z4); color: var(--mf-navy); }
.mf-rul-hint + .mf-scroll { margin-top: 6px; }
.mf-calc-box .mf-rul-hint { margin-top: 0; color: var(--mf-lys); }
.mf-scroll[data-mf-rul]:not([data-mf-slut]) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), rgba(0, 0, 0, .2)); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), rgba(0, 0, 0, .2)); }
.mf-nr { text-align: right !important; font-family: var(--mf-fm); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Fire cykeltyper */
.mf-types { padding: 20px 0 8px; }
.mf-types-p { margin: 0 0 4px; color: var(--mf-slate); }
.mf-types-t { min-width: 600px; }
.mf-types-t tbody tr { background: var(--mf-white) !important; }
.mf-types-t th[scope="row"] { position: sticky; left: 0; z-index: 1; min-width: 132px; background: var(--mf-white); box-shadow: inset -1px 0 0 #DCE8F4; font: 700 1rem/1.3 var(--mf-fh); }
.mf-types-t tbody tr:nth-child(1) th { box-shadow: inset 5px 0 0 var(--mf-z2), inset -1px 0 0 #DCE8F4; }
.mf-types-t tbody tr:nth-child(2) th { box-shadow: inset 5px 0 0 var(--mf-z3), inset -1px 0 0 #DCE8F4; }
.mf-types-t tbody tr:nth-child(3) th { box-shadow: inset 5px 0 0 var(--mf-z4), inset -1px 0 0 #DCE8F4; }
.mf-types-t tbody tr:nth-child(4) th { box-shadow: inset 5px 0 0 var(--mf-z5), inset -1px 0 0 #DCE8F4; }
.mf-types-t th[scope="row"] { padding-left: 16px; }

/* To beregnere på forsiden */
.mf-tools { padding: 28px 0 20px; }
.mf-tools-g { display: grid; gap: 12px; }
.mf-tool { position: relative; padding: 20px; border-radius: var(--mf-r); border-top: 6px solid var(--mf-z3); background: var(--mf-navy); color: var(--mf-white); }
.mf-tool-b { border-top-color: var(--mf-z5); }
.mf-tool:focus-within { outline: 3px solid var(--mf-z4); outline-offset: 3px; }
.mf-tool-u { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; font-family: var(--mf-fm); }
.mf-tool-v { font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--mf-z3); letter-spacing: -.03em; }
.mf-tool-b .mf-tool-v { color: var(--mf-z5); }
.mf-tool-x { font-size: .8rem; color: var(--mf-lys); }
.mf-tool-h { margin: 0 0 6px; font: 700 1.3rem/1.2 var(--mf-fh); }
.mf-tool-l { color: var(--mf-white); text-decoration: none; }
.mf-tool-l::after { content: ""; position: absolute; inset: 0; border-radius: var(--mf-r); }
.mf-tool-l:focus-visible { outline: none; }
.mf-tool:hover .mf-tool-l { text-decoration: underline; text-decoration-color: var(--mf-z4); }
.mf-tool-p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--mf-lys); }
.mf-tools-ob { margin: 14px 0 0; }
.mf-tools-oa { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--mf-r); background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); color: var(--mf-navy); font-weight: 700; line-height: 1.4; text-decoration: none; }
.mf-tools-oa:hover { box-shadow: 0 0 0 2px var(--mf-navy); }
.mf-tools-az { flex: none; padding: 8px 10px; border-radius: 4px; background: var(--mf-z4); color: var(--mf-navy); font: 700 1rem/1 var(--mf-fm); }

/* Sidehoved i trinnets zonefarve */
.mf-ph { position: relative; overflow: hidden; padding-top: 26px; }
.mf-ph-dk { background: var(--mf-navy); color: var(--mf-white); }
.mf-ph-in { position: relative; z-index: 1; padding-bottom: 50px; }
.mf-prof-sky { position: absolute; left: 0; bottom: 0; width: 100%; height: 38px; }
.mf-ph:not(.mf-ph-dk) .mf-prof-sky rect { fill: var(--mf-navy); fill-opacity: .14; }
.mf-ph-dk .mf-prof-sky { opacity: .9; }
.mf-bc-l { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; font: 500 .78rem/1.4 var(--mf-fm); }
.mf-bc-i + .mf-bc-i::before { content: "/"; margin: 0 8px; }
.mf-bc-a { color: inherit; }
.mf-ph-tr { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 .78rem/1.3 var(--mf-fm); letter-spacing: .06em; text-transform: uppercase; }
.mf-ramp-s { height: 18px; }
.mf-ramp-s .mf-ramp-b { width: 6px; }
.mf-ph-ld { margin-bottom: 18px; }
.mf-ph-dk .mf-ph-ld { color: var(--mf-lys); }
.mf-ph-mt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; font: 500 .78rem/1.4 var(--mf-fm); }
.mf-ph-go { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: var(--mf-r); background: var(--mf-navy); color: var(--mf-white); font-weight: 700; text-decoration: none; }
.mf-ph-go::after { content: "↓"; }
.mf-ph-go:hover { background: var(--mf-panel); }
.mf-ph-dk .mf-ph-go { background: var(--mf-z4); color: var(--mf-navy); }

/* Beregnere: navy display */
.mf-calc { padding-top: 28px; scroll-margin-top: 12px; }
.mf-calc-box { padding: 22px 14px; border-radius: var(--mf-r); background: var(--mf-navy); color: var(--mf-white); }
.mf-calc-ey { margin: 0 0 6px; font: 500 .74rem/1.3 var(--mf-fm); letter-spacing: .1em; text-transform: uppercase; color: var(--mf-z4); }
.mf-calc-h { margin: 0 0 10px; font: 700 1.5rem/1.2 var(--mf-fh); letter-spacing: -.01em; }
.mf-calc-p { margin: 0 0 18px; color: var(--mf-lys); }
.mf-calc-f { display: grid; gap: 14px; margin: 0 0 18px; }
.mf-fld { display: grid; gap: 6px; align-content: start; }
.mf-lbl { font: 700 .88rem/1.3 var(--mf-fb); }
.mf-inp { width: 100%; min-height: 48px; padding: 11px 14px; border: 2px solid var(--mf-edge); border-radius: var(--mf-r); background: var(--mf-white); color: var(--mf-navy); font: 500 1rem/1.4 var(--mf-fb); }
.mf-inp::placeholder { color: #5A6E84; opacity: 1; }
.mf-inp:focus-visible { outline: 3px solid var(--mf-blue); outline-offset: 2px; border-color: var(--mf-navy); }
.mf-calc-box .mf-inp { border-color: var(--mf-z1); }
.mf-calc-box .mf-inp:focus-visible { outline-color: var(--mf-z4); }
.mf-inp-n { font: 700 1.35rem/1.2 var(--mf-fm); letter-spacing: .02em; }
.mf-inp[aria-invalid="true"] { border-color: var(--mf-z6); box-shadow: 0 0 0 2px var(--mf-z6); }
.mf-hj { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--mf-lys); }
.mf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: start; min-height: 48px; padding: 13px 22px; border: 0; border-radius: var(--mf-r); background: var(--mf-z5); color: var(--mf-navy); font: 700 1rem/1.2 var(--mf-fh); text-decoration: none; cursor: pointer; }
.mf-btn::after { content: "→"; font-family: var(--mf-fm); }
.mf-btn:hover { background: var(--mf-z4); }
.mf-calc-st { margin: 0; min-height: 1.5em; font-weight: 700; color: var(--mf-z4); }
.mf-calc-st:empty { min-height: 0; }
.mf-read { display: grid; gap: 10px; margin: 0 0 18px; }
.mf-read-c { padding: 14px 16px; border: 1px solid var(--mf-edge-dk); border-left: 6px solid var(--mf-z3); border-radius: var(--mf-r); background: var(--mf-deep); }
.mf-read-o { border-left-color: var(--mf-z5); }
.mf-read-y { border-left-color: var(--mf-z4); }
.mf-read-l { margin: 0 0 4px; font: 500 .74rem/1.3 var(--mf-fm); letter-spacing: .06em; text-transform: uppercase; color: var(--mf-lys); }
.mf-read-v { display: flex; align-items: baseline; gap: 6px; margin: 0; font-family: var(--mf-fm); }
.mf-read-n { font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--mf-z3); font-variant-numeric: tabular-nums; }
.mf-read-o .mf-read-n { color: var(--mf-z5); }
.mf-read-y .mf-read-n { color: var(--mf-z4); }
.mf-read-u { font-size: 1rem; color: var(--mf-lys); }
.mf-read-d { margin: 6px 0 0; font-size: .86rem; line-height: 1.45; color: var(--mf-lys); }
.mf-calc-fig { margin: 0 0 18px; padding: 12px; border: 1px solid var(--mf-edge-dk); border-radius: var(--mf-r); background: var(--mf-deep); }
.mf-bike { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.mf-bike-fr { fill: none; stroke: var(--mf-lys); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mf-bike-sd, .mf-bike-pd { fill: var(--mf-white); }
.mf-bike-kr { fill: none; stroke: var(--mf-white); stroke-width: 6; stroke-linecap: round; }
.mf-bike-bb { fill: var(--mf-navy); }
.mf-bike-ext { fill: none; stroke: var(--mf-lys); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .75; }
.mf-bike-ma { stroke: var(--mf-z3); stroke-width: 3; fill: var(--mf-z3); }
.mf-bike-mb { stroke: var(--mf-z5); stroke-width: 3; fill: var(--mf-z5); }
.mf-bike-ca { fill: var(--mf-z3); }
.mf-bike-cb { fill: var(--mf-z5); }
.mf-bike-chip text { font: 700 14px var(--mf-fm); fill: var(--mf-navy); text-anchor: middle; }
.mf-bike-tx text { font: 500 12px var(--mf-fm); fill: var(--mf-lys); }
.mf-calc-fc { margin: 10px 0 0; font-size: .86rem; line-height: 1.45; text-align: center; color: var(--mf-lys); }
.mf-calc-box .mf-scroll { margin: 0 0 18px; color: var(--mf-navy); }
.mf-zt td, .mf-zt th { vertical-align: middle; padding: 9px 8px; }
.mf-zt tbody tr { background: var(--mf-white) !important; }
.mf-zt th[scope="row"] { font-weight: 400; }
.mf-zt-z { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
.mf-zt .mf-zc { grid-row: span 2; font-size: .82rem; padding: 7px 8px; }
.mf-zt-n { font: 700 .98rem/1.25 var(--mf-fb); }
.mf-zt-p { font: 500 .8rem/1.35 var(--mf-fm); color: var(--mf-slate); white-space: nowrap; }
.mf-zt-w { font: 700 .92rem/1.3 var(--mf-fm); color: var(--mf-navy); }
.mf-zt .mf-zt-z { column-gap: 10px; }
.mf-calc-nt { padding-top: 16px; border-top: 1px solid var(--mf-edge-dk); font-size: .95rem; line-height: 1.6; color: var(--mf-lys); }
.mf-calc-nt p { margin: 0 0 10px; }
.mf-calc-nt p:last-child { margin-bottom: 0; }
.mf-calc-nt strong { color: var(--mf-white); }
.mf-calc-box a { color: var(--mf-z4); }
.mf-calc-kl { font-size: .86rem; }

/* Ordbog A–Å */
.mf-az { padding: 14px 0 0; }
.mf-az-l { list-style: none; max-width: var(--mf-w); margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 5px; }
.mf-az-a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 34px; padding: 0 4px; border-radius: 4px; background: var(--mf-navy); color: var(--mf-white); font: 700 .92rem/1 var(--mf-fm); text-decoration: none; }
.mf-az-a:hover { background: var(--mf-z4); color: var(--mf-navy); }
.mf-az-x { background: transparent; color: var(--mf-slate); box-shadow: inset 0 0 0 1px var(--mf-line); }
.mf-tx-ob h2, .mf-tx-ob h3 { scroll-margin-top: 96px; }
.mf-tx-ob h2.mf-bo { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 52px; margin-top: 1.6em; padding: 0 10px; border-radius: var(--mf-r); background: var(--mf-navy); color: var(--mf-z4); font: 700 1.6rem/1 var(--mf-fm); }
.mf-tx-ob h2.mf-bo::before { display: none; }
.mf-tx-ob h3 { margin-top: 1.3em; }
.mf-tx-ob h2.mf-bo + h3 { margin-top: .7em; }

/* FAQ og kilder */
.mf-faq { margin-top: 44px; }
.mf-body > .mf-faq:first-child { margin-top: 0; }
.mf-faq-d { margin: 0 0 8px; border-radius: var(--mf-r); background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); }
.mf-faq-q { position: relative; padding: 16px 52px 16px 18px; font: 700 1.05rem/1.4 var(--mf-fh); cursor: pointer; list-style: none; }
.mf-faq-q::-webkit-details-marker { display: none; }
.mf-faq-q::marker { content: ""; }
.mf-faq-q::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 4px; background: var(--mf-z4); color: var(--mf-navy); font: 700 1.1rem/26px var(--mf-fm); text-align: center; }
.mf-faq-d[open] .mf-faq-q::after { content: "–"; background: var(--mf-navy); color: var(--mf-white); }
.mf-faq-a { margin: 0; padding: 0 18px 18px; line-height: 1.65; }
.mf-src { margin-top: 36px; padding: 18px 20px; border-radius: var(--mf-r); background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); }
.mf-src-h { margin: 0 0 10px; font: 500 .8rem/1.3 var(--mf-fm); letter-spacing: .08em; text-transform: uppercase; color: var(--mf-slate); }
.mf-src-l { margin: 0; padding-left: 1.2em; font-size: .95rem; overflow-wrap: anywhere; }
.mf-src-i { margin: 0 0 4px; }

/* Forrige / næste */
.mf-nx { padding: 4px 0 52px; }
.mf-nx-g { display: grid; gap: 10px; }
.mf-nx-a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--mf-r); color: var(--mf-navy); text-decoration: none; }
.mf-nx-p { background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); }
.mf-nx-dk { background: var(--mf-navy); color: var(--mf-white); }
.mf-nx-d { font: 700 .74rem/1.2 var(--mf-fm); letter-spacing: .08em; text-transform: uppercase; }
.mf-nx-n .mf-nx-d::after { content: " →"; }
.mf-nx-p .mf-nx-d::before { content: "← "; }
.mf-nx-t { font: 700 1.1rem/1.3 var(--mf-fh); }
.mf-nx-a:hover .mf-nx-t { text-decoration: underline; }

/* Kontakt */
.mf-form { position: relative; display: grid; gap: 16px; margin-top: 24px; padding: 22px 18px; border-radius: var(--mf-r); background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); }
.mf-inp-ta { min-height: 168px; resize: vertical; }
.mf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.mf-form-nt { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--mf-slate); }
.mf-body > p[role="status"] { margin: 20px 0 0; padding: 12px 16px; border-radius: var(--mf-r); background: var(--mf-z3); color: var(--mf-navy); font-weight: 700; }

/* Oversigt (list) og 404 */
.mf-ov { display: grid; gap: 28px; margin-top: 8px; }
.mf-ov-h { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 700 1.4rem/1.2 var(--mf-fh); }
.mf-ov-n { padding: 6px 8px; border-radius: 4px; font: 700 .9rem/1 var(--mf-fm); }
.mf-ov-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mf-ov-i { padding: 12px 16px; border-radius: var(--mf-r); background: var(--mf-white); box-shadow: 0 0 0 1px var(--mf-line); }
.mf-ov-a { font-weight: 700; }
.mf-ov-d { display: block; margin-top: 2px; font-size: .92rem; color: var(--mf-slate); }
.mf-nf { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 8px; }
.mf-nf-a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--mf-r); color: var(--mf-navy); text-decoration: none; }
.mf-nf-n { font: 700 1.2rem/1 var(--mf-fm); }
.mf-nf-t { font: 700 1.1rem/1.3 var(--mf-fh); }
.mf-nf-a:hover .mf-nf-t { text-decoration: underline; }
.mf-nf-f { margin: 0; }

/* Footer på én linje */
.mf-ft { background: var(--mf-navy); color: var(--mf-lys); border-top: 6px solid var(--mf-z4); border-image: var(--mf-zones) 1; }
.mf-ft-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 18px; font: 500 .78rem/1.5 var(--mf-fm); }
.mf-ft-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mf-ft-a { color: var(--mf-white); }
.mf-ft-a[aria-current="page"] { color: var(--mf-z4); }

@media (max-width: 559.98px) {
  .mf-tx table { font-size: .86rem; line-height: 1.42; }
  .mf-tx table th, .mf-tx table td { padding: 8px 7px; hyphens: auto; }
  .mf-tx thead th { font: 700 .8rem/1.3 var(--mf-fb); letter-spacing: 0; text-transform: none; }
  .mf-tx caption { padding: 10px 7px 8px; }
  .mf-types-t { min-width: 540px; font-size: .88rem; }
  .mf-types-t th, .mf-types-t td { padding: 9px 8px; }
  .mf-types-t th[scope="row"] { min-width: 116px; padding-left: 13px; }
}

@media (min-width: 560px) {
  .mf-read { grid-template-columns: 1fr 1fr; }
  .mf-calc-f2 { grid-template-columns: 1fr 1fr; }
  .mf-calc-f2 .mf-btn, .mf-calc-f2 .mf-calc-st { grid-column: 1 / -1; }
  .mf-tools-g { grid-template-columns: 1fr 1fr; }
  .mf-zt td, .mf-zt th { padding: 10px 12px; }
  .mf-zt-w { font-size: 1.02rem; }
  .mf-calc-box { padding: 26px 20px; }
  .mf-menu-l { grid-template-columns: 1fr 1fr; column-gap: 12px; }
}

@media (min-width: 640px) {
  .mf-logo svg { height: 36px; }
  .mf-hero { padding: 52px 0 84px; }
  .mf-disp { padding: 18px 20px 16px; }
  .mf-disp-ax { font-size: .74rem; }
  .mf-step { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 22px 22px; }
  .mf-step-m { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mf-step:nth-child(1) { margin-right: 15%; }
  .mf-step:nth-child(2) { margin-right: 10%; }
  .mf-step:nth-child(3) { margin-right: 5%; }
  .mf-step-n { font-size: 2.3rem; }
  .mf-ramp { height: 34px; }
  .mf-ramp-b { width: 10px; }
  .mf-ph { padding-top: 34px; }
  .mf-ph-in { padding-bottom: 64px; }
  .mf-prof-sky { height: 52px; }
  .mf-calc-box { padding: 32px 30px; }
  .mf-calc-h { font-size: 1.75rem; }
  .mf-nx-g { grid-template-columns: 1fr 1fr; }
  .mf-nx-n { order: 2; text-align: right; }
  .mf-form { padding: 28px 26px; }
  .mf-az { position: sticky; top: 0; z-index: 10; padding: 12px 0; background: var(--mf-ice); box-shadow: 0 1px 0 var(--mf-line); }
}
