/* r40, 14.11.2026: Handyansicht der Unterseiten im Stil der Desktopansicht, ruhig und hell.
   Gilt nur unter 768 px; die Desktopansicht bleibt unveraendert. Farben nur im hellen Modus, Anordnung in beiden.
   Die :not(#r40…)-Glieder heben die Spezifitaet ueber die der aelteren Handy-Stile (mobile-common-family arbeitet mit
   IDs wie #product-reference und !important), ohne dass es diese IDs im Dokument geben muss. */
@media (max-width: 767px) {
  html:root body.nx-mobile-shell {
    --r40-ink: #1d1d1f; --r40-text: #333336; --r40-grau: #6e6e73; --r40-flaeche: #f5f5f7; --r40-linie: #d2d2d7;
    --r40-akzent: #4438ff; --r40-schwarz: #181b20; --r40-rand: 20px; --r40-radius: 20px;
  }

  /* ---------- Kopfbereich (Hero): Hintergrund und Zierflaechen wie live und am Desktop (Caan 14.11.2026, 08:57 Uhr), Text gut lesbar ---------- */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main h1 {
    font-size: clamp(30px, 8.4vw, 36px) !important; line-height: 1.08 !important; letter-spacing: -.035em !important; font-weight: 400 !important;
    word-break: normal !important; overflow-wrap: normal !important; hyphens: manual !important;
  }
  /* Links ausgerichtet wie am Desktop: Produkt-, Loesungs-, Wissens- und Branchenseiten */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.np-hero, .gs-hero, .ni-hero, .nxs-hero) :is(h1, p, li, .np-lead, .np-hero-summary, .ni-lead, .nxs-lead, .gs-hero-copy, .np-hero-copy, .nxs-copy, .seiten-kurzfassung, [class*="eyebrow"], [class*="kicker"]) {
    text-align: left !important; margin-left: 0 !important; margin-right: 0 !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.np-hero, .gs-hero, .ni-hero, .nxs-hero) :is(.np-actions, .np-hero-actions, .ni-actions, .gs-actions, .gs-hero-links, .nxs-actions, [class*="actions"], [class*="buttons"], [class*="-links"]) {
    justify-content: flex-start !important; align-items: flex-start !important; text-align: left !important;
  }
  /* Zentriert wie am Desktop: Preise, Unternehmensseiten, Kunden, Kontakt */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.pr-hero, .gc-heading, .gc-intro, .nc-index-hero) :is(h1, p) {
    text-align: center !important; margin-left: auto !important; margin-right: auto !important; max-width: 34em !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.np-hero, .gs-hero, .ni-hero, .nxs-hero, .pr-hero, .nc-index-hero, .gc-heading, .gc-intro) :is(.np-lead, .np-hero-summary, .np-hero-summary p, .ni-lead, .nxs-lead, .pr-intro, .nc-intro, .gc-intro-copy, .seiten-kurzfassung, .gs-hero-copy > div, .gs-hero-copy > p) {
    font-size: 17px !important; line-height: 1.5 !important; letter-spacing: -.01em !important;
  }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.np-hero, .gs-hero, .ni-hero, .nxs-hero, .pr-hero, .nc-index-hero, .gc-heading, .gc-intro) :is(.np-lead, .np-hero-summary, .np-hero-summary p, .ni-lead, .nxs-lead, .pr-intro, .nc-intro, .gc-intro-copy, .seiten-kurzfassung, .gs-hero-copy > div, .gs-hero-copy > p) {
    color: var(--r40-text) !important;
  }

  /* ---------- Inhalte unter dem Kopfbereich linksbuendig wie am Desktop ---------- */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(section, article, aside, .np-section, .gs-section, .ni-section, .nxs-section):not(:is(.pr-hero, .gc-heading, .gc-intro, .nc-index-hero)) { text-align: left !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(h2, h3, h4, p, li, dt, dd, blockquote, figcaption, [class*="eyebrow"], [class*="kicker"]):not(:is(.pr-hero, .gc-heading, .gc-intro, .nc-index-hero) *):not(.pr-hero, .gc-heading, .gc-intro, .nc-index-hero) {
    text-align: left !important;
  }

  /* Senkrechte Rahmenlinien der Desktop-Spalten entfallen auf dem Handy, damit Text nicht an der Linie klebt */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.np-wrap, .ni-wrap, .nxs-wrap, .gs-wrap, .pr-wrap, .nc-wrap) { border-left-width: 0 !important; border-right-width: 0 !important; }

  /* Weitere Bedienflaechen: Brotkruemel, Filmverweise, Ruecklink der Kundenberichte */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.gs-crumb, [class*="crumb"], nav[aria-label="Breadcrumb"], nav[aria-label="Brotkrumen"], nav[aria-label="Brotkrümelnavigation"]) a {
    display: inline-flex !important; align-items: center !important; min-height: 44px !important; vertical-align: middle !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.gs-crumb, [class*="crumb"], nav[aria-label="Breadcrumb"], nav[aria-label="Brotkrumen"], nav[aria-label="Brotkrümelnavigation"]) :is(span, li) {
    vertical-align: middle !important; align-items: center !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.gs-crumb, nav[class*="crumb"], ol[class*="crumb"], div[class*="crumb"], nav[aria-label="Breadcrumb"], nav[aria-label="Brotkrumen"], nav[aria-label="Brotkrümelnavigation"]) {
    align-items: center !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main [class*="-links"] > a { display: inline-flex !important; align-items: center !important; min-height: 44px !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main .nx-module-media-reference a, html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main a.nc-eyebrow, html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main a.inline-flex {
    display: inline-flex !important; align-items: center !important; min-height: 44px !important;
  }

  /* ---------- Fusszeile der Unterseiten: hellgrau statt Lavendel, Bedienflaechen 44 px ---------- */
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) footer#footer.footer-24 { background: #f5f5f7 !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) footer#footer .footer-link-24_item_wrapper.is-footer-bottom { min-height: 44px !important; min-width: 44px !important; padding-top: 0 !important; padding-bottom: 0 !important; align-items: center !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) footer#footer a.footer_ai_link { min-width: 44px !important; min-height: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) footer#footer a.brand-link { min-height: 44px !important; display: inline-flex !important; align-items: center !important; }

  /* ---------- Kopfzeile: Logo und Sprachwahl mit 44 px ---------- */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) :is(header, nav) a#nav-brand-link { min-height: 44px !important; display: inline-flex !important; align-items: center !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) :is(header, nav) a.nx-lang-option { min-width: 44px !important; justify-content: center !important; }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) :is(header, nav) :is(button.nx-site-search-open, button.nx-shared-mobile) { min-height: 44px !important; min-width: 44px !important; }

  /* ---------- Bildlinks "Ansicht vergroessern" und kleine Textlinks unter Grafiken ---------- */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main figure a, html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main figcaption a { display: inline-flex !important; align-items: center !important; min-height: 44px !important; }

  /* ---------- Keine Schrift unter 12 px ---------- */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.np-eyebrow, .ni-eyebrow, .gs-eyebrow, .nxs-eyebrow, .nc-eyebrow, .gc-eyebrow, .gc-badge, .pr-kicker, .pr-badge, .ni-tag, .ni-diagram-note, .kw-note, .kw-label, .sv-label, .sv-scene-index, .sv-top, .sv-source-tag, .gs-connector-status, .nc-card-status, .ms-step, .nx-praxis-disclosure, figcaption, time, th, dt) {
    font-size: 12px !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.text-\[8px\], .text-\[9px\], .text-\[10px\], .text-\[11px\]) {
    font-size: 12px !important;
  }

  /* ---------- Bedienflaechen mindestens 44 px ---------- */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.btn, .np-button, .ni-button, .ni-primary, .ni-text-link, .gs-button, .gc-button, .gc-primary, .gc-secondary, .nxs-button, .nc-button, .pr-button, .pr-text-link) {
    min-height: 44px !important; display: inline-flex !important; align-items: center !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(.btn, .np-button, .ni-button, .ni-primary, .gs-button, .gc-button, .gc-primary, .gc-secondary, .nxs-button, .nc-button, .pr-button) {
    justify-content: center !important; border-radius: 980px !important; padding-top: 0 !important; padding-bottom: 0 !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    min-height: 44px !important;
  }
}

/* ---------- Chatknopf: erst nach dem Kopfbereich einblenden (scrollgesteuert; ohne Unterstuetzung sofort sichtbar) ---------- */
@media (max-width: 767px) {
  @supports (animation-timeline: scroll()) {
    html:root body.nx-mobile-shell #nex-chatbot-widget#nex-chatbot-widget {
      animation: nx-r40-chat-ein linear both !important; animation-timeline: scroll(root block) !important; animation-range: 0 480px !important;
    }
  }
}
@keyframes nx-r40-chat-ein { 0%, 90% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }

/* ---------- Schrift unter 12 px in Grafiken, Preiskarten und Formularhinweisen: aus den Messdaten erzeugt
   (kleinschrift_regeln.py). Jede Signatur trifft auf allen Beispielseiten nur Schrift unter 12 px, wird also nur angehoben. ---------- */
@media (max-width: 767px) {
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(
    .ni-hero .ni-breadcrumb a,
    .ni-hero .ni-breadcrumb span,
    .gc-form-card .gc-privacy a,
    .gc-release .gc-voice-diagram b,
    .gc-request .gc-request-inner p.gc-direct-contact,
    .gc-request-inner .gc-direct-contact a,
    .gc-request-inner .gc-form-card p.gc-privacy,
    .gs-art-files-list .gs-art-file span,
    .gs-art-map .gs-art-paper span,
    .gs-art-map .gs-art-paper strong,
    .gs-art-paper .gs-art-files-list div.gs-art-connected,
    .gs-art-paper .gs-art-files-list div.gs-art-label,
    .gs-art-paper .gs-art-files-side small,
    .gs-art-paper .gs-art-files-side span,
    .gs-art-suite .gs-art-paper span,
    .gs-art-suite .gs-art-paper strong,
    .kw-canvas .kw-layers small,
    .kw-visual .kw-label span,
    .ms-workflow .ms-example small,
    .ms-workflow .ms-offer small,
    .ni-atlas .ni-atlas-card b,
    .ni-atlas .ni-atlas-card small,
    .ni-atlas .ni-atlas-center small,
    .ni-case-paper .ni-file b,
    .ni-case-paper .ni-file span,
    .ni-consult .ni-paper div.ni-search-query,
    .ni-consult .ni-paper small,
    .ni-consult .ni-research-note span,
    .ni-consult .ni-slide small,
    .ni-legal .ni-access small,
    .ni-legal .ni-case-paper div.ni-legal-note,
    .ni-legal .ni-case-paper small,
    .ni-legal .ni-folders small,
    .ni-operations .ni-envelope p,
    .ni-operations .ni-envelope small,
    .ni-operations .ni-offer p,
    .ni-operations .ni-offer small,
    .ni-operations .ni-operation-split small,
    .ni-operations .ni-operation-split span,
    .ni-paper .ni-file b,
    .ni-paper .ni-file span,
    .ni-public .ni-public-desk li,
    .ni-public-desk .ni-request p,
    .ni-public-desk .ni-request small,
    .ni-reference-shelf .ni-file b,
    .ni-reference-shelf .ni-file span,
    .ni-visual .ni-operations p.ni-human-check,
    .ni-visual .ni-visual-top span,
    .office-capture .office-capture-label small,
    .pr-card .pr-capacity span,
    .pr-card .pr-card-top p,
    .sv-body .sv-network small,
    .sv-body .sv-version-file em,
    .sv-body .sv-version-stack small,
    .sv-calendar .sv-calendar-days span,
    .sv-calendar .sv-calendar-slots b,
    .sv-document-layout .sv-paper small,
    .sv-gate .sv-gate-check small,
    .sv-hybrid .sv-card small,
    .sv-network .sv-satellite strong,
    .sv-process-stages .is-current small,
    .sv-reception .sv-reception-paths strong,
    .sv-regions .sv-region p,
    .sv-rewrite .sv-rewritten small,
    .sx-guide-page .sx-guide-tabs span,
    .sx-guide-page .sx-tile small,
    .sx-scene .sx-guide-page small,
    .sx-visual .sx-visual-label span,
    .vb-flow .vb-caller small,
    .vb-flow .vb-core small,
    .vb-flow .vb-outcomes small
  ) { font-size: 12px !important; }
}

/* ---------- Handymenue der Unterseiten: gleiche ruhige Gestaltung wie das Menue der Startseite ---------- */
@media (max-width: 767px) {
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation > header strong { font-size: 22px !important; font-weight: 500 !important; letter-spacing: -.03em !important; }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation > header button {
    width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 0 !important; box-shadow: none !important;
  }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation > header button { background: #f5f5f7 !important; color: #1d1d1f !important; }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation > header button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation :is(a.nx-all-demo-link, a.nx-mobile-cta) {
    display: flex !important; align-items: center !important; justify-content: center !important; min-height: 48px !important; border-radius: 980px !important;
    font-size: 15px !important; font-weight: 400 !important; letter-spacing: -.01em !important; box-shadow: none !important; text-decoration: none !important;
  }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation a.nx-all-demo-link {
    background: #fff !important; color: #181b20 !important; border: 1px solid #d2d2d7 !important;
  }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation a.nx-mobile-cta {
    background: #181b20 !important; color: #fff !important; border: 1px solid #181b20 !important;
  }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation details { border-bottom: 1px solid #d2d2d7 !important; }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation summary {
    min-height: 48px !important; padding: 10px 0 !important; align-items: center !important; font-size: 22px !important; font-weight: 400 !important; letter-spacing: -.02em !important;
  }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation summary::after { font-weight: 300 !important; font-size: 24px !important; }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation summary { color: #1d1d1f !important; }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation summary::after { color: #6e6e73 !important; }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation details a {
    display: flex !important; align-items: center !important; min-height: 44px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    font-size: 17px !important; letter-spacing: -.01em !important; text-decoration: none !important;
  }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation details a { background: transparent !important; color: #1d1d1f !important; }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation details p { font-size: 12px !important; text-transform: uppercase !important; letter-spacing: .08em !important; margin: 14px 0 2px !important; }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation details p { color: #6e6e73 !important; }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation :is(.nx-all-page-open, .nx-all-theme) {
    background: #fff !important; color: #1d1d1f !important; border: 1px solid #d2d2d7 !important; box-shadow: none !important;
  }
  html:root body:not(#r40a):not(#r40b):not(#r40c) #nx-mobile-navigation#nx-mobile-navigation .nx-all-page-open { border-radius: 980px !important; padding: 0 18px !important; }
}
@media (max-width: 767px) {
  /* Kopfbereiche der Unterseiten: Hintergrund und Zierflaechen wie live (Caan 14.11.2026, 08:57 Uhr). Damit Text lesbar bleibt,
     liegt hinter Einleitung und Bildunterschriften ein weicher heller Schleier; die Glasschleife der Produktkoepfe laeuft oben aus. */
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main header.np-hero::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%) !important;
            mask-image: linear-gradient(to bottom, transparent 0, #000 35%) !important;
  }
  html:root body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(header.np-hero .np-hero-copy, header.np-hero .np-hero-visual > p, section.nh-hero .nh-intro) {
    position: relative !important; isolation: isolate !important;
  }
  html:root:not([data-nx-theme="dark"]):not([data-theme="dark"]) body.nx-mobile-shell:not(#r40a):not(#r40b):not(#r40c):not(#r40d) main :is(header.np-hero .np-hero-copy, header.np-hero .np-hero-visual > p, section.nh-hero .nh-intro)::before {
    content: "" !important; position: absolute !important; inset: -18px -20px !important; z-index: -1 !important; pointer-events: none !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .78) 22%, rgba(255, 255, 255, .78) 80%, rgba(255, 255, 255, 0)) !important;
  }
}
