:root {
  --nalvra-ink: #0b0d10;
  --nalvra-surface: #151a20;
  --nalvra-line: #303943;
  --nalvra-ivory: #f3f0e8;
  --nalvra-muted: #b8c0c8;
  --nalvra-gold: #c8a45d;
  --nalvra-gold-light: #e3c680;
  --nalvra-focus: #6fa8dc;
  --nalvra-radius-sm: 8px;
  --nalvra-radius-md: 16px;
  --nalvra-shadow: 0 24px 70px rgba(4, 8, 12, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { overflow-x: clip; }

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--nalvra-focus) !important;
  outline-offset: 4px;
}

.section-label,
.product-section-label,
.catalog-eyebrow,
.catalog-group-kicker,
.reference-eyebrow,
.funding-eyebrow,
.speaker-overline,
.speaker-kicker,
.nalvra-kicker,
.nalvra-status { font-size: max(0.75rem, 12px) !important; }

/* Global header and five-decision navigation */
header { min-height: 72px; }
header .nav-container { min-height: 72px; }
header.is-compact,
header.logo-collapsed { min-height: 64px; }
header.is-compact .nav-container,
header.logo-collapsed .nav-container { min-height: 64px; }
.nalvra-primary-nav { gap: clamp(0.45rem, 1vw, 1rem); }
.nalvra-primary-nav > li > .nav-link { font-size: clamp(0.73rem, 0.75vw, 0.83rem); }
.nalvra-primary-nav .nalvra-primary-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  color: #101214;
  background: var(--nalvra-gold-light);
  border: 1px solid var(--nalvra-gold);
}
.nalvra-primary-nav .nav-aktionen { display: flex; align-items: center; }
.nav-submenu-toggle { display: none; }

.burger-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  padding: 12px !important;
  align-items: center;
  justify-content: center;
}
.burger-btn span { width: 22px !important; }

/* Software-first homepage */
.nalvra-software-hero {
  position: relative;
  min-height: auto !important;
  padding: clamp(8rem, 13vw, 11.5rem) 0 0 !important;
  color: var(--nalvra-ivory);
  background:
    radial-gradient(circle at 84% 22%, rgba(200, 164, 93, 0.14), transparent 31rem),
    linear-gradient(135deg, #080b0f 0%, #111820 58%, #090c10 100%) !important;
}
.nalvra-software-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: center;
}
.nalvra-software-hero__copy { max-width: 760px; }
.nalvra-kicker {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--nalvra-gold-light);
  font: 700 0.75rem/1.4 var(--font-mono, monospace);
  letter-spacing: 0.13em;
}
.nalvra-software-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.3rem, 6.4vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}
.nalvra-software-hero h1 em {
  display: block;
  color: var(--nalvra-gold-light);
  font-family: Georgia, serif;
  font-weight: 400;
}
.nalvra-software-hero__copy > p {
  max-width: 640px;
  margin: 2rem 0 0;
  color: rgba(243, 240, 232, 0.76);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}
.nalvra-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.nalvra-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  color: inherit;
  background: transparent;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}
.nalvra-button--gold { color: #111; border-color: var(--nalvra-gold-light); background: var(--nalvra-gold-light); }
.nalvra-button--line { color: #fff; background: rgba(255,255,255,.035); }
.nalvra-software-hero__signet.assistant-stage--signet {
  position: relative;
  min-height: clamp(420px, 49vw, 650px);
  justify-items: center;
  isolation: isolate;
}
.nalvra-software-hero__signet::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 198, 128, .12), rgba(200, 164, 93, .035) 48%, transparent 72%);
  filter: blur(10px);
}
.nalvra-software-hero__signet .nalvra-network-signet {
  width: min(100%, 560px);
  height: auto;
  transform: none;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .42));
}
.nalvra-software-hero__map {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(227,198,128,.35);
  border-radius: var(--nalvra-radius-md);
  background: rgba(8, 12, 16, 0.72);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.nalvra-map-label { display: block; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--nalvra-muted); font: 700 0.75rem/1.4 var(--font-mono, monospace); letter-spacing: .1em; }
.nalvra-software-hero__map > a { display: flex; justify-content: space-between; gap: 1.25rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.nalvra-software-hero__map > a strong { font-size: 1.1rem; }
.nalvra-software-hero__map > a span { max-width: 13rem; color: var(--nalvra-muted); text-align: right; }
.nalvra-map-solutions { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: 1.25rem; }
.nalvra-map-solutions > span { padding: .48rem .65rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--nalvra-ivory); font: 700 .72rem/1 var(--font-mono, monospace); }
.nalvra-map-solutions .product-name-run,
.nalvra-map-solutions .product-name-text,
.nalvra-solution-list .product-name-run,
.nalvra-solution-list .product-name-text,
footer .product-name-run,
footer .product-name-text { display: inline-block !important; }
.nalvra-map-solutions .product-letter,
.nalvra-solution-list .product-letter,
footer .product-letter {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.nalvra-proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid rgba(255,255,255,.13); }
.nalvra-proof-strip span { min-width: 0; padding: 1.25rem 1rem; border-right: 1px solid rgba(255,255,255,.1); color: var(--nalvra-muted); font-size: .86rem; line-height: 1.5; }
.nalvra-proof-strip span:first-child { padding-left: 0; }
.nalvra-proof-strip span:last-child { border-right: 0; }
.nalvra-proof-strip b { display: block; margin-bottom: .25rem; color: #fff; }

.nalvra-portfolio { padding: clamp(4.5rem, 8vw, 8rem) 0; background: #f4f2ed; color: #151a20; }
.nalvra-section-heading { max-width: 760px; margin-bottom: 3rem; }
.nalvra-section-heading h2 { margin: 0 0 1rem; color: #151a20; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.052em; }
.nalvra-section-heading p { color: #57606a; font-size: 1.08rem; line-height: 1.7; }
.nalvra-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.nalvra-platform-card { min-width: 0; overflow: hidden; display: grid; grid-template-rows: 1fr auto; border: 1px solid #d8d2c7; border-radius: var(--nalvra-radius-md); background: #fff; box-shadow: var(--nalvra-shadow); }
.nalvra-platform-card > div { padding: clamp(1.6rem, 3vw, 2.6rem); }
.nalvra-platform-card h3 { margin: .7rem 0 1rem; color: #151a20; font-size: clamp(2rem, 4vw, 3.2rem); }
.nalvra-platform-card h3 em { color: #93712d; font-family: Georgia, serif; font-style: normal; }
.nalvra-platform-card--service h3 em { color: #285887; font-family: inherit; }
.nalvra-platform-card p { color: #53606a; line-height: 1.7; }
.nalvra-platform-card a { display: inline-flex; min-height: 44px; align-items: center; color: #151a20; font-weight: 780; }
.nalvra-platform-card img { width: 100%; aspect-ratio: 16 / 8.8; object-fit: cover; border-top: 1px solid #ddd7cb; }
.nalvra-solutions-block { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 6rem); margin-top: 5rem; padding-top: 3rem; border-top: 1px solid #cfc8bc; }
.nalvra-solutions-heading h3 { margin: 0; color: #151a20; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; }
.nalvra-solution-list { border-top: 1px solid #cfc8bc; }
.nalvra-solution-list a { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.4fr) auto; gap: 1rem; align-items: center; min-height: 76px; padding: .95rem 0; border-bottom: 1px solid #cfc8bc; color: #151a20; text-decoration: none; }
.nalvra-solution-list a > span { color: #65707a; }
.nalvra-solution-list a b { color: #785d26; font: 700 .74rem/1.3 var(--font-mono, monospace); text-transform: uppercase; }
.nalvra-preview-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 4rem; }
.nalvra-preview-products > div { padding: 1.6rem; border: 1px solid #cfc8bc; border-radius: var(--nalvra-radius-sm); background: #ebe8e0; }
.nalvra-preview-products strong { display: block; margin: .6rem 0; color: #151a20; font-size: 1.2rem; }
.nalvra-preview-products p { color: #5f6871; }
.nalvra-preview-products a { color: #151a20; font-weight: 750; }

/* Product decision assistant */
.catalog-decision { padding: clamp(3rem, 6vw, 5.5rem) 0; background: #f1eee7; color: #151a20; }
.catalog-decision-head { max-width: 760px; }
.catalog-decision-head h2 { margin: .5rem 0 1rem; color: #151a20; font-size: clamp(2.1rem, 4vw, 3.7rem); }
.catalog-decision-head p { color: #59636d; }
.catalog-decision-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .8rem; align-items: end; margin-top: 2rem; }
.catalog-decision-form label { display: grid; gap: .45rem; color: #49545e; font-weight: 720; }
.catalog-decision-form select,
.catalog-decision-form button { min-height: 48px; width: 100%; padding: .75rem .85rem; border: 1px solid #c8c1b5; border-radius: 5px; color: #151a20; background: #fff; font: inherit; }
.catalog-decision-form button { cursor: pointer; font-weight: 750; }
.catalog-decision-result { min-height: 1.5em; color: #5a6470; }
.catalog-product[hidden] { display: none !important; }

/* Contact: primary qualified inquiry, secondary alternatives */
.nalvra-contact-paths { padding: clamp(4rem, 8vw, 8rem) 0; background: #f2f0eb; }
.nalvra-contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 1.25rem; align-items: start; }
.nalvra-contact-primary { min-height: 480px; padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; border-radius: var(--nalvra-radius-md); color: #fff; background: linear-gradient(145deg, #0b0f14, #17212b); box-shadow: var(--nalvra-shadow); }
.nalvra-contact-primary h2 { max-width: 12ch; margin: .5rem 0 1.25rem; color: #fff; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.nalvra-contact-primary p { max-width: 590px; color: var(--nalvra-muted); font-size: 1.08rem; line-height: 1.7; }
.nalvra-contact-primary .nalvra-button { align-self: flex-start; margin-top: 1.25rem; }
.nalvra-contact-primary small { margin-top: 1rem; color: #9fa7ae; }
.nalvra-contact-secondary { display: grid; gap: .75rem; }
.nalvra-contact-secondary article { padding: 1.4rem; border: 1px solid #d7d2c9; border-radius: var(--nalvra-radius-sm); background: #fff; }
.nalvra-contact-secondary article > span { color: #806229; font: 750 .75rem/1.3 var(--font-mono, monospace); letter-spacing: .08em; }
.nalvra-contact-secondary h3 { margin: .55rem 0; color: #151a20; font-size: 1.15rem; }
.nalvra-contact-secondary p { color: #616b74; line-height: 1.55; }
.nalvra-contact-secondary a,
.nalvra-contact-secondary button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; color: #151a20; background: none; font: inherit; font-weight: 760; text-decoration: underline; cursor: pointer; }
.nalvra-contact-availability { padding: 1rem; color: #55606a; }

/* Product orientation and progressive detail */
.nalvra-product-toc { position: sticky; z-index: 35; top: 72px; border-block: 1px solid rgba(128,128,128,.22); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.nalvra-product-toc__inner { min-height: 58px; display: flex; align-items: center; gap: 1rem; overflow-x: auto; }
.nalvra-product-toc strong { flex: 0 0 auto; color: #5f6871; font: 700 .72rem/1 var(--font-mono, monospace); letter-spacing: .08em; }
.nalvra-product-toc a { flex: 0 0 auto; color: #1a2026; font-size: .86rem; font-weight: 700; text-decoration: none; }
.nalvra-product-toc select { display: none; min-height: 44px; width: 100%; padding: .65rem; border: 1px solid #c9c2b6; border-radius: 4px; background: #fff; }
.nalvra-progressive-toggle { display: none; width: calc(100% - 32px); min-height: 50px; margin: 1.5rem auto; padding: .8rem 1rem; border: 1px solid var(--nalvra-gold); border-radius: 4px; color: #151a20; background: #f2e8d2; font: 760 1rem/1.2 var(--font-body, sans-serif); }
body[data-page-template="product"] main > section { content-visibility: auto; contain-intrinsic-size: 800px; }

/* Assistant is loaded only after explicit intent. */
elevenlabs-convai { display: none !important; }
body.nalvra-assistant-open elevenlabs-convai {
  display: block !important;
  visibility: visible !important;
  position: fixed !important;
  z-index: 1000 !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  bottom: 84px !important;
  width: min(380px, calc(100vw - 32px)) !important;
  height: min(620px, calc(100vh - 116px)) !important;
}
.nalvra-assistant-launcher { position: fixed; z-index: 1001; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #d2b46f; border-radius: 50%; color: #111; background: var(--nalvra-gold-light); box-shadow: 0 14px 40px rgba(0,0,0,.28); cursor: pointer; }
.nalvra-assistant-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.nalvra-intro { display: none !important; }

/* Confirmed mobile clipping repairs */
.reference-hero-copy,
.industry-hero-copy,
.funding-hero-copy,
.speaker-hero-copy,
.speaker-topic-copy,
.speaker-topic-media,
.mvs2-head,
.mvs2-finding > *,
.adv-card { min-width: 0 !important; max-width: 100% !important; }

@media (max-width: 1024px) {
  :root { --ml-header-height: 72px; --nalvra-header-height: 72px; }
  html { scroll-padding-top: 72px; }
  body > header { height: 72px !important; min-height: 72px !important; }
  body > header .nav-container { height: 71px !important; min-height: 71px !important; }
  body > header .logo { width: min(180px, 52vw) !important; max-height: 58px !important; }
  body > header .header-wordmark { max-height: 58px !important; }
  body > header.is-compact { height: 64px !important; min-height: 64px !important; }
  body > header.is-compact .nav-container { height: 63px !important; min-height: 63px !important; }
  .nav-menu.nalvra-primary-nav { padding-top: 4.8rem !important; }
  .nalvra-primary-nav .nav-item-dropdown { position: relative; }
  .nalvra-primary-nav .nav-item-dropdown > .nav-link { padding-right: 3.2rem !important; }
  .nav-submenu-toggle { position: absolute; z-index: 2; top: .28rem; right: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 0; color: #1b2025; background: transparent; font-size: 1.2rem; cursor: pointer; }
  .nalvra-primary-nav .nav-submenu { display: none !important; position: static !important; width: 100% !important; max-height: none !important; padding: .25rem 0 .75rem 1rem !important; border: 0 !important; box-shadow: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .nalvra-primary-nav .nav-item-dropdown.is-open > .nav-submenu { display: block !important; }
  .nalvra-primary-nav .nav-submenu-breit { grid-template-columns: 1fr !important; }
  .nalvra-primary-nav .nav-link { min-height: 44px; display: flex !important; align-items: center; }
  .nalvra-primary-nav .nav-aktionen { padding-top: .75rem; }
  .nalvra-primary-nav .nalvra-primary-cta { width: 100%; }
  .nalvra-primary-nav .lang-selector-container { position: relative; z-index: 3; order: 20; min-height: 52px; display: flex; align-items: center; }
  .nalvra-primary-nav .nav-aktionen { position: relative; z-index: 1; order: 21; }

  .nalvra-software-hero__grid,
  .nalvra-contact-grid { grid-template-columns: 1fr; }
  .nalvra-software-hero__signet.assistant-stage--signet { min-height: min(62vw, 540px); }
  .nalvra-software-hero__signet .nalvra-network-signet { width: min(100%, 500px); }
  .nalvra-software-hero__map { max-width: 680px; }
  .nalvra-proof-strip { grid-template-columns: repeat(2, 1fr); }
  .nalvra-platform-grid { grid-template-columns: 1fr; }
  .nalvra-solutions-block { grid-template-columns: 1fr; gap: 2rem; }
  .catalog-decision-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { max-width: 100% !important; }
  .nalvra-software-hero { padding-top: 7.1rem !important; }
  .nalvra-software-hero h1 { max-width: 100%; font-size: clamp(2.75rem, 12.5vw, 4rem); overflow-wrap: anywhere; }
  .nalvra-hero-actions { display: grid; }
  .nalvra-button { width: 100%; }
  .nalvra-software-hero__signet.assistant-stage--signet { min-height: clamp(300px, 86vw, 410px); margin-top: 1rem; }
  .nalvra-software-hero__signet .nalvra-network-signet { width: min(100%, 360px); }
  .nalvra-software-hero__map { padding: 1.1rem; }
  .nalvra-software-hero__map > a { display: grid; gap: .35rem; }
  .nalvra-software-hero__map > a span { max-width: none; text-align: left; }
  .nalvra-proof-strip { grid-template-columns: 1fr; margin-top: 3rem; }
  .nalvra-proof-strip span { padding: 1rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nalvra-proof-strip span:last-child { border-bottom: 0; }
  .nalvra-solution-list a { grid-template-columns: 1fr auto; gap: .35rem .75rem; }
  .nalvra-solution-list a > span { grid-column: 1 / -1; }
  .nalvra-preview-products { grid-template-columns: 1fr; }
  .catalog-decision-form { grid-template-columns: 1fr; }
  .nalvra-contact-primary { min-height: 0; padding: 2rem 1.35rem; }
  .nalvra-contact-primary h2 { max-width: 100%; }

  .reference-hero-copy,
  .reference-title,
  .reference-title-line,
  .reference-title-line > span,
  .funding-hero-copy,
  .funding-title,
  .funding-title-line,
  .industry-hero-copy,
  .industry-detail .industry-hero-copy h1,
  .speaker-hero-copy,
  .speaker-topic-copy,
  .speaker-topic-media,
  .mvs2-head,
  .mvs2-finding,
  .mvs2-finding > * {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal;
  }
  .reference-title,
  .funding-title { font-size: clamp(2.65rem, 12vw, 3.55rem) !important; letter-spacing: -.055em !important; }
  .reference-title-line,
  .funding-title-line { width: auto !important; overflow: visible !important; }
  .industry-detail .industry-hero-copy h1 { font-size: clamp(2.35rem, 10vw, 3rem) !important; hyphens: auto; }
  .speaker-topic-row { grid-template-columns: minmax(0, 1fr) !important; }
  .speaker-topic-media img { width: 100% !important; max-width: 100% !important; }
  .adv-grid,
  .advantages-grid { grid-template-columns: minmax(0, 1fr) !important; overflow: visible !important; }
  .adv-card { width: 100% !important; transform: none !important; }

  .nalvra-product-toc { top: 64px; }
  .nalvra-product-toc__inner { min-height: 54px; }
  .nalvra-product-toc strong,
  .nalvra-product-toc a { display: none; }
  .nalvra-product-toc select { display: block; }
  .nalvra-progressive-toggle { display: block; }
  body[data-page-template="product"] main:not(.nalvra-details-open) > .nalvra-progressive-section { display: none !important; }

  .conversion-dock {
    inset: auto 8px max(8px, env(safe-area-inset-bottom)) 8px !important;
    width: auto !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }
  .conversion-dock-copy,
  .conversion-dock .btn-secondary,
  .conversion-dock-actions > :not(:first-child) { display: none !important; }
  .conversion-dock-actions,
  .conversion-dock .btn { width: 100% !important; min-height: 44px !important; margin: 0 !important; }
  body.nalvra-assistant-open elevenlabs-convai { inset: 8px 8px 80px 8px !important; width: auto !important; height: auto !important; }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .ml-cursor-glow,
  .ml-cursor-dot { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
