/* ============================================================
   Particulair Life Science Hub &mdash; shared.css v2
   particulair.eu/life-science/
   Design: Klinisk rent. Hvid baggrund. Lyseblaa accenter.
   Palet: hvid, #f8f9fa, #A6C9E4 (blaa), #F9D9B0 (amber)
   Skrift: IBM Plex Sans
   ============================================================ */

/* IBM Plex Sans - self-hosted WOFF2 (GDPR-compliant, ingen Google Fonts) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/life-science/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('/life-science/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('/life-science/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('/life-science/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('/life-science/assets/fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-700.woff2') format('woff2');
}

:root {
  --font:           'IBM Plex Sans', sans-serif;
  --white:          #ffffff;
  --gray-50:        #f8f9fa;
  --gray-100:       #f0f2f5;
  --gray-200:       #e2e8f0;
  --gray-300:       #cbd5e1;
  --gray-500:       #64748b;
  --gray-700:       #374151;
  --gray-900:       #111827;
  --blue-50:        #f0f7fd;
  --blue-100:       #dbeef9;
  --blue-200:       #bdddf3;
  --blue-400:       #A6C9E4;
  --blue-600:       #5fa3cc;
  --blue-800:       #2d6e96;
  --blue-900:       #1a4a6b;
  --amber-50:       #fffbf4;
  --amber-100:      #fef3dc;
  --amber-300:      #F9D9B0;
  --amber-500:      #e8a84a;
  --amber-700:      #c47a18;
  --color-bg:       var(--white);
  --color-bg-alt:   var(--gray-50);
  --color-border:   var(--gray-200);
  --color-text:     var(--gray-900);
  --color-muted:    var(--gray-500);
  --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:       64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; overflow-x: hidden; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-800); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--gray-900);
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section         { padding: 4.5rem 0; }
.section--alt    { background: var(--gray-50); }
.section--white  { background: var(--white); }

/* --- HEADER (2 r&aelig;kker) --- */
#site-header { min-height: calc(var(--header-top-h) + var(--header-cats-h)); }

:root {
  --header-top-h:  88px;
  --header-cats-h: 44px;
  --header-h:      calc(var(--header-top-h) + var(--header-cats-h));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--color-border);
}

/* R&aelig;kke 1 */
.site-header__top {
  border-bottom: 1px solid var(--color-border);
  height: var(--header-top-h);
}

.site-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-top-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 2rem;
}

.site-header__logo { flex-shrink: 0; min-width: 0; }
.site-header__logo img { height: 72px !important; width: auto !important; max-width: 220px; display: block; }

.site-nav-cats__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: .35rem .9rem .35rem 0;
  white-space: nowrap;
  margin-right: .25rem;
  border-right: 1px solid var(--color-border);
}

/* Kategori-navigation (Artikler + Wiki) */
.site-nav-top { flex: 1; }

.site-nav-top__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.site-nav-top__link {
  display: block;
  padding: .4rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.site-nav-top__link:hover,
.site-nav-top__link--active {
  color: var(--blue-800);
  background: var(--blue-50);
  text-decoration: none;
}

/* R&aelig;kke 2: Kategorier */
.site-nav-cats {
  background: var(--gray-50);
  height: var(--header-cats-h);
  border-bottom: 1px solid var(--color-border);
}

.site-nav-cats__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.site-nav-cats__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.site-nav-cats__link {
  display: block;
  padding: .35rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
  letter-spacing: .01em;
}

.site-nav-cats__link:hover,
.site-nav-cats__link--active {
  color: var(--blue-800);
  background: var(--blue-100);
  text-decoration: none;
}

.site-header__actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Mobil: skjul kategori-r&aelig;kke, vis hamburger */
@media (max-width: 900px) {
  .site-nav-top__list { display: none; }
  .site-nav-top       { display: none; }
  .site-nav-cats      { display: none; }
  .hamburger          { display: flex; }
}


.lang-switcher { display: flex; gap: .2rem; }

.lang-switcher__btn {
  padding: .25rem .5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 500;
  transition: all .15s;
}

.lang-switcher__btn--active,
.lang-switcher__btn:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  color: var(--blue-800);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem;
}

.hamburger__line {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .25s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.mobile-nav--open { display: block; }
.mobile-nav__list { list-style: none; display: flex; flex-direction: column; gap: .15rem; }

.mobile-nav__link {
  display: block;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--r-md);
  transition: all .15s;
}

.mobile-nav__link:hover {
  background: var(--blue-50);
  color: var(--blue-800);
  text-decoration: none;
}

.mobile-nav__divider { height: 1px; background: var(--color-border); border: none; margin: .75rem 0; }

/* --- BREADCRUMB --- */
.breadcrumb {
  padding: .65rem 0;
  font-size: .8rem;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  background: var(--gray-50);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  list-style: none;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumb__item + .breadcrumb__item::before { content: '/'; margin-right: .2rem; color: var(--gray-300); }
.breadcrumb__link { color: var(--blue-800); }

/* --- HERO --- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 0 4.5rem;
}

.hero--blue { background: var(--blue-50); border-bottom: 1px solid var(--blue-100); }

.hero__inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.hero__label {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--blue-200);
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.65;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- KNAPPER --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary { background: var(--blue-800); color: var(--white); border-color: var(--blue-800); }
.btn--primary:hover { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); text-decoration: none; }

.btn--accent { background: var(--amber-500); color: var(--white); border-color: var(--amber-500); }
.btn--accent:hover { background: var(--amber-700); border-color: var(--amber-700); color: var(--white); text-decoration: none; }

.btn--outline { background: transparent; color: var(--blue-800); border-color: var(--blue-400); }
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue-800); text-decoration: none; }

.btn--outline-gray { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.btn--outline-gray:hover { background: var(--gray-50); border-color: var(--gray-500); text-decoration: none; }

.btn--sm  { padding: .4rem 1rem; font-size: .82rem; }
.btn--lg  { padding: .85rem 2rem; font-size: 1rem; }

/* --- KATEGORI-GRID --- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; }

.cat-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem;
  transition: all .2s;
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.cat-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--color-text); }

.cat-card__icon {
  width: 42px; height: 42px;
  background: var(--blue-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cat-card__icon img { width: 22px; height: 22px; }
.cat-card__title { font-size: .95rem; font-weight: 600; color: var(--gray-900); line-height: 1.3; }
.cat-card__desc { font-size: .83rem; color: var(--color-muted); line-height: 1.55; flex: 1; }
.cat-card__arrow { margin-top: auto; font-size: .82rem; color: var(--blue-800); font-weight: 500; }

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

.prod-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}

.prod-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-400); transform: translateY(-2px); }

.prod-card__img {
  background: var(--gray-50);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.prod-card__img img { max-height: 260px; object-fit: contain; }

.prod-card.prod-card { text-decoration: none; color: var(--color-text); }

.prod-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }

.prod-card__manufacturer { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--color-muted); }
.prod-card__title { font-size: .95rem; font-weight: 600; color: var(--gray-900); }
.prod-card__desc { font-size: .82rem; color: var(--color-muted); line-height: 1.55; flex: 1; }
.prod-card__badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .25rem; }

.badge { display: inline-block; padding: .18rem .5rem; font-size: .7rem; font-weight: 600; border-radius: 99px; letter-spacing: .04em; }
.badge--blue   { background: var(--blue-100);  color: var(--blue-900); }
.badge--amber  { background: var(--amber-100); color: var(--amber-700); }
.badge--gray   { background: var(--gray-100);  color: var(--gray-700); }
.badge--green  { background: #e8f5ee;           color: #1a5c35; }

.prod-card__footer { padding: .85rem 1.25rem; border-top: 1px solid var(--color-border); }
.prod-card__link { font-size: .82rem; font-weight: 600; color: var(--blue-800); }
.prod-card__link:hover { text-decoration: underline; }

/* --- FILTER --- */
.filter-bar { background: var(--white); border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 2rem; }
.filter-bar__title { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--color-muted); margin-bottom: 1.25rem; }
.filter-group { margin-bottom: 1.1rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group__label { font-size: .78rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; display: block; }
.filter-group__options { display: flex; flex-wrap: wrap; gap: .35rem; }

.filter-btn {
  padding: .25rem .7rem;
  font-size: .78rem; font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 99px;
  background: var(--white);
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.filter-btn:hover, .filter-btn--active { background: var(--blue-50); border-color: var(--blue-400); color: var(--blue-800); }

/* --- PRODUKTSIDE --- */
.prod-hero { background: var(--white); border-bottom: 1px solid var(--color-border); padding: 2.5rem 0; }
.prod-hero__inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.prod-hero__img { background: var(--gray-50); border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 2rem; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.prod-hero__img img { max-height: 300px; object-fit: contain; }
.prod-hero__manufacturer { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .5rem; }
.prod-hero__title { font-size: 1.9rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.prod-hero__subtitle { font-size: .95rem; color: var(--color-muted); margin-bottom: 1.5rem; line-height: 1.65; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-bottom: 1.5rem; }
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th { text-align: left; padding: .55rem .75rem; font-weight: 600; color: var(--color-muted); background: var(--gray-50); font-size: .78rem; white-space: nowrap; width: 42%; }
.spec-table td { padding: .55rem .75rem; color: var(--gray-700); }

/* --- CERTIFIKAT-STRIBE --- */
.cert-strip { background: var(--blue-50); border-top: 1px solid var(--blue-100); border-bottom: 1px solid var(--blue-100); padding: .85rem 0; }
.cert-strip__inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 500; color: var(--blue-800); }
.cert-item img { width: 26px; height: 26px; }

/* --- FAQ --- */
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__question { width: 100%; text-align: left; padding: 1rem 0; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: .9rem; font-weight: 600; color: var(--gray-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__question::after { content: '+'; font-size: 1.2rem; font-weight: 300; color: var(--blue-600); flex-shrink: 0; transition: transform .2s; }
.faq__question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__answer { display: none; padding: 0 0 1.1rem; font-size: .875rem; color: var(--color-muted); line-height: 1.7; }
.faq__answer--open { display: block; }

/* --- CTA-BAND --- */
.cta-band {
  background: var(--blue-50);
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
  padding: 4rem 0;
  text-align: center;
}
.cta-band__title { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.cta-band__subtitle { color: var(--gray-500); margin-bottom: 2rem; font-size: .95rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- FOOTER --- */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.65); padding: 3rem 0 1.5rem; font-size: .85rem; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer__logo { margin-bottom: 1rem; }
.site-footer__tagline { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 1rem; }
.site-footer__heading { font-size: .73rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .75rem; }
.site-footer__links { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.site-footer__links a { color: rgba(255,255,255,.6); font-size: .83rem; transition: color .15s; }
.site-footer__links a:hover { color: var(--white); text-decoration: none; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: rgba(255,255,255,.3); }
.site-footer__bottom a { color: rgba(255,255,255,.4); }
.site-footer__bottom a:hover { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; margin-bottom: 1.5rem; }
.site-footer__legal-heading { font-size: .73rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .75rem; }
.site-footer__legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.site-footer__legal-links a { color: rgba(255,255,255,.5); font-size: .83rem; transition: color .15s; }
.site-footer__legal-links a:hover { color: var(--white); text-decoration: none; }

/* --- Artikelkort --- */
.article-card { display: block; background: var(--white); border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; text-decoration: none; color: var(--color-text); transition: box-shadow .2s, border-color .2s; }
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-400); text-decoration: none; color: var(--color-text); }
.article-card__tag { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .4rem; }
.article-card__title { font-weight: 600; color: var(--gray-900); font-size: .92rem; line-height: 1.45; }

/* --- Hj&aelig;lpeklasser --- */
.text-center   { text-align: center; }
.text-muted    { color: var(--color-muted); }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- TILBAGE TIL TOP (vertikal fane, venstre kant, midten) --- */
.back-to-top {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-100%);
  width: auto;
  height: auto;
  padding: .55rem .5rem .55rem .45rem;
  background: var(--blue-400);
  border: 1px solid var(--blue-200);
  border-left: none;
  border-radius: 0 var(--r-sm, 4px) var(--r-sm, 4px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .15s;
  z-index: 800;
  box-shadow: 2px 2px 10px rgba(45,110,150,.20);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.back-to-top:hover { background: var(--blue-800); }
.back-to-top svg   { color: rgba(255,255,255,.9); display: block; flex-shrink: 0; }
.back-to-top__label {
  font-size: .62rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
}

/* --- Responsivt --- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .prod-hero__inner  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  h1   { font-size: 1.85rem; }
  h2   { font-size: 1.4rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero__title { font-size: 1.9rem; }
  .site-nav  { display: none; }
  .hamburger { display: flex; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .cat-grid  { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .section   { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .cat-grid          { grid-template-columns: 1fr; }
  .hero__actions     { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { flex-direction: column; align-items: center; }
}

/* --- COOKIE-BANNER --- */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; background: var(--gray-900); border-top: 2px solid var(--blue-400); transform: translateY(100%); transition: transform .35s ease; pointer-events: none; }
#cookie-banner.cookie-banner--visible { transform: translateY(0); pointer-events: auto; }
#cookie-banner.cookie-banner--hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner__inner { max-width: var(--max); margin: 0 auto; padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-banner__text { font-size: .83rem; color: rgba(255,255,255,.75); line-height: 1.6; flex: 1; min-width: 240px; margin: 0; }
.cookie-banner__link { color: var(--blue-400); text-decoration: underline; }
.cookie-banner__link:hover { color: var(--white); }
.cookie-banner__actions { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-banner__btn { padding: .5rem 1.1rem; border-radius: var(--r-sm, 4px); font-size: .82rem; font-weight: 600; cursor: pointer; border: none; transition: background .15s, color .15s; white-space: nowrap; }
/* All three buttons: same size, same visual weight (Datatilsynet / EDPB Guidelines 05/2020) */
.cookie-banner__btn--decline { background: var(--gray-700); color: #fff; border: 1px solid var(--gray-500); }
.cookie-banner__btn--decline:hover { background: var(--gray-600); }
.cookie-banner__btn--accept { background: var(--gray-700); color: #fff; border: 1px solid var(--gray-500); }
.cookie-banner__btn--accept:hover { background: var(--gray-600); }
/* --- Cookie banner category toggles --- */
.cookie-banner__categories { display: flex; gap: 1.25rem; flex-wrap: wrap; width: 100%; padding: .4rem 0 .2rem; }
.cookie-banner__category { display: flex; align-items: center; gap: .5rem; cursor: pointer; user-select: none; }
.cookie-banner__cat-label { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 500; white-space: nowrap; }
.cookie-banner__category input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-banner__toggle { position: relative; display: inline-block; width: 36px; height: 20px; background: rgba(255,255,255,.18); border-radius: 10px; transition: background .2s; flex-shrink: 0; }
.cookie-banner__toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: rgba(255,255,255,.55); border-radius: 50%; transition: transform .2s, background .2s; }
.cookie-banner__category input:checked + .cookie-banner__toggle { background: var(--amber-500); }
.cookie-banner__category input:checked + .cookie-banner__toggle::after { transform: translateX(16px); background: #fff; }
.cookie-banner__toggle--locked { background: rgba(255,255,255,.10); }
.cookie-banner__toggle--locked::after { transform: translateX(16px); background: rgba(255,255,255,.35); }
.cookie-banner__category input:disabled + .cookie-banner__toggle { cursor: not-allowed; opacity: .5; }
/* --- Save choices button --- */
.cookie-banner__btn--save { background: var(--gray-700); color: #fff; border: 1px solid var(--gray-500); }
.cookie-banner__btn--save:hover { background: var(--gray-600); }
@media (max-width: 600px) { .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; } .cookie-banner__actions { width: 100%; } .cookie-banner__btn { flex: 1; text-align: center; } .cookie-banner__categories { flex-direction: column; gap: .5rem; } }
/* --- Persistent floating cookie settings button (GDPR art. 7(3)) --- */
/* Fane langs venstre kant, lidt under midten (under back-to-top) */
#cookie-settings-float {
  position: fixed;
  left: 0;
  top: calc(50% + 70px);
  z-index: 8999;
  width: auto;
  height: auto;
  padding: .55rem .5rem .55rem .45rem;
  border-radius: 0 var(--r-sm, 4px) var(--r-sm, 4px) 0;
  border: 1px solid var(--gray-600);
  border-left: none;
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  box-shadow: 2px 2px 8px rgba(0,0,0,.25);
  transition: background .15s, color .15s;
}
#cookie-settings-float:hover { background: var(--gray-700); color: #fff; }
#cookie-settings-float svg { pointer-events: none; flex-shrink: 0; }
#cookie-settings-float__label {
  font-size: .62rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
  pointer-events: none;
}


/* ==============================================================
   FORSIDE -- Videnssektion grid (erstatter inline style)
   ============================================================== */
.know-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}

/* ==============================================================
   FORSIDE -- Videns-grid kollapser paa smal skaerm
   ============================================================== */
@media (max-width: 820px) {
  .know-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==============================================================
   FORSIDE -- Artikelkort med thumbnail stakker paa mobil
   ============================================================== */
@media (max-width: 640px) {
  .article-card--img {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
  .article-card__thumb {
    width: 100%;
    height: 140px;
    border-radius: 6px;
  }
}

/* ==============================================================
   MOBIL -- Skjul side-faner (TOP og PRIVATLIV)
   Disse er unoedvendige og forstyrrende paa smal skaerm.
   Cookieindstillinger er tilgaengeligt via footer-link.
   ============================================================== */
@media (max-width: 900px) {
  .back-to-top          { display: none !important; }
  #cookie-settings-float { display: none !important; }
}

/* ==============================================================
   HEADER -- Reducer min-height paa mobil (kun 1 raekke synlig)
   ============================================================== */
@media (max-width: 900px) {
  #site-header { min-height: var(--header-top-h, 88px) !important; }
  .site-header__logo img { height: 52px !important; width: auto !important; max-width: none; }
  :root { --header-h: var(--header-top-h, 88px); }
}

/* ==============================================================
   ARTIKEL -- TOC kollapser paa mobil
   ============================================================== */
@media (max-width: 900px) {
  .art-wrap {
    grid-template-columns: 1fr !important;
  }
  .art-toc {
    display: none;
  }
}

/* ==============================================================
   PRODUKT -- ACTION BAR (PDF, Del, Kopier, Kontakt)
   ============================================================== */
.prod-action-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  padding: .9rem 1.25rem 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--gray-50);
}
.prod-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue-800);
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: var(--r-sm, 4px);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  letter-spacing: .02em;
}
.prod-action-btn:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  color: var(--blue-900);
  text-decoration: none;
}
.prod-action-btn svg {
  flex-shrink: 0;
  color: var(--blue-500);
}
.prod-action-btn--copied {
  color: #1a7f4b;
  border-color: #a3d9b8;
  background: #f0faf4;
}
.prod-action-btn--copied svg { color: #1a7f4b; }

/* Deleark (share dropdown) */
.prod-share-wrap {
  position: relative;
  display: inline-flex;
}
.prod-share-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm, 4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  min-width: 180px;
  z-index: 900;
  overflow: hidden;
}
.prod-share-menu.open { display: block; }
.prod-share-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  transition: background .12s;
}
.prod-share-menu a:hover { background: var(--blue-50); color: var(--blue-900); }
.prod-share-menu a svg { flex-shrink: 0; color: var(--blue-500); }

/* Print-layout: skjul alt undtagen produktindhold */
@media print {
  #site-header, #site-footer, .prod-action-bar, .prod-share-menu,
  .back-to-top, #cookie-settings-float, #cookie-banner,
  .faq-section, .cta-band, .cert-strip, .breadcrumb,
  .prod-hero__img-wrap, .facts-box__cta { display: none !important; }

  body { font-size: 11pt; color: #000; background: #fff; margin: 0; padding: 0; }

  /* Print-header -- injiceret som HTML af shared.js */
  .prod-print-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0 .75rem;
    margin-bottom: 1.25rem;
    border-bottom: 3px solid #A6C9E4;
    gap: 1rem;
  }
  .prod-print-header__logo {
    font-size: 15pt;
    font-weight: 700;
    color: #175e94;
    letter-spacing: -.01em;
    line-height: 1;
  }
  .prod-print-header__logo span {
    display: block;
    font-size: 7.5pt;
    font-weight: 400;
    color: #555;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 2px;
  }
  .prod-print-header__meta {
    text-align: right;
    font-size: 7.5pt;
    color: #666;
    line-height: 1.6;
  }

  .prod-hero { border: none; padding: .5rem 0 .75rem; }
  .prod-hero__inner { grid-template-columns: 1fr !important; gap: .75rem; }
  .prod-hero__title { font-size: 1.5rem; color: #175e94; margin-bottom: .3rem; }
  .prod-hero__subtitle { font-size: 10pt; color: #333; margin-bottom: .5rem; }
  .prod-hero__usps { display: none; }

  .prod-layout { grid-template-columns: 1fr !important; gap: 1.25rem; padding: 0; }
  .facts-box {
    border: 1px solid #A6C9E4;
    border-radius: 4px;
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  .facts-box__header {
    background: #e8f3fb;
    color: #175e94;
    padding: .5rem .9rem;
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
  }
  .facts-box__row {
    padding: .45rem .9rem;
    font-size: 9pt;
    border-bottom: 1px solid #e0ecf5;
  }
  .facts-box__label { color: #555; }
  .facts-box__value { font-weight: 600; color: #000; }

  .spec-table { break-inside: avoid; font-size: 9pt; }
  .spec-table th { background: #e8f3fb; color: #175e94; }
  .prod-desc p { font-size: 10pt; line-height: 1.55; }
  .prod-section__title { font-size: 11pt; color: #175e94; margin-top: 1.25rem; }
  a[href]::after { content: none; }

  /* Kontaktkolofon */
  .prod-print-contact {
    display: block !important;
    margin-top: 2rem;
    padding: .9rem 1rem;
    border: 1.5px solid #A6C9E4;
    border-radius: 4px;
    background: #f5f9fd;
    font-size: 9pt;
    color: #333;
    line-height: 1.8;
    break-inside: avoid;
  }
  .prod-print-contact__heading {
    display: block;
    font-size: 10pt;
    font-weight: 700;
    color: #175e94;
    margin-bottom: .3rem;
  }
  .prod-print-contact__tag {
    display: inline-block;
    font-size: 7.5pt;
    font-weight: 600;
    color: #fff;
    background: #A6C9E4;
    border-radius: 3px;
    padding: 1px 6px;
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
}
/* Skjul print-elementer paa skaerm */
.prod-print-contact { display: none; }
.prod-print-header  { display: none; }
