/* Site-specific styles. Consumes design tokens from assets/colors_and_type.css.
   Premium-restrained interpretation of the Nexentia DS:
   - Heavy whitespace, hairline navy borders, large display type
   - One green accent moment per section
   - Subtle line-geometry hero (no gradients, no glow)
*/
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--nx-blue); color: #fff; }

.nx-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nx-container--wide { max-width: 1320px; }

/* ============ Header ============ */
.nx-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  background: rgba(255,255,255,0);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), backdrop-filter var(--dur-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.nx-header.is-scrolled {
  background: rgba(255,255,255,0.84);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--border);
}
.nx-header__inner { display: flex; align-items: center; gap: 32px; height: 80px; }
.nx-header__left { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; }
.nx-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.nx-logo img { height: 32px; width: auto; }
.nx-logo .nx-wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; font-size: 17px; color: var(--nx-navy); }
.nx-nav { display: flex; gap: 32px; }
.nx-nav__link { font-size: 14px; font-weight: 500; color: var(--fg); text-decoration: none; padding: 6px 0; position: relative; transition: color var(--dur-fast) var(--ease); cursor: pointer; }
.nx-nav__link:hover { color: var(--nx-blue); }
.nx-nav__link.is-active { color: var(--nx-blue); }
.nx-nav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--nx-green); }

.nx-lang { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; height: 32px; }
.nx-lang button { background: transparent; border: 0; padding: 0 12px; height: 100%; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--fg-muted); cursor: pointer; transition: all var(--dur-fast) var(--ease); }
.nx-lang button.is-active { background: var(--nx-navy); color: #fff; }

/* ============ Buttons ============ */
.nx-btn {
  font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1;
  padding: 14px 22px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: all var(--dur-fast) var(--ease);
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.nx-btn--primary { background: var(--nx-blue); color: #fff; }
.nx-btn--primary:hover { background: var(--primary-hover); }
.nx-btn--primary:active { background: var(--primary-active); transform: translateY(1px); }
.nx-btn--ghost { background: transparent; color: var(--nx-blue); border-color: var(--border-strong); }
.nx-btn--ghost:hover { color: var(--nx-green); border-color: var(--nx-green); }
.nx-btn--block { display: flex; width: 100%; justify-content: center; padding: 16px 22px; }
.nx-btn--accent { background: var(--nx-green); color: var(--nx-navy); }
.nx-btn--accent:hover { background: var(--green-500); color: #fff; }
.nx-btn .arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease); }
.nx-btn:hover .arrow { transform: translateX(3px); }

/* ============ Type helpers ============ */
.nx-eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.nx-eyebrow::before { content: none; }
.nx-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; color: var(--fg); text-wrap: balance; }
.nx-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--fg); text-wrap: balance; }
.nx-h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: var(--fg); }
.nx-h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; margin: 0; color: var(--fg); }
.nx-lead { font-size: 20px; line-height: 1.55; color: var(--fg-muted); margin: 24px 0 0; max-width: 640px; text-wrap: pretty; }
.nx-body { font-size: 16px; line-height: 1.7; color: var(--fg-muted); margin: 0; text-wrap: pretty; }
.nx-body--ink { color: var(--fg); }
.nx-small { font-size: 13px; line-height: 1.55; color: var(--fg-subtle); }
.nx-arrow-link { font-size: 14px; font-weight: 500; color: var(--nx-blue); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: color var(--dur-fast) var(--ease); background: none; border: 0; padding: 0; }
.nx-arrow-link:hover { color: var(--nx-green); }
.nx-arrow-link .arrow { transition: transform var(--dur-fast) var(--ease); }
.nx-arrow-link:hover .arrow { transform: translateX(3px); }

/* ============ Section ============ */
.nx-section { padding: 128px 0; position: relative; }
.nx-section--paper { background: var(--bg-paper); }
.nx-section--dark { background: var(--nx-navy); color: #fff; }
.nx-section--dark .nx-h2, .nx-section--dark .nx-h3, .nx-section--dark .nx-h4, .nx-section--dark .nx-display { color: #fff; }
.nx-section--dark .nx-body { color: var(--neutral-300); }
.nx-section--dark .nx-eyebrow { color: var(--nx-green); }
.nx-section--dark .nx-eyebrow::before { background: var(--nx-green); }
.nx-section--tight { padding: 96px 0; }
.nx-section__head { max-width: 760px; margin-bottom: 80px; }
.nx-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nx-section__head--center .nx-eyebrow { justify-content: center; }

.nx-divider { height: 1px; background: var(--border); margin: 0; }

/* ============ Hero ============ */
.nx-hero { padding: 200px 0 80px; position: relative; overflow: hidden; }
.nx-hero__content { position: relative; z-index: 2; max-width: 980px; }
.nx-hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border: 1px solid var(--border); border-radius: 9999px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); }
.nx-hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--nx-green); }
.nx-hero__eyebrow span { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--fg-muted); }
.nx-hero__sub { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--fg-muted); margin: 32px 0 0; max-width: 720px; }
.nx-hero__cta { display: flex; gap: 16px; align-items: center; margin-top: 56px; flex-wrap: wrap; }
.nx-hero__stops { display: flex; gap: 8px 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--nx-green); }

/* hero visual: line geometry */
.nx-hero__visual { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.nx-hero__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(15,42,68,0.045) 1px, transparent 1px) 0 0 / 96px 100%,
    linear-gradient(to bottom, rgba(15,42,68,0.045) 1px, transparent 1px) 0 0 / 100% 96px;
  mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.7), transparent 80%);
}
.nx-hero__strokes { position: absolute; right: -8%; top: -8%; width: 65%; height: 110%; }
.nx-hero__strokes svg { width: 100%; height: 100%; display: block; }
.nx-hero__strokes .s1 { stroke: rgba(31,78,121,0.18); }
.nx-hero__strokes .s2 { stroke: rgba(31,78,121,0.10); }
.nx-hero__strokes .s3 { stroke: rgba(92,185,71,0.45); }
.nx-hero__strokes line, .nx-hero__strokes path { fill: none; stroke-width: 1; }
.nx-hero__strokes .anim { stroke-dasharray: 600; stroke-dashoffset: 600; animation: nx-draw 3.2s var(--ease) 0.4s forwards; }
.nx-hero__strokes .anim2 { animation-delay: 0.9s; stroke-dasharray: 480; stroke-dashoffset: 480; }
.nx-hero__strokes .anim3 { animation-delay: 1.4s; stroke-dasharray: 280; stroke-dashoffset: 280; }
@keyframes nx-draw { to { stroke-dashoffset: 0; } }

/* ============ Positioning band ============ */
.nx-positioning { padding: 88px 0 128px; }
.nx-positioning .nx-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; align-items: start; }
.nx-positioning__label { font-family: var(--font-mono, "Inter"), monospace; font-size: 13px; letter-spacing: 0.06em; color: var(--nx-blue); }
.nx-positioning__count { font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--nx-blue); letter-spacing: -0.02em; line-height: 1; margin-top: 8px; }
.nx-positioning__count-label { font-size: 13px; color: var(--fg-subtle); margin-top: 8px; }
.nx-positioning__stops { display: flex; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--nx-green); }

/* ============ Services ============ */
.nx-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.nx-service { padding: 48px 32px 40px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; position: relative; background: #fff; transition: background var(--dur-base) var(--ease); min-height: 520px; }
.nx-service:last-child { border-right: none; }
.nx-service:hover { background: var(--bg-paper); }
.nx-service__top { display: flex; align-items: center; justify-content: space-between; }
.nx-service__num { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--nx-green); letter-spacing: 0.12em; }
.nx-service__flow { font-family: var(--font-display); font-size: 20px; color: var(--border-strong); transition: color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.nx-service:hover .nx-service__flow { color: var(--nx-green); transform: translateX(4px); }
.nx-service__sub { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-subtle); margin-bottom: 4px; }
.nx-service__promise { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--nx-blue); margin: 0; }
.nx-service__tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; gap: 8px; }
.nx-service__tags li { font-size: 13px; line-height: 1.45; color: var(--fg-muted); padding-left: 18px; position: relative; }
.nx-service__tags li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 1px; background: var(--nx-green); }

/* ============ Unified CTA card (Combined Mandate · Request CV) ============ */
.nx-cta-card { margin-top: 64px; background: var(--nx-navy); color: #fff; border-radius: 10px; padding: 48px 48px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.nx-cta-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--nx-green); }
.nx-cta-card__copy { max-width: 560px; }
.nx-cta-card__eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--nx-green); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.nx-cta-card__eyebrow::before { content: none; }
.nx-cta-card__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; letter-spacing: -0.012em; color: #fff; margin: 0 0 12px; text-wrap: balance; }
.nx-cta-card__sub { font-size: 15px; line-height: 1.6; color: var(--neutral-300); margin: 0; max-width: 520px; }
.nx-cta-card__action { display: flex; justify-content: flex-end; }
.nx-cta-card__btn { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; line-height: 1; padding: 16px 22px; border-radius: 6px; border: 0; background: var(--nx-green); color: var(--nx-navy); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.nx-cta-card__btn span { display: inline-block; transition: transform var(--dur-fast) var(--ease); }
.nx-cta-card__btn:hover { background: var(--green-500); color: #fff; }
.nx-cta-card__btn:hover span { transform: translateX(3px); }

/* CV variant: email input + button on dark */
.nx-cta-card--cv .nx-cta-card__action { width: 100%; }
.nx-cta-card__form { display: flex; gap: 10px; width: 100%; align-items: stretch; }
.nx-cta-card__input {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--font-body); font-size: 15px; line-height: 1;
  padding: 14px 16px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nx-cta-card__input::placeholder { color: rgba(255,255,255,0.45); }
.nx-cta-card__input:focus { border-color: var(--nx-green); background: rgba(255,255,255,0.12); }
.nx-cta-card__sent { color: #fff; }
.nx-cta-card__sent-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; color: var(--nx-green); }
.nx-cta-card__sent-body { font-size: 14px; line-height: 1.55; color: var(--neutral-300); }

/* ============ Profile ============ */
.nx-profile-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.nx-profile__photo { position: relative; aspect-ratio: 1 / 1; background: var(--neutral-100); border-radius: 8px; overflow: hidden; }
.nx-profile__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.02); }
.nx-profile__photo::after { content: ""; position: absolute; inset: auto -16px -16px auto; width: 64px; height: 64px; border-right: 1px solid var(--nx-green); border-bottom: 1px solid var(--nx-green); pointer-events: none; }
.nx-profile__photo::before { content: ""; position: absolute; inset: -16px auto auto -16px; width: 64px; height: 64px; border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); pointer-events: none; z-index: 2; }
.nx-profile__name-row { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.nx-profile__name-row .nx-h3 { margin: 0; }
.nx-profile__role { font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.nx-profile__body { margin-top: 32px; font-size: 17px; line-height: 1.7; color: var(--fg-muted); max-width: 600px; text-wrap: pretty; white-space: pre-line; }

.nx-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.nx-pillar { padding: 0; border-right: none; }
.nx-pillar__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); margin-bottom: 12px; font-weight: 600; }
.nx-pillar__v { font-size: 15px; line-height: 1.55; color: var(--fg-muted); }

/* ============ Competency clusters ============ */
.nx-clusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.nx-cluster { background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.nx-cluster__num { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--nx-green); letter-spacing: 0.12em; }
.nx-cluster__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--fg); margin: 0; line-height: 1.3; }
.nx-cluster__items { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.nx-cluster__items li { font-size: 14px; line-height: 1.55; color: var(--fg-muted); padding-left: 16px; position: relative; }
.nx-cluster__items li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 1px; background: var(--nx-green); }

/* ============ Timeline (career) ============ */
.nx-cv { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.nx-cv-item { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--border); align-items: start; transition: background var(--dur-base) var(--ease); }
.nx-cv-item:hover { background: var(--bg-paper); }
.nx-cv-item__rail { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; position: relative; }
.nx-cv-item__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nx-blue); margin-bottom: 4px; }
.nx-cv-item.is-current .nx-cv-item__dot { background: var(--nx-green); box-shadow: 0 0 0 4px rgba(92,185,71,0.15); }
.nx-cv-item__period { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; color: var(--fg); line-height: 1.2; }
.nx-cv-item.is-current .nx-cv-item__period { color: var(--nx-green); }
.nx-cv-item__current-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; background: var(--green-50); color: var(--green-700); text-transform: uppercase; letter-spacing: 0.1em; }
.nx-cv-item__sector { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); font-weight: 600; margin-bottom: 8px; }
.nx-cv-item__client { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--fg); margin: 0 0 6px; letter-spacing: -0.01em; }
.nx-cv-item__role { font-size: 15px; color: var(--fg-muted); font-weight: 500; margin-bottom: 16px; }
.nx-cv-item__context { font-size: 14px; line-height: 1.65; color: var(--fg-muted); margin: 0 0 20px; max-width: 760px; }
.nx-cv-item__hl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.nx-cv-item__hl li { font-size: 14px; line-height: 1.55; color: var(--fg); padding-left: 22px; position: relative; max-width: 820px; }
.nx-cv-item__hl li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 1px; background: var(--nx-green); }

/* ============ Impact glance ============ */
.nx-impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
.nx-impact__item { padding: 56px 32px; border-right: 1px solid rgba(255,255,255,0.12); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.nx-impact__item:last-child { border-right: none; }
.nx-impact__k { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; color: #fff; margin-bottom: 12px; }
.nx-impact__item:nth-child(1) .nx-impact__k,
.nx-impact__item:nth-child(3) .nx-impact__k { color: var(--nx-green); }
.nx-impact__v { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--neutral-300); font-weight: 500; }
.nx-impact__item--echo { background: rgba(255,255,255,0.02); }
.nx-impact__echo-k { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.015em; color: #fff; margin-bottom: 10px; }
.nx-impact__echo-v { font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.3; color: var(--neutral-200); }

/* ============ Three-band hierarchy (Impact · CTA · Footer) ============ */
.nx-band { position: relative; }
.nx-band--impact { background: var(--nx-navy); padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nx-band--cta { background: #131f33; padding: 96px 0 104px; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.14); }
.nx-band--impact .nx-eyebrow--on-dark,
.nx-band--cta .nx-eyebrow--on-dark { display: inline-flex; }

/* ============ Direct contact list ============ */
.nx-direct { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.nx-direct__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); font-weight: 600; margin-bottom: 20px; }
.nx-direct__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.nx-direct__list li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.nx-direct__list li:last-child { border-bottom: none; }
.nx-direct__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-subtle); font-weight: 600; }
.nx-direct__v { font-size: 15px; color: var(--fg); text-decoration: none; font-weight: 500; transition: color var(--dur-fast) var(--ease); }
.nx-direct__v:hover { color: var(--nx-green); }

/* ============ Consent ============ */
.nx-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.55; color: var(--fg-muted); cursor: pointer; }
.nx-consent input[type=checkbox] { margin-top: 2px; accent-color: var(--nx-green); width: 16px; height: 16px; flex-shrink: 0; }
.nx-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ============ Brand marquee ============ */
.nx-marquee { overflow: hidden; position: relative; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nx-marquee__track { display: inline-flex; white-space: nowrap; gap: 0; will-change: transform; }
.nx-marquee__track--ltr { animation: nx-marquee-ltr 80s linear infinite; }
.nx-marquee__track--rtl { animation: nx-marquee-rtl 80s linear infinite; }
.nx-marquee:hover .nx-marquee__track { animation-play-state: paused; }
.nx-marquee__item { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.005em; color: var(--neutral-500); padding: 0 28px; display: inline-flex; align-items: center; }
.nx-marquee__dot { margin-left: 28px; color: var(--nx-green); opacity: 0.55; }
@keyframes nx-marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes nx-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .nx-marquee__track { animation: none !important; flex-wrap: wrap; white-space: normal; justify-content: center; }
}

/* ============ Kontakt-CTA (Schluss-Block, kompakt) ============ */
.nx-cta-block { color: #fff; }
.nx-cta-block__eyebrow { margin-bottom: 24px; }
.nx-eyebrow--on-dark { color: var(--nx-green) !important; }
.nx-eyebrow--on-dark::before { background: var(--nx-green) !important; }
.nx-cta-block__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: end; }
.nx-cta-block__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; margin: 0; text-wrap: balance; }
.nx-cta-block__rail { display: flex; flex-direction: column; gap: 0; }
.nx-cta-block__pair { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.14); color: #fff; text-decoration: none; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.nx-cta-block__pair:first-child { border-top: 1px solid rgba(255,255,255,0.14); }
.nx-cta-block__pair:hover { color: var(--nx-green); border-color: rgba(92,185,71,0.4); }
.nx-cta-block__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--neutral-400); font-weight: 600; }
.nx-cta-block__v { font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; display: inline-flex; align-items: baseline; gap: 10px; letter-spacing: -0.005em; }
.nx-cta-block__arrow { font-family: var(--font-display); font-size: 0.85em; opacity: 0.6; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nx-cta-block__pair:hover .nx-cta-block__arrow { opacity: 1; transform: translate(2px, -2px); }

/* ============ Cases ============ */
.nx-cases { display: flex; flex-direction: column; gap: 24px; }
.nx-case { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 48px; display: grid; grid-template-columns: 220px 1fr 280px; gap: 48px; align-items: start; transition: box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.nx-case:hover { box-shadow: var(--shadow-1); border-color: var(--border-strong); }
.nx-case__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: var(--nx-green); }
.nx-case__sector { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-subtle); margin-top: 8px; font-weight: 600; }
.nx-case__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--fg); margin: 0 0 8px; }
.nx-case__subtitle { font-size: 14px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 24px; }
.nx-case__impact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--nx-blue); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.nx-case__impact-label::before { content: ""; width: 20px; height: 1px; background: var(--nx-green); }
.nx-case__impact { font-size: 15px; line-height: 1.6; color: var(--fg); margin: 0; }
.nx-case__meta { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.nx-case__meta-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.nx-case__meta-row:last-child { border-bottom: none; }
.nx-case__meta-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-subtle); font-weight: 600; }
.nx-case__meta-v { font-size: 13px; color: var(--fg); font-weight: 500; text-align: right; }

.nx-cases__outro { margin-top: 48px; padding: 32px 0 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--fg-muted); max-width: 720px; }

/* ============ Contact ============ */
.nx-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; }
.nx-contact__form { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 40px; }
.nx-field label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-muted); margin-bottom: 8px; }
.nx-field input, .nx-field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  border: 1px solid var(--border-strong); border-radius: 4px; background: #fff;
  color: var(--fg); width: 100%; outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.nx-field textarea { resize: vertical; min-height: 120px; }
.nx-field input:focus, .nx-field textarea:focus { border-color: var(--nx-green); box-shadow: 0 0 0 3px rgba(92,185,71,0.18); }
.nx-contact__note { font-size: 12px; color: var(--fg-subtle); line-height: 1.55; }
.nx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; background: var(--green-50); color: var(--green-700); text-transform: uppercase; letter-spacing: 0.08em; }
.nx-contact__sent { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ============ Footer ============ */
.nx-footer { background: #0c1626; color: var(--neutral-200); padding: 96px 0 32px; border-top: 1px solid rgba(255,255,255,0.14); }
.nx-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 96px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nx-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.nx-footer__mark { width: 88px; height: auto; display: block; margin-bottom: 4px; background: #fff; padding: 8px; border-radius: 10px; }
.nx-footer__tagline { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--nx-green); }
.nx-footer__addr { font-size: 13px; line-height: 1.6; color: var(--neutral-300); margin-top: 8px; max-width: 360px; }
.nx-footer__company-line { display: block; color: var(--neutral-300); margin-top: 4px; }
.nx-footer__vat { display: block; color: var(--neutral-400); margin-top: 10px; }
.nx-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nx-footer__h { font-family: var(--font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 16px; }
.nx-footer__cols a { display: block; font-size: 14px; color: var(--neutral-300); padding: 4px 0; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.nx-footer__cols a:hover { color: var(--nx-green); }
.nx-footer__legal { font-size: 12px; color: var(--neutral-400); padding-top: 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============ Legal pages ============ */
.nx-legal-page { min-height: 100vh; background: var(--bg); padding: 48px 24px 96px; }
.nx-legal-page__back { display: inline-flex; max-width: 840px; margin: 0 auto 48px; color: var(--nx-blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.nx-legal-page__content { max-width: 840px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 56px; }
.nx-legal-page__content h1 { margin-bottom: 32px; }
.nx-legal-page__content h2 { font-family: var(--font-display); font-size: 20px; line-height: 1.25; color: var(--fg); margin: 32px 0 10px; }
.nx-legal-page__content p, .nx-legal-page__content li { font-size: 16px; line-height: 1.7; color: var(--fg-muted); }
.nx-legal-page__content p { margin: 0; }
.nx-legal-page__content ul { margin: 0; padding-left: 20px; }
.nx-legal-page__content a { color: var(--nx-blue); }
.nx-legal-page__note { margin-top: 40px !important; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px !important; color: var(--fg-subtle) !important; }

/* ============ Page-wide reveal ============ */
.nx-reveal { opacity: 0; transform: translateY(8px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.nx-reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive (consolidated) ============ */
@media (max-width: 980px) {
  /* Container: schmalerer Seitenrand */
  .nx-container { padding: 0 20px; }

  /* Section-Heads: weniger Luft zwischen Eyebrow/H2 und Body */
  .nx-section__head { margin-bottom: 48px; }

  /* Sektions-Paddings (Hierarchie der dunklen Bänder bleibt erhalten) */
  .nx-section { padding: 72px 0; }
  .nx-section--tight { padding: 56px 0; }
  .nx-band--impact { padding: 80px 0; }
  .nx-band--cta { padding: 64px 0 72px; }
  .nx-footer { padding: 64px 0 32px; }

  /* Hero / Positioning behalten ihre custom paddings */
  .nx-hero { padding: 112px 0 48px; }
  .nx-hero__stops { margin-top: 40px; padding-top: 20px; }
  .nx-positioning { padding: 56px 0 72px; }

  /* Header */
  .nx-nav { display: none; }

  /* Services */
  .nx-services { grid-template-columns: 1fr; }
  .nx-service { border-right: none; border-bottom: 1px solid var(--border); min-height: auto; }
  .nx-service:last-child { border-bottom: none; }

  /* Grids → 1 Spalte */
  .nx-positioning .nx-grid, .nx-profile-hero, .nx-contact { grid-template-columns: 1fr; gap: 48px; }
  .nx-pillars { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; padding-top: 32px; }
  .nx-clusters { grid-template-columns: 1fr; }
  .nx-cv-item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }

  /* Impact-Glance */
  .nx-impact { grid-template-columns: 1fr; }
  .nx-impact__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 36px 16px; }
  .nx-impact__item:last-child { border-bottom: none; }
  .nx-impact__item--echo { background: transparent; padding-top: 44px; padding-bottom: 44px; }

  /* Kontakt-Liste & Cases */
  .nx-direct__list li { grid-template-columns: 1fr; gap: 4px; }
  .nx-case { grid-template-columns: 1fr; gap: 24px; padding: 32px; }

  /* CTA-Block & CTA-Card (vorher in 900px-Query, jetzt konsolidiert) */
  .nx-cta-block__row { grid-template-columns: 1fr; gap: 40px; }
  .nx-cta-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .nx-cta-card__action { justify-content: flex-start; }

  /* Footer */
  .nx-footer__mark { width: 72px; }
  .nx-footer__inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 40px; }
  .nx-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
}
  .nx-clusters { grid-template-columns: 1fr; }
  .nx-cv-item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }

  /* Impact-Glance */
  .nx-impact { grid-template-columns: 1fr; }
  .nx-impact__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 36px 16px; }
  .nx-impact__item:last-child { border-bottom: none; }
  .nx-impact__item--echo { background: transparent; padding-top: 44px; padding-bottom: 44px; }

  /* Kontakt-Liste & Cases */
  .nx-direct__list li { grid-template-columns: 1fr; gap: 4px; }
  .nx-case { grid-template-columns: 1fr; gap: 24px; padding: 32px; }

  /* CTA-Block & CTA-Card (vorher in 900px-Query, jetzt konsolidiert) */
  .nx-cta-block__row { grid-template-columns: 1fr; gap: 40px; }
  .nx-cta-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .nx-cta-card__action { justify-content: flex-start; }

  /* Footer */
  .nx-footer__mark { width: 72px; }
  .nx-footer__inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 40px; }
  .nx-footer__cols { grid-template-columns: repeat(2, 1fr); }
}


/* ================================================================
   NEW MULTI-PAGE STYLES — appended
   ================================================================ */

/* ── Sub-page hero ─────────────────────────────────────────────── */
.nx-page-hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.nx-page-hero__content { position: relative; z-index: 2; max-width: 860px; }
.nx-page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--border); border-radius: 9999px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  margin-bottom: 32px;
}
.nx-page-hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--nx-green); }
.nx-page-hero__eyebrow span { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--fg-muted); }
.nx-page-hero__tagline {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; color: var(--nx-green);
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
}

/* ── Problem cards (homepage) ──────────────────────────────────── */
.nx-problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  margin-top: 64px;
}
.nx-problem-card { background: #fff; padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.nx-problem-card__num { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--nx-green); letter-spacing: 0.12em; }
.nx-problem-card__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--fg); margin: 0; }
.nx-problem-card__body { font-size: 15px; line-height: 1.65; color: var(--fg-muted); margin: 0; }
.nx-problem-legal {
  margin-top: 40px; padding: 24px 32px;
  background: var(--blue-50); border-radius: 6px;
  border-left: 3px solid var(--nx-blue);
  font-size: 14px; line-height: 1.6; color: var(--fg-muted);
}

/* ── Product cards (homepage) ──────────────────────────────────── */
.nx-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.nx-product-card {
  border: 1px solid var(--border); border-radius: 10px; padding: 48px;
  display: flex; flex-direction: column; gap: 20px;
  background: #fff;
  transition: box-shadow var(--dur-base) var(--ease);
  text-decoration: none; color: inherit;
}
.nx-product-card:hover { box-shadow: var(--shadow-2); }
.nx-product-card--accent { background: var(--nx-navy); border-color: transparent; }
.nx-product-card--accent .nx-product-card__tag { color: var(--nx-green); }
.nx-product-card--accent .nx-product-card__name { color: #fff; }
.nx-product-card--accent .nx-product-card__tagline { color: rgba(255,255,255,0.8); }
.nx-product-card--accent .nx-product-card__body { color: rgba(255,255,255,0.55); }
.nx-product-card__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--nx-blue); }
.nx-product-card__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; margin: 0; color: var(--fg); }
.nx-product-card__tagline { font-size: 15px; font-weight: 500; color: var(--fg); line-height: 1.4; }
.nx-product-card__body { font-size: 15px; line-height: 1.65; color: var(--fg-muted); margin: 0; flex: 1; }
.nx-product-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--nx-blue); margin-top: auto;
  transition: gap var(--dur-fast) var(--ease);
}
.nx-product-card--accent .nx-product-card__cta { color: var(--nx-green); }
.nx-product-card:hover .nx-product-card__cta { gap: 12px; }
.nx-product-bridge {
  margin-top: 40px; padding: 24px 32px;
  background: var(--neutral-50); border-radius: 6px;
  font-size: 14px; line-height: 1.65; color: var(--fg-muted);
  border: 1px solid var(--border);
}

/* ── AI: Comparison (hidden effort) ───────────────────────────── */
.nx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.nx-compare__col { border: 1px solid var(--border); border-radius: 10px; padding: 40px; }
.nx-compare__col--accent { background: var(--nx-navy); border-color: transparent; }
.nx-compare__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-muted); margin-bottom: 24px; }
.nx-compare__col--accent .nx-compare__label { color: var(--nx-green); }
.nx-compare__items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.nx-compare__items li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
.nx-compare__items li::before { content: "—"; color: var(--neutral-400); flex-shrink: 0; }
.nx-compare__col--accent .nx-compare__items li { color: rgba(255,255,255,0.75); }
.nx-compare__col--accent .nx-compare__items li::before { content: "✓"; color: var(--nx-green); }

/* ── AI: Phase steps ────────────────────────────────────────────── */
.nx-phases {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  margin-top: 64px;
}
.nx-phase {
  background: #fff; padding: 48px;
  display: grid; grid-template-columns: 120px 1fr 280px; gap: 48px; align-items: start;
  transition: background var(--dur-base) var(--ease);
}
.nx-phase:hover { background: var(--bg-paper); }
.nx-phase__num { font-family: var(--font-display); font-weight: 700; font-size: 36px; color: var(--nx-green); letter-spacing: -0.02em; line-height: 1; }
.nx-phase__duration { font-size: 12px; color: var(--fg-subtle); margin-top: 8px; line-height: 1.5; }
.nx-phase__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--fg); margin: 0 0 8px; }
.nx-phase__items { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.nx-phase__items li { font-size: 14px; line-height: 1.55; color: var(--fg-muted); padding-left: 18px; position: relative; }
.nx-phase__items li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 1px; background: var(--nx-green); }
.nx-phase__output-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); font-weight: 600; margin-bottom: 10px; }
.nx-phase__output {
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg);
  padding: 20px; background: var(--blue-50); border-radius: 6px; border: 1px solid var(--blue-100);
}

/* ── AI: Comparison table ───────────────────────────────────────── */
.nx-ai-table { width: 100%; border-collapse: collapse; margin-top: 64px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.nx-ai-table th {
  background: var(--nx-navy); color: #fff;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  padding: 16px 20px; text-align: left; letter-spacing: 0.02em;
}
.nx-ai-table th:first-child { background: #0a1e32; }
.nx-ai-table th.is-nexentia { background: var(--nx-green); color: var(--nx-navy); }
.nx-ai-table td { padding: 16px 20px; font-size: 14px; color: var(--fg-muted); border-bottom: 1px solid var(--border); vertical-align: middle; }
.nx-ai-table td:first-child { font-weight: 600; color: var(--fg); background: var(--neutral-50); }
.nx-ai-table td.is-nexentia { color: var(--nx-navy); font-weight: 600; background: rgba(92,185,71,0.06); }
.nx-ai-table tr:last-child td { border-bottom: none; }

/* ── AI: Next steps ─────────────────────────────────────────────── */
.nx-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.nx-next-step { padding: 40px 32px; border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.nx-next-step__num { font-family: var(--font-display); font-weight: 700; font-size: 48px; color: #bfcfdf; line-height: 1; letter-spacing: -0.03em; }
.nx-next-step__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--fg); margin: 0; }
.nx-next-step__body { font-size: 14px; line-height: 1.65; color: var(--fg-muted); margin: 0; }

/* ── Consulting: When section ───────────────────────────────────── */
.nx-when-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.nx-when-card {
  padding: 40px 32px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow var(--dur-base) var(--ease);
}
.nx-when-card:hover { box-shadow: var(--shadow-2); }
.nx-when-card__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--fg); margin: 0; }
.nx-when-card__body { font-size: 15px; line-height: 1.65; color: var(--fg-muted); margin: 0; }

/* ── Consulting: Approach comparison ────────────────────────────── */
.nx-approach {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  margin-top: 64px;
}
.nx-approach__col { background: #fff; padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.nx-approach__col--right { background: var(--nx-navy); }
.nx-approach__label { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--nx-blue); }
.nx-approach__col--right .nx-approach__label { color: var(--nx-green); }
.nx-approach__rows { display: flex; flex-direction: column; }
.nx-approach__row {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.nx-approach__col--right .nx-approach__row { border-bottom-color: rgba(255,255,255,0.1); }
.nx-approach__row:last-child { border-bottom: none; }
.nx-approach__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-subtle); font-weight: 600; padding-top: 3px; }
.nx-approach__col--right .nx-approach__k { color: rgba(255,255,255,0.4); }
.nx-approach__v { font-size: 15px; line-height: 1.55; color: var(--fg); }
.nx-approach__col--right .nx-approach__v { color: rgba(255,255,255,0.85); }
.nx-approach-bridge {
  margin-top: 32px; padding: 24px 32px;
  background: var(--blue-50); border-radius: 6px;
  border-left: 3px solid var(--nx-blue);
  font-size: 14px; line-height: 1.65; color: var(--fg-muted);
}

/* ── Consulting: Services ───────────────────────────────────────── */
.nx-c-services { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 64px; }
.nx-c-service { background: #fff; padding: 48px; display: grid; grid-template-columns: 80px 1fr; gap: 48px; align-items: start; }
.nx-c-service__num { font-family: var(--font-display); font-weight: 700; font-size: 36px; color: var(--nx-green); letter-spacing: -0.02em; line-height: 1; }
.nx-c-service__sub { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin-bottom: 6px; }
.nx-c-service__promise { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--fg); margin: 0 0 20px; }
.nx-c-service__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-c-service__tag {
  font-size: 13px; padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 9999px;
  color: var(--fg-muted); background: var(--neutral-50);
}

/* ── Consulting: Profile ────────────────────────────────────────── */
.nx-c-profile { padding: 80px 0; }
.nx-c-profile__inner { display: grid; grid-template-columns: 1fr 440px; gap: 80px; align-items: start; }
.nx-c-profile__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); color: var(--fg); line-height: 1.05; margin: 0 0 8px; }
.nx-c-profile__role { font-size: 15px; color: var(--fg-muted); margin: 0 0 32px; }
.nx-c-profile__body { font-size: 16px; line-height: 1.75; color: var(--fg-muted); white-space: pre-line; }
.nx-c-profile__pillars { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.nx-c-profile__pillar { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); background: #fff; }
.nx-c-profile__pillar:last-child { border-bottom: none; }
.nx-c-profile__pk { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--nx-blue); font-weight: 600; padding-top: 3px; }
.nx-c-profile__pv { font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* ── Responsive additions ───────────────────────────────────────── */
@media (max-width: 980px) {
  .nx-page-hero { padding: 120px 0 48px; }
  .nx-problem-grid { grid-template-columns: 1fr; }
  .nx-product-grid { grid-template-columns: 1fr; }
  .nx-compare { grid-template-columns: 1fr; }
  .nx-phase { grid-template-columns: 1fr; gap: 20px; }
  .nx-next-steps { grid-template-columns: 1fr; }
  .nx-when-grid { grid-template-columns: 1fr; }
  .nx-approach { grid-template-columns: 1fr; }
  .nx-ai-table { font-size: 12px; }
  .nx-ai-table td, .nx-ai-table th { padding: 10px 12px; }
  .nx-c-service { grid-template-columns: 1fr; gap: 20px; }
  .nx-c-profile__inner { grid-template-columns: 1fr; gap: 40px; }
}


/* ================================================================
   FIXES — Round 2
   ================================================================ */

/* ── z-index: Header always above hero visuals ──────────────────── */
.nx-header { z-index: 200 !important; }
.nx-hero__visual,
.nx-page-hero .nx-hero__visual { z-index: 0 !important; position: absolute !important; }

/* ── Problem section: subtle background ─────────────────────────── */
.nx-problem-section { background: var(--bg-paper, #f8f9fa); }
.nx-problem-intro {
  font-size: 17px; line-height: 1.75; color: var(--fg-muted);
  max-width: 720px; margin-top: 24px;
}

/* ── AI CTA: green button override ──────────────────────────────── */
.nx-btn--green {
  background: var(--nx-green) !important;
  color: var(--nx-navy) !important;
  border-color: transparent !important;
  font-weight: 700;
}
.nx-btn--green:hover {
  background: #4da83e !important;
}

/* ── Consulting profile CTA ─────────────────────────────────────── */
.nx-c-profile__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 40px;
  padding: 14px 32px;
  background: var(--nx-blue); color: #fff;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.nx-c-profile__cta:hover { background: var(--nx-navy); }


/* ================================================================
   FIXES — Round 3
   ================================================================ */

/* ── 1. Header always on top — nuclear z-index ──────────────────── */
.nx-header {
  z-index: 1000 !important;
  position: fixed !important;
}

/* Ensure no hero element can create a competing stacking context */
.nx-page-hero,
.nx-hero {
  isolation: auto !important;
}
.nx-hero__visual {
  z-index: 0 !important;
  position: absolute !important;
  inset: 0;
  pointer-events: none;
}
.nx-hero__strokes,
.nx-hero__grid {
  z-index: 0 !important;
}
.nx-page-hero__content {
  position: relative;
  z-index: 1;
}

/* ── 2. Sub-page hero: smaller headline + less padding ──────────── */
.nx-page-hero { padding: 120px 0 56px; }

.nx-page-hero h1.nx-display,
.nx-page-hero .nx-display {
  font-size: clamp(28px, 4vw, 52px) !important;
  line-height: 1.1 !important;
}

.nx-page-hero__tagline {
  margin-top: 32px;
  padding-top: 20px;
}

/* ── 3. Compare: left box not white-on-white ────────────────────── */
.nx-compare__col:not(.nx-compare__col--accent) {
  background: var(--neutral-50, #f5f6f7);
}

/* ── 4. Approach: left column not white-on-white ────────────────── */
.nx-approach__col:not(.nx-approach__col--right) {
  background: var(--neutral-50, #f5f6f7);
}

/* ── 5. Responsive hero adjustment ─────────────────────────────── */
@media (max-width: 980px) {
  .nx-page-hero { padding: 100px 0 40px; }
  .nx-page-hero h1.nx-display,
  .nx-page-hero .nx-display { font-size: clamp(24px, 6vw, 36px) !important; }
}


/* ================================================================
   FIXES — Round 4
   ================================================================ */

/* ── 1. AI table section: nicht weiß auf weiß ───────────────────── */
/* (wird als section-bg in ai.html gesetzt — siehe unten) */

/* ── 2. Next-step Zahlen dunkler ────────────────────────────────── */
.nx-next-step__num {
  color: var(--nx-blue) !important;
  opacity: 0.35;
}

/* ── 3. Approach linke Spalte (Nexentia AI): weiß ──────────────── */
.nx-approach__col:not(.nx-approach__col--right) {
  background: #fff !important;
}

/* ── 4. Consulting Services: leichter Hintergrund ───────────────── */
.nx-c-services {
  background: transparent;
}
/* Services-Sektion bekommt bg-paper — wird inline in consulting.html gesetzt */

/* Round 5: dark bg + white text for non-Nexentia table cells */
.nx-ai-table td:not(:first-child):not(.is-nexentia) {
  background: var(--nx-navy);
  color: rgba(255,255,255,0.7);
}

/* Round 5b: revert navy bg, white bg for non-Nexentia cells */
.nx-ai-table td:not(:first-child):not(.is-nexentia) {
  background: #fff !important;
  color: var(--fg-muted) !important;
}

/* Round 5c: table section white bg, light blue for 3 competitor columns */
.nx-ai-table td:not(:first-child):not(.is-nexentia) {
  background: rgba(31, 78, 121, 0.07) !important;
  color: var(--fg-muted) !important;
}
.nx-ai-table th:not(:first-child):not(.is-nexentia) {
  background: rgba(31, 78, 121, 0.55) !important;
}

/* Round 5d: restore dark header for competitor columns */
.nx-ai-table th:not(:first-child):not(.is-nexentia) {
  background: #0a1e32 !important;
  color: #fff !important;
}

/* Footer cols: align headings to top */
.nx-footer__cols { align-items: start; }
.nx-footer__cols > div { display: flex; flex-direction: column; }
.nx-footer__h { align-self: flex-start; }

/* Inverted services section */
.nx-section--dark .nx-c-services { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.nx-section--dark .nx-c-service { background: transparent; }
.nx-section--dark .nx-c-service__promise { color: #fff; }
.nx-section--dark .nx-c-service__sub { color: rgba(255,255,255,0.5); }
.nx-section--dark .nx-c-service__tag { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.12); }

/* Consulting services: light blue outer box, white cards */
.nx-c-services {
  background: rgba(31, 78, 121, 0.08) !important;
  border-color: rgba(31, 78, 121, 0.12) !important;
}
.nx-c-service {
  background: #fff !important;
}
