



form {
    min-width: auto !important;
width: 60vw !important;
  margin: 40px auto;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 1%;
  padding-bottom: 5%;
  border-radius: 12px;
  box-shadow: 0 4px 24px #0001;
  font-family: 'Poppins', Arial, sans-serif;
 border: solid 1px var(--accent-color);

 

}


form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;

}
form input::placeholder,
form textarea::placeholder {
  color: #fff;
  opacity: 1; /* Für volle Deckkraft in allen Browsern */
}

form input:focus::placeholder,
form textarea:focus::placeholder {
  color: #888;

}

form input,
form select,
form textarea {
  width: 100%;
  padding: 20px 22px;
  margin-top: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--accent-color);
    font-family: "Poppins", serif !important;
  font-size: 1em;
  background: var(--accent-color);
  transition: border 0.2s;
  color: #fff;
       border-radius: 25px;
}

form select {

  color: #fff;
}



form select option {
  background: var(--accent-color);   /* oder transparent, aber #222 ist meist besser lesbar */
  color: #fff;

}



form textarea {
  min-height: 10em; /* oder z.B. height: 6em; */
}
form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  background-color: transparent;
}

form button[type="submit"] {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 35px;
  width: 50%;
  display: block;
  margin: 24px auto 0 auto; /* oben Abstand, zentriert horizontal */
      border: solid 2px transparent;
}

form button[type="submit"]:hover {
      background-color: #000000;
    color: #FFFFFF;
    border: solid 2px var(--accent-color);
}


form button[type="submit"] {
  position: relative; /* Wichtig für ::before */
  overflow: hidden;   /* Shine bleibt im Button */
  /* ...deine bisherigen Styles... */
}

form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  animation: shine 2s ease-in-out infinite;
  pointer-events: none;
  border-radius: 35px;
}

@keyframes shine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.hinweis {
  text-align: center;
  font-size: 0.9em;
  color: #888;
  margin-top: 50px;
  padding-left: 15%;
  padding-right: 15%;

}
.headline-with-bubbles {
  display: flex;
  align-items: center;
  gap: 24px; /* Abstand zwischen H1 und Bubbles */
}

.cta-bubbles {
  position: relative;
  width: 60px;
  height: 80px;
  pointer-events: none;
}

.cta-bubble {
  position: absolute;
  left: 50%;
  bottom: 500px;
  width: 18px;
  height: 18px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0px 8px 24px -6px #26394d55,
              inset 10px -5px 10px -5px #26394d7b,
              inset -10px 10px 20px -10px #ffffffbb;
  opacity: 0.8;
  transform: translateX(-50%) scale(0.7);
  animation: cta-bubble-float 3s infinite;
  animation-fill-mode: backwards; /* ← das ist der Fix */
}

.cta-bubble:nth-child(1) {
  left: 50%;
  animation-delay: 0s;
}
.cta-bubble:nth-child(2) {
  left: 30%;
  width: 12px; height: 12px;
  animation-delay: 0.4s;
  opacity: 0.6;
}
.cta-bubble:nth-child(3) {
  left: 70%;
  width: 14px; height: 14px;
  animation-delay: 0.8s;
  opacity: 0.7;
}
.cta-bubble:nth-child(4) {
  left: 40%;
  width: 10px; height: 10px;
  animation-delay: 1.1s;
  opacity: 0.5;
}
.cta-bubble:nth-child(5) {
  left: 60%;
  width: 13px; height: 13px;
  animation-delay: 1.4s;
  opacity: 0.5;
}

@keyframes cta-bubble-float {
  0% {
    bottom: 10px;
    opacity: 0.8;
    transform: translateX(-50%) scale(0.7);
  }
  40% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
  80% {
    opacity: 0.7;
    transform: translateX(-50%) scale(0.9);
  }
  100% {
    bottom: 70px;
    opacity: 0;
    transform: translateX(-50%) scale(0.7);
  }
}

.input-error {
  border: 2px solid #e53935 !important;
  animation: shake 0.3s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}