/* EOSWmobil Landingpage – individuelle Styles, ergänzend zu Tailwind-Utilities */

:root {
  --brand: #3355D8;
  --brand-dark: #1B2557;
  --navy: #0A1240;
  --navy-light: #16247A;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Hero-Hintergrund: derselbe Verlauf wie im Feature Graphic / App-Icon */
.hero-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #2E52E0 100%);
}

/* Sanftes Glühen hinter dem Phone-Mockup, passend zum App-Icon-Verlauf */
.hero-glow {
  background: radial-gradient(circle, rgba(108, 137, 255, 0.55) 0%, rgba(108, 137, 255, 0) 70%);
}

/* Phone-Mockup-Rahmen */
.phone-frame {
  position: relative;
  background: #101A46;
  border-radius: 2.5rem;
  padding: 0.6rem;
  box-shadow: 0 30px 60px -20px rgba(10, 18, 64, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-frame img {
  border-radius: 1.9rem;
  display: block;
  width: 100%;
}
.phone-notch {
  position: absolute;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 0.4rem;
  background: #0A1240;
  border-radius: 999px;
  z-index: 10;
}

/* Feature- und Datenfluss-Karten */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(27, 37, 87, 0.25);
}

/* Fade-in-on-scroll (per IntersectionObserver in script.js aktiviert) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Verbindungspfeil im Datenfluss-Abschnitt */
.flow-connector {
  color: #A9B3D6;
  font-size: 1.5rem;
  line-height: 1;
}

/* Skip-Link für Tastaturnutzung */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--brand-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}
