/* ==========================================================================
   Nodexa GmbH — Wartungsseite & Rechtstexte
   Statisches Stylesheet, keine externen Abhängigkeiten.
   ========================================================================== */

/* --------------------------------------------------------------- Schriften */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono liegt als variabler Font vor und deckt 400–600 aus einer Datei ab. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------- Tokens */

:root {
  --nx-navy: #101B3D;
  --nx-navy-deep: #1A2451;
  --nx-navy-hover: #1B2C5E;
  --nx-ink: #0F1A3C;
  --nx-blue: #2F6FD0;
  --nx-blue-dark: #1B4F9E;
  --nx-blue-mid: #4A84C4;
  --nx-blue-light: #6BA6F0;
  --nx-text: #525F7D;
  --nx-text-muted: #5D6B8A;
  --nx-line: #E8ECF4;
  --nx-line-card: #E4E9F2;
  --nx-line-strong: #D3DBE9;
  --nx-line-grid: #EDF1F8;
  --nx-line-soft: #D3DFF0;
  --nx-surface: #FFFFFF;
  --nx-surface-tint: #F6F8FC;
  --nx-surface-blue: #F4F8FE;
  --nx-surface-blue-hover: #F5F9FF;
  --nx-icon-bg: #EDF3FC;
  --nx-icon-bg-strong: #E4EEF9;
  --nx-on-dark: #C3CDE4;
  --nx-on-dark-muted: #AFBBD4;
  --nx-shell: 1400px;
  --nx-gutter: clamp(16px, 4vw, 32px);
  --nx-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ------------------------------------------------------------------ Basis */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-family: var(--nx-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--nx-blue); text-decoration: none; }
a:hover { color: var(--nx-blue-dark); }

:focus-visible {
  outline: 2px solid var(--nx-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; }

.nx-shell {
  max-width: var(--nx-shell);
  margin: 0 auto;
  padding-left: var(--nx-gutter);
  padding-right: var(--nx-gutter);
  width: 100%;
}

.nx-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--nx-navy);
  color: #FFFFFF;
  font-size: 14px;
  border-radius: 0 0 8px 0;
}
.nx-skip:focus {
  left: 0;
  color: #FFFFFF;
}

/* ----------------------------------------------------------------- Topbar */

.nx-topbar {
  background: var(--nx-navy);
  color: var(--nx-on-dark);
  font-family: var(--nx-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nx-topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nx-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--nx-on-dark);
  transition: color .18s ease;
}
a.nx-topbar__item:hover { color: #FFFFFF; }
.nx-topbar__item svg { flex: none; }
.nx-topbar__item--push { margin-left: auto; }

/* -------------------------------------------------------------- Kopfzeile */

.nx-header {
  background: var(--nx-surface);
  border-bottom: 1px solid var(--nx-line);
}
.nx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nx-header__logo {
  height: 42px;
  width: auto;
  display: block;
}
.nx-header__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--nx-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  transition: color .18s ease;
}
.nx-header__back:hover { color: var(--nx-blue); }

/* ------------------------------------------------------------- Hauptteil */

.nx-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 82% 12%, rgba(47, 111, 208, 0.09), transparent 62%),
    radial-gradient(700px 480px at 4% 88%, rgba(47, 111, 208, 0.055), transparent 60%),
    var(--nx-surface);
}
.nx-main__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--nx-line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--nx-line-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(1000px 640px at 60% 30%, #000 25%, transparent 88%);
          mask-image: radial-gradient(1000px 640px at 60% 30%, #000 25%, transparent 88%);
}
.nx-main__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

/* ------------------------------------------------------------------- Hero */

.nx-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
  padding: clamp(36px, 6vw, 64px) 0 clamp(32px, 5vw, 48px);
}
.nx-hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.nx-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--nx-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}
.nx-eyebrow__rule {
  width: 34px;
  height: 2px;
  background: var(--nx-blue);
  flex: none;
}
.nx-eyebrow__slashes { color: var(--nx-blue); }

.nx-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--nx-navy);
  text-wrap: pretty;
  hyphens: auto;
}
.nx-hero h1 em {
  font-style: normal;
  color: var(--nx-blue);
}
.nx-hero__lead {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--nx-text);
  text-wrap: pretty;
}

.nx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 220px;
  padding: 17px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
}
.nx-btn--primary {
  background: var(--nx-navy);
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(16, 27, 61, 0.18);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nx-btn--primary:hover {
  background: var(--nx-navy-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 27, 61, 0.24);
}
.nx-btn--secondary {
  border: 1px solid var(--nx-line-strong);
  background: var(--nx-surface);
  color: var(--nx-navy);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.nx-btn--secondary:hover {
  border-color: var(--nx-blue);
  background: var(--nx-surface-blue-hover);
  color: var(--nx-navy);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------- Roboter */

.nx-hero__visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}
.nx-hero__glow {
  position: absolute;
  width: min(460px, 94%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 111, 208, 0.13), rgba(47, 111, 208, 0.04) 58%, transparent 74%);
}
.nx-robot {
  position: relative;
  width: 100%;
  max-width: min(400px, 78vw);
  height: auto;
  display: block;
}

/* ---------------------------------------------------------- Servicekarten */

.nx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
  padding-top: 8px;
}
.nx-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid var(--nx-line-card);
  background: var(--nx-surface);
  color: var(--nx-navy);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nx-card:hover {
  color: var(--nx-navy);
  transform: translateY(-4px);
  border-color: var(--nx-blue);
  box-shadow: 0 20px 42px rgba(16, 27, 61, 0.1);
}
.nx-card--primary {
  border-color: var(--nx-blue);
  background: var(--nx-surface-blue);
}
.nx-card--primary:hover {
  box-shadow: 0 20px 42px rgba(47, 111, 208, 0.16);
}
.nx-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--nx-icon-bg);
  color: var(--nx-blue);
}
.nx-card--primary .nx-card__icon {
  background: var(--nx-blue);
  color: #FFFFFF;
}
.nx-card__title {
  font-size: 17.5px;
  font-weight: 600;
}
.nx-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--nx-text);
}
.nx-card__meta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--nx-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-blue);
}
.nx-card__meta--plain {
  letter-spacing: 0.1em;
  text-transform: none;
}
.nx-card__meta--mail {
  letter-spacing: 0.05em;
  text-transform: none;
}

/* ----------------------------------------------------------- Hinweisband */

.nx-notice {
  background: var(--nx-surface-tint);
  border-top: 1px solid var(--nx-line);
}
.nx-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
}
.nx-notice__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--nx-navy);
}
.nx-notice__text {
  font-size: 14.5px;
  color: var(--nx-text);
  margin-top: 4px;
}
.nx-notice__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--nx-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nx-notice__links a { color: var(--nx-navy); transition: color .18s ease; }
.nx-notice__links a:hover { color: var(--nx-blue); }

/* ---------------------------------------------------------------- Footer */

.nx-footer {
  background: var(--nx-navy);
  color: var(--nx-on-dark-muted);
}
.nx-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}
.nx-footer__brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.nx-footer__name {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 15px;
}
.nx-footer__claim {
  font-size: 14px;
  color: var(--nx-on-dark-muted);
}
.nx-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nx-social__link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--nx-on-dark);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.nx-social__link:hover {
  transform: translateY(-3px);
  background: var(--nx-blue);
  border-color: var(--nx-blue);
  color: #FFFFFF;
}
.nx-footer__legal {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.nx-footer__legal a { color: var(--nx-on-dark-muted); transition: color .18s ease; }
.nx-footer__legal a:hover { color: #FFFFFF; }

/* ------------------------------------------------------------ Rechtstexte */

.nx-legal {
  flex: 1;
  background: var(--nx-surface);
}
.nx-legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 80px);
}
.nx-legal h1 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--nx-navy);
}
.nx-legal__lead {
  margin: 18px 0 0;
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--nx-text);
}
.nx-legal h2 {
  margin: 44px 0 0;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--nx-navy);
}
.nx-legal h3 {
  margin: 26px 0 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--nx-navy);
}
.nx-legal p,
.nx-legal li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--nx-text);
}
.nx-legal p { margin: 14px 0 0; }
.nx-legal ul { margin: 14px 0 0; padding-left: 20px; }
.nx-legal li { margin-top: 8px; }
.nx-legal address {
  font-style: normal;
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--nx-text);
}
.nx-legal hr {
  margin: 48px 0 0;
  border: 0;
  border-top: 1px solid var(--nx-line);
}
.nx-legal__meta {
  margin-top: 20px;
  font-family: var(--nx-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}
.nx-legal__toc {
  margin: 32px 0 0;
  padding: 22px 26px;
  border: 1px solid var(--nx-line-card);
  border-radius: 14px;
  background: var(--nx-surface-tint);
}
.nx-legal__toc ol {
  margin: 10px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}
.nx-legal__toc li { margin-top: 6px; font-size: 14.5px; }
.nx-legal__toc-title {
  font-family: var(--nx-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 720px) {
  .nx-topbar__item--desktop { display: none; }
  .nx-topbar__inner { justify-content: space-between; }
  .nx-topbar__item--push { margin-left: 0; }
  .nx-btn { flex: 1 1 100%; }
  .nx-footer__inner,
  .nx-notice__inner { justify-content: flex-start; }
  .nx-legal__toc ol { columns: 1; }
}

@media (max-width: 520px) {
  .nx-header__logo { height: 34px; }
  .nx-card { padding: 22px; }
  .nx-legal__toc { padding: 18px 20px; }
}

/* --------------------------------------------- Bewegung & Ausgabemedien */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .nx-btn--primary:hover,
  .nx-btn--secondary:hover,
  .nx-card:hover,
  .nx-social__link:hover { transform: none; }
}

@media print {
  .nx-topbar, .nx-social, .nx-main__grid { display: none; }
  body { color: #000; }
  .nx-footer { background: #FFF; color: #000; }
}
