/* ============ Farben – hier anpassen ============ */
:root {
  --bg: #07070d;
  --text: #ececf1;
  --a1: #7c5cff;   /* lila */
  --a2: #22d3ee;   /* türkis */
  --a3: #f472b6;   /* pink */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ Hintergrund ============ */
.blobs { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .45;
  animation: schweben 22s ease-in-out infinite alternate;
}
.b1 { width: 520px; height: 520px; background: var(--a1); top: -140px; left: -120px; }
.b2 { width: 440px; height: 440px; background: var(--a2); top: 30%; right: -160px; animation-delay: -6s; opacity: .3; }
.b3 { width: 380px; height: 380px; background: var(--a3); bottom: -160px; left: 30%; animation-delay: -12s; opacity: .25; }
@keyframes schweben {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-60px, 100px) scale(.95); }
}
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
}

/* ============ Text ============ */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  text-align: center; padding: 20px;
}
h1 {
  font-size: clamp(2.4rem, 8vw, 6rem);
  line-height: 1.05; letter-spacing: -.045em; font-weight: 800;
  animation: einblenden 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.grad {
  background: linear-gradient(100deg, var(--a1), var(--a2) 50%, var(--a3), var(--a1));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glanz 6s linear infinite;
}
@keyframes glanz { to { background-position: 200% center; } }
@keyframes einblenden { from { opacity: 0; transform: translateY(30px); } }

/* Weniger Bewegung, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
