/* MIT License: frei kommerziell nutzbar */

/* Color System */
:root {
  --bg-main: #050b1c;
  --bg-card: #0a122b;
  --bg-hover: rgba(0, 255, 140, 0.08);

  --line-dark: rgba(255,255,255,0.06);
  --line-mid: rgba(255,255,255,0.12);

  --txt-primary: #ffffff;
  --txt-dim: rgba(255,255,255,0.6);
  --txt-muted: rgba(255,255,255,0.4);

  --blue-500: #2d6bff;
  --blue-300: #4ea4ff;
  --blue-200: #86c7ff;

  --neon-500: #00ff87;
  --neon-glow: 0 0 20px rgba(0,255,135,0.4), 0 0 60px rgba(0,255,135,0.2);

  --radius-lg: 1.5rem;
  --radius-md: 0.75rem;

  --font-stack: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', sans-serif;

  --pad-page: clamp(1.5rem, 2vw, 2rem);
  --page-max: 1280px;
}

/* Reset-ish */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background-color: var(--bg-main);
  color: var(--txt-primary);
  font-family: var(--font-stack);
  line-height: 1.5;
}

/* Layout helpers */
.layout-row {
  width: 100%;
  max-width: var(--page-max);
  padding: 0 var(--pad-page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.layout-col {
  width: 100%;
  max-width: var(--page-max);
  padding: 0 var(--pad-page);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.layout-col.tight {
  max-width: 1000px;
}

.section {
  padding: clamp(4rem, 4vw, 5rem) 0;
  position: relative;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,11,28,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  min-height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  background: radial-gradient(circle at 20% 20%, var(--neon-500) 0%, #003b22 60%);
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.6rem;
  line-height: 1;
  box-shadow: var(--neon-glow);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-line1 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--txt-primary);
}
.brand-line2 {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--txt-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--txt-dim);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
}
.nav-link:hover {
  background: var(--bg-hover);
  color: var(--txt-primary);
}
.btn-ghost {
  background: rgba(0,255,135,0.1);
  color: var(--neon-500);
  border: 1px solid rgba(0,255,135,0.4);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--neon-glow);
}
.btn-ghost:hover {
  background: rgba(0,255,135,0.15);
}

/* Burger for mobile */
.burger {
  display: none;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}
.burger span {
  height: 2px;
  width: 24px;
  background: var(--txt-primary);
  border-radius: 2px;
}

/* Mobile overlay nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,11,28,0.95);
  backdrop-filter: blur(16px);
  display: none;
  flex-direction: column;
  padding: var(--pad-page);
  z-index: 2000;
}
.nav-overlay.active {
  display: flex;
}
.nav-overlay-close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: var(--txt-primary);
  font-size: 1rem;
  padding: 0.5rem;
  line-height: 1;
  cursor: pointer;
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  gap: 1rem;
}
.nav-overlay-link,
.nav-overlay-cta {
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  text-decoration: none;
  font-size: 1rem;
  color: var(--txt-primary);
}
.nav-overlay-cta {
  border-color: rgba(0,255,135,0.4);
  color: var(--neon-500);
  background: rgba(0,255,135,0.07);
  box-shadow: var(--neon-glow);
}

/* Hero */
.hero {
  padding-top: clamp(4rem,5vw,6rem);
  padding-bottom: clamp(4rem,5vw,6rem);
  background: radial-gradient(circle at 20% 20%, rgba(0,255,135,0.15) 0%, rgba(0,0,0,0) 60%),
              radial-gradient(circle at 80% 20%, rgba(45,107,255,0.25) 0%, rgba(0,0,0,0) 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,420px);
  align-items: flex-start;
  gap: clamp(2rem,3vw,3rem);
}
.headline-xl {
  font-size: clamp(2rem, 2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--txt-primary) 0%, var(--blue-200) 40%, var(--neon-500) 80%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: var(--neon-glow);
}
.lead {
  font-size: 1rem;
  color: var(--txt-dim);
  max-width: 42ch;
  margin-bottom: 1rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
  color: var(--txt-primary);
  line-height: 1.2;
  white-space: nowrap;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 2.5rem;
  padding: 0.6rem 1rem;
}
.btn-primary {
  background: var(--neon-500);
  color: #000;
  box-shadow: var(--neon-glow);
}
.btn-primary:hover {
  filter: brightness(1.05);
}
.btn-outline {
  background: rgba(45,107,255,0.1);
  color: var(--blue-200);
  border-color: rgba(78,164,255,0.5);
}
.btn-outline:hover {
  background: rgba(45,107,255,0.15);
}

/* full width button variant */
.btn-full {
  width: 100%;
}

.trust-note {
  font-size: 0.7rem;
  color: var(--txt-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--txt-muted);
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.dot-green {
  background: var(--neon-500);
  box-shadow: var(--neon-glow);
}

/* Hero card (metrics) */
.hero-card {
  max-width: 420px;
}
.hero-card-inner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-mid);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8),
              0 0 60px rgba(0,255,135,0.15),
              0 0 140px rgba(45,107,255,0.2);
  padding: 1.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.hero-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(0,255,135,0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.status {
  font-size: 0.7rem;
  color: var(--txt-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-500);
  border-radius: 999px;
  box-shadow: var(--neon-glow);
}
.status-hint {
  font-size: 0.6rem;
  color: var(--txt-muted);
  text-align: right;
}
.hero-metrics {
  display: grid;
  gap: 0.75rem;
}
.metric-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}
.metric-label {
  font-size: 0.6rem;
  color: var(--txt-muted);
}
.metric-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt-primary);
  line-height: 1.2;
}
.metric-value.green {
  color: var(--neon-500);
  text-shadow: var(--neon-glow);
}
.metric-value.blue {
  color: var(--blue-200);
}
.metric-value.neon {
  color: var(--neon-500);
  text-shadow: var(--neon-glow);
}
.metric-desc {
  font-size: 0.65rem;
  color: var(--txt-dim);
  line-height: 1.3;
}
.hero-footnote {
  font-size: 0.7rem;
  color: var(--txt-muted);
  line-height: 1.4;
  border-top: 1px solid var(--line-dark);
  padding-top: 0.75rem;
}

/* Sections shared */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.headline-l {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--txt-primary);
  line-height: 1.2;
}
.section-desc {
  color: var(--txt-dim);
  font-size: 0.9rem;
  max-width: 60ch;
  line-height: 1.4;
  margin: 0;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1rem;
  position: relative;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7), 0 0 80px rgba(45,107,255,0.15), 0 0 120px rgba(0,255,135,0.15);
}

/* Why section */
.why {
  background: radial-gradient(circle at 80% 20%, rgba(45,107,255,0.2) 0%, rgba(0,0,0,0) 60%);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr));
  gap: 1rem;
}
.feature-card .icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: rgba(0,255,135,0.07);
  box-shadow: var(--neon-glow);
  border: 1px solid rgba(0,255,135,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-500);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt-primary);
  margin-bottom: 0.5rem;
}
.feature-text {
  font-size: 0.85rem;
  color: var(--txt-dim);
  line-height: 1.4;
}

/* Solutions */
.solutions {
  background: radial-gradient(circle at 0% 20%, rgba(0,255,135,0.15) 0%, rgba(0,0,0,0) 60%);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr));
  gap: 1rem;
}
.solution-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.solution-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.solution-icon {
  font-size: 1.1rem;
  background: rgba(45,107,255,0.15);
  color: var(--blue-200);
  border: 1px solid rgba(78,164,255,0.5);
  border-radius: var(--radius-md);
  min-width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt-primary);
}
.solution-text {
  font-size: 0.85rem;
  color: var(--txt-dim);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--txt-primary);
  font-size: 0.8rem;
  line-height: 1.4;
}
.bullet-list li {
  margin-bottom: 0.4rem;
  color: var(--txt-dim);
}
.bullet-list.tight li {
  margin-bottom: 0.25rem;
}

/* Workflow */
.workflow {
  background: radial-gradient(circle at 100% 0%, rgba(78,164,255,0.12) 0%, rgba(0,0,0,0) 70%);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
  gap: 1rem;
}
.tl-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 0.9rem 1rem;
  min-height: 180px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7), 0 0 60px rgba(0,255,135,0.15);
}
.tl-marker {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,255,135,0.07);
  border: 1px solid rgba(0,255,135,0.4);
  color: var(--neon-500);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--neon-glow);
}
.tl-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--txt-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.tl-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--txt-dim);
  max-width: 65ch;
}
.txt-neon {
  color: var(--neon-500);
  text-shadow: var(--neon-glow);
}

/* Workflow bottom card */
.workflow-bottom-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 1rem;
}
.wbc-left {
  max-width: 500px;
}
.wbc-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue-200);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(78,164,255,0.5);
}
.wbc-headline {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--txt-primary);
}
.wbc-right {
  min-width: 200px;
}

/* Contact */
.contact {
  background: radial-gradient(circle at 20% 80%, rgba(0,255,135,0.15) 0%, rgba(0,0,0,0) 70%);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,400px);
  gap: 2rem;
}
.contact-left .headline-l {
  font-size: 1.3rem;
}
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-line {
  display: flex;
  flex-direction: column;
}
.cl-label {
  font-size: 0.7rem;
  color: var(--txt-muted);
  margin-bottom: 0.25rem;
}
.cl-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--txt-primary);
  line-height: 1.3;
}
.cl-link {
  color: var(--neon-500);
  text-decoration: none;
  text-shadow: var(--neon-glow);
  font-weight: 500;
}
.cl-link:hover {
  filter: brightness(1.2);
}
.microcopy {
  font-size: 0.7rem;
  color: var(--txt-muted);
  line-height: 1.4;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cf-title {
  color: var(--txt-primary);
  font-size: 0.9rem;
  font-weight: 600;
}
.cf-hint {
  color: var(--txt-muted);
  font-size: 0.7rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cf-label {
  font-size: 0.7rem;
  color: var(--txt-muted);
}
.cf-input,
.cf-textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-md);
  color: var(--txt-primary);
  padding: 0.75rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.3;
}
.cf-input:focus,
.cf-textarea:focus {
  outline: 2px solid var(--blue-500);
  box-shadow: 0 0 20px rgba(45,107,255,0.6);
}
.cf-footnote {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--txt-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-dark);
  background: #040816;
  padding: 3rem 0 4rem;
}
.footer-inner {
  gap: 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 1rem;
}
.brand-footer .brand-mark {
  font-size: 0.7rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-link {
  color: var(--txt-dim);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--txt-primary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--txt-muted);
  row-gap: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
}
