/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-ink: #1c2b3a;          /* deep navy — primary */
  --color-ink-soft: #3d4b5a;
  --color-ink-80: #48545f;       /* navy at 80 % on ivory — framed dark panels */
  --frame-line: rgba(201, 173, 130, .5); /* thin brass inner frame */
  --color-text: #2a2f35;
  --color-muted: #5f6873;
  --color-bg: #faf8f4;           /* warm ivory */
  --color-bg-alt: #f1ede5;
  --color-surface: #ffffff;
  --color-border: #ddd6ca;
  --color-accent: #9a7b4f;       /* muted brass */
  --color-accent-dark: #7d6340;
  --color-error: #a63a2f;
  --color-success: #2f6b46;

  /* System font stacks — no external requests (good for speed & GDPR) */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(28, 43, 58, .06), 0 8px 24px rgba(28, 43, 58, .06);
  --header-h: 76px;      /* header height once scrolled (compact) */
  --header-h-top: 100px; /* header height at the top of the page */
  --space-section: clamp(2.75rem, 5.5vw, 4.5rem); /* reduced, like the space above the headline */
}

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

html {
  scroll-behavior: smooth;
  /* Where menu links land: below the compact header + its fade.
     --anchor-offset is measured by js/main.js; the fallback is used without JS. */
  scroll-padding-top: var(--anchor-offset, 170px);
  -webkit-text-size-adjust: 100%;
  /* Area revealed when scrolling past the top / bottom (overscroll):
     same navy 80 % as the menu bar, contact section and footer.
     The page itself keeps its own ivory background on <body>. */
  background: var(--color-ink-80); /* overscroll above and below = header / contact / footer tone */
  background-color: var(--color-ink-80);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--color-ink); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-dark); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--color-ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.narrow { max-width: 780px; }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-accent-dark);
  margin-bottom: .75rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: .9rem 1.75rem;
  font: 600 .95rem/1.2 var(--font-sans);
  letter-spacing: .02em;
  text-decoration: none;
  color: #fff;
  background: var(--color-ink);
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
/* Clear change on hover and keyboard focus: navy to brass (white on #7d6340 = 5.6:1 contrast) */
.btn:hover,
.btn:focus-visible { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--color-ink); }
.btn-outline:hover,
.btn-outline:focus-visible { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }

.btn-small { padding: .6rem 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-ink-80); /* dark bar, same tone as the contact section */
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 0;
  color: #fff;
}
/* Soft transition from the dark bar into the page below.
   S-curve stops (not linear), so the fade has no visible edge or band;
   starts 1px inside the bar to avoid a hairline seam. */
.site-header::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  height: var(--header-fade, 40px);
  /* S-curve (smoothstep): gentle start, even middle, gentle end */
  background: linear-gradient(to bottom,
    rgba(72, 84, 95, 1) 0%,
    rgba(72, 84, 95, .972) 10%,
    rgba(72, 84, 95, .896) 20%,
    rgba(72, 84, 95, .784) 30%,
    rgba(72, 84, 95, .648) 40%,
    rgba(72, 84, 95, .5) 50%,
    rgba(72, 84, 95, .352) 60%,
    rgba(72, 84, 95, .216) 70%,
    rgba(72, 84, 95, .104) 80%,
    rgba(72, 84, 95, .028) 90%,
    rgba(72, 84, 95, 0) 100%);  pointer-events: none;
}

/* Mirrored fade at the bottom: the section right before a dark section
   (FAQ before Kontakt) fades into the dark tone with the same S-curve. */
.section:has(+ .section-dark)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--header-fade, 40px);
  background: linear-gradient(to top,
    rgba(72, 84, 95, 1) 0%,
    rgba(72, 84, 95, .972) 10%,
    rgba(72, 84, 95, .896) 20%,
    rgba(72, 84, 95, .784) 30%,
    rgba(72, 84, 95, .648) 40%,
    rgba(72, 84, 95, .5) 50%,
    rgba(72, 84, 95, .352) 60%,
    rgba(72, 84, 95, .216) 70%,
    rgba(72, 84, 95, .104) 80%,
    rgba(72, 84, 95, .028) 90%,
    rgba(72, 84, 95, 0) 100%);
  pointer-events: none;
}/* Light versions of logo, menu and language line on the dark bar */
.site-header .brand-bubble { fill: var(--color-bg); }
.site-header .brand:hover .brand-bubble { fill: #fff; }
.site-header .brand-section { stroke: var(--color-accent); }
.site-header .brand-name { color: #fff; }
.site-header .brand-accent { color: #c9ad82; }
.site-header .brand-tagline { color: #c3ccd5; }
.site-header .header-pairs { color: #c9ad82; }
.site-header .site-nav a:not(.btn) { color: #e3e8ec; }
.site-header .site-nav a:not(.btn):hover,
.site-header .site-nav a.is-active { color: #fff; border-bottom-color: #c9ad82; }
.site-header .btn { background: var(--color-bg); border-color: var(--color-bg); color: var(--color-ink); }
.site-header .btn:hover { background: #fff; border-color: #fff; color: var(--color-ink); }
.site-header .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.site-header .btn-outline:hover { background: var(--color-bg); border-color: var(--color-bg); color: var(--color-ink); }
.site-header .nav-toggle-bar { background: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h-top);
  transition: height .35s ease;
}
.site-header.is-scrolled .header-inner { height: var(--header-h); }

/* Logo lockup: mark + name on one line, tagline below aligned to the
   mark's left edge. --logo-scale 1 = full size at the top of the page;
   the header shrinks to a compact version once you scroll. */
.brand {
  --logo-scale: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: start;
  column-gap: calc(.7rem * var(--logo-scale));
  row-gap: calc(.45rem * var(--logo-scale));
  text-decoration: none;
  color: var(--color-ink);
}
.site-header.is-scrolled .brand { --logo-scale: .75; }
.brand-text { display: contents; }

/* Logo: § (two S's – Rets/Sprog) inside a speech bubble */
.brand-mark {
  grid-column: 1;
  grid-row: 1;
  width: calc(48px * var(--logo-scale));
  height: calc(48px * var(--logo-scale));
  overflow: visible;
  transition: width .35s ease, height .35s ease;
}
.brand-bubble { fill: var(--color-ink); transition: fill .3s; }
.brand-section {
  fill: none;
  stroke: #c9ad82;
  stroke-width: 2.7;
  stroke-linecap: round;
}
.brand:hover .brand-bubble { fill: var(--color-ink-soft); }


.brand-name {
  grid-column: 2;
  grid-row: 1;
  font: 500 calc(2.4rem * var(--logo-scale))/1 var(--font-serif);
  letter-spacing: -0.01em;
  color: var(--color-ink);
  transition: font-size .35s ease;
}
.brand-accent { color: var(--color-accent-dark); }
.brand-tagline {
  grid-column: 1 / -1;
  grid-row: 2;
  line-height: 1;
  font-size: calc(.8rem * var(--logo-scale));
  transition: font-size .35s ease;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Language pairs: a centred row under logo and menu, same spacing as
   before; scales with the logo when the header shrinks on scroll. */
.header-pairs-row { --logo-scale: 1; }
.site-header.is-scrolled .header-pairs-row { --logo-scale: .75; }
.header-pairs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem calc(3rem * var(--logo-scale)); /* five language pairs on one line */
  margin: 0;
  padding: calc(.9rem * var(--logo-scale)) 0 calc(1.6rem * var(--logo-scale)); /* air above and below */
  font: 600 calc(.72rem * var(--logo-scale))/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  transition: font-size .35s ease, gap .35s ease, padding .35s ease;
}
.header-pairs span { white-space: nowrap; }
/* The language line lives in the header on desktop; in the hero on mobile */
.hero .hero-pairs--mobile { display: none; }
/* Right side of the header: menu + language switcher (+ menu button on mobile) */
/* Desktop: menu on top, language switcher centred under the Kontakt button */
.header-right { position: relative; display: flex; align-items: center; }
.site-header .site-nav .btn-small { min-width: 8.25rem; text-align: center; } /* fits the longest language ("Kontakta oss") */
.header-right .lang-switch {
  position: absolute; /* hangs under Kontakt without moving the menu */
  top: calc(100% + .35rem);
  right: 0;
  width: 8.25rem; /* same width as the Kontakt button above */
}
/* Language switcher text flush with the right edge of the Kontakt button above */
.header-right .lang-switch summary { justify-content: flex-end; padding-right: 0; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: .45rem .6rem;
  font: 600 .8rem/1 var(--font-sans);
  letter-spacing: .1em;
  color: #e3e8ec;
  border: 0; /* no frame: a quiet text button */
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 .15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.lang-switch[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.lang-switch summary:hover,
.lang-switch[open] summary { color: #c9ad82; }
.lang-switch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-switch ul {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  z-index: 60;
  min-width: 8.25rem; /* same width as the Kontakt button */
  margin: 0;
  padding: .4rem 0;
  list-style: none;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 43, 58, .22);
}
.lang-switch li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding: .55rem .9rem;
  font-size: .95rem;
  color: var(--color-ink);
  text-decoration: none;
}
.lang-switch li a:hover { background: var(--color-bg-alt); color: var(--color-ink); }
.lang-switch a[aria-current] { font-weight: 600; }
.lang-switch a[aria-current]::after { content: "✓"; color: var(--color-accent); }
/* Versions not built yet: shown, but not clickable */
.lang-switch a.is-soon { color: var(--color-muted); opacity: .7; pointer-events: none; cursor: default; }
.lang-switch a.is-soon small { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-dark); }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.btn) {
  font-size: .95rem;
  text-decoration: none;
  color: var(--color-text);
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.site-nav a:not(.btn):hover,
.site-nav a.is-active { color: var(--color-ink); border-bottom-color: var(--color-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--color-ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); /* less air above the headline */
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(241, 237, 229, 0) 0%, var(--color-bg-alt) 100%);
}
.hero-inner { max-width: 860px; }

/* --------------------------------------------------------------------------
   Background glyphs — large, cropped, tone-on-tone letterforms
   Position/size per glyph via inline custom properties in the HTML:
   --top / --right / --bottom / --left, --size, --rotate, --tone
   -------------------------------------------------------------------------- */
:root {
  /* Tones at full strength (section centred in view) */
  --glyph-ink: rgba(28, 43, 58, .13);       /* navy */
  --glyph-accent: rgba(154, 123, 79, .22);  /* warm brass */
  --glyph-light: rgba(255, 255, 255, .12);  /* on dark sections */
  --glyph-rest: .015;                       /* strength when a section is out of focus (0–1) */
  --glyph-parallax: 4.4;                    /* gearing: multiplies every glyph's --speed. Positive = glyphs glide faster than the scroll; negative = slower; 0 = off */
}
.hero,
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip; /* keeps position: sticky working where supported */
}
.bg-glyph {
  position: absolute;
  top: var(--top, auto);
  right: var(--right, auto);
  bottom: var(--bottom, auto);
  left: var(--left, auto);
  z-index: -1;
  font: 400 min(var(--size, 30rem), 85vw)/.8 var(--font-serif);
  color: var(--tone, var(--glyph-ink));
  transform: translate3d(0, var(--shift, 0px), 0) rotate(var(--rotate, 0deg));
  pointer-events: none;
  user-select: none;
  /* --strength (0–1) and --shift (px) are set by js/main.js as you scroll; .5 without JS */
  opacity: calc(var(--glyph-rest) + (1 - var(--glyph-rest)) * var(--strength, .5));
  transition: opacity .5s ease-out;
  will-change: opacity, transform;
}
.section-dark .bg-glyph { color: var(--glyph-light); }

/* --------------------------------------------------------------------------
   Scroll rail — progress line with section glyphs in the left margin.
   Only shown where there is free margin beside the content.
   -------------------------------------------------------------------------- */
.scroll-rail {
  /* One colour scheme for the whole page (no switch over the toned section):
     a mid-tone brass that reads on both ivory and the 80 % navy. */
  --rail-line: rgba(154, 123, 79, .22);
  --rail-fill: rgba(154, 123, 79, .6);
  --rail-glyph: #9a7b4f;
  --rail-glyph-active: #9a7b4f;
  --rail-label-bg: var(--color-bg);

  position: fixed;
  left: max(1.25rem, calc((100vw - var(--container)) / 2 - 4.5rem));
  top: 50%;
  z-index: 40;
  display: none;
  height: min(46vh, 400px);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .6s ease;
}
.scroll-rail.is-ready { opacity: 1; } /* discs stay solid; glyphs are toned via colour */

.rail-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--rail-line);
  /* Gaps in the line around each glyph (7 glyphs, 22px each, evenly spaced),
     so the line never runs through a glyph — on any background. */
  --gap-step: calc((100% - 22px) / var(--rail-steps, 6)); /* --rail-steps set on the rail in the HTML */
  -webkit-mask-image: repeating-linear-gradient(to bottom,
    transparent 0 26px, #000 26px calc(var(--gap-step) - 4px), transparent calc(var(--gap-step) - 4px) var(--gap-step));
  mask-image: repeating-linear-gradient(to bottom,
    transparent 0 26px, #000 26px calc(var(--gap-step) - 4px), transparent calc(var(--gap-step) - 4px) var(--gap-step));
}
.rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: calc(var(--progress, 0) * 100%);
  background: var(--rail-fill);
  transition: background-color .4s;
}

.scroll-rail ol {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scroll-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font: 700 12px/1 var(--font-serif);
  text-decoration: none;
  color: rgba(28, 43, 58, .3);  /* toned down (not the active section) */
  /* Filled disc in the tone of the section this glyph belongs to:
     exactly the background colour of that section (set by js/main.js). */
  background: var(--disc, var(--color-bg));
  border-radius: 50%;
  opacity: 1;
  transform: none;
  transition: color .4s, opacity .4s, transform .4s, background-color .4s;
}
/* Glyph tone: dark when its section is active (the disc sits on its own
   background), toned down otherwise. The toned section's glyph is the
   opposite: light when active, toned down otherwise. */
.scroll-rail a.is-current { color: var(--color-ink); transform: scale(1.1); }
.scroll-rail a.disc-dark { color: rgba(250, 248, 244, .35); }
.scroll-rail a.disc-dark.is-current { color: var(--color-bg); }
.scroll-rail a:hover,
.scroll-rail a:focus-visible { color: var(--color-ink); }
.scroll-rail a.disc-dark:hover,
.scroll-rail a.disc-dark:focus-visible { color: var(--color-bg); }

/* Section name appears to the right on hover / keyboard focus */
.scroll-rail a::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + .5rem);
  top: 50%;
  padding: .2rem .55rem;
  font: 600 .7rem/1.4 var(--font-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-ink);
  background: var(--rail-label-bg);
  border-radius: 2px;
  opacity: 0;
  transform: translate(-4px, -50%);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.scroll-rail a:hover::after,
.scroll-rail a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

@media (min-width: 1260px) {
  .scroll-rail { display: block; }
}

.hero .eyebrow { text-align: center; } /* language pairs centred, like the buttons */
.hero-pairs {                               /* three separate units */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 6rem;
}
.hero-pairs span { white-space: nowrap; }
/* Mobile: the four languages on one line (the five pairs are listed under "Sprog") */
.hero .hero-langs { gap: .3rem 0; font-size: .74rem; letter-spacing: .08em; }
.hero .hero-langs span + span::before { content: "·"; margin: 0 .5em; }
/* Narrow screens: justified text leaves big gaps (long Polish words) – align left instead */
@media (max-width: 600px) {
  .hero .lead { text-align: left; }
}
.hero h1 { margin-bottom: 1.5rem; text-wrap: balance; } /* even line lengths */
.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--color-muted);
  /* Same width and edges as the two buttons below (2 × 17.5rem + 6rem gap) */
  max-width: calc(2 * 15.5rem + 6rem); /* ≈ 68 characters per line */
  margin-inline: auto;
  text-align: justify;
  hyphens: manual; /* only break at the soft hyphens (&shy;) set in the HTML */
  -webkit-hyphens: manual;
  margin-bottom: 2.25rem;
}
/* Two equal-width buttons, centred over the line below (.hero-facts) */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 15.5rem)); /* identical widths; shrink equally if space is tight */
  gap: 1rem 6rem; /* same horizontal spacing as the language pairs above */
  justify-content: center;                   /* centred across the full width of the line below */
  width: 100%;
}
.hero-actions .btn {
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3.5rem;
  margin: 3.5rem 0 0;
  padding: 2rem 0 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong {
  font: 500 1.6rem/1.2 var(--font-serif);
  color: var(--color-ink);
}
.hero-facts span { font-size: .9rem; color: var(--color-muted); max-width: 230px; }
/* Wide screens: always three columns on one line, whatever the language (texts differ in length) */
@media (min-width: 861px) {
  .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1.5rem 2rem; }
  /* Same height in every language, so buttons, key points and the background § sit
     in the same place when switching language (texts differ in length) */
  .hero .lead { min-height: 7lh; }
  .hero-facts span { min-height: 3lh; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--color-bg-alt); }
/* Dark section: same 80 % navy as the top bar, no frame */
.section-dark {
  background: var(--color-ink-80);
  color: #e3e8ec;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #c9ad82; }

.section-header { max-width: 640px; margin-bottom: 2.5rem; }
.section-header p:not(.eyebrow) { max-width: 34rem; } /* ≈ 70 characters per line */
.section-header p:last-child { color: var(--color-muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* Services */
.service-groups {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1.5rem;
  align-items: stretch; /* right column matches the left panel's height */
}
.service-side {
  display: grid;
  grid-template-rows: auto 1fr; /* dark card grows to fill the remaining height */
  gap: 1.5rem;
}

.service-group:hover { transform: none; }
.service-group-header {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-bottom: 1.25rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--color-border);
}
.service-group-header .card-icon { margin: 0; }
.service-group-header h3 { margin: 0; font-size: 1.5rem; }

.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid #ece6db;
}
.service-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.55rem;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}
.service-list strong {
  display: block;
  font: 500 1.1rem/1.35 var(--font-serif);
  color: var(--color-ink);
}
.service-list span { display: block; margin-top: .2rem; font-size: .975rem; color: var(--color-muted); }
.card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: #cfc5b5;
}
.card p { color: var(--color-muted); font-size: .975rem; margin: 0; }
/* "Hasteopgaver" card: navy at 80 % (mixed with the page ivory), an inner
   brass hairline frame, content centred in whatever height it gets. */
.card-highlight {
  --highlight-bg: var(--color-ink-80);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.75rem;
  background: var(--highlight-bg);
  border-color: var(--highlight-bg);
  color: #e3e8ec;
  outline: 1px solid var(--frame-line);
  outline-offset: -14px;
}
.card-highlight:hover { border-color: var(--highlight-bg); }
.card-highlight h3 { color: #fff; }
.card-highlight p { color: #dde3e8; }
.card-highlight .card-icon { stroke: #c9ad82; }
.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #c9ad82;
}
.card-link:hover { color: #c9ad82; }
.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.25rem;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Languages */
.language-list { margin: 0; padding: 0; list-style: none; }
.language-list li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  font: 500 1.2rem var(--font-serif);
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.language-list li + li { margin-top: .75rem; }
.language-list .lang { display: flex; flex-direction: column; line-height: 1.3; }
.language-list .arrow + .lang { align-items: flex-end; text-align: right; }
.language-list .ipa {
  margin-top: .2rem;
  font: 400 .8rem var(--font-sans);
  letter-spacing: .02em;
  color: var(--color-muted);
}
.language-list .arrow { color: var(--color-accent); font-family: var(--font-sans); }

/* About */
.split-about { grid-template-columns: 5fr 7fr; align-items: start; }
.about-intro { position: sticky; top: var(--anchor-offset, 170px); }
.about-lead { font-size: 1.15rem; color: var(--color-ink-soft); }
.pull-quote {
  margin: 2rem 0 0;
  padding: .25rem 0 .25rem 1.5rem;
  border-left: 2px solid var(--color-accent);
}
.pull-quote p {
  margin: 0;
  font: italic 400 1.2rem/1.6 var(--font-serif);
  color: var(--color-ink);
}

.legal-closing {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: .95rem;
  color: var(--color-muted);
}
.legal-closing + .legal-closing { margin-top: .75rem; padding-top: 0; border-top: 0; }


/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.steps p { font-size: .975rem; margin: 0; color: var(--color-muted); }
.step-number {
  display: block;
  font: 400 2.25rem/1 var(--font-serif);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq details:first-child { border-top: 1px solid var(--color-border); }
.faq summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  font: 500 1.15rem var(--font-serif);
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font: 300 1.6rem var(--font-sans);
  color: var(--color-accent);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--color-muted); padding-bottom: 1.25rem; margin: 0; max-width: 32rem; } /* ≈ 68 characters per line */

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-details { margin: 2rem 0 0; }
.contact-details div {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}
.contact-details dt {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-muted);
}
.contact-details dd { margin: .2rem 0 0; color: var(--color-ink); }
/* Contact sits on the dark (80 % navy) section */
.section-dark .contact-info > p { color: #dde3e8; }
.section-dark .contact-details div { border-top-color: rgba(255, 255, 255, .18); }
.section-dark .contact-details dt { color: #c9ad82; }
.section-dark .contact-details dd,
.section-dark .contact-details a { color: #fff; }
.section-dark .contact-details a:hover { color: #c9ad82; }
.section-dark .contact-form { box-shadow: 0 12px 32px rgba(0, 0, 0, .18); border-color: transparent; }

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(154, 123, 79, .18);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--color-error); }
.field-error { margin: .35rem 0 0; font-size: .85rem; color: var(--color-error); min-height: 0; }
.field-error:empty { display: none; }
.field label .optional { font-weight: 400; color: var(--color-muted); }
/* Shared hint for the mobil / e-mail pair */
.field-hint { margin: -.6rem 0 1.25rem; font-size: .85rem; color: var(--color-muted); }
.field-hint.is-error { color: var(--color-error); }

.field-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
}
.field-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: .2rem;
  accent-color: var(--color-ink);
}
.field-checkbox label { font-weight: 400; font-size: .9rem; color: var(--color-muted); margin: 0; }
.field-checkbox .field-error { grid-column: 2; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--color-success); }
.form-status.is-error { color: var(--color-error); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 2rem 0;
  font-size: .9rem;
  color: #c3ccd5;
  background: var(--color-ink-80); /* same tone as the contact section above */
  border-top: 1px solid rgba(255, 255, 255, .14); /* thin line separating footer from the form section */
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-footer p { margin: 0; }
.site-footer ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #d5dbe1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Legal pages (imprint / privacy)
   ========================================================================== */
.legal { padding: var(--space-section) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal .placeholder-note {
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: .95rem;
  background: #fbf3e4;
  border-left: 3px solid var(--color-accent);
}

/* ==========================================================================
   Version 2.0 additions
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Dropdown menus (desktop) --- */
.site-nav .has-sub { position: relative; }
.site-nav > ul > li > a { white-space: nowrap; } /* never break menu items or their arrows */
.site-nav .has-sub > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0 3px .4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
}
.site-nav .sub {
  display: block;                    /* vertical list, not the flex row of the main menu */
  position: absolute;
  top: 100%;
  left: -1rem;
  z-index: 60;
  min-width: 15rem;
  margin: 0;
  padding: .85rem 0 .4rem;          /* top padding bridges the hover gap */
  list-style: none;
  background: transparent;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.site-nav .sub::before {             /* the visible panel */
  content: "";
  position: absolute;
  inset: .45rem 0 0;
  z-index: -1;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 43, 58, .22);
}
.site-nav .has-sub:hover > .sub,
.site-nav .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.site-nav .sub li { display: block; }
.site-header .site-nav .sub a:not(.btn) {
  display: block;
  padding: .5rem 1.1rem;
  font-size: .92rem;
  color: var(--color-ink);
  border-bottom: 0;
  white-space: nowrap;
}
.site-header .site-nav .sub a:not(.btn):hover,
.site-header .site-nav .sub a.is-active { background: var(--color-bg-alt); color: var(--color-ink); }

/* --- Interpreting modes --- */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.mode h3 { margin-bottom: .5rem; }

/* --- Typical case areas --- */
.case-areas {
  display: flex;
  flex-direction: column; /* heading and list centred under the line */
  align-items: center;
  text-align: center;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.case-areas h3 {
  margin: 0;
  font: 600 .8rem/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}
.case-areas ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .5rem; margin: 0; padding: 0; list-style: none; }
/* Plain text on the section background, separated by thin dots */
.case-areas li {
  font-size: .95rem;
  color: var(--color-ink);
}
.case-areas li + li::before {
  content: "·";
  margin-right: .5rem;
  color: var(--color-accent);
}

/* --- Notarisation --- */
.notar-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.notar-steps .step-number { font-size: 1.75rem; }
.notar-steps p { margin: 0; }
.notar-help {
  padding: 1.75rem 2rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.notar-help h3 { margin-bottom: .25rem; }
.notar-help .service-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
.notar-help .service-list li { border-bottom: 0; }

/* --- Audiences --- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.audience h3 { margin-bottom: .25rem; }
.audience .service-list li { padding-top: .7rem; padding-bottom: .7rem; }
.audience .service-list li::before { top: 1.2rem; }
.audience .service-list span { margin-top: 0; }

/* --- Prices --- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.price h3 { margin-bottom: .4rem; }
.price-note { margin: 1.5rem 0 0; font-size: .95rem; color: var(--color-muted); max-width: 760px; }

/* --- Guides ("Vigtig viden") --- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.guide h3 { margin-bottom: .5rem; }
.guide details { margin-top: 1rem; }
.guide summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-accent-dark);
  cursor: pointer;
  list-style: none;
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: "+"; font-size: 1.1rem; transition: transform .2s; }
.guide details[open] summary::after { transform: rotate(45deg); }
.guide details ul { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--color-muted); font-size: .95rem; }
.guide details li { margin-bottom: .4rem; }

/* --- Contact form: request type + booking fields --- */
.request-type { margin: 0 0 1.5rem; padding: 0; border: 0; }
.request-type legend { margin-bottom: .5rem; font-size: .9rem; font-weight: 600; color: var(--color-ink); }
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  padding: .7rem .75rem;
  text-align: center;
  font-size: .92rem;
  font-weight: 600;
  color: var(--color-muted);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.segmented input:checked + label { background: var(--color-ink); color: #fff; box-shadow: 0 1px 3px rgba(28, 43, 58, .2); }
.segmented input:focus-visible + label { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.booking-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.booking-fields[hidden] { display: none; }
.field select,
.field input[type="date"],
.field input[type="time"] { min-height: 3.05rem; }
/* iPhone Safari draws date/time fields its own way: wider than the column and centred.
   Make them behave like the other fields (full width, text on the left). */
.field input[type="date"],
.field input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}
.field input::-webkit-date-and-time-value { text-align: left; }

/* ==========================================================================
   Scroll reveal (only active when JS adds .js to <html>)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .service-groups { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .service-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}

/* Header switches to the menu button: logo + full menu need ~1180px */
@media (max-width: 1180px) {
  :root { --header-h: 88px; --header-h-top: 88px; }
  .brand,
  .site-header.is-scrolled .brand { --logo-scale: .75; }
  .nav-toggle { display: flex; order: 2; }
  .header-right { display: flex; align-items: center; gap: .75rem; }
  .header-right .lang-switch { position: relative; top: auto; width: auto; }
  .header-right .lang-switch summary { justify-content: center; padding-right: .6rem; }
  .header-pairs-row { display: none; }
  .hero .hero-pairs--mobile { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-ink-80);
    border-bottom: 0;
    box-shadow: 0 12px 24px rgba(28, 43, 58, .08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.5rem 1.5rem;
  }
  .site-nav li a:not(.btn) {
    display: block;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .site-header .site-nav a:not(.btn):hover,
  .site-header .site-nav a.is-active { border-bottom-color: rgba(255, 255, 255, .14); }
  .site-nav .btn { display: block; text-align: center; margin-top: 1.25rem; }
  .site-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  /* Submenus are listed inline (indented) in the mobile menu */
  .site-nav .sub { position: static; visibility: visible; opacity: 1; transform: none; min-width: 0; padding: 0 0 .4rem 1rem; }
  .site-nav .sub::before,
  .site-nav .has-sub > a::after { display: none; }
  .site-header .site-nav .sub a:not(.btn) { padding: .55rem 0; font-size: .9rem; color: #c3ccd5; white-space: normal; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-header .site-nav .sub a:not(.btn):hover,
  .site-header .site-nav .sub a.is-active { background: transparent; color: #fff; }

}

/* Content layout switches to one column */
@media (max-width: 860px) {
  .split,
  .split-about,
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { position: static; }
  /* Case areas wrap on narrow screens: use space instead of dots (no dangling dots) */
  .case-areas ul { gap: .4rem 1.25rem; }
  .case-areas li + li::before { content: none; }
  .mode-grid,
  .notar-steps,
  .audience-grid,
  .price-grid { grid-template-columns: 1fr; }
  .notar-help .service-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .guide-grid,
  .service-side,
  .steps,
  .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .hero-actions { grid-template-columns: 1fr; gap: 1rem; }
  .hero-pairs { gap: .75rem 2.5rem; }
  .hero-facts { gap: 1.5rem 2.5rem; }
  .brand-tagline { display: none; }
  :root { --header-h: 76px; --header-h-top: 76px; }
  .brand,
  .site-header.is-scrolled .brand { --logo-scale: .8; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .contact-form, .site-footer nav, .scroll-rail, .bg-glyph { display: none; }
  .section-dark { background: none; color: inherit; }
  .section-dark h2, .section-dark h3 { color: inherit; }
}

/* Used briefly by js/main.js while measuring the compact header */
.site-header.no-anim,
.site-header.no-anim * { transition: none !important; }

/* Front page: the header floats above the page (fixed) so that shrinking it on
   scroll never moves the content. The body reserves the full header height,
   measured by js/main.js (--header-space). Sub-pages keep the sticky header. */
.has-fixed-header .site-header { position: fixed; left: 0; right: 0; }
.has-fixed-header { padding-top: var(--header-space, 160px); }

/* Menu targets inside a section (cards, sub-blocks) get the same top space as a
   section's own padding, so their top lands exactly where a section's eyebrow lands. */
.sub-anchor { scroll-margin-top: var(--space-section); }
.split-top { align-items: start; } /* text starts at the top, like the other sections */
/* "Hvem vi hjælper" inside the About section */
.audiences { margin-top: 1rem; }
.subhead {
  margin: 0 0 1.25rem;
  font: 600 .8rem/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}
/* Case areas inside the About section: between the experience text and "Hvem vi hjælper" */
.section-about .case-areas { margin: 0 0 2rem; align-items: flex-start; text-align: left; }
.section-about .case-areas ul { justify-content: flex-start; }
/* Dots sit in front of every item; the list is shifted left by one dot so the dot that
   would start a line is clipped – no dangling dots when the list wraps (any language). */
.section-about .case-areas { overflow: hidden; }
.section-about .case-areas ul { margin-left: -1rem; }
.section-about .case-areas li::before { content: "·"; display: inline-block; width: .5rem; margin-right: .5rem; text-align: left; color: var(--color-accent); }
.case-areas .case-more { color: var(--color-muted); font-style: italic; } /* "m.fl." – not an area in itself */
@media (max-width: 860px) {
  .section-about .case-areas ul { margin-left: 0; }
  .section-about .case-areas li::before { content: none; }
}
/* Same thin line above "Hvem vi hjælper" as above "Typiske sagsområder" */
.section-about .audiences { margin-top: 0; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
/* FAQ inside the "Viden & FAQ" section */
.faq-block { max-width: 780px; margin-top: 3rem; }
/* "Felter markeret med * skal udfyldes" at the top of the form */
.form-note { margin: 0 0 1.25rem; font-size: .85rem; color: var(--color-muted); }
/* Placeholder text and preset suggestions (date/time) share one light tone */
.field input::placeholder,
.field textarea::placeholder { color: #8a9099; opacity: 1; }
.field input.is-suggested,
.field input.is-suggested::-webkit-datetime-edit { color: #8a9099; }
/* Wide guide card spanning both columns ("Når retssystemerne er forskellige") */
.guide-wide { grid-column: 1 / -1; }
.guide-wide > p,
.guide-wide details ul { max-width: 46rem; } /* comfortable line length on the wide card */
/* "Læs mere" sits at the bottom of each guide card, so cards in a row line up */
.guide { display: flex; flex-direction: column; }
.guide details { margin-top: auto; padding-top: 1rem; }
/* File attachments (translation) */
#files-hint { margin: .4rem 0 0; }
.field input[type="file"] { padding: .6rem; font-size: .9rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: .9rem;
  padding: .45rem .9rem;
  font: 600 .85rem var(--font-sans);
  color: #fff;
  background: var(--color-ink);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
/* 404 page */
.not-found h1 { margin-bottom: 1rem; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; padding: 0; list-style: none; }
.not-found-contact { color: var(--color-muted); font-size: .95rem; }
