/* AuftragsStatus Marketing Site */
:root {
  --bg: #0f1117;
  --bg-elevated: #161922;
  --bg-card: #1c2030;
  --border: rgba(112, 209, 229, 0.15);
  --text: #f4f6fb;
  --text-muted: #9ca8bc;
  --accent: #70d1e5;
  --accent-deep: #22a8c4;
  --accent-glow: rgba(112, 209, 229, 0.35);
  --gradient: linear-gradient(135deg, #70d1e5 0%, #3b9ec4 50%, #2563eb 100%);
  --radius: 16px;
  --font: 'DM Sans', system-ui, sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient background */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.bg-glow::before {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}
.bg-glow::after {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
}
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(112, 209, 229, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 209, 229, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

.wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
header.scrolled {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-link img {
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--border);
}
.logo-link span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--gradient) !important;
  color: #0f1117 !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.92; filter: brightness(1.05); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Hero */
.hero {
  padding: 140px 0 100px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(112, 209, 229, 0.1);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge span { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient);
  color: #0f1117;
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--accent-glow); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.hero-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.hero-mock-bar {
  display: flex;
  gap: 8px;
  padding: 8px 12px 16px;
}
.hero-mock-bar span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #3f4556;
}
.hero-mock-bar span:first-child { background: #ff5f57; }
.hero-mock-bar span:nth-child(2) { background: #febc2e; }
.hero-mock-bar span:nth-child(3) { background: #28c840; }
.hero-mock-content {
  background: linear-gradient(180deg, #1e2438 0%, #151820 100%);
  border-radius: 12px;
  padding: 32px 24px;
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.mock-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.mock-card strong { display: block; font-size: 1.5rem; color: var(--accent); margin-bottom: 4px; }
.mock-card small { color: var(--text-muted); font-size: 0.75rem; }

/* Sections */
section { padding: 100px 0; }
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: rgba(112, 209, 229, 0.4);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(112, 209, 229, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 48px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #0f1117;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* Modes */
.modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mode-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mode-card .icon { font-size: 2rem; flex-shrink: 0; }
.mode-card h3 { font-size: 1rem; margin-bottom: 6px; }
.mode-card p { color: var(--text-muted); font-size: 0.88rem; }

/* Platforms */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
}
.platform-badge svg { width: 32px; height: 32px; opacity: 0.9; }
.platform-badge div strong { display: block; font-size: 1rem; }
.platform-badge div span { color: var(--text-muted); font-size: 0.85rem; }

/* CTA */
.cta-box {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, rgba(112, 209, 229, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.cta-box h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-item button:hover { color: var(--accent); }
.faq-item .chevron { transition: transform 0.25s; color: var(--accent); }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
footer .logo-link img { width: 36px; height: 36px; }
footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }

/* Mobile nav */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr; }
  .hero-mock-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 24px; right: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    gap: 16px;
  }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  header .wrap { position: relative; }
  .steps { grid-template-columns: 1fr; }
}
