/* ROOT */
:root {
  --brand: #1800ad;
  --bg: #f7f3f1;
  --muted: #666;
  --card-bg: rgba(255, 255, 255, 0.85);
  --radius: 1px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: "Open Sauce Sans", sans-serif;
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

#preloader-logo {
  width: 220px;
  animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.18);
  }
  45% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

/* MAIN CONTENT */
#main-content {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

/* CENTER BOX */
.center-box {
  text-align: center;
  transform: translateY(-10%);
}

.hero-logo {
  width: 300px;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #333;
}

/* NEWSLETTER BOX */
.newsletter-box {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.newsletter-box input {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--brand);
  outline: none;
  width: 260px;
  font-size: 1rem;
}

.newsletter-box button {
  padding: 12px 20px;
  background: var(--brand);
  border: none;
  border-radius: var(--radius);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s ease;
}

.newsletter-box button:hover {
  opacity: 0.8;
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icons a {
  font-size: 32px;
  color: var(--brand);
  transition: 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* Mehr Padding auf Handys */
@media (max-width: 600px) {
  .center-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .newsletter-box {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-box input {
    width: 90%;
  }

  .social-icons {
    gap: 25px;
  }
}
