:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #10b981;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --radius: 12px;
  --radius-lg: 25px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; }

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem; font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; color: var(--text-muted); transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary); color: #fff;
  padding: 8px 20px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Mobile nav toggle */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0; transition: all .3s;
}
.nav-mobile { display: none; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-mobile.open {
    display: flex; flex-direction: column; gap: 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-mobile a {
    padding: 14px 24px; font-size: 1rem;
    color: var(--text-muted); border-bottom: 1px solid var(--border);
    display: block;
  }
  .nav-mobile a:hover { color: var(--text); background: var(--card-bg); }
}

/* ── HERO ── */
#hero {
  min-height: 50vh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 90% 80%, rgba(16,185,129,0.12) 0%, transparent 60%),
              var(--dark);
  padding-top: 100px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3);
  color: #60a5fa; padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before { content: ""; width: 6px; height: 6px; background: #60a5fa; border-radius: 50%; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: #fff;
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text);
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: var(--card-bg); }

.hero-visual {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(16,185,129,0.08));
  pointer-events: none;
}
.agent-demo {
  display: flex; flex-direction: column; gap: 12px;
}
.agent-msg {
  display: flex; gap: 12px; align-items: flex-start;
}
.agent-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.agent-avatar.ai { background: rgba(37,99,235,0.2); }
.agent-avatar.user { background: rgba(16,185,129,0.2); }
.agent-bubble {
  background: var(--dark-3); border-radius: 12px 12px 12px 4px;
  padding: 10px 14px; font-size: 0.875rem; color: var(--text-muted);
  border: 1px solid var(--border);
  max-width: 260px;
}
.agent-bubble.user { border-radius: 12px 12px 4px 12px; background: rgba(37,99,235,0.12); color: var(--text); }
.typing-dot {
  display: inline-block; width: 6px; height: 6px; background: #60a5fa;
  border-radius: 50%; animation: blink 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.2} 40%{opacity:1} }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ── STATS ── */
#stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 800; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── SERVICES ── */
#services { background: var(--dark-2); }
.section-tag {
  display: inline-block; color: #60a5fa;
  font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 60px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.service-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.icon-blue { background: rgba(37,99,235,0.15); }
.icon-green { background: rgba(16,185,129,0.15); }
.icon-purple { background: rgba(139,92,246,0.15); }
.icon-orange { background: rgba(249,115,22,0.15); }
.icon-pink { background: rgba(236,72,153,0.15); }
.icon-cyan { background: rgba(6,182,212,0.15); }

.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-desc { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ── PRODUCTS ── */
#products {}
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.product-card:hover { border-color: rgba(37,99,235,0.4); transform: translateY(-4px); }
.product-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.product-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12); color: #34d399;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; width: fit-content;
}
.product-title { font-size: 1.5rem; font-weight: 800; }
.product-desc { color: var(--text-muted); font-size: 0.95rem; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.product-features li::before {
  content: "✓"; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(16,185,129,0.15); color: #34d399;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #60a5fa; font-weight: 600; font-size: 0.9rem;
  margin-top: auto; padding-top: 8px;
  transition: gap .2s;
}
.product-link:hover { gap: 12px; }

@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }

/* ── HOW IT WORKS ── */
#how { background: var(--dark-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: "";
  position: absolute; top: 30px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  pointer-events: none;
}
.step { text-align: center; padding: 24px 16px; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { color: var(--text-muted); font-size: 0.875rem; }

@media (max-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ── ABOUT ── */
#about {}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-placeholder {
  background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-bullets { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-bullets li { display: flex; align-items: flex-start; gap: 12px; }
.bullet-icon {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(37,99,235,0.15); color: #60a5fa;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
.about-photo {
  margin-left: 7rem;
  width: 70%; aspect-ratio: 2/3; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
@media (max-width: 900px) {
     .about-inner { grid-template-columns: 1fr; }
     .about-photo {
       order: 1;
       margin-left: 0;
       width: 40%;
       margin: 0 auto;
       aspect-ratio: 2/3;
     }
     .about-text { order: 0; }
   }

/* ── CONTACT ── */
#contact { background: var(--dark-2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-item-value { font-weight: 600; }
.contact-item-value a { color: #60a5fa; transition: color .2s; }
.contact-item-value a:hover { color: #93c5fd; }

.contact-form {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--dark);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 16px; color: var(--text); font-size: 0.95rem;
  font-family: inherit; transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark-2); }
.form-submit { width: 100%; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; text-align: center; }

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

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
.footer-brand { }
.footer-logo {
  font-size: 1.25rem; font-weight: 800; margin-bottom: 12px;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.footer-desc { color: var(--text-muted); font-size: 0.875rem; max-width: 280px; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.875rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--text-muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── IMPRESSUM PAGE ── */
.legal-page { padding: 120px 0 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .lead { color: var(--text-muted); margin-bottom: 48px; }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-size: 1.2rem; margin-bottom: 12px; color: #60a5fa; }
.legal-section p, .legal-section address { color: var(--text-muted); font-style: normal; line-height: 1.8; }
.legal-section a { color: #60a5fa; }
