/* ============================================================
   Particulair FlexCore Hub -- shared.css v1.0
   particulair.eu/flexcore/
   Design: Lyst, klinisk, venligt. Hvid og lyseblaa dominerer.
   Palet: #ffffff (hvid), #f0f7fd (lyseblaa baggrund),
          #a6c9e3 (lyseblaa accent), #2d475c (antracit, KUN tekst),
          #e58d25 (orange, KUN CTA), #f8f9fa (lysegraa)
   Skrift: IBM Plex Sans (self-hosted, GDPR)
   Reference: CLAUDE.md sektion 4 og 0.2
   Note: Mens sitet er pre-launch supplerer hver HTML-fil dette
         stylesheet med <meta name="robots" content="noindex, nofollow">
         (se WORKFLOW.md sektion 11).
   ============================================================ */

/* ------------------------------------------------------------
   1. Fonte: IBM Plex Sans, self-hosted (300/400/500/600/700)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/flexcore/assets/fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/flexcore/assets/fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/flexcore/assets/fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/flexcore/assets/fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/flexcore/assets/fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-700.woff2') format('woff2');
}

/* ------------------------------------------------------------
   2. Variabler -- CLAUDE.md sektion 4 (22 stk, ingen skala-tokens)
   ------------------------------------------------------------ */
:root {
  --font:                 'IBM Plex Sans', sans-serif;

  /* Baggrunde -- lyse, men med mere blaa tilstedevaerelse */
  --bg-main:              #ffffff;
  --bg-soft:              #e3eef9;
  --bg-muted:             #eef2f7;

  /* Accenter -- lyse + brand-blaa fra logoet */
  --accent-blue:          #a6c9e3;
  --accent-blue-dark:     #7eb0d6;
  --brand-blue:           #175e94;  /* Fra flexcore.svg "Flex"-bogstaverne */
  --brand-blue-hover:     #134e7c;

  /* Tekst -- moerk (KUN til tekst) */
  --text-main:            #2d475c;
  --text-soft:            #5a7186;
  --text-meta:            #939598;

  /* CTA -- orange, sparsomt */
  --cta-primary:          #e58d25;
  --cta-primary-hover:    #c47720;

  /* Linjer */
  --border-light:         #e2e8f0;
  --border-medium:        #cbd5e1;

  /* Dimensioner */
  --max:                  1200px;
  --r-sm:                 4px;
  --r-md:                 8px;
  --r-lg:                 16px;
  --r-xl:                 24px;
  --shadow-sm:            0 1px 3px rgba(0,0,0,.06);
  --shadow-md:            0 4px 16px rgba(0,0,0,.08);
  --header-h:             76px;
}

/* ------------------------------------------------------------
   3. Reset og global
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  overflow-x: clip; /* IKKE overflow-x:hidden paa body -- aabner hamburger-fejl (Lessons learned 0.2) */
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--brand-blue); text-decoration: underline; }

button { font: inherit; cursor: pointer; }

/* ------------------------------------------------------------
   4. Z-index hierarki -- dokumenteret saa stable hierarki holdes
   ------------------------------------------------------------
   0-9   : normal flow
   10    : dropdowns, tooltips
   50    : back-to-top, persistent floating buttons
   60    : site-header (sticky)
   70    : mobil-menu aaben
   80    : cookie-banner
   100   : skip-link (kun naar fokuseret)
   110   : lightbox / modal overlays
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   5. Tilgaengelighed -- :focus-visible, skip-link, lange ord
   ------------------------------------------------------------ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cta-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--text-main);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  text-decoration: none;
  z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus,
.skip-link:focus-visible { top: 8px; }

/* Lange produktnavne -- tillad linjeskift i overskrifter og kort */
h1, h2, h3,
.prod-card h3,
.prod-grid h3,
.cat-card h3 {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------
   6. Typografi
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 .85rem;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
h6 { font-size: .85rem; color: var(--text-soft); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1rem 1.4rem; padding: 0; }
ul li, ol li { margin: 0 0 .35rem; }

strong, b { font-weight: 600; color: var(--text-main); }
em, i { font-style: italic; }

code, pre, kbd, samp {
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: .92em;
  background: var(--bg-muted);
  padding: 1px 4px;
  border-radius: var(--r-sm);
}
pre { padding: .85rem 1rem; overflow-x: auto; }
pre code { background: transparent; padding: 0; }

blockquote {
  margin: 1rem 0;
  padding: .5rem 1rem;
  border-left: 3px solid var(--accent-blue);
  color: var(--text-soft);
  background: var(--bg-soft);
}

hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 2rem 0;
}

/* ------------------------------------------------------------
   7. Layout-utilities
   ------------------------------------------------------------ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4rem 0; background: var(--bg-main); }
.section--alt  { background: var(--bg-muted); }
.section--soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-blue);
  margin-bottom: .65rem;
}
.section-head h2 { margin-bottom: .65rem; }
.section-head p  { color: var(--text-soft); }

/* ------------------------------------------------------------
   8. Header (2 raekker, hamburger under 900px)
   ------------------------------------------------------------
   #site-header er en JS-placeholder der faar injiceret
   <header class="site-header"> via shared.js header-fetch.
   ------------------------------------------------------------ */
#site-header { min-height: var(--header-h); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-main);
  border-bottom: 2px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

/* Legacy row1/row2 (skjules naar v4 dropdown-nav er aktiv) */
.site-header__row1 {
  display: contents;
}
.site-header__row2 { display: none !important; }

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.site-header__brand img,
.site-header__brand svg {
  height: 52px;
  width: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.lang-switcher {
  display: inline-flex;
  gap: .25rem;
  font-size: .9rem;
}
.lang-switcher a {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font-weight: 500;
}
.lang-switcher a:hover,
.lang-switcher a[aria-current="true"] {
  background: var(--bg-soft);
  color: var(--text-main);
  text-decoration: none;
}

/* Raekke 1 info-nav (Tilpassede slanger, Wiki, Artikler, Certifikater) */
.site-nav--info {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 1.5rem;
}
.site-nav--info a {
  display: inline-block;
  padding: .35rem .25rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-meta);
  border-bottom: 0;
  transition: color .15s ease;
}
.site-nav--info a:hover,
.site-nav--info a[aria-current="page"] {
  color: var(--brand-blue);
  border-bottom: 0;
  text-decoration: none;
}

/* Raekke 2: navigation (produktkategorier) -- bg-soft for at skabe
   visuel kontrast til linje 1, saa produkter skiller sig ud */
.site-header__row2 {
  border-top: 1px solid var(--border-light);
  background: var(--bg-soft);
}
.site-nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-meta);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: .85rem 1rem;
  font-size: .98rem;
  font-weight: 500;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
  text-decoration: none;
}
/* 6 fokus-omraader i 3x2 grid (added 2026-04-30) */
.site-nav--focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  flex: 1;
}
.site-nav--focus a {
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-light);
  border-bottom: 2px solid transparent;
  border-right-width: 0;
}
.site-nav--focus a:nth-child(3n) {
  border-right-width: 1px;
}
.site-nav--focus a:nth-child(-n+3) {
  border-bottom: 1px solid var(--border-light);
}
.site-nav--focus a:hover,
.site-nav--focus a[aria-current="page"] {
  background: var(--bg-main);
  color: var(--brand-blue);
  border-color: var(--accent-blue);
  border-bottom-color: var(--brand-blue);
}

@media (max-width: 880px) {
  .site-nav--focus {
    grid-template-columns: 1fr;
  }
  .site-nav--focus a {
    border-right-width: 1px;
    border-bottom: 1px solid var(--border-light);
  }
}
/* ============================================================
   3-dropdown nav (added 2026-04-30 v4 -- replaces 2-line focus bar)
   ============================================================ */
.site-nav--menus {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  margin: 0 1rem;
}

.nav-menu {
  position: relative;
}
.nav-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .65rem 1rem;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: .98rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-menu__btn:hover,
.nav-menu__btn[aria-expanded="true"] {
  background: var(--bg-soft);
  color: var(--brand-blue);
}
.nav-menu__chevron {
  transition: transform .2s;
  margin-top: 1px;
}
.nav-menu__btn[aria-expanded="true"] .nav-menu__chevron {
  transform: rotate(180deg);
}

.nav-menu__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .35rem 0;
  display: none;
  flex-direction: column;
  z-index: 70;
}
.nav-menu__panel[data-open="true"] {
  display: flex;
}
.nav-menu__panel a {
  display: block;
  padding: .55rem 1rem;
  font-size: .95rem;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 0;
  transition: background .12s, color .12s;
}
.nav-menu__panel a:hover,
.nav-menu__panel a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--brand-blue);
  text-decoration: none;
}
.nav-menu__divider {
  display: block;
  height: 1px;
  background: var(--border-light);
  margin: .35rem 0;
}

/* Mobile: dropdowns stables vertikalt og afsloeres ved hamburger */
@media (max-width: 880px) {
  .site-nav--menus {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: .5rem 1rem 1rem;
    margin: 0;
  }
  .site-nav--menus[data-open="true"] {
    display: flex;
  }
  .nav-menu {
    width: 100%;
  }
  .nav-menu__btn {
    width: 100%;
    justify-content: space-between;
  }
  .nav-menu__panel {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--bg-soft);
    margin: 0 0 .25rem;
    min-width: 0;
  }
}



/* Hamburger (skjult > 900px) */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: .35rem;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.hamburger span { position: relative; }
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger span::before { top: -7px; }
.hamburger span::after  { top:  7px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   9. Hero -- KUN .hero--soft (lyseblaa/hvid gradient)
   ------------------------------------------------------------
   IKKE .hero--blue (life-science) eller .hero--warm (ex-vac)
   ------------------------------------------------------------ */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: left;
}
.hero--soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  color: var(--text-main);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.25rem;
}
.hero__eyebrow {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-blue);
}
.hero h1 { margin: 0; }
.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-soft);
  max-width: 680px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .5rem;
}

/* ------------------------------------------------------------
   10. Knapper
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.1rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover  { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--cta-primary);
  color: #ffffff;
  border-color: var(--cta-primary);
}
.btn--accent:hover {
  background: var(--cta-primary-hover);
  border-color: var(--cta-primary-hover);
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-medium);
}
.btn--outline:hover {
  border-color: var(--cta-primary);
  color: var(--cta-primary);
}

.btn--lg    { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------------
   11. Cert-strip (IKKE .doc-belt -- Lessons learned 0.2)
   ------------------------------------------------------------ */
.cert-strip {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}
.cert-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.cert-strip img,
.cert-strip svg {
  height: 36px;
  width: auto;
  opacity: .85;
  transition: opacity .15s ease;
}
.cert-strip img:hover,
.cert-strip svg:hover { opacity: 1; }
.cert-strip__label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-meta);
}

/* ------------------------------------------------------------
   12. Cards
   ------------------------------------------------------------ */
.card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.card--soft  { background: var(--bg-soft);  border-color: transparent; }
.card--white { background: var(--bg-main); }

.card__title { margin: 0 0 .5rem; font-size: 1.1rem; }
.card__lead  { color: var(--text-soft); margin-bottom: .85rem; }
.card__cta   { font-weight: 600; color: var(--brand-blue); }
.card__cta::after { content: ' \2192'; }   /* hojrepil, Unicode-escape */

/* ------------------------------------------------------------
   12b. Info-callout -- accent-blok til kritisk kontekst i prosa
   ------------------------------------------------------------
   Bruges paa produktsider til at fremhaeve fx ATEX-kontekst,
   foedevaregodkendelse-detaljer eller andre vigtige nuancer der
   skal staa visuelt adskilt fra brodtekst. Forventer struktur:
     <div class="info-callout">
       <span class="info-callout__label">Vigtig kontekst</span>
       <p>...</p>
     </div>
   ------------------------------------------------------------ */
.info-callout {
  background: var(--bg-soft);
  border: 1px solid var(--accent-blue);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-callout__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-blue);
  margin-bottom: .5rem;
}
.info-callout p { font-size: .95rem; color: var(--text-main); margin-bottom: .55rem; }
.info-callout p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   13. Grids -- kategorigrid (forsiden), produktgrid, artikelgrid
   ------------------------------------------------------------
   .cat-grid bruger auto-fit + minmax(210, 220) + center for at
   undgaa tomme spor i ulige antal (Lessons learned 0.2)
   ------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 220px));
  gap: 1.25rem;
  justify-content: center;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text-main);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
  text-decoration: none;
}
.cat-card img,
.cat-card svg {
  height: 64px;
  width: auto;
  margin: 0 auto;
}
.cat-card h3 { font-size: 1rem; margin: 0; }
.cat-card p  { font-size: .9rem; color: var(--text-soft); margin: 0; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
#prod-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-meta);
  font-style: italic;
  padding: 2rem 0;
}

/* ------------------------------------------------------------
   13b. Produktkort -- bruges i .prod-grid paa kategorisider.
   Genereres af tools/build_products.py mellem
   <!-- PRODUCTS_BEGIN --> og <!-- PRODUCTS_END -->.
   Designet matcher .related-card paa produktsiderne for at
   sikre visuel konsistens.
   ------------------------------------------------------------ */
.prod-card {
  display: grid;
  grid-template-rows: 180px auto auto 1fr;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.prod-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
  text-decoration: none;
}
.prod-card__img-wrap {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.prod-card__img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.prod-card__body { padding: 1rem 1.25rem .65rem; }
.prod-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: .35rem;
}
.prod-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  line-height: 1.3;
}
.prod-card__desc {
  font-size: .85rem;
  color: var(--text-soft);
  margin: 0 0 .75rem;
  line-height: 1.55;
}
.prod-card__specs {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  font-size: .78rem;
  color: var(--text-meta);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.prod-card__spec strong {
  color: var(--text-soft);
  font-weight: 500;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ------------------------------------------------------------
   13c. Documentation-list -- bruges i sektionen "Dokumentation
   og downloads" paa produktsider. Hver entry er klikbar og
   peger paa en PDF-fil. Aabner i ny fane.
   ------------------------------------------------------------ */
.docs-list {
  display: grid;
  gap: .65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.docs-list__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-main);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.docs-list__item:hover {
  border-color: var(--brand-blue);
  background: var(--bg-soft);
  text-decoration: none;
  transform: translateY(-1px);
}
.docs-list__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
}
.docs-list__icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.docs-list__body { min-width: 0; }
.docs-list__title {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .15rem;
}
.docs-list__desc {
  display: block;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.docs-list__meta {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-meta);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .docs-list__item { grid-template-columns: auto 1fr; gap: .65rem; padding: .85rem 1rem; }
  .docs-list__meta { grid-column: 1 / -1; text-align: right; }
}

/* ------------------------------------------------------------
   14. Filter-sidebar -- forberedelse (layout, ikke fuld logik)
   ------------------------------------------------------------ */
.cat-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.filter-panel {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.filter-panel h3 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-meta);
  margin: 0 0 .85rem;
}
.filter-group { margin-bottom: 1.25rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group__label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .5rem;
  color: var(--text-main);
}
.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
  margin-right: .4rem;
  accent-color: var(--cta-primary);
}
.filter-group label {
  display: block;
  padding: .15rem 0;
  font-size: .9rem;
  color: var(--text-soft);
  cursor: pointer;
}
.filter-range {
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
}
.filter-range output {
  font-size: .85rem;
  color: var(--text-meta);
}
.filter-clear {
  display: inline-block;
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--cta-primary);
  cursor: pointer;
}

/* ------------------------------------------------------------
   15. Selector-styling -- forberedelse (layout, ikke spm-logik)
   ------------------------------------------------------------ */
.selector {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.selector__step { display: none; }
.selector__step[data-active="true"] { display: block; }
.selector__progress {
  display: flex;
  gap: .35rem;
  margin-bottom: 1.5rem;
}
.selector__progress span {
  flex: 1;
  height: 4px;
  background: var(--bg-main);
  border-radius: 2px;
}
.selector__progress span[data-done="true"] { background: var(--cta-primary); }
.selector__question {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.selector__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .65rem;
  margin-bottom: 1.5rem;
}
.selector__option {
  display: block;
  padding: .85rem 1rem;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.selector__option:hover { border-color: var(--accent-blue); }
.selector__option[aria-pressed="true"] {
  border-color: var(--cta-primary);
  color: var(--cta-primary);
  font-weight: 600;
}
.selector__nav {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1rem;
}

/* ------------------------------------------------------------
   16. Lightbox (produktbilleder)
   ------------------------------------------------------------ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 40, .85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 110;
  padding: 2rem;
}
.lightbox-overlay[aria-hidden="false"] { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  background: #ffffff;  /* hvid baggrund per Lessons learned 0.2 */
  border-radius: var(--r-md);
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255,255,255,.9);
  color: var(--text-main);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------------------------------------
   17. Cookie-banner -- GDPR niveau 3 (Nodvendige/Statistik/Marketing)
   ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 1.25rem 1.5rem;
  z-index: 80;
  display: none;
}
.cookie-banner[aria-hidden="false"] { display: block; }
.cookie-banner h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
}
.cookie-banner p {
  font-size: .92rem;
  color: var(--text-soft);
  margin-bottom: .85rem;
}
.cookie-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.cookie-option {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
}
.cookie-option input[type="checkbox"] { accent-color: var(--cta-primary); }
.cookie-option input[disabled] { cursor: not-allowed; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

/* Persistent floating "Privatliv"-knap (genaabner banneret) */
.cookie-fab {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  background: var(--bg-main);
  color: var(--text-soft);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: .45rem .85rem;
  font-size: .8rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: color .15s ease, border-color .15s ease;
}
.cookie-fab:hover {
  color: var(--text-main);
  border-color: var(--accent-blue);
}

/* Naar banneret er aabent: skjul fab og loft back-to-top op
   saa de ikke overlapper hinanden (Lessons learned 0.2 / 14.2) */
body[data-cookie-banner="open"] .cookie-fab    { display: none; }
body[data-cookie-banner="open"] .back-to-top   { bottom: 9rem; }

/* ------------------------------------------------------------
   18. Back-to-top -- venstre kant, oven over cookie-fab (orange CTA)
   ------------------------------------------------------------ */
.back-to-top {
  position: fixed;
  left: 1rem;
  bottom: 4rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cta-primary);
  color: #ffffff;
  border: 1px solid var(--cta-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .15s ease, border-color .15s ease, bottom .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--cta-primary-hover);
  border-color: var(--cta-primary-hover);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   19. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg-muted);
  border-top: 8px solid var(--brand-blue);
  padding: 3rem 0 1.5rem;
  color: var(--text-soft);
  font-size: .92rem;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer__brand img,
.site-footer__brand svg {
  height: 60px;
  width: auto;
  margin-bottom: .85rem;
}
.site-footer__brand p { color: var(--text-soft); }
.site-footer h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-meta);
  margin-bottom: .85rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a {
  color: var(--text-soft);
  text-decoration: none;
}
.site-footer a:hover { color: var(--brand-blue); text-decoration: underline; }

.site-footer__legal {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-meta);
}
.site-footer__legal a { color: var(--text-meta); }

/* ------------------------------------------------------------
   20. Produktside-CSS -- basis (jf. revideret omfang E1)
   ------------------------------------------------------------
   Bygges ud videre naar produktsider eller Triasztomlo bygges.
   Kun foundation-klasserne ligger her.
   ------------------------------------------------------------ */
.prod-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}
.prod-img-wrap {
  background: #ffffff;  /* HVID baggrund per Lessons learned 0.2 */
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-img {
  max-width: 100%;
  max-height: 360px;
  height: auto;
}
.prod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 1rem;
}
.prod-meta__pill {
  display: inline-block;
  padding: .25rem .65rem;
  background: var(--bg-soft);
  color: var(--text-main);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
}
.prod-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.spec-table,
.dimension-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin: 1rem 0 2rem;
}
.spec-table th,
.spec-table td,
.dimension-table th,
.dimension-table td {
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}
.spec-table th,
.dimension-table th {
  background: var(--bg-muted);
  font-weight: 600;
  color: var(--text-main);
  text-transform: none;
  letter-spacing: 0;
}
.spec-table th { width: 38%; }
.dimension-table { font-variant-numeric: tabular-nums; }

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
  margin: 1rem 0 2rem;
  list-style: none;
  padding: 0;
}
.application-grid li {
  padding: .65rem .85rem;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-size: .9rem;
}

/* ------------------------------------------------------------
   21. FAQ-akkordeon -- basis (jf. revideret omfang E4)
   ------------------------------------------------------------ */
.faq { max-width: 1200px; margin: 0 auto; }
.faq details {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  margin-bottom: .65rem;
  transition: border-color .15s ease;
}
.faq details[open] {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-meta);
  line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }   /* minus, Unicode-escape */
.faq__body {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-soft);
}

/* ------------------------------------------------------------
   22. Hjaelpeklasser
   ------------------------------------------------------------ */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-soft   { color: var(--text-soft); }
.text-meta   { color: var(--text-meta); }
.no-wrap     { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ------------------------------------------------------------
   23. Responsive -- 900 (hamburger), 768 (stack), 480 (mobil)
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .site-header__row1 { gap: .5rem; }
  /* Info-nav skjules paa mobil -- brugeren finder disse links i footeren.
     Kan udvides senere med en mobilmenu der inkluderer info + kategorier. */
  .site-nav--info { display: none; }

  .site-header__row2 { display: none; }
  .site-header__row2[data-open="true"] {
    display: block;
    border-top: 1px solid var(--border-light);
  }
  .site-nav-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 0;
    gap: 0;
  }
  .site-nav__label {
    padding: .65rem 1.25rem;
    background: var(--bg-muted);
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav a {
    border-bottom: 1px solid var(--border-light);
    border-left: 2px solid transparent;
    padding: .85rem 1.25rem;
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--border-light);
    border-left-color: var(--brand-blue);
  }
  .hamburger { display: inline-flex; }

  .cat-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }

  .prod-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0 2.5rem; }

  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  /* .site-footer__legal already flex-column at desktop -- no override needed */

  .selector { padding: 1.5rem; }
  .spec-table th { width: 45%; }

  .dimension-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cookie-banner {
    left: .5rem;
    right: .5rem;
    bottom: .5rem;
    padding: 1rem;
  }
  .cookie-fab  { left: .5rem; bottom: .5rem; }
  .back-to-top { left: .5rem; bottom: 3.25rem; }
  body[data-cookie-banner="open"] .back-to-top { bottom: 11rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .section { padding: 2.25rem 0; }
  .container { padding: 0 1rem; }

  .site-header__brand img,
  .site-header__brand svg { height: 36px; }
  .site-header__actions { gap: .5rem; }

  .site-footer__cols { grid-template-columns: 1fr; }

  .cat-grid { grid-template-columns: minmax(180px, 1fr); }
  .hero { padding: 2.5rem 0 2rem; }
}

/* ============================================================
   24. Custom-side specifics (CLAUDE.md sektion 8 -- undtagelse 8.3.4)
   ============================================================ */
[data-lang-content] { display: none; }
body[data-lang="da"] [data-lang-content="da"],
body[data-lang="en"] [data-lang-content="en"] { display: revert; }

.lang-switcher button {
  background: transparent;
  border: 0;
  padding: .25rem .5rem;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font: inherit;
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
}
.lang-switcher button:hover,
.lang-switcher button[aria-current="true"] {
  background: var(--bg-soft);
  color: var(--text-main);
}

.reorder-block {
  background: var(--bg-soft);
  border: 1px solid var(--accent-blue);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.75rem;
  align-items: center;
}
.reorder-block__lead { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.reorder-block__id {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: .35rem .85rem;
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--text-main);
}
.reorder-block ul { margin: 1rem 0 0 1.4rem; font-size: .95rem; }
.reorder-block__qr {
  width: 280px;
  height: auto;
  aspect-ratio: 441 / 200;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 10px;
  display: block;
}
@media (max-width: 600px) {
  .reorder-block { grid-template-columns: 1fr; }
  .reorder-block__qr { justify-self: center; max-width: 100%; }
}

.project-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  background: var(--bg-muted);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.project-info__item dt {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-meta);
  margin-bottom: .25rem;
}
.project-info__item dd {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  margin: 0;
}

.tri-config { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: .95rem; }
.tri-config th, .tri-config td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}
.tri-config th { background: var(--bg-soft); font-weight: 600; color: var(--text-main); width: 30%; }

.site-footer--custom .site-footer__cols { grid-template-columns: 2fr 1fr; }

/* ============================================================
   25. Kontakt-CTA-baand (over footeren) -- brand-blue undtagelse
   ============================================================ */
.cta-band {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 2.5rem 0;
}
.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-band__img { width: 110px; height: auto; border-radius: 50%; display: block; }
.cta-band__text h2 { color: #ffffff; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 .35rem; }
.cta-band__text p  { color: rgba(255,255,255,.85); margin: 0; font-size: 1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.cta-band__actions .btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.cta-band__actions .btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #ffffff;
  color: #ffffff;
}
.cta-band a       { color: #ffffff; }
.cta-band a:hover { color: #ffffff; text-decoration: underline; }

@media (max-width: 768px) {
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .cta-band__img   { margin: 0 auto; width: 90px; }
  .cta-band__actions { justify-content: center; }
}

/* ============================================================
   26. Network-band (krydslink mellem Particulair-microsites)
   ============================================================ */
.network-band { background: var(--bg-muted); padding: 3rem 0; }
.network-band__inner { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.network-band__heading {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-meta);
  margin: 0 0 1.5rem;
}
.network-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.nb-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.4rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text-main);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
.nb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
  text-decoration: none;
}
.nb-card__title { font-size: 1.05rem; font-weight: 600; margin: 0; color: var(--text-main); }
.nb-card__desc  { font-size: .9rem; color: var(--text-soft); margin: 0; flex-grow: 1; }
.nb-card__url   { font-size: .8rem; color: var(--text-meta); margin: 0; }
.nb-card--current {
  background: var(--bg-soft);
  border-color: var(--brand-blue);
  cursor: default;
}
.nb-card--current:hover { transform: none; box-shadow: none; }
.nb-card__badge {
  display: inline-block;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .55rem;
  border-radius: var(--r-sm);
  margin-top: .35rem;
  align-self: flex-start;
}

/* ============================================================
   27. Breadcrumb + Legal-sider (jura-skabelon)
   ------------------------------------------------------------
   Bruges paa cookiepolitik, privatlivspolitik, handelspolitik,
   disclaimer, copyright, tilgaengelighed, om-particulair, ai-act.
   Side-specifikke tabeller (fx .cookie-table) holdes lokalt
   paa de enkelte sider for at undgaa unoedigt baggage i shared.css.
   Headings: lette weights (600), reduceret font-size for paenere typografi.
   ============================================================ */

.breadcrumb {
  padding: 1rem 0 .25rem;
  font-size: .85rem;
  color: var(--text-meta);
}
.breadcrumb__list {
  list-style: none;            /* fjern default ordered-list nummerering (1. 2. 3.) */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}
.breadcrumb__item:not(:last-child)::after {
  content: ' / ';
  padding: 0 .35rem;
  color: var(--text-meta);
}
.breadcrumb__link {
  color: var(--text-soft);
  text-decoration: none;
}
.breadcrumb__link:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.legal-wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.legal-wrap h1 {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .5rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.legal-meta {
  font-size: .85rem;
  color: var(--text-meta);
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.legal-wrap h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2.25rem;
  margin-bottom: .65rem;
  letter-spacing: -0.005em;
}
.legal-wrap h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: .45rem;
}
.legal-wrap p {
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}
.legal-wrap ul {
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 1.25rem 1.25rem;
}
.legal-wrap li {
  margin-bottom: .35rem;
}
.legal-wrap strong {
  color: var(--text-main);
}
.legal-wrap a {
  color: var(--brand-blue);
}
.legal-wrap a:hover {
  color: var(--brand-blue-hover);
}
.legal-sig {
  font-style: italic;
  text-align: right;
  color: var(--text-meta) !important;
  margin-top: 2.5rem;
}

/* AI Act / EU-forordning reference-blok */
.legal-ref {
  margin-top: 2.75rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.legal-ref p {
  font-size: .82rem;
  color: var(--text-meta) !important;
  margin-bottom: 0 !important;
  line-height: 1.65;
}
.legal-ref a { color: var(--brand-blue); }


/* Custom-side: in-page sprog-toggle (Option A, revideret 26-04-2026)
   Standard headerens .lang-switcher skjules; in-page toggle bevares for QR-target. */
body[data-page-type="custom"] .site-header__actions .lang-switcher {
  display: none;
}
body[data-page-type="custom"] .hero__inner {
  position: relative;
}
.page-lang-toggle {
  position: absolute;
  top: 0;
  right: 1.25rem;
  display: flex;
  gap: .25rem;
  z-index: 5;
}
.page-lang-toggle button {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  color: var(--text-soft);
  padding: .35rem .7rem;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.page-lang-toggle button:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.page-lang-toggle button[aria-current="true"] {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}
.page-lang-toggle button[aria-current="true"]:hover {
  background: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  color: #ffffff;
}


/* ============================================================
   FILTER-SIDEBAR (kategori-index, added 2026-04-30)
   ============================================================ */

.filter-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-block:last-of-type { border-bottom: none; padding-bottom: 0; }

.filter-block__options {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.filter-opt {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--text-main);
  cursor: pointer;
  padding: .25rem 0;
  line-height: 1.35;
}
.filter-opt:hover { color: var(--brand-blue); }
.filter-opt input {
  accent-color: var(--brand-blue);
  flex-shrink: 0;
}
.filter-opt span {
  flex: 1;
}

.filter-block__range {
  padding-top: .25rem;
}
.filter-range__values {
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: .55rem;
  font-variant-numeric: tabular-nums;
}
.filter-range__min,
.filter-range__max {
  font-weight: 600;
  color: var(--text-main);
}
.filter-range__sep { color: var(--text-meta); }
.filter-range__unit { color: var(--text-meta); margin-left: .25rem; }

.filter-range__slider {
  width: 100%;
  accent-color: var(--brand-blue);
}

.filter-empty {
  font-size: .82rem;
  color: var(--text-meta);
  font-style: italic;
}

/* Loading-state -- skjul placeholder-tekst naar options er populeret */
.filter-block__options:not(:empty)::before { content: none; }

/* Mobile: collapse filter panel to drawer */
@media (max-width: 880px) {
  .filter-panel {
    margin-bottom: 1.5rem;
  }
  .filter-block {
    padding-bottom: .85rem;
    margin-bottom: .85rem;
  }
}


/* Custom side hero-figur (added 2026-04-30) */
.custom-hero__figure {
  margin: 1.5rem 0 0;
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.custom-hero__figure img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
}


/* Custom-eksempler grid (added 2026-04-30) */
.custom-example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.custom-example {
  margin: 0;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.custom-example img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f0f0f0;
}
.custom-example figcaption {
  padding: 1rem 1.25rem;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.custom-example figcaption strong {
  color: var(--text-main);
  display: block;
  margin-bottom: .25rem;
}


/* ============================================================
   FORSIDE: selector + logistic + custom CTA + articles
   (added 2026-04-30 v3.1)
   ============================================================ */

.selector-section .lead { max-width: 720px; margin-bottom: 1.5rem; }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}
.focus-card {
  display: block;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-main);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.focus-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}
.focus-card__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.focus-card h3 {
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  color: var(--text-main);
}
.focus-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

.selector-section__alt {
  text-align: center;
  font-size: .95rem;
  color: var(--text-soft);
  margin: 1.5rem 0 0;
}
.selector-section__alt a {
  font-weight: 600;
}

/* Logistik-sektion */
.logistic-section .container { padding-top: 1rem; padding-bottom: 1rem; }
.logistic-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.logistic-text { padding: .5rem 0; }
.logistic-text .eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand-blue);
  margin: 0 0 .5rem;
}
.logistic-text h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.logistic-text p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.logistic-figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
}
.logistic-figure img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.logistic-figure figcaption {
  padding: .65rem .9rem;
  font-size: .82rem;
  color: var(--text-soft);
  text-align: center;
}
@media (max-width: 880px) {
  .logistic-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom CTA section */
.custom-cta-section .container { max-width: var(--max); }
.custom-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
}
.custom-cta__text h2 {
  font-size: 1.7rem;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.custom-cta__text p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.custom-cta__figure {
  margin: 0;
  background: var(--bg-main);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.custom-cta__figure img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
@media (max-width: 880px) {
  .custom-cta {
    grid-template-columns: 1fr;
  }
}

/* Artikler-sektion paa forsiden */
.articles-section .lead { max-width: 1200px; margin-bottom: 1.5rem; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  transition: border-color .15s, box-shadow .15s;
}
.article-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.article-card__img-wrap {
  background: var(--bg-soft);
}
.article-card__img-wrap img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.article-card__body { padding: 1.25rem 1.5rem; }
.article-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: .5rem;
}
.article-card h3 {
  font-size: 1.2rem;
  margin: 0 0 .65rem;
  line-height: 1.3;
}
.article-card p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   FORSIDE v3.2 -- hero med billede + logistik 4 billeder 2+2
   (added 2026-04-30)
   ============================================================ */
.hero--with-image .hero__inner.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero__text {
  padding: 1rem 0;
}
.hero__figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-main);
  box-shadow: var(--shadow-md);
}
.hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}
@media (max-width: 880px) {
  .hero--with-image .hero__inner.hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Logistik-grid REVISED: tekst + 4 billeder 2+2 */
.logistic-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr;
  gap: 2rem;
  align-items: center;
}
/* Swap visual order: photos first (left), text second (right) */
.logistic-grid .logistic-photos { order: 1; }
.logistic-grid .logistic-text { order: 2; }
.logistic-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.logistic-photo {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
}
.logistic-photo img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
@media (max-width: 880px) {
  .logistic-grid {
    grid-template-columns: 1fr;
  }
}


/* Page-spacer (visuel pause mellem indhold og site-banner, added 2026-04-30) */
.page-spacer {
  margin: 4rem 0 0;
  padding: 0;
  text-align: center;
}
.page-spacer img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  margin: 0;
}


/* Filter-search input (added 2026-04-30 v3.3) */
.filter-search {
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-search__input {
  width: 100%;
  padding: .5rem .75rem;
  font-size: .92rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
.filter-search__input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(23, 94, 148, 0.12);
}
.filter-search__input::-webkit-search-cancel-button {
  cursor: pointer;
}


/* Hero-search paa forsiden (added 2026-04-30 v3.4) */
.hero-search {
  margin: 1.5rem 0 0;
  max-width: 720px;
}
.hero-search__label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: .5rem;
}
.hero-search__row {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}
.hero-search__input {
  flex: 1;
  padding: .85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-main);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--r-md);
  transition: border-color .15s, box-shadow .15s;
}
.hero-search__input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(23, 94, 148, 0.12);
}
.hero-search__btn {
  flex-shrink: 0;
  padding: .85rem 1.5rem;
}
.hero-search__hint {
  margin: .75rem 0 0;
  font-size: .85rem;
  color: var(--text-soft);
}
.hero-search__hint a {
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero-search__row {
    flex-direction: column;
  }
  .hero-search__btn {
    width: 100%;
  }
}


/* ============================================================
   FINDER-GRID + WIZARD paa forsiden (added 2026-04-30 v3.5)
   ============================================================ */
.finder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: stretch;
}
.finder-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.finder-card__title {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  color: var(--text-main);
}
.finder-card__intro {
  font-size: .9rem;
  color: var(--text-soft);
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* Wizard */
.wizard {
  margin-top: 1rem;
}
.wizard__step-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand-blue);
  margin: 0 0 .35rem;
}
.wizard__question {
  font-size: 1.15rem;
  margin: 0 0 .35rem;
  color: var(--text-main);
}
.wizard__hint {
  font-size: .85rem;
  color: var(--text-soft);
  margin: 0 0 .85rem;
}
.wizard__options {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.25rem;
}
.wizard__opt {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .35rem .25rem;
  font-size: .92rem;
  cursor: pointer;
  line-height: 1.4;
}
.wizard__opt:hover { color: var(--brand-blue); }
.wizard__opt input {
  accent-color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: .25rem;
}
.wizard__opt span { flex: 1; }
.wizard__nav {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
}
.wizard__nav--final {
  margin-top: 1rem;
  justify-content: flex-start;
}
.wizard__nav .btn {
  padding: .55rem 1.1rem;
  font-size: .92rem;
}
.wizard__result-intro {
  font-size: .92rem;
  color: var(--text-soft);
  margin: 0 0 .65rem;
}
.wizard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1rem;
}
.wizard__tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-size: .78rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 600;
}
.wizard__result-card {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  text-align: center;
}
.wizard__result-cat {
  font-size: 1.3rem;
  margin: 0 0 .85rem;
  color: var(--text-main);
}
.wizard__alt {
  font-size: .82rem;
  text-align: center;
  margin: .85rem 0 0;
  color: var(--text-soft);
}

@media (max-width: 880px) {
  .finder-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   END shared.css v1.5 (foundation + custom + polish + legal + softer-headings + in-page lang-toggle)
   ============================================================ */
