    /* Allgemeine Formular-Styling */
    form {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        background-color: #f5f5f5;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    label {
        display: block;
        margin-bottom: 5px;
    }

    .KopfText {
      color: white;
      text-align: center;
    }

    /* Begrenzen Sie die Breite der Textfelder */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        width: 100%;
        max-width: 100%; /* Hier können Sie die maximale Breite anpassen */
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

@media screen and (min-width: 800px) {
  
  input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        width: 100%;
        max-width: 100%; /* Hier können Sie die maximale Breite anpassen */
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

textarea {
      width: 100%;
      max-width: 100%; /* Volle Breite für das Textfeld */
      resize: none; /* Deaktiviert die Größenänderung */
  }  
}
    /* CSS-Stil für die Datei-Upload-Container */
.file-upload-row {
  display: flex;
  justify-content: space-between;
  margin: auto;
}

.file-upload {
  width: 48%;
  margin-right: 4%;
}

.file-input {
  width: 100%;
  margin-bottom: 15px;
}

myTextarea {
  width: 100%;
  max-width: 100%; /* Volle Breite für das Textfeld */
  resize: none; /* Deaktiviert die Größenänderung */
}  

   /* CSS-Stil für den Absenden-Button */
input[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
  display: block; /* Element als Block-Element anzeigen */
  margin: auto; /* Zentrieren Sie das Element horizontal */
  overflow: hidden;
}

.fehler {
  color: #ff0000;
}

.abgesendet {
  color: #00a000;
}
