html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
}

h1,
h2,
h3,
h4,
.sora {
  font-family: 'Sora', sans-serif;
}

/* Dot grid texture for dark sections */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Hero gradient background */
.hero-bg {
  background: radial-gradient(ellipse 75% 60% at 65% 45%, #eef2ff 0%, #ffffff 65%);
}

/* Hero entrance animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-1 {
  animation: fadeUp 0.75s cubic-bezier(.16, 1, .3, 1) 0.08s both;
}

.hero-2 {
  animation: fadeUp 0.75s cubic-bezier(.16, 1, .3, 1) 0.22s both;
}

.hero-3 {
  animation: fadeUp 0.75s cubic-bezier(.16, 1, .3, 1) 0.37s both;
}

.hero-4 {
  animation: fadeUp 0.75s cubic-bezier(.16, 1, .3, 1) 0.52s both;
}

.hero-img {
  animation: fadeUp 0.9s cubic-bezier(.16, 1, .3, 1) 0.28s both;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(.16, 1, .3, 1),
    transform 0.65s cubic-bezier(.16, 1, .3, 1);
}

.reveal.d1 {
  transition-delay: 0.10s;
}

.reveal.d2 {
  transition-delay: 0.20s;
}

.reveal.d3 {
  transition-delay: 0.30s;
}

.reveal.d4 {
  transition-delay: 0.40s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Amber underline accent */
.amber-ul {
  text-decoration: underline;
  text-decoration-color: #F59E0B;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* Card hover lift */
.card-hover {
  transition: transform 0.25s cubic-bezier(.16, 1, .3, 1),
    box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(55, 48, 163, 0.12);
}

/* Buttons */
.btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-amber:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-indigo:hover {
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.35);
}

/* Dark-theme form fields */
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.form-input:focus {
  outline: none;
  border-color: #F59E0B;
  background: rgba(255, 255, 255, 0.12);
}

.form-input.has-error {
  border-color: #f87171;
}

textarea.form-input {
  resize: vertical;
  min-height: 104px;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-input option {
  background: #1e1b4b;
  color: white;
}

/* Nav backdrop blur */
#main-nav {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Dropdown menu */
#angebote-menu {
  transition: opacity 0.15s ease, transform 0.15s ease;
}

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

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

::-webkit-scrollbar-thumb {
  background: #4338ca;
  border-radius: 3px;
}
