/* ================================================================
   LEADNETIC · home.css
   Nur für die Startseite: Hero und Bereichs-Auswahl.
   Alles andere steckt in shell.css und gilt für alle Seiten.
   ================================================================ */

#hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background:
    var(--glow-light),
    linear-gradient(168deg, #F2F6FF 0%, #FFFFFF 46%, #EFF8FF 100%);
}

/* Feines Raster im Hintergrund, kaum sichtbar, gibt Tiefe */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11,15,26,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,15,26,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Standort-Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem 1rem .42rem .7rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,87,255,.14);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--sh-xs);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,87,255,.45); }
  50%      { box-shadow: 0 0 0 6px rgba(0,87,255,0); }
}

.hero-h1 {
  font-size: clamp(1.95rem, 3.1vw, 2.9rem);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.06rem;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 1.9rem;
}

/* ── Bereichs-Auswahl: vier Karten, 2×2 ── */
.path-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1.9rem;
}
.path-card {
  position: relative;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              transform .25s var(--ease-spring), background .25s var(--ease);
  box-shadow: var(--sh-xs);
  user-select: none;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); background: var(--white); }
.path-card.active {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,87,255,.1), var(--sh-md);
}

.path-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: .55rem;
  transition: background .25s, color .25s;
}
.path-card.active .path-icon { background: var(--blue); color: var(--white); }

.path-card h4 { font-size: .93rem; margin-bottom: .2rem; line-height: 1.3; color: var(--dark); }
.path-card p { font-size: .79rem; color: var(--gray-500); margin: 0; line-height: 1.45; }

.path-check {
  position: absolute;
  top: .85rem; right: .85rem;
  width: 19px; height: 19px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .58rem;
  color: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.path-card.active .path-check { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── CTA und Vertrauenszeile ── */
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.9rem; }
.hero-cta .btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }


/* ── Hero-Grafik ── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-img-wrap { position: relative; animation: heroFloat 8s ease-in-out infinite; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}
.hero-img-wrap img { max-width: 320px; filter: drop-shadow(0 24px 44px rgba(0,87,255,.18)); }

.fchip {
  position: absolute;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: .7rem 1rem;
  box-shadow: 0 10px 34px rgba(11,15,26,.1);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: .6rem;
  white-space: nowrap;
  animation: chipBob 6s ease-in-out infinite;
}
.fchip:nth-child(3) { animation-delay: -2.5s; }
.fchip:nth-child(4) { animation-delay: -1.2s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.fchip-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  flex-shrink: 0;
}
.fchip-icon.green { background: rgba(16,185,129,.1); color: var(--green-dark); }
.fchip strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .95rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.fchip span span { font-size: .72rem; color: var(--gray-500); font-weight: 400; }

.scroll-cue {
  position: absolute;
  bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: var(--gray-400);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollCue 2.6s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes scrollCue {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .55; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1150px) {
  #hero { padding: 7.5rem 0 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .path-selector { max-width: 520px; margin-left: auto; margin-right: auto; }
  .path-card { text-align: left; }
  .fchip { display: none; }
  .hero-img-wrap img { max-width: 230px; }
  .scroll-cue { display: none; }
}

@media (max-width: 560px) {
  .path-selector { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-trust { flex-direction: column; align-items: center; }
}
