/* ====================================================
   Grundlayout
==================================================== */
.lmn-newsletter {
  background-color: #f7f7f7;
  padding: 3rem 1rem;
  text-align: center;
}

/* ====================================================
   Überschriften & Texte
==================================================== */
.lmn-newsletter-hero h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 1rem;
}

.lmn-newsletter-hero .subline {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.lmn-newsletter-hero .disclaimer {
  font-size: 0.9rem;
  color: #777;
  margin-top: 1rem;
}

/* ====================================================
   Formular & Danke-Block
==================================================== */
.lmn-newsletter-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.lmn-newsletter-form-wrapper,
.lmn-newsletter-thanks {
  transition: all 0.3s ease-in-out;
}

.hidden {
  display: none !important;
}

/* ====================================================
   Formular
==================================================== */
.lmn-newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lmn-newsletter-form input[type="text"],
.lmn-newsletter-form input[type="email"] {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
  flex: 1 1 200px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  height: auto;
  max-height: 48px; /* verhindert übertriebene Höhe */
  box-sizing: border-box;
}


.lmn-newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: #bfa14c;
  color: #000;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  flex: 0 0 auto;
}

/* Opt-in Bereich */
.lmn-optin {
  text-align: left;
  margin-top: 1rem;
}

.lmn-optin label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  cursor: pointer;
  max-width: 100%;
  line-height: 1.4;
  text-align: left;
  font-size: 0.9rem;
}

.lmn-optin label input[type="checkbox"] {
  flex: 0 0 auto;
}

.lmn-optin label span,
.lmn-optin label a {
  display: inline;
  white-space: normal;
  word-break: normal;
}

.lmn-optin a {
  color: #bfa14c;
  text-decoration: underline;
}


/* Danke-Block */
.lmn-newsletter-thanks {
  text-align: center;
  padding: 1rem;
}

.lmn-newsletter-thanks h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.lmn-newsletter-thanks p {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  color: #333;
}

.thumbs-up {
  max-width: 150px;
  margin-bottom: 1rem;
}

/* ====================================================
   Konfetti Effekt (optional)
==================================================== */


.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: gold;
  animation: confetti 2s ease-out forwards;
  top: 50%; /* optional: oder container.top */
  left: 50%; /* optional: oder randomisiert wie gehabt */
}



/* ========================
   Tablets & Smartphones
   ======================== */
@media (max-width: 1024px) {
  .lmn-newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .lmn-newsletter-form input[type="text"],
  .lmn-newsletter-form input[type="email"],
  .lmn-newsletter-form button {
    width: 80%;
    max-width: 300px;
  }

  .lmn-newsletter-hero h2 {
    font-size: 1.8rem;
  }
}

