/* ==========================================================================
   NOVERA AUTOMATION — Industrial Systems
   main.css · shared design system (tokens, base, header, footer, components)
   Loaded after /website/vendor/bootstrap/css/bootstrap.min.css
   ========================================================================== */

/* ---------- Fonts (local, OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --nv-bg: #0D1117;
  --nv-surface: #151B22;
  --nv-surface-2: #1C242D;
  --nv-light: #F2F3F4;
  --nv-light-2: #E6E8EA;
  --nv-text: #F4F6F8;
  --nv-text-dark: #161A1E;
  --nv-gray: #8A949E;          /* on dark: 6.3:1 */
  --nv-gray-dark: #535C65;     /* on light: 6.4:1 */
  --nv-steel: #B8C2CC;
  --nv-accent: #D6FF38;        /* on #0D1117: 16:1 — never as text on light */
  --nv-accent-ink: #4A5A00;    /* accent-family text on light: 7:1 */
  --nv-danger: #FF8A7A;        /* on dark */
  --nv-danger-dark: #A3261A;   /* on light */

  --nv-line: rgba(244, 246, 248, .12);
  --nv-line-strong: rgba(244, 246, 248, .24);
  --nv-line-dark: rgba(22, 26, 30, .14);
  --nv-line-dark-strong: rgba(22, 26, 30, .3);

  --nv-font-head: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --nv-font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --nv-wrap: 1360px;
  --nv-gutter: clamp(16px, 4vw, 48px);
  --nv-section: clamp(72px, 9vw, 144px);
  --nv-header-h: 76px;
  --nv-radius: 2px;
  --nv-ease: cubic-bezier(.2, .7, .2, 1);

  --nv-focus: var(--nv-accent);

  /* Bootstrap bridge */
  --bs-body-font-family: var(--nv-font-body);
  --bs-body-bg: var(--nv-bg);
  --bs-body-color: var(--nv-text);
  --bs-border-color: var(--nv-line);
  --bs-link-color-rgb: 244, 246, 248;
  --bs-link-hover-color-rgb: 214, 255, 56;
  --bs-gutter-x: 1.5rem;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nv-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--nv-bg);
  color: var(--nv-text);
  font-family: var(--nv-font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3, h4, .nv-h1, .nv-h2, .nv-h3 {
  font-family: var(--nv-font-head);
  font-stretch: 106%;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* German compounds (Roboterschweißzelle) are long single words: German text hyphenates rather
   than overflow, and narrow columns may break such a word as a last resort. */
:lang(de) body { hyphens: auto; }
h1, .nv-h1 { font-size: clamp(2.4rem, 1.35rem + 3.9vw, 5rem); font-weight: 600; }
h2, .nv-h2 { font-size: clamp(1.9rem, 1.3rem + 2.1vw, 3.25rem); }
h3, .nv-h3 { font-size: clamp(1.25rem, 1.08rem + .6vw, 1.625rem); letter-spacing: -.012em; line-height: 1.15; }
h4 { font-size: 1.0625rem; letter-spacing: 0; line-height: 1.3; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: inherit; }

::selection { background: var(--nv-accent); color: var(--nv-text-dark); }

:focus-visible {
  outline: 2px solid var(--nv-focus);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; }

/* Skip link */
.nv-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: .75rem 1.1rem;
  background: var(--nv-accent);
  color: var(--nv-text-dark);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--nv-ease);
}
.nv-skip:focus { transform: none; color: var(--nv-text-dark); outline-color: var(--nv-text); }

/* ---------- Layout helpers ---------- */
.nv-wrap {
  width: 100%;
  max-width: calc(var(--nv-wrap) + var(--nv-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--nv-gutter);
}
.nv-wrap > .row { --bs-gutter-x: clamp(1.25rem, 2.4vw, 2.5rem); }

.nv-section { padding-block: var(--nv-section); position: relative; }
.nv-section--tight { padding-block: calc(var(--nv-section) * .6); }
.nv-section--surface { background: var(--nv-surface); }
.nv-section--light {
  background: var(--nv-light);
  color: var(--nv-text-dark);
  --nv-focus: var(--nv-text-dark);
  --nv-line: var(--nv-line-dark);
  --nv-line-strong: var(--nv-line-dark-strong);
}
.nv-section--light ::selection { background: var(--nv-text-dark); color: var(--nv-light); }

.nv-measure { max-width: 62ch; }
.nv-measure-sm { max-width: 46ch; }

/* ---------- Typographic elements ---------- */
.nv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--nv-font-head);
  font-stretch: 118%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nv-gray);
  margin-bottom: 1.5rem;
}
.nv-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--nv-accent);
  flex: none;
}
.nv-section--light .nv-eyebrow { color: var(--nv-gray-dark); }
.nv-section--light .nv-eyebrow::before { background: var(--nv-text-dark); }

.nv-eyebrow__num { color: var(--nv-text); }
.nv-section--light .nv-eyebrow__num { color: var(--nv-text-dark); }

.nv-lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.6;
  color: var(--nv-steel);
}
.nv-section--light .nv-lead { color: #3A424A; }

.nv-muted { color: var(--nv-gray); }
.nv-section--light .nv-muted { color: var(--nv-gray-dark); }

.nv-label {
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nv-gray);
}
.nv-section--light .nv-label { color: var(--nv-gray-dark); }

.nv-num {
  font-family: var(--nv-font-head);
  font-stretch: 112%;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.nv-accent-text { color: var(--nv-accent); }

/* ---------- Buttons & links ---------- */
.nv-btn {
  --nv-btn-bg: transparent;
  --nv-btn-fg: var(--nv-text);
  --nv-btn-bd: var(--nv-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 52px;
  padding: .85rem 1.4rem;
  font-family: var(--nv-font-head);
  font-stretch: 110%;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--nv-btn-fg);
  background: var(--nv-btn-bg);
  border: 1px solid var(--nv-btn-bd);
  border-radius: var(--nv-radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--nv-ease), color .25s var(--nv-ease), border-color .25s var(--nv-ease);
}
.nv-btn:hover { --nv-btn-bd: var(--nv-text); color: var(--nv-btn-fg); }
.nv-btn .nv-arrow { transition: transform .3s var(--nv-ease); }
.nv-btn:hover .nv-arrow { transform: translateX(4px); }

.nv-btn--accent {
  --nv-btn-bg: var(--nv-accent);
  --nv-btn-fg: var(--nv-text-dark);
  --nv-btn-bd: var(--nv-accent);
}
.nv-btn--accent:hover { --nv-btn-bg: #E6FF7F; --nv-btn-bd: #E6FF7F; }

.nv-btn--dark {
  --nv-btn-bg: var(--nv-text-dark);
  --nv-btn-fg: var(--nv-light);
  --nv-btn-bd: var(--nv-text-dark);
}
.nv-btn--dark:hover { --nv-btn-bg: #000; --nv-btn-bd: #000; }

.nv-section--light .nv-btn:not(.nv-btn--accent):not(.nv-btn--dark) { --nv-btn-fg: var(--nv-text-dark); --nv-btn-bd: var(--nv-line-dark-strong); }
.nv-section--light .nv-btn:not(.nv-btn--accent):not(.nv-btn--dark):hover { --nv-btn-bd: var(--nv-text-dark); }

.nv-btn[disabled], .nv-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.nv-arrow { width: 18px; height: 18px; flex: none; }

.nv-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-family: var(--nv-font-head);
  font-stretch: 110%;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  color: var(--nv-text);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 calc(100% - 8px);
  background-repeat: no-repeat;
  transition: background-size .35s var(--nv-ease), color .2s;
}
.nv-link:hover { background-size: 100% 1px; color: var(--nv-accent); }
.nv-link:hover .nv-arrow { transform: translateX(3px); }
.nv-link .nv-arrow { transition: transform .3s var(--nv-ease); }
.nv-section--light .nv-link { color: var(--nv-text-dark); }
.nv-section--light .nv-link:hover { color: var(--nv-accent-ink); }

/* ---------- Header ---------- */
.nv-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(13, 17, 23, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--nv-ease), border-color .3s var(--nv-ease);
}
.nv-header.is-scrolled {
  background: rgba(13, 17, 23, .97);
  border-bottom-color: var(--nv-line);
}
.nv-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--nv-header-h);
  transition: height .3s var(--nv-ease);
}
.nv-header.is-scrolled .nv-header__inner { height: 64px; }

.nv-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--nv-text);
  text-decoration: none;
  min-height: 44px;
  flex: none;
}
.nv-brand:hover { color: var(--nv-text); }
.nv-brand__mark { width: 30px; height: 30px; flex: none; }
.nv-brand__text { display: flex; flex-direction: column; line-height: 1; }
.nv-brand__word {
  font-family: var(--nv-font-head);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: .14em;
}
.nv-brand__sub {
  margin-top: .38rem;
  font-family: var(--nv-font-head);
  font-stretch: 112%;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--nv-gray);
}

.nv-nav { margin-left: auto; }
.nv-nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nv-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 .95rem;
  font-family: var(--nv-font-head);
  font-stretch: 108%;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--nv-steel);
  text-decoration: none;
  transition: color .2s;
}
.nv-nav__link::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: 6px;
  height: 1px;
  background: var(--nv-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--nv-ease);
}
.nv-nav__link:hover { color: var(--nv-text); }
.nv-nav__link:hover::after { transform: scaleX(1); }
.nv-nav__link[aria-current] { color: var(--nv-text); }
.nv-nav__link[aria-current]::after { transform: scaleX(1); height: 2px; }

.nv-header__cta { min-height: 44px; padding: .6rem 1.1rem; font-size: .875rem; }
.nv-header__lang { flex: none; }

.nv-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 .25rem 0 .75rem;
  background: transparent;
  border: 0;
  color: var(--nv-text);
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nv-toggle__bars { position: relative; width: 26px; height: 12px; }
.nv-toggle__bars::before, .nv-toggle__bars::after {
  content: "";
  position: absolute;
  right: 0;
  height: 2px;
  background: currentColor;
}
.nv-toggle__bars::before { top: 0; width: 26px; }
.nv-toggle__bars::after { bottom: 0; width: 16px; background: var(--nv-accent); }

/* Offcanvas (mobile nav) */
.nv-offcanvas.offcanvas {
  --bs-offcanvas-width: min(420px, 100vw);
  --bs-offcanvas-bg: var(--nv-surface);
  --bs-offcanvas-color: var(--nv-text);
  --bs-offcanvas-border-color: var(--nv-line);
  --bs-offcanvas-padding-x: var(--nv-gutter);
  --bs-offcanvas-padding-y: 1rem;
}
.offcanvas-backdrop.show { opacity: .7; }
.nv-offcanvas .offcanvas-header { height: var(--nv-header-h); border-bottom: 1px solid var(--nv-line); justify-content: space-between; gap: 1rem; }
.nv-offcanvas .offcanvas-header .nv-close { margin-left: auto; }
.nv-offcanvas .offcanvas-title {
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nv-gray);
  margin: 0;
}
.nv-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--nv-line-strong);
  color: var(--nv-text);
  border-radius: var(--nv-radius);
  transition: border-color .2s, color .2s;
}
.nv-close:hover { border-color: var(--nv-accent); color: var(--nv-accent); }
.nv-close svg { width: 18px; height: 18px; }

.nv-mnav { list-style: none; padding: 0; margin: 0; }
.nv-mnav li { border-bottom: 1px solid var(--nv-line); }
.nv-mnav a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.1rem 0;
  font-family: var(--nv-font-head);
  font-stretch: 108%;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--nv-text);
  text-decoration: none;
}
.nv-mnav a span { font-size: .75rem; color: var(--nv-gray); font-weight: 500; letter-spacing: .08em; min-width: 1.6rem; }
.nv-mnav a[aria-current] { color: var(--nv-accent); }
.nv-mnav a[aria-current] span { color: var(--nv-accent); }
.nv-mnav a:hover { color: var(--nv-accent); }
.nv-offcanvas__foot { margin-top: 2rem; display: grid; gap: 1.25rem; }
.nv-offcanvas__foot .nv-btn { width: 100%; }
.nv-offcanvas__mail { font-size: .9375rem; color: var(--nv-steel); }

@media (max-width: 991.98px) {
  :root { --nv-header-h: 64px; }
  .nv-header.is-scrolled .nv-header__inner { height: var(--nv-header-h); }
}

/* ---------- Footer ---------- */
.nv-footer {
  background: #0A0D12;
  border-top: 1px solid var(--nv-line);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 2rem;
  color: var(--nv-steel);
  font-size: .9375rem;
}
.nv-footer__brand .nv-brand__word { font-size: 1.6rem; }
.nv-footer__desc { max-width: 38ch; margin-top: 1.5rem; color: var(--nv-gray); }
.nv-footer__title {
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nv-gray);
  margin-bottom: 1rem;
}
.nv-footer__list { list-style: none; padding: 0; margin: 0; }
.nv-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--nv-text);
  text-decoration: none;
}
.nv-footer__list a:hover { color: var(--nv-accent); }
.nv-footer__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--nv-font-head);
  font-stretch: 108%;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  font-weight: 600;
  color: var(--nv-text);
  text-decoration: underline;
  text-decoration-color: var(--nv-accent);
  text-underline-offset: .3em;
  overflow-wrap: anywhere;
}
.nv-footer__mail:hover { color: var(--nv-accent); }
.nv-footer__bottom {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 1.5rem;
  border-top: 1px solid var(--nv-line);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--nv-gray);
}
.nv-footer__note { display: inline-flex; align-items: center; gap: .6rem; }
.nv-footer__note::before { content: ""; width: 6px; height: 6px; background: var(--nv-accent); flex: none; }
/* The developer credit's name: amber on the dark footer (about 10:1), underlined on hover and focus. */
.nv-footer__credit a { color: #F2B544; font-weight: 600; text-decoration: none; }
.nv-footer__credit a:hover, .nv-footer__credit a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Media / figure ---------- */
.nv-media { position: relative; overflow: hidden; background: var(--nv-surface); margin: 0; }
.nv-media img { width: 100%; height: 100%; object-fit: cover; }
.nv-media--4x3 { aspect-ratio: 4 / 3; }
.nv-media--3x2 { aspect-ratio: 3 / 2; }
.nv-media--16x9 { aspect-ratio: 16 / 9; }
.nv-media--21x9 { aspect-ratio: 21 / 9; }
.nv-media--1x1 { aspect-ratio: 1 / 1; }
.nv-media--4x5 { aspect-ratio: 4 / 5; }
.nv-media--3x4 { aspect-ratio: 3 / 4; }
.nv-section--light .nv-media { background: var(--nv-light-2); }

.nv-caption {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  margin-top: .85rem;
  font-size: .8125rem;
  color: var(--nv-gray);
}
.nv-caption .nv-label { flex: none; }
.nv-section--light .nv-caption { color: var(--nv-gray-dark); }

/* Registration marks — thin technical corners */
.nv-marks { position: relative; }
.nv-marks::before, .nv-marks::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
}
.nv-marks::before { top: -8px; left: -8px; border-top: 1px solid var(--nv-accent); border-left: 1px solid var(--nv-accent); }
.nv-marks::after { bottom: -8px; right: -8px; border-bottom: 1px solid var(--nv-accent); border-right: 1px solid var(--nv-accent); }
.nv-section--light .nv-marks::before, .nv-section--light .nv-marks::after { border-color: var(--nv-text-dark); }
.nv-media.nv-marks { overflow: visible; }
.nv-media__clip { overflow: hidden; height: 100%; }

/* ---------- Lists ---------- */
.nv-spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nv-line); }
.nv-spec li {
  display: flex;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--nv-line);
}
.nv-spec li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: .62em;
  background: var(--nv-accent);
}
.nv-section--light .nv-spec li::before { background: var(--nv-text-dark); }

.nv-dl { display: grid; margin: 0; border-top: 1px solid var(--nv-line); }
.nv-dl > div { padding: 1.1rem 0; border-bottom: 1px solid var(--nv-line); }
.nv-dl dt { margin-bottom: .35rem; }
.nv-dl dd { margin: 0; font-family: var(--nv-font-head); font-stretch: 106%; font-weight: 500; font-size: 1.0625rem; line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- Page header (inner pages) ---------- */
.nv-pagehead { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 72px); }
.nv-pagehead h1 { max-width: 18ch; }
.nv-pagehead__intro { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.nv-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: .8125rem; color: var(--nv-gray); }
.nv-crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--nv-line-strong); }
.nv-crumbs a { color: var(--nv-steel); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.nv-crumbs a:hover { color: var(--nv-accent); }
.nv-crumbs [aria-current] { display: inline-flex; min-height: 32px; align-items: center; }

/* In-page index nav */
.nv-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nv-line);
}
.nv-index li { border-bottom: 1px solid var(--nv-line); min-width: 0; }
.nv-index a {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  min-height: 52px;
  padding: .9rem 0;
  text-decoration: none;
  font-family: var(--nv-font-head);
  font-stretch: 106%;
  font-weight: 500;
  color: var(--nv-text);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.nv-index a .nv-num { font-size: .75rem; color: var(--nv-gray); }
.nv-index a:hover { color: var(--nv-accent); }
@media (min-width: 768px) { .nv-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .nv-index { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- Closing CTA band ---------- */
.nv-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 180px);
}
.nv-cta__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.nv-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.nv-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 17, 23, .96) 0%, rgba(13, 17, 23, .86) 45%, rgba(13, 17, 23, .5) 100%),
    linear-gradient(0deg, rgba(13, 17, 23, .6), rgba(13, 17, 23, 0) 40%);
}
.nv-cta h2 { max-width: 16ch; }
.nv-cta p { max-width: 48ch; }
.nv-cta--plain { background: var(--nv-surface); border-top: 1px solid var(--nv-line); padding-block: clamp(72px, 9vw, 128px); }
.nv-cta--plain::before { content: none; }

/* ---------- Reveal (JS-enhanced; content visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .nv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--nv-ease), transform .8s var(--nv-ease); }
  .js .nv-reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Bootstrap overrides ---------- */
.btn { border-radius: var(--nv-radius); font-family: var(--nv-font-head); }
.card { --bs-card-bg: var(--nv-surface); --bs-card-border-color: var(--nv-line); --bs-card-border-radius: var(--nv-radius); color: inherit; }
.modal { --bs-modal-bg: var(--nv-bg); --bs-modal-color: var(--nv-text); --bs-modal-border-radius: 0; --bs-modal-border-width: 0; }
.modal-backdrop { --bs-backdrop-bg: #05070A; --bs-backdrop-opacity: .92; }

/* Utility */
.nv-hairline { height: 1px; background: var(--nv-line); border: 0; margin: 0; opacity: 1; }
.nv-stack-sm > * + * { margin-top: .75rem; }
.nv-stack > * + * { margin-top: 1.5rem; }

@media print {
  .nv-header, .nv-footer, .nv-offcanvas { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Small-screen header refinements ---------- */
@media (max-width: 575.98px) {
  .nv-header__inner { gap: 1rem; }
  .nv-brand { gap: .65rem; }
  .nv-brand__mark { width: 26px; height: 26px; }
  .nv-brand__word { font-size: 1.12rem; letter-spacing: .12em; }
  .nv-brand__sub { letter-spacing: .24em; }
  .nv-header .nv-brand__sub-x { display: none; }
}
@media (max-width: 359.98px) {
  .nv-toggle > span:first-child { display: none; }
}

/* ---------- Mid-width desktop header (992–1319) ---------- */
.nv-header__cta { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1319.98px) {
  .nv-header__inner { gap: 1.25rem; }
  .nv-nav__link { padding: 0 .6rem; font-size: .9rem; }
  .nv-nav__link::after { left: .6rem; right: .6rem; }
  .nv-header .nv-brand__sub-x { display: none; }
}
/* The narrowest desktop widths: the navigation keeps its longest language (German) on one row. */
@media (min-width: 992px) and (max-width: 1099.98px) {
  .nv-header__inner { gap: 1rem; }
  .nv-nav__list { gap: 0; }
  .nv-nav__link { padding: 0 .5rem; font-size: .875rem; }
  .nv-nav__link::after { left: .5rem; right: .5rem; }
  .nv-header__cta { padding: .6rem .9rem; }
}

/* Small utilities */
.nv-small { font-size: .8125rem; }
.nv-obj-upper { object-position: 50% 42%; }
.nv-form__full { grid-column: 1 / -1; }

/* ---------- Phone link ---------- */
.nv-phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: var(--nv-text);
  text-decoration: none;
  font-family: var(--nv-font-head);
  font-stretch: 106%;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.nv-phone svg { width: 15px; height: 15px; flex: none; color: var(--nv-accent); }
.nv-phone:hover { color: var(--nv-accent); }
.nv-phone--lg { font-size: 1.125rem; font-weight: 600; }
.nv-footer__phone { margin-top: .35rem; }

/* ---------- Social links (Bootstrap Icons paths, inline) ---------- */
.nv-social { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.nv-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--nv-steel);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius);
  transition: color .2s, border-color .2s, background-color .2s;
}
.nv-social a:hover { color: var(--nv-text-dark); background: var(--nv-accent); border-color: var(--nv-accent); }
.nv-social svg { width: 17px; height: 17px; }
.nv-offcanvas__foot .nv-phone { min-height: 32px; }

/* ---------- Back to top — the accent border fills with scroll progress ---------- */
.nv-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--nv-text);
  background: rgba(21, 27, 34, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--nv-radius);
  text-decoration: none;
  transition: opacity .3s var(--nv-ease), transform .3s var(--nv-ease), visibility .3s, background-color .2s, color .2s;
}
.nv-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nv-top__ring rect { fill: none; }
.nv-top__track { stroke: var(--nv-line-strong); stroke-width: 1; }
.nv-top__bar {
  stroke: var(--nv-accent);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;   /* JS sets 100 → 0 as the page scrolls */
  transition: stroke-dashoffset .12s linear;
}
.nv-top__icon { position: relative; width: 20px; height: 20px; transition: transform .3s var(--nv-ease); }
.nv-top:hover { color: var(--nv-text-dark); background: var(--nv-accent); }
.nv-top:hover .nv-top__track { stroke: var(--nv-accent); }
.nv-top:hover .nv-top__bar { stroke: var(--nv-text-dark); }
.nv-top:hover .nv-top__icon { transform: translateY(-2px); }
.js .nv-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nv-top, .nv-top__icon, .nv-top__bar { transition: none; } }
@media print { .nv-top { display: none !important; } }

/* ---------- Flags ---------- */
.nv-flag {
  display: block;
  width: 20px;
  height: 15px;
  flex: none;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(244, 246, 248, .18);
}

/* ---------- Language switcher (details / summary) ---------- */
.nv-lang { position: relative; }
.nv-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: 0 .75rem;
  list-style: none;
  cursor: pointer;
  color: var(--nv-text);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius);
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  user-select: none;
  transition: border-color .2s, background-color .2s;
}
.nv-lang__btn::-webkit-details-marker { display: none; }
.nv-lang__btn::marker { content: ""; }
.nv-lang__btn:hover { border-color: var(--nv-text); }
.nv-lang[open] > .nv-lang__btn { border-color: var(--nv-accent); background: var(--nv-surface); }
.nv-chev { width: 16px; height: 16px; flex: none; color: var(--nv-steel); transition: transform .25s var(--nv-ease); }
.nv-lang[open] .nv-chev { transform: rotate(180deg); color: var(--nv-accent); }

.nv-lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1040;
  width: 260px;
  padding: .5rem;
  background: var(--nv-surface);
  border: 1px solid var(--nv-line-strong);
  border-top: 2px solid var(--nv-accent);
  border-radius: var(--nv-radius);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7);
}
@media (prefers-reduced-motion: no-preference) {
  .nv-lang[open] .nv-lang__menu { animation: nv-drop .22s var(--nv-ease); }
}
@keyframes nv-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nv-lang__title {
  margin: 0;
  padding: .55rem .6rem .6rem;
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nv-gray);
  border-bottom: 1px solid var(--nv-line);
  margin-bottom: .35rem;
}
.nv-lang__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nv-lang__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 44px;
  padding: .5rem .6rem;
  background: transparent;
  border: 0;
  border-radius: var(--nv-radius);
  color: var(--nv-text);
  font-family: var(--nv-font-head);
  font-stretch: 106%;
  font-size: .9375rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.nv-lang__opt:hover, .nv-lang__opt:focus-visible { background: var(--nv-surface-2); color: var(--nv-text); }
.nv-lang__opt:focus-visible { outline-offset: -2px; }
.nv-lang__opt.is-current::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--nv-accent); }
.nv-lang__name { flex: 1; }
.nv-lang__meta { font-size: .72rem; letter-spacing: .12em; color: var(--nv-gray); font-stretch: 116%; }
.nv-check { width: 18px; height: 18px; color: var(--nv-accent); flex: none; }
.nv-lang__tag {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-stretch: 116%;
  padding: .2rem .45rem;
  color: var(--nv-steel);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius);
}
.nv-lang__opt[aria-disabled="true"] { color: var(--nv-steel); }
.nv-lang__opt[aria-disabled="true"] .nv-flag { opacity: .75; }
.nv-lang__note {
  margin: .35rem 0 0;
  padding: .6rem .6rem .35rem;
  border-top: 1px solid var(--nv-line);
  font-size: .75rem;
  line-height: 1.45;
  color: var(--nv-gray);
}
.nv-lang__note.is-flash { color: var(--nv-text); }

/* Header: compact trigger between 992–1319 */
@media (min-width: 992px) and (max-width: 1319.98px) {
  .nv-lang--header .nv-lang__code { display: none; }
  .nv-lang--header .nv-lang__btn { padding: 0 .55rem; }
}
/* Mobile menu: full-width trigger, menu flows inline */
.nv-lang--inline .nv-lang__btn { width: 100%; justify-content: flex-start; font-size: .8125rem; }
.nv-lang--inline .nv-lang__btn .nv-chev { margin-left: auto; }
.nv-lang--inline .nv-lang__menu { position: static; width: 100%; margin-top: .5rem; box-shadow: none; }

/* ---------- Custom select (progressive enhancement of <select data-nv-select>) ---------- */
.nv-select { position: relative; }
.nv-select__native.is-enhanced { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.nv-select__btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 52px;
  padding: .7rem 1rem;
  background: var(--nv-surface);
  color: var(--nv-text);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius);
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.nv-select__btn:hover { border-color: rgba(244, 246, 248, .4); }
.nv-select__btn:focus-visible { outline: none; border-color: var(--nv-accent); box-shadow: 0 0 0 3px rgba(214, 255, 56, .22); background: var(--nv-surface-2); }
.nv-select__btn[aria-expanded="true"] { border-color: var(--nv-accent); background: var(--nv-surface-2); }
.nv-select__btn[aria-invalid="true"] { border-color: var(--nv-danger); }
.nv-select__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-select__value.is-placeholder { color: #6B757F; }
.nv-select__code { font-family: var(--nv-font-head); font-stretch: 116%; font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--nv-accent); }
.nv-select__btn[aria-expanded="true"] .nv-chev { transform: rotate(180deg); color: var(--nv-accent); }
.nv-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: .4rem;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  background: var(--nv-surface);
  border: 1px solid var(--nv-line-strong);
  border-top: 2px solid var(--nv-accent);
  border-radius: var(--nv-radius);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .75);
}
.nv-select__list[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .nv-select__list:not([hidden]) { animation: nv-drop .2s var(--nv-ease); }
}
.nv-select__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 46px;
  padding: .5rem .75rem;
  border-radius: var(--nv-radius);
  cursor: pointer;
  color: var(--nv-steel);
  font-size: .9375rem;
}
.nv-select__opt .nv-num { width: 1.6rem; font-size: .75rem; color: var(--nv-gray); }
.nv-select__opt .nv-select__label { flex: 1; }
.nv-select__opt .nv-check { visibility: hidden; }
.nv-select__opt.is-active { background: var(--nv-surface-2); color: var(--nv-text); }
.nv-select__opt.is-active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--nv-accent); }
.nv-select__opt[aria-selected="true"] { color: var(--nv-text); }
.nv-select__opt[aria-selected="true"] .nv-num { color: var(--nv-accent); }
.nv-select__opt[aria-selected="true"] .nv-check { visibility: visible; }
