/* Grundlegendes Formular-Design */
.form-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group .captcha-container  {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Verhindert, dass Padding die Breite sprengt */
}

.fbutton {
  width: 100%;
  padding: 10px;
  background-color: #006CFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.fbutton:hover {
  background-color: #0056b3;
}

/* HONEYPOT VERSTECKEN 
  Wir nutzen nicht "display: none", da manche schlaue Bots das erkennen.
  Stattdessen schieben wir es aus dem sichtbaren Bereich heraus.
*/
.honeypot-group {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.hidden-field {
  /* Wir nutzen diese Technik, damit das Feld für Screenreader "da" ist, 
     aber optisch und vom Platz her absolut keinen Raum einnimmt. */
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-container { background: #f0f0f0; padding: 10px; border-radius: 5px; }

textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; /* Nutzer kann es nur in der Höhe ziehen */
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.9em;
}
.checkbox-group input {
  width: auto; /* Verhindert, dass die Checkbox 100% breit wird */
  margin-top: 3px;
}
.checkbox-group label {
  font-weight: normal;
  cursor: pointer;
}
.alert {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 0.95em;
  line-height: 1.4;
}
.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}