
/* ═══════════════════════════════════════════════════════════
   PPWR COCKPIT – Neue Website Styles (v2 – Video Hero)
   Ergänzung zu style.css
═══════════════════════════════════════════════════════════ */

/* ── Video Hero ──────────────────────────────────────────── */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

/* Video-Hintergrund */
.hero-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dunkles Overlay: Forest-Grün mit 70% Deckkraft */
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27, 45, 28, 0.82) 0%,
    rgba(43, 58, 44, 0.75) 50%,
    rgba(27, 45, 28, 0.88) 100%
  );
  /* Subtiler Lime-Schimmer an der Unterkante */
  border-bottom: 2px solid rgba(212, 237, 49, 0.15);
}

/* Inhalt über dem Video */
.hero-video__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 0 1.5rem;
  padding-top: 84px; /* Header-Höhe */
}

.hero-video__eyebrow {
  margin-bottom: 1.5rem;
}

/* Badge-Variante für hellen Hintergrund (im Video-Hero) */
.badge--light {
  background: rgba(212, 237, 49, 0.18);
  color: var(--color-lime);
  border: 1px solid rgba(212, 237, 49, 0.4);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: inline-block;
}

.hero-video__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-video__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-video__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Größerer Button für den Video-Hero */
.btn-xl {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  letter-spacing: .01em;
}

/* Ghost-Button weiß (für Video-Hero) */
.btn-ghost-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .18s, border-color .18s;
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
}

/* Scroll-Indikator */
.hero-video__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-video__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video__scroll-line { animation: none; }
}

/* ── Header transparent über Video ──────────────────────── */
/* Logo-Variante: helles Logo auf dunklem Video-Hintergrund */
.site-header--transparent:not(.header--scrolled) .logo-img {
  filter: brightness(0) invert(1);
}
.site-header--transparent.header--scrolled .logo-img {
  filter: none;
}

/* ── Trust-Bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--color-forest);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(212, 237, 49, 0.15);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem 1.5rem;
  white-space: nowrap;
}

.trust-bar__item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.trust-bar__divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-bar__divider { display: none; }
  .trust-bar__item {
    padding: .375rem 1rem;
    font-size: .8125rem;
  }
  .trust-bar__inner {
    gap: .25rem;
  }
}

/* ── Scroll-Reveal Animationen ───────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(0.23,1,0.32,1), transform .6s cubic-bezier(0.23,1,0.32,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal]:nth-child(2) { transition-delay: .12s; }
[data-reveal]:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Mobile: Hero-Video ──────────────────────────────────── */
@media (max-width: 640px) {
  .hero-video {
    height: 100svh;
    min-height: 500px;
  }

  .hero-video__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-video__sub {
    font-size: .9375rem;
  }

  .hero-video__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-xl {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-video__scroll { display: none; }
}
