/* ============================================================
   BESTE VERHUIZERS — Animations
   ============================================================ */

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(1deg); }
  66%       { transform: translateY(-7px) rotate(-1deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .6; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes progressFill {
  from { width: 0; }
}

@keyframes dotPattern {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

@keyframes truckDrive {
  0%   { transform: translateX(-10px); }
  50%  { transform: translateX(10px); }
  100% { transform: translateX(-10px); }
}

@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ripple {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ── Scroll-triggered base ─────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }

/* ── Utility animation classes ─────────────────────────── */
.anim-float      { animation: float 6s ease-in-out infinite; }
.anim-float-slow { animation: floatSlow 8s ease-in-out infinite; }
.anim-pulse      { animation: pulse 2.5s ease-in-out infinite; }
.anim-fadein-up  { animation: fadeInUp .7s cubic-bezier(.4,0,.2,1) both; }

/* Hero entry animations */
.hero-content > * { animation: fadeInUp .7s cubic-bezier(.4,0,.2,1) both; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-content > *:nth-child(3) { animation-delay: .35s; }
.hero-content > *:nth-child(4) { animation-delay: .5s; }
.hero-content > *:nth-child(5) { animation-delay: .65s; }

/* ── Hover micro-interactions ──────────────────────────── */
.hover-lift {
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ── Ripple button effect ──────────────────────────────── */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn--primary:active::after { opacity: 1; }
.btn--primary { position: relative; overflow: hidden; }

/* ── Progress bar animation ────────────────────────────── */
.progress-fill {
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

/* ── Step circle active ────────────────────────────────── */
.step-circle {
  transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.step-circle.active {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(255,90,31,.18);
}
