/* Base styles to complement Tailwind */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #C5A572; /* gold-500 */
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A38655; /* gold-600 */
}

/* Ensure body doesn't jump when modal opens */
body.modal-open {
  overflow: hidden;
}

/* NAVIGATION FIXES */
#navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  pointer-events: auto;
}

/* Fix sticky header overlap */
#start, #services, #contact, #ueber-uns {
  scroll-margin-top: 96px;
}

/* Premium CTA Animation */
.cta-primary {
  animation: ctaRing 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: box-shadow;
  position: relative;
  z-index: 10;
}

.cta-secondary {
  position: relative;
  z-index: 10;
}

@keyframes ctaRing {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 165, 114, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(197, 165, 114, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 165, 114, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-primary {
    animation: none !important;
  }
}
