/* ===========================
   KI-Workshop – demo4.greg19.com
   =========================== */

:root {
  --bg:        #080c14;
  --bg2:       #0d1424;
  --bg3:       #111827;
  --accent:    #6366f1;
  --accent2:   #818cf8;
  --gold:      #f59e0b;
  --white:     #ffffff;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --border:    #1e293b;
  --radius:    12px;
  --radius-lg: 20px;
  --nav-h:     68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #5254e0;
  border-color: #5254e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--white);
}
.nav-brand::before {
  content: '⚡ ';
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin: 14px 0 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.label {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(99,102,241,0.25);
}

.accent { color: var(--accent2); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(129,140,248,0.1) 0%, transparent 60%),
    var(--bg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-label {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid rgba(99,102,241,0.3);
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 2s ease infinite;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--muted); }

/* ===== STATUS BANNER ===== */
.status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.8s ease infinite;
}

/* ===== PROGRAM GRID ===== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.program-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.program-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-3px);
}
.program-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, var(--bg3) 100%);
}
.program-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.program-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.compliance { background: rgba(239,68,68,0.12); color: #f87171; }
.technik    { background: rgba(59,130,246,0.12); color: #60a5fa; }
.skalieren  { background: rgba(16,185,129,0.12); color: #34d399; }
.mindset    { background: rgba(245,158,11,0.12); color: #fbbf24; }
.agenten    { background: rgba(139,92,246,0.12); color: #a78bfa; }
.praxis     { background: rgba(99,102,241,0.15); color: var(--accent2); }
.aufbau     { background: rgba(20,184,166,0.12); color: #2dd4bf; }
.qa         { background: rgba(236,72,153,0.12); color: #f472b6; }

.program-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.program-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.program-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.program-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.program-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-size: 0.8rem;
}

/* ===== FÜR WEN ===== */
.fuerwen { background: var(--bg); }
.fuerwen-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fuerwen-text .label { margin-bottom: 16px; }
.fuerwen-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.fuerwen-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.75; }
.fuerwen-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.visual-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.visual-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.accent-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.05));
  border-color: rgba(99,102,241,0.4);
  grid-column: 1 / -1;
}
.visual-icon { font-size: 1.8rem; margin-bottom: 10px; }
.visual-card span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* ===== CTA ===== */
.cta-section {
  background: var(--bg2);
}
.cta-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cta-box .label { margin-bottom: 16px; }
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta-box > p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.cta-form input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.cta-form input:focus { outline: none; border-color: var(--accent); }
.cta-form input::placeholder { color: var(--muted); }
.cta-form .btn { width: 100%; justify-content: center; padding: 14px; border-radius: 10px; }
.cta-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius);
  color: #4ade80;
  font-weight: 600;
  font-size: 0.9rem;
}
.cta-hint {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.footer p { font-size: 0.82rem; color: var(--muted); }
.footer a { color: var(--muted); transition: color 0.2s; }
.footer a:hover { color: var(--accent2); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .program-grid  { grid-template-columns: 1fr; }
  .fuerwen-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-title { letter-spacing: -0.5px; }
  .fuerwen-visual { grid-template-columns: 1fr 1fr; }
}
