/* NXTBYTE public premium UI – SaaS-style, reseller-honest */
:root {
  --nxt-accent: #5b74d4;
  --nxt-accent-hover: #6a82df;
  --nxt-accent-soft: rgba(91, 116, 212, 0.14);
  --nxt-surface: #ffffff;
  --nxt-surface-2: #f8fafc;
  --nxt-deep: #0b0f19;
  --nxt-card: #161c2d;
  --nxt-text: #0f172a;
  --nxt-muted: #64748b;
  --nxt-border: rgba(15, 23, 42, 0.08);
  --nxt-radius: 14px;
  --nxt-radius-lg: 20px;
  --nxt-shadow: none;
  --nxt-shadow-lg: none;
  --nxt-font: "Inter", system-ui, -apple-system, sans-serif;
  --nxt-success: #22c55e;
}

.nxt-ui-dark {
  --nxt-surface: #334866;
  --nxt-surface-2: #3a516e;
  --nxt-text: #f1f5f9;
  --nxt-muted: #d7e0ee;
  --nxt-border: rgba(220, 230, 244, 0.28);
  --nxt-shadow: none;
  --nxt-card: #334866;
}

html.nxt-sale-theme {
  --nxt-accent: var(--sale-accent);
  --nxt-accent-hover: var(--sale-accent-hover);
  --nxt-accent-soft: var(--sale-accent-glow);
}

.nxt-public { font-family: var(--nxt-font); color: var(--nxt-text); }

/* Status pill (header) */
.nxt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--nxt-muted) !important;
  border: 1px solid var(--nxt-border);
  background: var(--nxt-surface-2);
  transition: border-color 0.15s, color 0.15s;
}
.nxt-status-pill:hover { color: var(--nxt-text) !important; border-color: var(--nxt-accent); }
.nxt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nxt-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}
.nxt-status-dot--ok      { background: var(--nxt-success); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
.nxt-status-dot--warn    { background: #f59e0b;            box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.nxt-status-dot--down    { background: #ef4444;            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); }
.nxt-status-dot--maint   { background: #3b82f6;            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.nxt-status-dot--unknown { background: #9ca3af;            box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.25); }

/* Homepage-Hero: volle Viewport-Breite, unter Header + Topbar */
html.nxt-site-ui:has(.homepage-hero-wrap) {
  overflow-x: hidden;
}
html.nxt-site-ui #content.main-content.homepage-hero-wrap,
body #content.main-content.homepage-hero-wrap {
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: hidden !important;
}
html.nxt-site-ui #content.main-content.homepage-hero-wrap .nxt-hero-premium,
html.nxt-site-ui #content.main-content.homepage-hero-wrap .nxt-hero-premium__bg,
html.nxt-site-ui #content.main-content.homepage-hero-wrap .homepage-hero-carousel,
html.nxt-site-ui #content.main-content.homepage-hero-wrap .nxt-hero-carousel-mobile {
  width: 100% !important;
  max-width: none !important;
}
@media (min-width: 992px) {
  body #content.main-content.homepage-hero-wrap {
    margin-top: 128px !important;
  }
}
@media (max-width: 991px) {
  body #content.main-content.homepage-hero-wrap {
    margin-top: 0 !important;
    padding-top: 65px !important;
  }

  .nxt-product-grid,
  .nxt-why-grid,
  .nxt-tech-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero */
.nxt-hero-premium {
  position: relative;
  min-height: clamp(480px, calc(72vh - 80px), 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.nxt-hero-premium__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.nxt-hero-premium__bg .carousel,
.nxt-hero-premium__bg .carousel-inner,
.nxt-hero-premium__bg .carousel-item {
  height: 100%;
  min-height: inherit;
}
.nxt-hero-premium__bg .carousel-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.nxt-hero-premium--slides {
  display: block;
  min-height: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 693;
  max-height: none;
  background: #0b0f19;
}
.nxt-hero-premium--slides .nxt-hero-premium__bg .carousel-item > img {
  object-fit: cover;
  object-position: center center;
}
.nxt-hero-premium--slides .carousel-indicators {
  bottom: 0.85rem;
  margin-bottom: 0;
  z-index: 3;
}
.nxt-hero-premium--slides .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 0 4px;
  background: rgba(248, 250, 252, 0.45);
  border: 0;
}
.nxt-hero-premium--slides .carousel-indicators li.active {
  background: #fff;
}
.nxt-hero-premium--slides .carousel-control-prev,
.nxt-hero-premium--slides .carousel-control-next {
  width: 7%;
  z-index: 3;
  opacity: 0.85;
}
.nxt-hero-premium--slides .carousel-control-prev-icon,
.nxt-hero-premium--slides .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
}
.nxt-hero-premium__bg .carousel-caption {
  display: none !important;
}
.nxt-hero-premium__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(11, 15, 25, 0.97) 0%, rgba(11, 15, 25, 0.94) 46%, rgba(11, 15, 25, 0.72) 62%, rgba(11, 15, 25, 0.32) 100%);
}
@media (max-width: 991px) {
  .nxt-hero-premium__overlay {
    background: rgba(11, 15, 25, 0.9);
  }
  .nxt-hero-premium__bg .carousel-item > img {
    object-position: center center;
  }
  .nxt-hero-premium--slides {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    display: block;
  }
  .nxt-hero-premium--slides .nxt-hero-premium__bg {
    position: relative;
    inset: auto;
  }
  .nxt-hero-premium--slides .nxt-hero-premium__bg .carousel,
  .nxt-hero-premium--slides .nxt-hero-premium__bg .carousel-inner,
  .nxt-hero-premium--slides .nxt-hero-premium__bg .carousel-item {
    height: auto;
    min-height: 0;
  }
  .nxt-hero-premium--slides .nxt-hero-premium__bg .carousel-item > img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
.nxt-hero-premium__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 4rem;
  max-width: 720px;
}
@media (min-width: 992px) {
  .nxt-hero-premium__content {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
  }
}
.nxt-hero-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(67, 97, 238, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.35);
  margin-bottom: 1.25rem;
}
.nxt-hero-premium__title {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
}
.nxt-hero-premium__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.nxt-hero-premium__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.nxt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
  border: none;
  cursor: pointer;
}
.nxt-btn--primary {
  background: var(--nxt-accent);
  color: #fff !important;
  box-shadow: none;
}
.nxt-btn--primary:hover { background: var(--nxt-accent-hover); color: #fff !important; }
.nxt-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nxt-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff !important; }
.nxt-btn--outline {
  background: transparent;
  color: var(--nxt-accent) !important;
  border: 1.5px solid var(--nxt-accent);
}
.nxt-hero-premium__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}
.nxt-hero-premium__trust span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Sections */
.nxt-section { padding: 4.5rem 0; }
.nxt-section--alt { background: var(--nxt-surface-2); }
.nxt-ui-dark .nxt-section--alt { background: #1a2d44; }
.nxt-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}
.nxt-section__head h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}
.nxt-section__head p { color: var(--nxt-muted); font-size: 1.05rem; margin: 0; }

/* Product cards homepage */
.nxt-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.nxt-product-card {
  background: var(--nxt-surface);
  border: 1px solid var(--nxt-border);
  border-radius: var(--nxt-radius);
  padding: 1.5rem;
  box-shadow: none;
  transition: border-color 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.nxt-product-card:hover {
  border-color: rgba(67, 97, 238, 0.4);
}
.nxt-product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--nxt-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--nxt-accent);
  margin-bottom: 1rem;
}
.nxt-product-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.nxt-product-card p { color: var(--nxt-muted); font-size: 0.9375rem; flex: 1; margin-bottom: 1.25rem; }
.nxt-ui-dark .nxt-product-card { background: var(--nxt-card); }

/* Social proof — dunkle Kennzahlenleiste */
.nxt-proof-band {
  background: #1a1d33;
  color: #fff;
  padding: 2.35rem 0 2.6rem;
}
.nxt-proof-kicker {
  text-align: center;
  color: #8eb4e8;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 1.65rem;
}
.nxt-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}
.nxt-proof-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nxt-proof-card {
  text-align: center;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
}
.nxt-ui-dark .nxt-proof-card { background: transparent; }
.nxt-proof-card__value {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  color: #fff;
}
.nxt-proof-card__label {
  display: block;
  font-size: 0.95rem;
  color: #8eb4e8;
  line-height: 1.4;
}
.nxt-reviews {
  max-width: 920px;
  margin: 0 auto;
  min-height: 0;
}
.nxt-reviews .trustpilot-widget,
.nxt-reviews iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  background: transparent !important;
}
.nxt-reviews .trustpilot-widget a {
  color: var(--nxt-accent);
  font-weight: 600;
}
@media (max-width: 767px) {
  .nxt-proof-grid,
  .nxt-proof-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 0.75rem; }
}

/* Why grid */
.nxt-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.nxt-why-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--nxt-radius);
  border: 1px solid var(--nxt-border);
  background: var(--nxt-surface);
}
.nxt-ui-dark .nxt-why-card { background: var(--nxt-card); }
.nxt-why-card i {
  font-size: 1.25rem;
  color: var(--nxt-accent);
  margin-bottom: 0.75rem;
}
.nxt-why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.nxt-why-card p { font-size: 0.9rem; color: var(--nxt-muted); margin: 0; line-height: 1.55; }

/* Tech transparency */
.nxt-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.nxt-tech-item {
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border-left: 3px solid var(--nxt-accent);
  background: var(--nxt-surface);
  border: 1px solid var(--nxt-border);
  border-left-width: 3px;
}
.nxt-ui-dark .nxt-tech-item { background: var(--nxt-card); }
.nxt-tech-item strong { display: block; margin-bottom: 0.35rem; }
.nxt-tech-item span { font-size: 0.9rem; color: var(--nxt-muted); }
.nxt-reseller-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--nxt-accent-soft);
  border: 1px solid rgba(67, 97, 238, 0.2);
  font-size: 0.9rem;
  color: var(--nxt-muted);
}

/* Spec table (product pages) */
.nxt-spec-table-wrap { overflow-x: auto; margin: 2rem 0; }
.nxt-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.nxt-spec-table th,
.nxt-spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--nxt-border);
  text-align: left;
}
.nxt-spec-table th { font-weight: 700; color: var(--nxt-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.nxt-usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
}
.nxt-usecase-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--nxt-accent-soft);
  color: var(--nxt-accent);
  border: 1px solid rgba(67, 97, 238, 0.2);
}

.nxt-counsel-home-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nxt-counsel-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 1.75rem;
  padding: 1.4rem 1.5rem;
  border-radius: 14px;
  background: var(--sale-surface, var(--nxt-surface-2));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.nxt-counsel-home__photo,
.nxt-counsel-home__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nxt-counsel-home__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nxt-accent-soft);
  color: var(--nxt-accent);
  font-size: 1.8rem;
}
.nxt-counsel-home h2 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.nxt-counsel-home__name { margin: 0 0 0.45rem; font-weight: 700; color: var(--nxt-text); }
.nxt-counsel-home__company { margin: -0.2rem 0 0.55rem; font-weight: 600; color: var(--nxt-accent, #4361ee); }
.nxt-counsel-home p { margin: 0 0 0.85rem; color: var(--nxt-muted); }

/* Status page */
.nxt-status-page {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem 4rem;
}
.nxt-status-page .nxt-status-pill { font-size: 0.9375rem; padding: 0.5rem 1rem; margin-bottom: 1.5rem; }

.nxt-status-services {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 560px;
  text-align: left;
}

.nxt-status-services__row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161c2d;
  color: #f8fafc;
}

.nxt-status-services__name {
  font-weight: 650;
}

.nxt-status-services__state {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  #carouselExampleCaptions.nxt-hero-carousel-desktop { display: none !important; }
  #carouselMobileSlider.nxt-hero-carousel-mobile { display: block !important; }
}
@media (min-width: 992px) {
  #carouselMobileSlider.nxt-hero-carousel-mobile { display: none !important; }
}
