/*
 * NIVANDO — CORPORATE IDENTITY / DE BASELINE — 18 Nov 2026
 * Brand accent: #36D7B7 ; navy: #071D29 ; text: Inter.
 * One token per semantic use: light-on-dark #36D7B7, dark-on-light #007F87.
 * This stylesheet is intentionally loaded after all page/component CSS on
 * German pages; it will be reused after EN/TR editorial alignment.
 */
html[lang="de"]{
  --nv-navy:#071d29;
  --nv-teal:#36d7b7;
  --nv-aqua:#36d7b7;
  --nv-brand-accent:#36d7b7;
  --nv-brand-accent-hover:#70e3d4;
  --nv-accent-on-light:#007f87;
  --nv-font:Inter,"Helvetica Neue",Arial,sans-serif;
  --teal:#36d7b7;
  --teal-dark:#007f87;
}
html[lang="de"] .core-page{
  --core-teal:var(--nv-brand-accent);
  --core-cyan:var(--nv-brand-accent);
}
html[lang="de"] .nv-detail{
  --d-teal:var(--nv-brand-accent);
  --d-mint:var(--nv-brand-accent);
}
html[lang="de"] .nv-division{
  --nv-accent:var(--nv-brand-accent);
  --nv-accent-dark:var(--nv-accent-on-light);
}
html[lang="de"] body,
html[lang="de"] body :is(main,h1,h2,h3,h4,p,button,input,select,textarea,summary){
  font-family:var(--nv-font);
}
/* Unified hero foundations. The varied diagrams are editorial, not brand changes. */
html[lang="de"] body main :is(.hero,.core-hero,.d-hero,.legal-hero){
  background-color:var(--nv-navy);
  background-image:linear-gradient(125deg,#061922 5%,#092b32 100%);
  color:#f9ffff;
}
html[lang="de"] body main :is(.core-hero,.d-hero)::before{
  background:radial-gradient(ellipse 50% 82% at 86% 52%,rgba(16,102,108,.20),transparent 72%);
}
html[lang="de"] body main :is(.hero,.core-hero,.d-hero,.legal-hero) h1{
  font-family:var(--nv-font);
  font-weight:650;
  letter-spacing:-.075em;
  line-height:1.055;
}
html[lang="de"] body main :is(.hero,.core-hero,.d-hero) h1{
  font-size:clamp(54px,5.35vw,85px);
}
html[lang="de"] body main :is(.hero,.core-hero,.d-hero,.legal-hero) h1 em,
html[lang="de"] body main .d-hero .d-tagline,
html[lang="de"] body main .legal-hero .legal-kicker{
  color:var(--nv-brand-accent);
}
html[lang="de"] body main .hero .eyebrow-line,
html[lang="de"] body main .core-hero .core-eyebrow-line,
html[lang="de"] body main .d-hero .d-kicker::before{
  background:var(--nv-brand-accent);
}
html[lang="de"] body main .hero .button-primary,
html[lang="de"] body main .core-hero .core-btn-primary,
html[lang="de"] body main .d-hero .d-btn-primary{
  background:var(--nv-brand-accent);
  color:var(--nv-navy);
}
html[lang="de"] body main .hero .button-primary:hover,
html[lang="de"] body main .core-hero .core-btn-primary:hover,
html[lang="de"] body main .d-hero .d-btn-primary:hover{
  background:var(--nv-brand-accent-hover);
  color:var(--nv-navy);
}
html[lang="de"] body main .hero .hero-edge,
html[lang="de"] body main .core-hero .core-hero-edge{
  background:linear-gradient(90deg,#1b7178,var(--nv-brand-accent) 45%,transparent 85%);
}
html[lang="de"] body main :is(.hero,.core-hero,.d-hero) :is(.hero-description,.core-hero-lead,.d-hero-lead){
  color:#bdcdd0;
  letter-spacing:-.015em;
}
html[lang="de"] body main .nv-detail .d-smalllabel,
html[lang="de"] body main .core-page .core-kicker{
  color:var(--nv-accent-on-light);
}
html[lang="de"] body main .core-page .core-hero .core-kicker{
  color:var(--nv-brand-accent);
}
html[lang="de"] body ::selection{
  background:var(--nv-brand-accent);
  color:var(--nv-navy);
}
html[lang="de"] body :focus-visible{
  outline-color:var(--nv-brand-accent);
}
@media(max-width:930px){
  html[lang="de"] body main :is(.hero,.core-hero,.d-hero) h1{
    font-size:clamp(52px,8vw,76px);
  }
}
@media(max-width:670px){
  html[lang="de"] body main :is(.hero,.core-hero,.d-hero) h1{
    font-size:clamp(41px,10.3vw,59px);
    letter-spacing:-.073em;
  }
}


/* Consistent heading accents across editorial sections. Dark text on light,
   brand turquoise on dark backgrounds: contrast is not sacrificed for uniformity. */
html[lang="de"] body main :is(
  .people-story h2 em,
  .reference-intro h2 em,
  .ecosystem-copy h2 em,
  .industries-intro h2 em,
  .voices-heading h2 em,
  .nv-info-story h2 em,
  .nv-dir-intro h2 em,
  .nv-dir-approach h2 em,
  .nv-dir-cta h2 em,
  .nv-story h2 em,
  .d-intro h2 em,
  .d-focus h2 em,
  .d-process h2 em,
  .core-section-intro h2 span,
  .core-operating-intro h2 span,
  .core-cta-content h2 em
){color:var(--nv-accent-on-light)}
html[lang="de"] body main :is(
  .principle-content h2 span,
  .commitment-copy h2 em,
  .nv-emea-section h2 em,
  .core-connected h2 em
){color:var(--nv-brand-accent)}

/*
 * Nivando accessibility refinements, November 2026.
 * Exact text selectors observed in Google Lighthouse /de/ on 2026-11-19.
 * Five minimal color-only corrections. No layout, typography, image or
 * Nivando CI/accent color changes.
 *
 * Live asset: Cloudflare KV NIVANDO_ASSETS, key assets/css/brand-consistency.css.
 * The Pages worker uses that same base stylesheet for EN/TR brand-global.css,
 * translating html[lang="de"] selectors to the international languages.
 * Keep this section at the END of brand-consistency.css.
 */
/* People section tiny 01/02 indices: #078394 → #067282 (5.15:1 on #f1f6f4). */
html[lang="de"] .people-notes span { color: #067282; }

/* References tiny 01/03 counts: #6b8c91 → #517077 (5.34:1 on white). */
html[lang="de"] .reference-grid .ref-counter { color: #517077; }

/* Process tiny 01..04 counters: #5b8b8f → #486f73 (5.53:1 on white). */
html[lang="de"] .process-steps .step-n { color: #486f73; }

/* Location caption text: #69808a → #526a72 (5.52:1 on #f9fbfa). */
html[lang="de"] .voices-grid .voice figcaption span { color: #526a72; }

/* Cookie notice microcopy: #667e83 → #52696e (5.83:1 on white). */
html[lang="de"] .nv-consent-panel .nv-consent-bottom span { color: #52696e; }

