:root {
  --ink: #252525;
  --black: #000000;
  --sand: #E7E4E0;
  --sand-deep: #D9D2C7;
  --taupe: #857358;
  --taupe-dark: #6B5B43;
  --line: #E6E6E6;
  --white: #FFFFFF;
  --bg: #FBF9F6;
  --muted: #514C44;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Trebuchet MS", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --space: clamp(3.75rem, 6.2vw, 6.2rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1.125rem/1.7 var(--sans); }
body, button, input, select, textarea { -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.09; }
h1 { font-size: clamp(2.45rem, 7.6vw, 5.45rem); letter-spacing: -.052em; }
h2 { font-size: clamp(2.12rem, 3.6vw, 3.6rem); letter-spacing: -.041em; }
h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); letter-spacing: -.025em; }
p { max-width: 70ch; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .21em; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
button { appearance: none; }
img { display: block; max-width: 100%; height: auto; }
ul { padding: 0; list-style: none; }
figure figcaption { margin-top: .48rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); }
main:focus:not(:focus-visible), .form-band:focus:not(:focus-visible) { outline: 0; }
.wrap { width: min(100% - var(--pad) * 2, 79.5rem); margin-inline: auto; }
.section { padding-block: var(--space); }
.ruled { border-top: 1px solid var(--sand-deep); }
.lead { font-size: clamp(1.12rem, 1.4vw, 1.28rem); line-height: 1.57; }
.skip { position: fixed; z-index: 20; top: .5rem; left: 1rem; transform: translateY(-180%); background: var(--white); color: var(--ink); padding: .6rem 1rem; min-height: 44px; }
.skip:not(:focus) { clip-path: inset(50%); }
.skip:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; color: var(--taupe-dark); font: 600 .77rem/1.45 var(--sans); letter-spacing: .105em; text-transform: uppercase; }
.rule { display: inline-block; width: 2rem; height: 1px; background: currentColor; flex: none; }
.actions, .inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-width: 44px; min-height: 48px; padding: .7rem 1.3rem; border: 1px solid var(--ink); border-radius: 2rem; background: var(--ink); color: var(--white); font: 600 1rem/1.3 var(--sans); text-align: center; text-decoration: none; }
.button:hover { background: var(--black); border-color: var(--black); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--sand); }
.button span[aria-hidden], .text-link span[aria-hidden], .area-links span[aria-hidden] { font-family: system-ui, sans-serif; font-weight: 400; }
.arrow-diag, .arrow-next { position: relative; display: inline-block; flex: 0 0 auto; width: .85em; height: .85em; }
.arrow-diag::before, .arrow-next::before { content: ""; position: absolute; top: calc(50% - .7px); left: 0; width: 95%; height: 1.4px; background: currentColor; }
.arrow-diag::after, .arrow-next::after { content: ""; position: absolute; right: .04em; top: 50%; width: .47em; height: .47em; border: solid currentColor; border-width: 1.4px 1.4px 0 0; transform: translateY(-50%) rotate(45deg); }
.arrow-diag { transform: rotate(-45deg); }
.text-link, .privacy-note a { display: inline-flex; align-items: center; gap: .5rem; min-width: 44px; min-height: 44px; color: var(--taupe-dark); font-weight: 600; text-decoration: underline; }
.text-link:hover, .privacy-note a:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* Tastaturnavigation og indbyggede menuer uden script. */
.mast { position: sticky; z-index: 8; top: 0; border-bottom: 1px solid var(--sand-deep); background: var(--bg); }
.mast-inner { position: relative; display: flex; align-items: center; gap: .65rem; min-height: 4.4rem; }
.brand { display: inline-flex; flex-direction: column; gap: .06em; justify-content: center; min-height: 48px; margin-right: auto; color: inherit; text-decoration: none; white-space: nowrap; font: 400 1.27rem/1 var(--serif); letter-spacing: -.038em; }
.brand span:last-child { font-size: .94em; font-style: italic; color: var(--taupe-dark); }
.desktop-nav { display: none; }
.mast-cta { display: none; }
summary { display: flex; align-items: center; min-height: 44px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ""; }
.mobile-menu > summary { justify-content: center; gap: .6rem; padding: .35rem .4rem; min-width: 44px; font-size: 1rem; }
.menu-icon { position: relative; display: inline-block; width: 19px; height: 10px; border-block: 1.5px solid currentColor; }
.mobile-menu[open] > summary .menu-icon { border: 0; }
.mobile-menu[open] > summary .menu-icon::before, .mobile-menu[open] > summary .menu-icon::after { content: ""; position: absolute; top: 4px; width: 19px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.mobile-menu[open] > summary .menu-icon::after { transform: rotate(-45deg); }
.mobile-panel { position: absolute; top: 100%; inset-inline: calc(-1 * var(--pad)); max-height: calc(100vh - 4.4rem); max-height: calc(100dvh - 4.4rem); overflow-y: auto; overscroll-behavior: contain; border-block: 1px solid var(--sand-deep); background: var(--bg); padding: .6rem var(--pad) 1rem; }
.mobile-panel a, .mobile-panel summary, .desktop-nav > a, .desktop-nav summary, .submenu a { display: flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--ink); text-decoration: none; }
.mobile-panel > a, .mobile-panel > .nav-group { border-bottom: 1px solid var(--line); }
.mobile-panel summary { justify-content: space-between; }
.mobile-panel [aria-current="page"], .desktop-nav [aria-current="page"], .footer-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .38em; }
.nav-group summary { gap: .5rem; }
.chevron { display: inline-block; width: 7px; height: 7px; margin: -.22rem .1rem 0; border: solid currentColor; border-width: 0 1.4px 1.4px 0; transform: rotate(45deg); }
.nav-group[open] > summary .chevron { margin: .2rem .1rem 0; transform: rotate(225deg); }
.submenu { padding: .1rem 1rem .5rem; }
.mobile-panel a:hover, .desktop-nav a:hover, .nav-group summary:hover { text-decoration: underline; }
body:has(.mobile-menu[open]) .mobile-cta { display: none; }

/* Forsidens indgang og oversigt. */
.hero { display: grid; gap: 1.6rem; align-items: center; padding-block: clamp(2.1rem, 4.9vw, 4.8rem) clamp(2rem, 4vw, 4rem); }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy h1 em { display: block; color: var(--taupe-dark); font-weight: 400; }
.hero-copy .lead { max-width: 45ch; }
.hero-copy .actions { margin-top: 1.65rem; }
.hero-place { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .5rem; margin-top: 1.4rem; font-size: .88rem; color: var(--muted); }
.hero-place strong { color: var(--ink); font-weight: 600; }
.pin { position: relative; width: 14px; height: 14px; margin: -.28rem .15rem 0 .1rem; border: 1.5px solid var(--taupe-dark); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.pin::after { content: ""; position: absolute; width: 4px; height: 4px; top: 3.5px; left: 3.5px; background: var(--taupe-dark); border-radius: 50%; }
.hero-art img { width: 100%; background: var(--sand); border-radius: 2px clamp(3rem, 8vw, 8rem) 2px 2px; }
.hero-art figcaption, .inset-art figcaption { text-align: right; }
.summary-band { background: var(--sand); }
.summary-inner { padding-block: clamp(1.6rem, 3.3vw, 3rem); }
.summary-inner h2 { margin-bottom: 1.15rem; font-size: 1.85rem; font-style: italic; }
.summary-list { display: grid; gap: 1.05rem; }
.summary-list li { border-left: 1px solid var(--taupe); padding-left: 1rem; }
.summary-list strong, .summary-list span { display: block; }
.summary-list strong { margin-bottom: .15rem; font-size: 1.04rem; font-weight: 650; }
.summary-list span { max-width: 39ch; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.intro-split, .split-story, .read-layout, .clinic-layout, .form-layout { display: grid; align-items: start; gap: 1.65rem; }
.intro-split { margin-bottom: clamp(1.7rem, 4vw, 3.3rem); }
.intro-split h2 { max-width: 22ch; }
.intro-split > p { align-self: end; color: var(--muted); }
.guide-grid { display: grid; border-top: 1px solid var(--taupe); }
.guide-card, .analysis-link { display: flex; justify-content: space-between; align-items: start; gap: 1rem; min-width: 0; padding: 1.6rem .25rem; border-bottom: 1px solid var(--sand-deep); color: var(--ink); text-decoration: none; }
.guide-card h3, .analysis-link h3 { margin-bottom: .55rem; }
.guide-card p, .analysis-link p { max-width: 60ch; font-size: 1.04rem; line-height: 1.62; color: var(--muted); }
.card-arrow, .analysis-link > span { flex: none; font: 400 1.24rem/1.25 system-ui, sans-serif; color: var(--taupe-dark); }
.guide-card:hover h3, .analysis-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.analysis-link { margin-top: 1.35rem; padding: 1.25rem 1.4rem; border: 0; border-radius: 2px; background: var(--sand); }
.analysis-link p { max-width: 67ch; }
.read-band { background: var(--white); border-block: 1px solid var(--line); padding-block: var(--space); }
.inset-art img { width: 100%; background: var(--sand); border-radius: 2px 2px 2px clamp(2.5rem, 7vw, 6.5rem); }
.prose > * + *, .read-copy > * + * { margin-top: .85rem; }
.prose > .eyebrow { margin-top: 0; }
.prose > .eyebrow + h2 { margin-top: 0; }
.prose p, .read-copy p { max-width: 64ch; }
.prose h3, .read-copy h3 { margin-top: 1.7rem; }
.prose h3 + p, .read-copy h3 + p { margin-top: .55rem; }
.split-story h2 { max-width: 18ch; }
.clinic-band { padding-block: var(--space); background: var(--sand); }
.address-card { padding: clamp(1.35rem, 3.5vw, 2.5rem); border: 1px solid var(--taupe); background: var(--bg); }
.address-card h3 { margin-bottom: .65rem; font-size: 2.05rem; }
address { font-style: normal; }
.address-card address, .address-card dl { font-size: 1.02rem; }
.address-card dl { margin-block: 1.25rem .5rem; }
.address-card dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .8rem; padding-block: .5rem; border-top: 1px solid var(--sand-deep); }
.address-card dd { font-weight: 600; }
.area-block { grid-column: 1 / -1; padding-top: 1rem; }
.area-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.area-links a { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; min-width: 44px; padding: .4rem 1rem; border: 1px solid var(--taupe-dark); border-radius: 2rem; font-size: .98rem; text-decoration: none; }
.area-links a:hover { background: var(--bg); }
.faq-list { border-top: 1px solid var(--taupe); }
.faq { border-bottom: 1px solid var(--sand-deep); }
.faq summary { justify-content: space-between; gap: 1rem; padding: 1rem .15rem 1rem 0; font-size: 1.1rem; line-height: 1.5; font-weight: 600; }
.faq summary::after { content: "+"; flex: none; color: var(--taupe-dark); font: 400 1.6rem/1 var(--sans); }
.faq[open] > summary::after { content: "−"; }
.faq summary:hover { color: var(--taupe-dark); }
.faq p { margin: -.1rem 0 1.2rem; max-width: 63ch; }

/* Kontaktformular, med fælles felter til både korte og lange sider. */
.form-band { padding-block: var(--space); background: var(--sand); }
.form-intro > p:not(.eyebrow) { margin-top: 1rem; max-width: 39ch; }
.form-intro .text-link { margin-top: .55rem; }
.dialog-form { position: relative; min-width: 0; border: 1px solid var(--sand-deep); padding: clamp(1.1rem, 3.3vw, 2.8rem); background: var(--bg); }
.field-note { margin-bottom: 1.25rem; color: var(--muted); font-size: .93rem; }
.fields { display: grid; gap: 1rem 1.25rem; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: .28rem; font-weight: 600; font-size: 1rem; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid var(--taupe); border-radius: 3px; padding: .55rem .7rem; background: var(--white); color: var(--ink); font: 1rem/1.5 var(--sans); }
.field select { padding-right: 1.8rem; }
.field textarea { min-height: 7rem; resize: vertical; }
.field textarea::placeholder, .field input::placeholder { opacity: 1; color: var(--muted); }
.field small, .privacy-note { display: block; color: var(--muted); font-size: .89rem; line-height: 1.55; }
.field small { margin-top: .25rem; }
.form-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.check { display: flex; align-items: flex-start; gap: .75rem; min-height: 44px; margin: 1.35rem 0 .6rem; font-size: .99rem; line-height: 1.55; cursor: pointer; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin: .18rem 0 0; accent-color: var(--ink); }
.privacy-note a { font-weight: 600; }
.send { margin-top: .9rem; }
.mobile-cta { position: fixed; z-index: 7; right: 0; bottom: 0; left: 0; padding: .55rem var(--pad) max(.55rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--sand-deep); background: var(--bg); }
.mobile-cta .button { width: 100%; min-height: 44px; }
body:has(#kontakt-formular:target) .mobile-cta, body:has(.dialog-form:focus-within) .mobile-cta { display: none; }
.footer { padding-block: 3rem 6.2rem; background: var(--ink); color: var(--bg); }
.footer .brand { font-size: 1.7rem; margin-bottom: 1.2rem; }
.footer .brand span:last-child { color: var(--sand-deep); }
.footer-grid, .footer-nav { display: grid; gap: 2rem; }
.footer-identity p { max-width: 41ch; font-size: .96rem; line-height: 1.6; color: var(--sand); }
.footer-identity p + p { margin-top: .9rem; }
.footer-nav { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.8rem), 1fr)); gap: 1rem; }
.footer-nav h2 { margin-bottom: .45rem; font-size: 1.45rem; letter-spacing: -.015em; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: .96rem; color: var(--sand); text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer a:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 3px var(--ink); }
.error-page { padding-block: 1.5rem var(--space); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; color: var(--muted); font-size: .97rem; margin-bottom: 2.2rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--taupe-dark); }
.error-page h1 { margin-bottom: 1rem; }
.error-page .actions, .error-links { margin-top: 1.65rem; }
.error-links h2 { font-size: 1.85rem; margin-bottom: .4rem; }

@media (min-width: 29rem) {
  .mast-cta { display: inline-flex; min-height: 44px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field.wide { grid-column: 1 / -1; }
}
@media (min-width: 40rem) {
  .summary-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
  .guide-card { padding-block: 1.85rem; }
  .analysis-link { padding: 1.45rem 1.8rem; }
}
@media (min-width: 43rem) {
  .hero { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.8vw, 4rem); }
  .hero h1 { font-size: clamp(2.65rem, 5.45vw, 5.45rem); }
  .intro-split, .split-story { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); column-gap: clamp(2.2rem, 7.5vw, 7.4rem); }
  .read-layout { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(2.2rem, 6vw, 6rem); }
  .read-layout figure { margin-top: .3rem; }
  .clinic-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); column-gap: clamp(2rem, 6vw, 6rem); }
  .form-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); }
  .footer-grid { grid-template-columns: minmax(11rem, 1fr) minmax(0, 2fr); gap: 2.6rem; }
}
@media (min-width: 60rem) {
  .mast-inner { min-height: 5rem; gap: clamp(.8rem, 2.3vw, 2.2rem); }
  .mast .brand { font-size: 1.5rem; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(.65rem, 1.7vw, 1.9rem); font-size: .94rem; line-height: 1.4; }
  .desktop-nav > .nav-group { position: relative; }
  .desktop-nav .submenu { position: absolute; left: -.8rem; top: calc(100% + 1px); z-index: 9; width: max-content; min-width: 11rem; padding: .45rem; border: 1px solid var(--sand-deep); background: var(--bg); box-shadow: 0 8px 24px rgb(37 37 37 / .09); }
  .desktop-nav .submenu a { padding: .3rem .65rem; }
  .mobile-menu, .mobile-cta { display: none; }
  .hero-place { margin-top: 1.9rem; }
  .hero-copy .eyebrow { margin-bottom: 1.5rem; }
  .summary-inner { display: grid; grid-template-columns: .56fr 2.44fr; align-items: start; gap: 1rem; }
  .summary-inner h2 { margin: 0; font-size: 2.1rem; }
  .summary-list { gap: clamp(.8rem, 3vw, 3.1rem); }
  .footer { padding-block: 4rem; }
}
@media (max-width: 28.95rem) {
  .mast-inner { gap: .35rem; }
  .mast-cta { display: inline-flex; min-height: 44px; padding: .45rem .7rem; font-size: .91rem; }
  .mast-cta span, .mobile-menu > summary > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mobile-menu > summary { width: 44px; }
  .dialog-form { margin-inline: -.35rem; }
  .hero-copy .actions { gap: .55rem; }
  .hero-copy .actions .button { font-size: .94rem; padding-inline: 1.03rem; }
  .hero-copy .actions .secondary { padding-inline: .4rem; border-color: transparent; text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Oversigten kan læses på smalle skærme. */
table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; }
caption { text-align: left; margin-bottom: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 1rem .6rem; border-bottom: 1px solid var(--sand-deep); }
thead { background: var(--sand); }
td a { display: inline-block; padding-block: .5rem; }
