/* LINROX — styling
   Farver: dyb navy + LINROX-blå på hvid, stålgrå flader til produktbilleder. */

:root {
  --navy: #0A1A33;
  --navy-2: #12284A;
  --navy-line: rgba(255, 255, 255, .12);
  --blue: #1A5FD6;
  --blue-dark: #1449A8;
  --blue-soft: #E8F0FC;
  --ink: #0F1A2A;
  --text: #2E3A4B;
  --muted: #5E6B7D;
  --line: #DCE2EA;
  --steel: #F1F4F7;
  --white: #FFFFFF;

  --f-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius: 6px;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-stretch: 108%;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code, .mono { font-family: var(--f-mono); font-size: .92em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Topbar ---------- */
.topbar { background: #06111F; color: #C9D4E5; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #E4EBF5; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--white); }
.topbar .contacts { display: flex; gap: 22px; align-items: center; }
.topbar .social { opacity: .8; }

/* ---------- Header / menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 26, 51, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--navy-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; transition: min-height .25s ease; }
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .55); }
.site-header.scrolled .nav { min-height: 64px; }
.brand img {
  width: 200px; height: auto;
  /* Lys kontur, så de mørkeblå kanter i logoet ikke forsvinder på navy */
  filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .9)) drop-shadow(0 0 6px rgba(120, 170, 255, .35));
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links a {
  display: block; padding: 10px 12px;
  color: #DCE5F2; text-decoration: none;
  font-weight: 500; font-size: .96rem;
  border-radius: var(--radius);
}
.nav-links a:hover { color: var(--white); }
.nav-links > li > a[aria-current="page"],
.has-sub.is-active > a { color: var(--white); box-shadow: inset 0 -2px 0 #5B93F0; border-radius: 0; }
.nav-links .btn { margin-left: 10px; }
.nav-links .btn[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(10, 26, 51, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 9px 12px; color: var(--ink); }
.sub a:hover { background: var(--steel); color: var(--ink); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--white); }
.bars { display: grid; gap: 5px; width: 24px; }
.bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: var(--blue); color: var(--white) !important;
  font: 600 1rem/1.2 var(--f-body);
  border: 2px solid var(--blue); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .94rem; }
.btn-outline { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-outline:hover { background: var(--steel); border-color: #C3CCD8; }
.btn-light { background: var(--white); color: var(--navy) !important; border-color: var(--white); }
.btn-light:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Hero (forside) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #C9D4E5;
}
.hero::before {
  /* Fint millimeterpapir, som på en teknisk tegning */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(100deg, transparent 10%, #000 70%);
  -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center;
  padding: 88px 0 96px;
}
.hero h1 { color: var(--white); margin-bottom: .35em; font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.hero h1 span { display: block; color: #8DB4F5; }
.hero .lede { font-size: 1.15rem; max-width: 34em; color: #D5DEEB; }
.hero-figure {
  position: relative; margin: 0;
  background: linear-gradient(160deg, #EEF2F7, #CDD5E0);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero-figure img { width: 100%; }
.hero-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 16px; font: 500 .8rem/1.4 var(--f-mono);
  color: var(--ink); background: rgba(255, 255, 255, .8);
  border-top: 1px solid rgba(15, 26, 42, .1);
}

.facts {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts div { padding: 24px 24px 28px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--navy-line); }
.facts strong { display: block; font: 700 1.9rem/1.1 var(--f-head); font-stretch: 110%; color: var(--white); margin-bottom: 4px; }
.facts span { font-size: .92rem; }
.facts strong span { font: inherit; }

/* ---------- Sidehoved (undersider) ---------- */
.page-head { background: var(--navy); color: #D5DEEB; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
}
.page-head .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.page-head h1 { color: var(--white); max-width: 18em; }
.page-head .lede { font-size: 1.12rem; max-width: 40em; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #9FB0C8; }
.crumbs a { color: #C9D4E5; }

.jump {
  border-bottom: 1px solid var(--line); background: var(--white);
}
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.jump a { display: block; padding: 16px 0; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.jump a:hover { color: var(--blue); }

/* ---------- Sektioner ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section.steel, .section-sm.steel { background: var(--steel); }
.section + .section:not(.steel) { border-top: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 48px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.lede { font-size: 1.12rem; }
.muted { color: var(--muted); }
.narrow { max-width: 46em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split.center { align-items: center; }
.split-wide { grid-template-columns: 1.25fr 1fr; }

/* ---------- Kort ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; color: inherit; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.card:hover { border-color: #B9C5D6; box-shadow: 0 20px 40px -24px rgba(10, 26, 51, .35); transform: translateY(-2px); color: inherit; }
.card-media { background: var(--steel); aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-media.contain img { object-fit: contain; padding: 18px; }
a.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-body .arrow-link { margin-top: auto; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.panel h3 { margin-bottom: .5em; }
.panel p:last-child { margin-bottom: 0; }

/* Liste med flueben */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A5FD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks.cols { grid-template-columns: 1fr 1fr; gap: 12px 32px; }

/* Nummererede trin / industrier */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.industries article { padding: 28px 28px 8px 0; }
.industries article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.industries .num { font: 500 .85rem var(--f-mono); color: var(--blue); display: block; margin-bottom: 14px; }

/* ---------- Leverandører ---------- */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.brands > div { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.brands > div + div { border-left: 1px solid var(--line); }
.brands .logo { height: 56px; display: flex; align-items: center; }
.brands .logo img { max-height: 48px; width: auto; max-width: 150px; }
.brands p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start; }
.person img { border-radius: 8px; aspect-ratio: 5 / 6; object-fit: cover; width: 100%; background: var(--steel); }
.person h3 { margin-bottom: .15em; }
.person .role { color: var(--blue-dark); font-weight: 600; font-size: .95rem; margin-bottom: .8em; }
.person p { font-size: .98rem; }

/* ---------- Produktserier ---------- */
.series {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.series:first-of-type { border-top: 0; padding-top: 0; }
.series.flip { grid-template-columns: 1.1fr 1fr; }
.series.flip .series-media { order: 2; }
.series-media { display: grid; gap: 12px; }
.series-media.pair { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
.series-media figure { margin: 0; background: var(--steel); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.series-media figure.white { background: var(--white); border: 1px solid var(--line); }
.series-media img { width: 100%; height: 100%; object-fit: cover; }
.series-media figure.white img, .series-media figure.contain img { object-fit: contain; padding: 14px; }
.code {
  display: inline-block; font: 500 .85rem/1 var(--f-mono);
  color: var(--blue-dark); background: var(--blue-soft);
  padding: 6px 9px; border-radius: 4px; margin-bottom: 14px;
}
.series h2, .series h3 { margin-bottom: .45em; }
.series .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.series .meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Tabeller ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); margin: 8px 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--steel); color: var(--ink); font-weight: 600; font-size: .86rem; white-space: nowrap; }
thead th small { display: block; font-weight: 400; color: var(--muted); font-family: var(--f-mono); font-size: .78rem; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
td.num { font-family: var(--f-mono); font-size: .9rem; white-space: nowrap; }
.compare td, .compare th { width: 50%; }
.compare tbody th { width: auto; }
.compare thead th { font-size: 1rem; }
.compare thead th small { font-family: var(--f-body); }

/* ---------- Downloads ---------- */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.download {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
  text-decoration: none; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.download:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); }
.download .ic {
  flex: none; width: 42px; height: 42px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white); font: 600 .72rem var(--f-mono);
}
.download strong { display: block; font-weight: 600; }
.download small { color: var(--muted); font-size: .86rem; }

.note {
  border-left: 3px solid var(--blue); background: var(--blue-soft);
  padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--navy-2); color: #D5DEEB; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { color: var(--white); }
.cta p { margin: 0; font-size: 1.06rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .94rem; }
.contact-list a, .contact-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AFC0D8; font-size: .95rem; }
.site-footer a { color: #DCE5F2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 48px; }
.foot .brand img { width: 170px; margin-bottom: 18px; }
.foot-intro p { max-width: 26em; }
.foot h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0 30px; border-top: 1px solid var(--navy-line); font-size: .86rem;
}

/* ---------- Scroll-animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1080px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brands > div:nth-child(4) { border-left: 0; }
  .brands > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .person { grid-template-columns: 140px 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 24px 40px -24px rgba(10, 26, 51, .4);
    display: none;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { flex-wrap: wrap; border-bottom: 1px solid var(--navy-line); }
  .nav-links > li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav-links > li > a { flex: 1; padding: 14px 0; }
  .nav-links > li > a[aria-current="page"], .has-sub.is-active > a { box-shadow: none; }
  .nav-links .btn { margin: 0; width: 100%; padding: 13px; }
  .sub-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; color: var(--white); cursor: pointer;
  }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub {
    position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; background: none;
    padding: 0 0 10px 14px; display: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .sub a, .sub a:hover { color: #C9D4E5; background: none; }
  .sub a[aria-current="page"] { color: var(--white); }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }

  .hero-inner, .split, .split-wide, .cta-inner, .series, .series.flip { grid-template-columns: 1fr; gap: 40px; }
  .series.flip .series-media { order: 0; }
  .hero-inner { padding: 56px 0 64px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .industries { grid-template-columns: 1fr; }
  .industries article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .people { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-actions { justify-content: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-intro { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar .contacts { gap: 16px; }
  .topbar .contacts a[href^="mailto"] { display: none; }
  .brand img { width: 150px; }
  .nav { min-height: 66px; }
  .grid-2, .grid-3, .grid-4, .checks.cols { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
  .brands > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .brands > div:nth-child(-n+2) { border-top: 0; }
  .brands > div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .person { grid-template-columns: 1fr; }
  .person img { max-width: 220px; }
  .series-media.pair { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .page-head .wrap { padding-top: 44px; padding-bottom: 44px; }
  .facts strong { font-size: 1.5rem; }
  .facts div { padding: 18px 12px 20px 0; }
  .facts div + div { padding-left: 12px; }
}

/* ---------- Små hjælpere ---------- */
.inline-logo { height: 40px; width: auto; max-width: 200px; margin-bottom: 24px; }
.figure { margin: 0; background: var(--steel); border-radius: 10px; overflow: hidden; }
.figure.white { background: var(--white); border: 1px solid var(--line); }
.figure.contain img { padding: 20px; }
.card-media.white { background: var(--white); border-bottom: 1px solid var(--line); }
.gap-top { margin-top: 56px; }
.gap-top-sm { margin-top: 22px; }
.series-media figure.tall img { max-height: 300px; width: auto; }
.figure.track { margin-bottom: 32px; background: #05101F; }
a.panel { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
a.panel:hover { border-color: var(--blue); color: inherit; }

/* ---------- Animationer ----------
   Alt herunder kører kun, hvis brugeren ikke har bedt om reduceret bevægelse. */

/* Skinne med vogn i hero: en lineær akse der kører frem og tilbage */
.rail {
  position: relative; height: 12px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 32px) top left / 100% 6px no-repeat;
}
.rail::after {
  /* Lidt længere streg for hver 5. mm-streg */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 1px, transparent 1px 160px) top left / 100% 10px no-repeat;
}
.carriage {
  position: absolute; top: -6px; left: 0; z-index: 1;
  width: 64px; height: 11px; border-radius: 2px;
  background: linear-gradient(180deg, #7FAEF7, #1A5FD6);
  box-shadow: 0 0 18px rgba(91, 147, 240, .55);
}
.carriage::before, .carriage::after {
  /* Endestykker som på en rigtig vogn */
  content: ""; position: absolute; top: 1px; bottom: 1px; width: 6px; background: #0A1A33; border-radius: 1px;
}
.carriage::before { left: 3px; }
.carriage::after { right: 3px; }

/* Kort, logoer osv. der glider ind efter hinanden */
.js [data-reveal].stagger { opacity: 1; transform: none; }
.js [data-reveal].stagger:not(.done) > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.js [data-reveal].stagger.in:not(.done) > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .carriage { animation: travel 10s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
  @keyframes travel {
    0%, 10% { left: 0; }
    90%, 100% { left: calc(100% - 64px); }
  }

  /* Ternet i baggrunden glider meget langsomt */
  .hero::before, .page-head::before { animation: drift 40s linear infinite; }
  @keyframes drift { to { background-position: 32px 32px, 32px 32px; } }

  /* Indholdet øverst bygges op, når siden åbner */
  .hero-inner > div > *, .hero-figure, .facts > div, .page-head .wrap > * {
    animation: rise .8s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero h1, .page-head .crumbs { animation-delay: .05s; }
  .hero .lede, .page-head h1 { animation-delay: .18s; }
  .hero .btn-row, .page-head .lede { animation-delay: .3s; }
  .page-head .btn-row { animation-delay: .42s; }
  .hero-figure { animation-delay: .25s; animation-duration: 1s; }
  .facts > div:nth-child(1) { animation-delay: .45s; }
  .facts > div:nth-child(2) { animation-delay: .55s; }
  .facts > div:nth-child(3) { animation-delay: .65s; }
  .facts > div:nth-child(4) { animation-delay: .75s; }
  .rail { animation: rise .8s .4s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } }

  /* Produktbilledet i hero zoomer en anelse ud, når det kommer ind */
  .hero-figure img { animation: settle 1.6s .25s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { transform: scale(1.08); } }

  /* Knapper løfter sig en anelse ved hover */
  .btn:hover { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal].stagger:not(.done) > * { opacity: 1; transform: none; transition: none; }
}
