/* ============================================================
   KI NordWest — Professional Dark Theme (KI, Blue→Violet)
   1200px, system fonts, keine externen Ressourcen
   ============================================================ */

:root {
  --bg: #0a0d14;
  --bg-2: #0d111c;
  --surface: #121828;
  --surface-2: #161d30;
  --border: #1e2638;
  --border-strong: #2b3650;
  --text: #e9edf5;
  --text-muted: #97a1b8;
  --blue: #5b8cff;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #5b8cff 0%, #8b5cf6 100%);
  --grad-text: linear-gradient(135deg, #7aa2ff 0%, #a78bfa 100%);
  --glow-blue: rgba(91, 140, 255, 0.45);
  --glow-violet: rgba(139, 92, 246, 0.45);
  --max-w: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtile Hintergrund-Ebenen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(91, 140, 255, 0.10), transparent 60%),
    radial-gradient(800px 500px at 10% 20%, rgba(139, 92, 246, 0.08), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 680px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 16px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--text-muted); }

/* Gradient-Text */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Section-Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-label::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.12rem; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 0 16px var(--glow-blue);
}
.brand-mark::after {
  content: "";
  position: absolute; width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.92;
}
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .nav-cta {
  color: #fff;
  background: var(--grad);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 18px var(--glow-blue);
}
.site-nav .nav-cta:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 64px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(91,140,255,0.08);
  color: var(--blue);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.kicker::before { content: "✦"; font-size: 0.9em; }
.hero h1 { margin-bottom: 14px; }
.tagline { font-size: 1.3rem; font-weight: 500; color: var(--text); }
.lead { max-width: 540px; color: var(--text-muted); margin: 14px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  min-height: 300px;
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 20%;
  background: radial-gradient(circle, var(--glow-blue), transparent 70%);
  filter: blur(30px);
  opacity: 0.5;
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 22px var(--glow-blue);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 28px var(--glow-blue); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Session card ---------- */
.session-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  overflow: hidden;
}
.session-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad);
}
.session-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.session-date, .session-time {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 600;
  background: rgba(91,140,255,0.10);
  border: 1px solid rgba(91,140,255,0.25);
  color: #a9c0ff;
}
.session-detail { color: var(--text-muted); }
.session-card .btn { margin-top: 10px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px var(--glow-blue);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; }

/* ---------- Audience ---------- */
.audience { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.audience li {
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex; align-items: center; gap: 12px;
}
.audience li::before { content: "→"; color: var(--blue); font-weight: 700; }
.audience li:last-child { border-bottom: 1px solid var(--border); }

/* ---------- Agenda ---------- */
.agenda { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.agenda::before {
  content: "";
  position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--violet));
  opacity: 0.4;
}
.agenda li {
  position: relative;
  padding: 13px 0 13px 40px;
}
.agenda li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 15px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--blue);
  font-size: 0; /* Zahl ausgeblendet, nur Punkt */
}
.agenda-time {
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  font-weight: 700;
  margin-right: 10px;
}

/* ---------- Form ---------- */
.form label { display: block; margin: 20px 0 8px; font-weight: 600; font-size: 0.95rem; }
.form .optional, .form .req { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }
.form .req { color: var(--violet); }
.form input[type="text"],
.form input[type="email"] {
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91,140,255,0.18);
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; color: var(--text-muted); }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.form .btn { margin-top: 26px; width: 100%; justify-content: center; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.3em; }
.form-status.ok { color: var(--cyan); }
.form-status.error { color: #f0a0a0; }

/* ---------- Neural network ---------- */
.neural-svg { width: 100%; max-width: 460px; height: auto; }
.neural-edge { stroke: rgba(91,140,255,0.13); stroke-width: 1; }
.neural-node { fill: rgba(91,140,255,0.55); }
.neural-node.active {
  fill: #a78bfa;
  animation: nodePulse 3.2s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.45; r: 5px; }
  50% { opacity: 1; r: 7px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--text-muted); font-size: 0.9rem;
  background: var(--bg-2);
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Content pages ---------- */
.page { padding: 72px 24px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 40px; }
.prose a { word-break: break-all; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 220px; order: -1; }
  .neural-svg { max-width: 320px; }
}
@media (max-width: 640px) {
  h1 { font-size: 2.2rem; }
  .hero { padding: 56px 0 44px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
}
