/* === Grundlayout === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000;
  font-family: 'Aboreto', sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-color: #000;
}

img.logo {
  max-width: 300px;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-out;
}

.slogan {
  max-width: 600px;
  margin-bottom: 60px;
}

.slogan-line {
  margin: 10px 0;
  opacity: 0;
  animation-fill-mode: forwards;
}



.slogan-line.line-1 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #00aa99;
  text-shadow: 0 0 3px #00fff0;
}

.slogan-line.line-2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #00ccb3;
  text-shadow: 0 0 2px #00fff0;
}

.slogan-line.line-3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #00e6cc;
  text-shadow: 0 0 1px #00fff0;
}

.slogan-line.line-4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00fff0;
  text-shadow: 0 0 0px #00fff0;
  margin-top: 30px;
}

/* === Lauftext-Link === */
.showcase-link {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  color: #00aa99;
  font-size: 1.2rem;
  font-weight: bold;
  animation: scrollText 10s linear infinite;
}

.showcase-link span {
  display: inline-block;
  padding-left: 100%;
}

/* === WhatsApp-Link === */
.whatsapp-link {
  position: absolute;
  bottom: 20px;
  font-size: 0.9rem;
  color: #00aa99;
  text-decoration: none;
  animation: fadeIn 3s ease-out;
  transition: opacity 0.3s ease;
}

.whatsapp-link:hover {
  opacity: 0.7;
}

/* === Animationen === */
@keyframes rotateY {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* === Flip-Button === */
.flip-button-wrapper {
  perspective: 1000px;
  text-decoration: none;
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.flip-button-wrapper a {
  width: 240px;
  height: 60px;
  display: block;
}

.flip-button {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateY 8s linear infinite;
}

.flip-button .front,
.flip-button .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #00fff0;
  color: black;
  font-family: 'Aboreto', sans-serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  text-align: center;
  padding: 0 24px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flip-button .back {
  transform: rotateY(180deg);
}

/* === Mobile Anpassungen === */
@media (max-width: 600px) {
  img.logo {
    max-width: 200px;
  }

  .whatsapp-link {
    font-size: 0.8rem;
    bottom: 15px;
  }

  .showcase-link {
    font-size: 1rem;
    bottom: 45px;
  }

  .flip-button-wrapper {
    margin-top: 16px; /* 👈 Noch näher am Text */
  }

  .flip-button-wrapper a {
    width: 200px;
    height: 50px;
  }

  .flip-button .front,
  .flip-button .back {
    font-size: 16px;
    padding: 0 16px;
  }
}

