@keyframes growIn {
  from {
    transform: scale(0.5); /* Startgröße: 50% */
    opacity: 0;          /* Start: unsichtbar */
  }
  to {
    transform: scale(1);   /* Endgröße: 100% */
    opacity: 1;          /* Ende: voll sichtbar */
  }
}

.bild-animation {
  animation: growIn 2.5s ease-out forwards; /* Dauer, Stil, Ende-Zustand */
  transform-origin: center; /* Wächst von der Mitte aus */
} 

.fade-in-div {
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Dauer: 1 Sekunde */
}



/* Das Overlay deckt den Bildschirm ab */
.flyer-overlay {
 display: none; /* Standardmäßig unsichtbar */
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.7);
 z-index: 9999;
}

/* Der eigentliche Inhalt des Flyers */
.flyer-content {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 background: white;
 max-width: 600px;
 width: 90%;
 padding: 20px;
 border-radius: 8px;
 text-align: center;
}

/* Countdown-Anzeige */
#countdown {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

#countdown div {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  font-size: 1.2rem;
}

#countdown small {
  font-size: 0.75rem;
  color: #666;
}

/* Call-to-Action Button */
.flyer-btn {
  display: inline-block;
  background: #ff4757;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
}

@media screen and (max-width:780px) and (min-width: 350px) {

.flyer-content {
  width: 100%;
  max-width: 300px;
  left: 47%;
}
} 

@media screen and (max-width:1800px) and (min-width: 780px) {
.flyer-content {
  width: 100%;
  max-width: 300px;
  left: 47%;
}  
}