/*
 * NEUROVEXA / HDC-Host24 – Startseite (resources/sites/landing.php)
 * Eigene Klassen (nx-*), unabhängig vom alten Theme; setzt hdc-design-system.css voraus.
 */

.nx-landing { display: block; overflow-x: clip; font-family: var(--hdc-font); color: var(--hdc-text); }
.nx-landing *, .nx-landing *::before, .nx-landing *::after { box-sizing: border-box; }
.nx-landing img { max-width: 100%; height: auto; display: block; }
.nx-landing h1, .nx-landing h2, .nx-landing h3, .nx-landing p, .nx-landing ul, .nx-landing figure, .nx-landing blockquote { margin: 0; padding: 0; }
.nx-landing ul { list-style: none; }

.nx-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Typografie ---------- */
.nx-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hdc-primary) !important;
  background: var(--hdc-primary-soft);
  border: 1px solid rgba(124, 92, 252, .22);
}
.nx-eyebrow--light { color: #e7fbff !important; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); letter-spacing: .04em; text-transform: none; font-size: .8rem; font-weight: 600; }
.nx-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem) !important; font-weight: 800 !important; line-height: 1.2 !important; letter-spacing: -0.02em; color: var(--hdc-text) !important; }
.nx-grad-text { background: var(--hdc-grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--hdc-primary); }
.nx-head { max-width: 760px; margin: 0 auto 2.75rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* ---------- Buttons ---------- */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.4rem; border-radius: 12px;
  font: 700 .9rem/1.2 var(--hdc-font); letter-spacing: .01em;
  text-decoration: none !important; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--hdc-ease), box-shadow .18s var(--hdc-ease), background .18s, color .18s, border-color .18s;
}
.nx-btn:hover { transform: translateY(-2px); }
.nx-btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: .95rem; border-radius: 14px; }
.nx-btn--block { width: 100%; }
.nx-btn--primary { background: var(--hdc-grad-primary); color: #fff !important; box-shadow: 0 10px 24px var(--hdc-primary-glow); }
.nx-btn--primary:hover { box-shadow: 0 14px 30px var(--hdc-primary-glow); color: #fff !important; }
.nx-btn--outline { background: transparent; color: var(--hdc-text) !important; border-color: var(--hdc-border-strong); }
.nx-btn--outline:hover { border-color: var(--hdc-primary); color: var(--hdc-primary) !important; background: var(--hdc-primary-soft); }
.nx-btn--white { background: #fff; color: var(--hdc-brand-2) !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.nx-btn--white:hover { color: var(--hdc-brand-1) !important; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.nx-btn--glass { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.nx-btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff !important; }

/* ---------- Hero ---------- */
.nx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  background: linear-gradient(125deg, #120a5c 0%, #3b22c9 45%, #5333ed 62%, #1fb6c9 115%);
  color: #fff;
}
.nx-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 360px at 12% 18%, rgba(44, 212, 217, .22), transparent 70%),
    radial-gradient(620px 420px at 88% 85%, rgba(124, 92, 252, .35), transparent 70%);
}
.nx-hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.nx-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; mix-blend-mode: luminosity; filter: blur(1px); }
.nx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nx-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.nx-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem) !important; font-weight: 800 !important; line-height: 1.1 !important; letter-spacing: -0.03em; color: #fff !important; }
.nx-hero__price { white-space: nowrap; background: linear-gradient(90deg, #7ff3f6, #c7b8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nx-hero__lead { font-size: 1.05rem !important; line-height: 1.7 !important; color: rgba(255, 255, 255, .82) !important; max-width: 540px; }
.nx-hero__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; width: 100%; max-width: 520px; }
.nx-hero__features li { display: flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 600; color: #fff; }
.nx-hero__ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; color: #8ff5f7; }
.nx-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .4rem; }

.nx-hero__visual { position: relative; }
.nx-hero__frame {
  position: relative; border-radius: 26px; padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 30px 70px rgba(10, 5, 50, .45);
  backdrop-filter: blur(10px);
}
.nx-hero__frame img { width: 100%; aspect-ratio: 834 / 565; object-fit: contain; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .03) 70%); }
.nx-hero__badge {
  position: absolute; display: flex; align-items: center; gap: .65rem;
  padding: .65rem .95rem; border-radius: 14px;
  background: rgba(255, 255, 255, .95); color: #1a1240;
  box-shadow: 0 14px 34px rgba(10, 5, 50, .3);
  font-size: .78rem; line-height: 1.2;
}
.nx-hero__badge i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--hdc-grad-primary); color: #fff; font-size: .85rem; }
.nx-hero__badge strong { display: block; font-size: .95rem; font-weight: 800; color: #1a1240; }
.nx-hero__badge span { color: #5d5a7a; }
.nx-hero__badge--top { top: -14px; right: 18px; }
.nx-hero__badge--bottom { bottom: -16px; left: -12px; }

/* ---------- Kennzahlen ---------- */
.nx-stats { position: relative; z-index: 2; margin-top: -2.25rem; }
.nx-stats__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--hdc-surface); border: 1px solid var(--hdc-border);
  border-radius: 20px; box-shadow: var(--hdc-shadow-lg); overflow: hidden; padding: 0;
}
.nx-stat { padding: 1.35rem 1rem; text-align: center; border-right: 1px solid var(--hdc-border); }
.nx-stat:last-child { border-right: 0; }
.nx-stat strong { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--hdc-text); }
.nx-stat span { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hdc-text-3); }

/* ---------- Sektionen ---------- */
.nx-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.nx-section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.nx-section--alt { background: var(--hdc-bg-2); border-top: 1px solid var(--hdc-border); border-bottom: 1px solid var(--hdc-border); }

/* ---------- Preise ---------- */
.nx-toggle { display: flex; width: max-content; margin: -1rem auto 2.5rem; padding: 5px; gap: 4px; border-radius: 999px; background: var(--hdc-surface); border: 1px solid var(--hdc-border); box-shadow: var(--hdc-shadow-sm); }
.nx-toggle__btn { min-width: 120px; padding: .6rem 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--hdc-text-2); font: 700 .88rem var(--hdc-font); cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.nx-toggle__btn:hover { color: var(--hdc-text); }
.nx-toggle__btn.is-active { background: var(--hdc-grad-primary); color: #fff; box-shadow: 0 6px 16px var(--hdc-primary-glow); }

.nx-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.nx-plan {
  position: relative; display: flex; flex-direction: column; gap: 1.4rem;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--hdc-surface); border: 1px solid var(--hdc-border);
  border-radius: 22px; box-shadow: var(--hdc-shadow-sm);
  transition: transform .22s var(--hdc-ease), box-shadow .22s, border-color .22s;
}
.nx-plan:hover { transform: translateY(-6px); box-shadow: var(--hdc-shadow-lg); border-color: var(--hdc-border-strong); }
.nx-plan--featured { border-color: var(--hdc-primary); box-shadow: 0 0 0 1px var(--hdc-primary), 0 24px 50px var(--hdc-primary-glow); }
.nx-plan--featured:hover { border-color: var(--hdc-primary); }
.nx-plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: .3rem .9rem; border-radius: 999px; background: var(--hdc-grad-primary); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px var(--hdc-primary-glow); }
.nx-plan__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; }
.nx-plan__icon { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 24px; background: var(--hdc-grad-soft); border: 1px solid var(--hdc-border); }
.nx-plan__icon img { width: 60px; height: 60px; object-fit: contain; }
.nx-plan__name { font-size: 1.25rem !important; font-weight: 800 !important; color: var(--hdc-text) !important; }
.nx-plan__text { font-size: .9rem !important; line-height: 1.6 !important; color: var(--hdc-text-2) !important; min-height: 4.3em; }
.nx-plan__price { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.1rem 0; border-top: 1px solid var(--hdc-border); border-bottom: 1px solid var(--hdc-border); }
.nx-plan__price [hidden] { display: none !important; }
.nx-plan__from { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hdc-text-3); }
.nx-plan__amount { font-size: 2.5rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--hdc-text); font-variant-numeric: tabular-nums; }
.nx-plan__amount small { margin-left: .3rem; font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--hdc-text-3); }
.nx-plan__discount { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--hdc-success); background: var(--hdc-success-soft); }
.nx-plan__discount del { color: var(--hdc-text-3); font-weight: 500; }
.nx-plan__list { display: flex; flex-direction: column; gap: .6rem; flex: 1 1 auto; }
.nx-plan__list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--hdc-text-2); }
.nx-plan__list i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: var(--hdc-primary-soft); color: var(--hdc-primary); font-size: .62rem; }

.nx-pricing-info { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.nx-pricing-info p { font-size: .95rem !important; color: var(--hdc-text-2) !important; }
.nx-pricing-info a { color: var(--hdc-primary) !important; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.nx-pricing-info ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.nx-pricing-info li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--hdc-text) !important; background: var(--hdc-surface); border: 1px solid var(--hdc-border); }
.nx-pricing-info li i { color: var(--hdc-success); }

/* ---------- Features ---------- */
.nx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.nx-feature {
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
  padding: 1.6rem; border-radius: 20px;
  background: var(--hdc-surface); border: 1px solid var(--hdc-border); box-shadow: var(--hdc-shadow-sm);
  transition: transform .2s var(--hdc-ease), border-color .2s, box-shadow .2s;
}
.nx-feature:hover { transform: translateY(-4px); border-color: var(--hdc-primary); box-shadow: var(--hdc-shadow); }
.nx-feature__ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--hdc-grad-primary); color: #fff; font-size: 1.1rem; box-shadow: 0 8px 18px var(--hdc-primary-glow); }
.nx-feature h3 { font-size: 1.05rem !important; font-weight: 700 !important; color: var(--hdc-text) !important; }
.nx-feature p { font-size: .9rem !important; line-height: 1.65 !important; color: var(--hdc-text-2) !important; }

/* ---------- Partner ---------- */
.nx-partners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.nx-partner {
  display: flex; align-items: center; justify-content: center;
  height: 96px; padding: 1.1rem 1.4rem; border-radius: 16px;
  background: var(--hdc-surface); border: 1px solid var(--hdc-border);
  transition: border-color .2s, transform .2s;
}
.nx-partner:hover { border-color: var(--hdc-border-strong); transform: translateY(-2px); }
.nx-partner img { width: 100%; height: 100%; max-height: 40px; object-fit: contain; filter: grayscale(1) brightness(1.9) contrast(.9); opacity: .75; transition: filter .2s, opacity .2s; }
html[data-theme="light"] .nx-partner img { filter: grayscale(1) brightness(.35); opacity: .7; }
.nx-partner:hover img { filter: none; opacity: 1; }

/* ---------- Kundenstimmen ---------- */
.nx-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.nx-review {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem; border-radius: 20px;
  background: var(--hdc-surface); border: 1px solid var(--hdc-border); box-shadow: var(--hdc-shadow-sm);
}
.nx-review__stars { display: flex; gap: .2rem; color: #fbbf24; font-size: .85rem; }
.nx-landing .nx-review blockquote {
  flex: 1 1 auto; margin: 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
  font-size: .98rem !important; font-style: normal !important; line-height: 1.7 !important; color: var(--hdc-text) !important;
}
.nx-landing .nx-review blockquote::before,
.nx-landing .nx-review blockquote::after { content: none !important; display: none !important; }
.nx-review figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--hdc-border); }
.nx-review figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hdc-primary-soft); }
.nx-review figcaption strong { display: block; font-size: .92rem; color: var(--hdc-text); }
.nx-review figcaption small { display: block; font-size: .78rem; color: var(--hdc-text-3); }

/* ---------- CTA ---------- */
.nx-cta-wrap { padding: clamp(3rem, 6vw, 5rem) 0; }
.nx-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: 26px;
  background: var(--hdc-grad); color: #fff;
  box-shadow: 0 24px 60px rgba(83, 51, 237, .3);
}
.nx-cta::after { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%); pointer-events: none; }
.nx-cta h2 { font-size: clamp(1.4rem, 3vw, 2rem) !important; font-weight: 800 !important; color: #fff !important; }
.nx-cta p { margin-top: .35rem; color: rgba(255, 255, 255, .85) !important; font-size: 1rem !important; }
.nx-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nx-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .nx-hero__visual { max-width: 560px; margin: 1rem auto 0; width: 100%; }
  .nx-pricing, .nx-features, .nx-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-pricing .nx-plan--featured { order: -1; grid-column: 1 / -1; }
  .nx-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-stat:nth-child(2) { border-right: 0; }
  .nx-stat:nth-child(-n+2) { border-bottom: 1px solid var(--hdc-border); }
}
@media (max-width: 640px) {
  .nx-pricing, .nx-features, .nx-reviews { grid-template-columns: minmax(0, 1fr); }
  .nx-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-hero__features { grid-template-columns: minmax(0, 1fr); }
  .nx-hero__actions, .nx-cta__actions { width: 100%; flex-direction: column; }
  .nx-hero__actions .nx-btn, .nx-cta__actions .nx-btn { width: 100%; }
  .nx-hero__badge--top { right: 8px; top: -18px; }
  .nx-hero__badge--bottom { left: 8px; }
  .nx-plan__text { min-height: 0; }
  .nx-toggle__btn { min-width: 0; }
}
