/* ============================================================
   hero.css – Hero Sektion & Animationen
   ============================================================ */

/* --- Layout --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

/* --- Grid Hintergrund --- */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* --- Inhalt --- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* --- Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* --- Headline --- */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.15s ease both;
}
h1 .line2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 212, 255, 0.5);
}
h1 .accent-word {
  color: var(--accent);
}

/* --- Subtext --- */
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* --- Buttons --- */
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* --- Dekorative SVG-Formen --- */
.hero-visual {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.12;
  animation: slowSpin 30s linear infinite;
}

.hero-visual-left {
  position: absolute;
  left: -100px;
  top: 30%;
  width: 300px;
  height: 300px;
  opacity: 0.06;
  animation: slowSpinReverse 50s linear infinite;
}

/* --- Keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg) translateY(-50%); }
}

@keyframes slowSpinReverse {
  to { transform: rotate(-360deg); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
  }
  .hero-visual,
  .hero-visual-left {
    display: none;
  }
}
