/* ki-krefeld – Single Page
   CI aus dem Logo abgeleitet: dunkles Indigo + Verlauf Violett→Magenta→Pink→Koralle, Türkis als Akzent.
   Schrift: Poppins (beste Übereinstimmung mit der Logo-Schrift). */

:root {
  /* Flächen */
  --ink:      #05050f;
  --ink-2:    #0a0a1e;
  --card:     #10112b;
  --card-2:   #15163a;
  --line:     rgba(255, 255, 255, 0.10);
  --line-2:   rgba(255, 255, 255, 0.16);

  /* Verlaufsfarben aus dem Logo */
  --violet:   #7d46c7;
  --magenta:  #f023b8;
  --pink:     #f4426f;
  --coral:    #f87359;
  --teal:     #1ff1e3;
  --cyan:     #36e7ee;

  /* Text */
  --text:     #ececf6;
  --muted:    #a6a7c6;

  --grad:        linear-gradient(90deg, var(--violet), var(--magenta), var(--pink), var(--coral));
  --grad-cool:   linear-gradient(120deg, var(--magenta), var(--teal));
  --radius:   18px;
  --wrap:     1140px;
  --ease:     cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; margin: 0; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--card); color: var(--text);
  padding: 10px 14px; border-radius: 10px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* Hintergrund-Aura */
.bg-aura {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(240, 35, 184, 0.16), transparent 70%),
    radial-gradient(50% 45% at 12% 22%, rgba(125, 70, 199, 0.18), transparent 70%),
    radial-gradient(55% 50% at 90% 85%, rgba(31, 241, 227, 0.10), transparent 70%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 15, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line-2);
  padding: 9px 18px; border-radius: 999px;
}
.nav-cta:hover { border-color: var(--magenta); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--grad);
  color: #0b0320;
  box-shadow: 0 10px 30px -10px rgba(240, 35, 184, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(240, 35, 184, 0.75); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-2px); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 600;
  color: var(--muted); margin: 0 0 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; }
.lede { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--muted); max-width: 46ch; margin: 22px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.hero-points li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--muted); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad-cool);
}

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-logo { width: min(100%, 420px); filter: drop-shadow(0 24px 60px rgba(240, 35, 184, 0.28)); }
.halo {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 241, 227, 0.18), rgba(125, 70, 199, 0.14) 45%, transparent 70%);
  filter: blur(8px);
}

/* Sections */
.section { padding: 86px 0; }
.section-alt { background: linear-gradient(180deg, var(--ink), var(--ink-2)); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700;
  margin: 0 0 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-intro { color: var(--muted); margin: 16px 0 0; }

/* Leistungs-Karten */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  color: #0b0320; background: var(--grad);
  box-shadow: 0 10px 24px -12px rgba(240, 35, 184, 0.7);
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Ansatz-Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
}
.feature-badge {
  display: inline-grid; place-items: center;
  font-weight: 700; font-size: 0.82rem; color: var(--text);
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-2); margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(240,35,184,0.16), rgba(31,241,227,0.12));
}
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.93rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.team-copy p { color: var(--muted); margin: 16px 0 0; }
.team-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-top: 8px; }
.team-stats { display: grid; gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat-num { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* CTA */
.section-cta { padding: 96px 0; }
.cta-box {
  text-align: center; max-width: 740px;
  background: linear-gradient(135deg, rgba(125,70,199,0.18), rgba(240,35,184,0.12) 55%, rgba(31,241,227,0.12));
  border: 1px solid var(--line-2); border-radius: 26px;
  padding: 56px 32px;
}
.cta-box h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-box p { color: var(--muted); max-width: 52ch; margin: 18px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.cta-note { font-size: 0.86rem; margin-top: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-weight: 600; }
.footer-brand span { color: var(--muted); font-size: 0.82rem; }
.footer-brand img { height: 42px; width: auto; }
.footer-legal { text-align: right; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.footer-legal p { margin: 2px 0; }
.footer-legal a { color: var(--text); }
.footer-legal a:hover { color: var(--magenta); }
.footer-legal-title { font-weight: 600; color: var(--text); margin-bottom: 6px !important; }
.copyright { margin-top: 10px !important; }

@media (max-width: 640px) { .footer-legal { text-align: left; } }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-logo { width: min(72%, 320px); }
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}

/* Rechtstexte (Datenschutz) */
.legal { padding: 128px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 40px; }
.legal h2 { font-size: 1.28rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.02rem; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--text); text-decoration: underline; }
.legal a:hover { color: var(--magenta); }
.legal .lead { color: var(--text); }
.legal .back { display: inline-block; margin-top: 32px; }

.footer-links { display: flex; gap: 18px; margin-top: 14px; }
.footer-links a { color: var(--muted); font-size: 0.86rem; }
.footer-links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
