:root {
  --bg: #070b14;
  --surface: #0e1422;
  --surface-strong: #121b2d;
  --text: #f5f7fb;
  --muted: #9ba8bd;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #20d9e9;
  --purple: #8b5cf6;
  --gradient: linear-gradient(135deg, var(--cyan), var(--purple));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 80% 10%, rgba(139, 92, 246, 0.12), transparent 28%),
    radial-gradient(circle at 10% 25%, rgba(32, 217, 233, 0.08), transparent 25%),
    var(--bg);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1220px);
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #061018;
  font-weight: 800;
  background: var(--gradient);
  box-shadow: 0 0 28px rgba(32, 217, 233, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-button {
  display: none;
  padding: 6px;
  color: var(--text);
  font-size: 25px;
  background: none;
  border: 0;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 65px;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 90px 24px 95px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta h2 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy > p {
  max-width: 620px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #061018;
  background: var(--gradient);
  box-shadow: 0 12px 35px rgba(32, 217, 233, 0.16);
}

.secondary {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.secondary:hover {
  border-color: rgba(32, 217, 233, 0.35);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
}

.hero-shot {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 19px;
  cursor: zoom-in;
}

.hero-shot img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.shot-glow {
  position: absolute;
  z-index: 0;
  inset: 10% -4% -8%;
  opacity: 0.18;
  background: var(--gradient);
  filter: blur(55px);
}

.shot-label {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 18px;
  padding: 8px 11px;
  color: #dbe6f5;
  font-size: 11px;
  background: rgba(5, 9, 17, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(calc(100% - 48px), 1172px);
  margin: 0 auto;
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.trust-strip div {
  display: flex;
  flex-direction: column;
}

.trust-strip strong {
  font-size: 14px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 120px 24px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: stretch;
  gap: 22px;
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.feature-tab:hover,
.feature-tab.active {
  background: linear-gradient(120deg, rgba(32, 217, 233, 0.1), rgba(139, 92, 246, 0.07));
  border-color: rgba(32, 217, 233, 0.35);
  transform: translateX(4px);
}

.feature-tab > span {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  height: 36px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  background: #0a111f;
  border-radius: 10px;
}

.feature-tab strong,
.feature-tab small {
  display: block;
}

.feature-tab strong {
  font-size: 14px;
}

.feature-tab small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.feature-preview {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.preview-image {
  display: block;
  width: 100%;
  padding: 0;
  background: #080d16;
  border: 0;
  cursor: zoom-in;
}

.preview-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1128 / 768;
  object-fit: cover;
}

.preview-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 27px;
}

.section-label {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.preview-copy h3 {
  margin: 4px 0 0;
  font-size: 24px;
}

.preview-copy p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.functions-section {
  padding-top: 60px;
}

.function-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.function-card {
  min-height: 225px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 17px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.function-card:hover {
  border-color: rgba(32, 217, 233, 0.28);
  transform: translateY(-4px);
}

.function-card > span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.function-card h3 {
  margin: 25px 0 8px;
}

.function-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  width: min(calc(100% - 48px), 1172px);
  margin: 30px auto 100px;
  padding: 50px;
  background: linear-gradient(120deg, rgba(32, 217, 233, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(32, 217, 233, 0.25);
  border-radius: 20px;
}

.cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta .button {
  flex: 0 0 auto;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 32px 24px 45px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}

footer div {
  display: flex;
  gap: 20px;
}

.compact .brand-mark {
  width: 31px;
  height: 31px;
  font-size: 10px;
}

.lightbox {
  width: min(96vw, 1280px);
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: #080d16;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 120px #000;
}

.lightbox::backdrop {
  background: rgba(2, 5, 10, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox p {
  margin: 0;
  padding: 15px 20px;
  color: var(--muted);
  font-size: 13px;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 24px;
  background: rgba(5, 9, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .feature-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-tab:hover,
  .feature-tab.active {
    transform: none;
  }

  .preview-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .function-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  nav {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    padding: 20px;
    background: #0d1422;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  nav.open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .feature-tabs,
  .function-grid {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    margin-top: 10px;
  }

  .preview-copy {
    padding: 20px;
  }

  .product-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .lightbox {
    width: 100vw;
    border-radius: 0;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    flex-direction: column;
    gap: 5px;
  }

  .section {
    padding: 85px 20px;
  }

  .cta {
    padding: 30px 24px;
  }

  .cta .button {
    width: 100%;
  }
}

/* Unterseiten: Kontakt, Impressum und AGB */
.page-hero {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 105px 24px 65px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-hero h1 span {
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.page-hero p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.compact-page-hero {
  padding-bottom: 50px;
}

.content-shell {
  width: min(calc(100% - 48px), 1100px);
  margin: 0 auto 110px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form,
.legal-content {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 34px;
}

.contact-info h2 {
  margin: 7px 0 12px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.contact-info > p {
  margin-top: 0;
  color: var(--muted);
}

.contact-card,
.notice-card {
  margin-top: 24px;
  padding: 20px;
  background: rgba(5, 9, 17, 0.52);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-card span,
.contact-card a {
  display: block;
}

.contact-card span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card a {
  color: var(--cyan);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.notice-card strong {
  display: block;
  margin-bottom: 6px;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 34px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form label > span:not(.optional) {
  color: var(--cyan);
}

.optional {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  background: #090f1b;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 175px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(32, 217, 233, 0.65);
  box-shadow: 0 0 0 3px rgba(32, 217, 233, 0.09);
}

.contact-form select option {
  color: var(--text);
  background: var(--surface);
}

.form-submit {
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.5em;
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legal-content {
  padding: clamp(26px, 5vw, 58px);
}

.legal-content section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 13px;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content address {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.legal-content p + p {
  margin-top: 13px;
}

.legal-content a {
  color: var(--cyan);
}

.draft-notice {
  margin-bottom: 42px;
  padding: 20px 22px;
  background: linear-gradient(120deg, rgba(32, 217, 233, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(32, 217, 233, 0.28);
  border-radius: 14px;
}

.draft-notice strong {
  display: block;
  margin-bottom: 4px;
}

.draft-notice p {
  color: #bac7d9;
  font-size: 13px;
}

.placeholder {
  color: #d7b9ff !important;
  background: rgba(139, 92, 246, 0.09);
  border-radius: 4px;
}

.legal-date {
  margin-top: 25px !important;
  color: var(--text) !important;
  font-weight: 700;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 850px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-hero {
    padding-top: 75px;
  }

  .content-shell {
    width: min(calc(100% - 28px), 1100px);
    margin-bottom: 75px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 24px;
  }

  .legal-content {
    padding: 24px 20px;
  }
}

/* NSC Hauptseite */
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(32, 217, 233, 0.28));
}

.compact .brand-logo {
  width: 34px;
  height: 34px;
}

.home-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
  min-height: calc(100vh - 76px);
}

.home-hero h1 {
  max-width: 760px;
}

.latest-product-window {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    #0a101d;
  border: 1px solid rgba(32, 217, 233, 0.24);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.latest-product-window::before {
  position: absolute;
  inset: -20% -20% auto auto;
  width: 260px;
  height: 260px;
  content: "";
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(70px);
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.window-bar span:first-child {
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #ffbd2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window-logo {
  display: block;
  width: min(54vw, 230px);
  max-width: 100%;
  margin: 6px auto 22px;
  filter: drop-shadow(0 0 26px rgba(32, 217, 233, 0.32));
}

.latest-product-window h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.latest-product-window p {
  margin: 0 0 24px;
  color: var(--muted);
}

.home-strip {
  margin-top: -20px;
}

.split-info {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: start;
}

.left-heading {
  margin: 0;
  text-align: left;
}

.info-copy {
  display: grid;
  gap: 18px;
}

.info-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.featured-product {
  background:
    linear-gradient(135deg, rgba(32, 217, 233, 0.12), rgba(139, 92, 246, 0.1)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border-color: rgba(32, 217, 233, 0.28);
}

.muted-product {
  opacity: 0.78;
}

.product-status {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 11px;
  color: #061018;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient);
  border-radius: 999px;
}

.product-status.planned {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card .button {
  width: fit-content;
  margin-top: 30px;
}

.focus-section {
  padding-top: 65px;
}

@media (max-width: 980px) {
  .home-hero,
  .split-info,
  .product-card-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .left-heading {
    max-width: 780px;
  }
}

@media (max-width: 620px) {
  .latest-product-window,
  .product-card {
    padding: 24px;
  }

  .product-card .button,
  .latest-product-window .button {
    width: 100%;
  }
}
