/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */

.hero {
  min-height: 82svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 5rem;

  background:
    radial-gradient(ellipse at 82% 6%,  rgba(245,200,66,0.50) 0%, transparent 40%),
    radial-gradient(ellipse at 8%  90%, rgba(26,50,130,0.65)  0%, transparent 46%),
    radial-gradient(ellipse at 90% 88%, rgba(209,40,48,0.38)  0%, transparent 38%),
    linear-gradient(148deg, #0A1545 0%, #1A3282 38%, #A8182A 78%, #D12830 100%);
}

/* Noise-Textur */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ── Hintergrund-Blobs ──────────────────────── */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.5;
  animation: blob-drift ease-in-out infinite alternate;
}
.hero__blob--yellow {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #F5C842, #F7941D);
  top: -160px; right: -100px;
  animation-duration: 9s;
}
.hero__blob--red {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #D12830, #FF6B6B);
  bottom: 40px; right: 22%;
  animation-duration: 11s;
  animation-delay: -3s;
}
.hero__blob--green {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #22A855, #4ECDC4);
  bottom: -100px; left: -80px;
  animation-duration: 13s;
  animation-delay: -6s;
}
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(28px, -22px) scale(1.07); }
}

/* ── Konfetti-Partikel ──────────────────────── */
.hero-confetti {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: confetti-float linear infinite;
}
@keyframes confetti-float {
  0%   { transform: translateY(0)     rotate(0deg)   scale(1);    opacity: 0.55; }
  40%  { transform: translateY(-26px) rotate(155deg) scale(1.12); opacity: 0.75; }
  70%  { transform: translateY(-12px) rotate(270deg) scale(0.92); opacity: 0.45; }
  100% { transform: translateY(0)     rotate(360deg) scale(1);    opacity: 0.55; }
}

/* ── Layout ─────────────────────────────────── */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; }
}

/* ── Text ───────────────────────────────────── */
.hero__content { max-width: 640px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,200,66,0.15);
  border: 1.5px solid rgba(245,200,66,0.42);
  border-radius: var(--r-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.98);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: #F5C842;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(245,200,66,0.28);
}

.hero__headline {
  font-family: 'Caveat', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.22);
}
.hero__headline span {
  color: #F5C842;
  position: relative;
  display: inline-block;
}
.hero__headline span::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: linear-gradient(90deg, #F5C842, #F7941D);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 0.9s cubic-bezier(.22,1,.36,1) 0.6s forwards;
}
@keyframes underline-grow { to { transform: scaleX(1); } }

.hero__subline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.18);
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hero__trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85);
}
.hero__trust-item::before {
  content: '';
  width: 7px; height: 7px;
  background: #F5C842;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(245,200,66,0.6);
}

/* Hero-Button-Overrides */
.hero .btn {
  font-size: 1.075rem;
  padding: 0.875rem 2rem;
}
.hero .btn-primary {
  background: linear-gradient(135deg, #F5C842, #F7941D);
  color: #1A0A00;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(245,200,66,0.42), 4px 6px 0 rgba(160,100,0,0.28);
}
.hero .btn-primary:hover {
  background: linear-gradient(135deg, #FFD84D, #F7A030);
  box-shadow: 0 8px 32px rgba(245,200,66,0.52), 4px 8px 0 rgba(160,100,0,0.32);
}
.hero .btn-outline-white {
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.08);
}
.hero .btn-outline-white:hover { background: rgba(255,255,255,0.16); border-color: white; }

/* ── Foto-Collage (rechte Seite) ────────────── */
.hero__deco {
  position: relative;
  height: 420px;
  display: none;
}
@media (min-width: 900px) { .hero__deco { display: block; } }

/* Basis-Foto-Frame (Polaroid-Stil) */
.hero__photo {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, z-index 0s;
  cursor: default;
}
.hero__photo:hover { transform: rotate(0deg) translateY(-12px) scale(1.03) !important; z-index: 10; }

/* Foto hinten – gelber Rand, nach rechts geneigt */
.hero__photo--back {
  width: 230px;
  top: 10px;
  right: 0;
  transform: rotate(5deg);
  border: 8px solid #F5C842;
  box-shadow:
    0 20px 60px rgba(209,40,48,0.35),
    0 4px 16px rgba(0,0,0,0.20);
  z-index: 2;
}
.hero__photo--back:hover { box-shadow: 0 32px 80px rgba(209,40,48,0.45); }

/* Foto vorne – weißer Rand, nach links geneigt */
.hero__photo--front {
  width: 240px;
  bottom: 0px;
  left: 10px;
  transform: rotate(-4deg);
  border: 8px solid white;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.40),
    0 4px 16px rgba(0,0,0,0.20);
  z-index: 3;
}
.hero__photo--front:hover { box-shadow: 0 36px 90px rgba(0,0,0,0.50); }

/* Foto drei – grüner Rand, oben links, leicht nach links */
.hero__photo--third {
  width: 185px;
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  border: 8px solid #22A855;
  box-shadow:
    0 16px 48px rgba(34,168,85,0.30),
    0 4px 16px rgba(0,0,0,0.18);
  z-index: 1;
}
.hero__photo--third:hover { box-shadow: 0 28px 70px rgba(34,168,85,0.40); }

.hero__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.hero__photo--front img { object-position: center 30%; }
.hero__photo--back  img { object-position: center 50%; }

/* Polaroid-Beschriftung */
.hero__photo-label {
  background: white;
  padding: 0.45rem 0.6rem 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #333;
  text-align: center;
  line-height: 1.3;
}

/* ── Runder Sticker-Badge ────────────────────── */
.hero__sticker {
  position: absolute;
  bottom: 145px;
  left: 44%;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5C842 0%, #F7941D 100%);
  border: 5px solid white;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: float-gentle 3.5s ease-in-out infinite;
  text-align: center;
  gap: 1px;
  transform-origin: center;
}
.hero__sticker > span:first-child { font-size: 1.5rem; line-height: 1; }
.hero__sticker strong {
  font-family: 'Nunito', sans-serif;
  font-size: 0.58rem;
  font-weight: 900;
  color: #5a2500;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.hero__sticker > span:last-child {
  font-family: 'Nunito', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  color: rgba(90,37,0,0.75);
  line-height: 1;
}

/* ── Sparkle-Sterne ──────────────────────────── */
.hero__sparkle {
  position: absolute;
  pointer-events: none;
  animation: float-gentle ease-in-out infinite alternate;
}
.hero__sparkle--1 {
  width: 30px; height: 30px;
  top: 8px; left: 2%;
  color: #F5C842;
  animation-duration: 2.6s;
  opacity: 0.9;
}
.hero__sparkle--2 {
  width: 20px; height: 20px;
  top: 48%; right: -2%;
  color: rgba(255,255,255,0.75);
  animation-duration: 3.8s;
  animation-delay: -1.2s;
}
.hero__sparkle--3 {
  width: 24px; height: 24px;
  bottom: 65px; left: 1%;
  color: #4ECDC4;
  animation-duration: 4.2s;
  animation-delay: -2.4s;
  opacity: 0.85;
}

/* ── Mobile: ruhigerer Hintergrund ──────────── */
@media (max-width: 639px) {
  .hero {
    padding-top: 7rem;
    background:
      radial-gradient(ellipse at 80% 5%,  rgba(245,200,66,0.20) 0%, transparent 45%),
      radial-gradient(ellipse at 8%  90%, rgba(26,50,130,0.30)  0%, transparent 40%),
      linear-gradient(160deg, #1A2E6E 0%, #2B5BA8 55%, #B82030 100%);
  }
  .hero__blob { opacity: 0.18; }
  .hero__subline { color: rgba(255,255,255,0.92); }
}

/* ── Wellenabschluss ────────────────────────── */
.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  z-index: 3;
}
.hero__wave svg { display: block; width: 100%; }
