    body {
      margin: 0;
      padding: 2vh 2vw;
      font-family: Arial, sans-serif;
      line-height: 1.6;
      background-color: #f7f7f7;
      color: #333;
      overflow: auto;
    }

    .container {
      max-width: 800px;
      margin: auto;
      background-color: #fff;
      padding: 3vh 3vw;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    h1,
    h2 {
      text-align: center;
      margin-bottom: 2vh;
    }

    hr {
      border: 1px solid #ddd;
      margin: 2vh 0;
    }

    img {
      width: 100%;
      max-width: 100%;
      margin-bottom: 1.25em;
      border-radius: 0.5em;
    }

    .form-group {
      text-align: center;
      margin-bottom: 2vh;
    }

    .form-group label {
      display: inline-block;
      font-size: 1rem;
      margin: 0 1vw;
    }

    .checkbox-container {
      margin: 2vh 0;
      font-size: 1rem;
      text-align: left;
    }

    .checkbox-container input[type="checkbox"] {
      margin-right: 1vw;
    }

    #formFields {
      /* Container removed, now using formSection wrappers */
      margin: 0;
      padding: 0;
    }

    .formSection {
      background: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      margin: 2vh 0;
    }

    .formSection h3 {
      margin-bottom: 15px;
      color: #333;
      font-size: 1.25em;
    }

    .formSection label {
      display: block;
      margin-bottom: 15px;
      font-weight: 500;
      color: #444;
    }

    #formFields h3 {
      margin-bottom: 15px;
      color: #333;
      font-size: 1.25em;
    }

    #formFields label {
      display: block;
      margin-bottom: 15px;
      font-weight: 500;
      color: #444;
    }

    #formFields input[type="text"],
    #formFields input[type="date"],
    #formFields input[type="tel"],
    #formFields input[type="email"],
    #formFields textarea {
      width: 100%;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid #ccc;
      box-sizing: border-box;
      font-size: 1em;
    }

    #formFields textarea {
      resize: vertical;
      min-height: 60px;
    }

    #formFields input[type="radio"],
    #formFields input[type="checkbox"] {
      margin-right: 5px;
    }

    .buttons {
      text-align: center;
      margin: 3vh 0;
    }

    #submitButton {
      opacity: 0;
      pointer-events: none;          /* macht den Button unanklickbar */
      transition: opacity 0.5s ease; /* sanfter Übergang über 0.5s */
    }
    #submitButton.visible {
      opacity: 1;
      pointer-events: auto;          /* wieder anklickbar */
    }

    input[type="submit"] {
      font-size: 1rem;
      padding: 1vh 2vw;
      cursor: pointer;
    }

    .small-text {
      text-align: center;
      margin: 1vh 0;
      font-size: 0.8rem;
      color: red;
    }

    #formFields input[type="date"] {
      width: 200px;
      max-width: 80%;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid #ccc;
      box-sizing: border-box;
      font-size: 1em;
    }

    .inline-options {
      display: flex;
      gap: 1em;
      /* space between buttons */
      align-items: center;
      /* vertically center radios+text */
      margin-top: 0.25em;
      /* optional spacing under the legend/label */
    }

    .responsive-options {
      display: flex;
      flex-wrap: wrap;
      gap: 0em;
      align-items: flex-start;
      margin-top: 1vh;
    }

    .responsive-options label {
      flex: 1 1 100%;
      font-weight: 500;
    }

    @media (min-width: 600px) {
      .responsive-options label {
        flex: 0 1 auto;
      }
    }

    .missing {
      border: 2px solid #e03d3d !important;
      background: #fff4f4 !important;
      border-radius: 4px
    }

    .group-missing {
      outline: 2px solid #e03d3d;
      background: #fff4f4
    }

    #missingAlert {
      color: #e03d3d;
      font-weight: 600;
      margin: 10px 0 20px;
      display: none
    }

    html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .page-content {
    flex: 1;
    padding: 20px;
  }

  .footer {
    width: 100%;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    font-size: 0.9rem;
    color: #666;
  }

  .footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    padding: 4px 6px;
  }

  .footer a:hover {
    text-decoration: underline;
  }

  input[type="submit"] {
    padding: 0.75em 1.25em;
    background-color: #2C3E50;
    color: white;
    border: none;
    border-radius: 0.375em;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  input[type="submit"]:hover {
    background-color: #1a252f;
  }