/* ---------- Newsletter Formular Styling ---------- */
.newsletter-form {
  max-width: 400px;
  margin: 2rem auto;
}

.newsletter-form label {
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  background: white;
  padding: 0 0.3rem;
  color: #666;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 2;
}

.newsletter-form .form-group {
  position: relative;
  margin-bottom: 2rem;
}

.newsletter-form .form-control {
  width: 100%;
  padding: 1.14rem 0.75rem 0.6rem;
  border: 1px solid var(--clr-orange);
  border-radius: 18px;
  background-color: white;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.newsletter-form .form-control:focus {
  border: 2px solid var(--clr-orange);
  outline: none;
}

.newsletter-form .form-group.active .form-label {
  top: -0.6rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: var(--clr-orange);
}

/* ---------- Button Styling ---------- */
.newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  background-color: white;
  border: 0.2em solid var(--clr-orange);
  border-radius: 8px;
  padding: 10px 20px;
  transition: background-color 0.3s, color 0.3s;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-orange);
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}

.newsletter-form button:hover {
  background-color: var(--clr-orange);
  color: white;
}

/* ---------- Fehlermeldung Styling ---------- */
.newsletter-form .error-message {
  color: red;
  font-weight: bold;
  margin-bottom: 1rem;
}
