/* CI/CD der JUBLAKA */
body {
  font-family: "Century Gothic", sans-serif; /* Klassische Dokumentenschrift */
  font-weight: normal;
  background-color: #fffaf1; /* Minions-Beige */
  color: #46413e; /* Minions-Dunkelgrau */
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
}

header {
  margin-bottom: 30px;
}

h1 {
  color: #046391; /* Minions-Blau */
  font-family: "Helvetica Neue", sans-serif; /* Primärschrift für Titel */
}

.einleitung {
  font-size: 9pt; /* Century Gothic Italic für kleine Texte oder Fusszeilen */
  font-style: italic;
  margin-bottom: 20px;
}

fieldset {
  font-weight: normal;
  background: white;
  border: 1px solid #ffd874; /* Minions-Gelb */
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
}

legend {
  font-weight: bold;
  background-color: #ffd874;
  padding: 5px 15px;
  border-radius: 8px;
  color: #46413e; /* Minions-Dunkelgrau */
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aeaeb0; /* Minions-Grau */
  border-radius: 4px;
  box-sizing: border-box;
  font-family: "Century Gothic", sans-serif;
  font-size: 11pt;
}

/* ========================= */
/* RADIO BUTTONS Quelle 6 */
/* ========================= */

.row-radio {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.frage-label {
  font-weight: bold;
  flex: 0 0 250px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radio-item input[type="radio"] {
  width: auto;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.radio-item label {
  display: inline;
  margin: 0;
  font-weight: normal;
  cursor: pointer;
  flex: none;
}

/* ========================= */
/* CHECKBOXEN Quelle 6 Kommentare mit == */
/* ========================= */

.check-button {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* ==NEU: RICHTET DIE GANZE GRUPPE LINKS AUS== */
  align-items: flex-start;
}

.check-button div {
  display: flex;
  /* ==NEU: CHECKBOX OBEN LINKS (NICHT MITTIG)== */
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.check-button input[type="checkbox"] {
  /* ==WICHTIG: VERHINDERT, DASS DIE BOX DEN TEXT VERDRÄNGT== */
  width: auto !important;
  margin-top: 4px; /* Richtet Box optisch an der ersten Textzeile aus */
  flex-shrink: 0;
  cursor: pointer;
}

.check-button label {
  font-weight: normal !important;

  /* ==ERWEITERUNG: LINKSORIENTIERUNG & UMBRUCH== */
  display: block !important;
  text-align: left;
  white-space: normal !important; /* Erlaubt Zeilenumbruch innerhalb des Rahmens */

  line-height: 1.4;
  margin-top: 0 !important;
  cursor: pointer;

  .radio-item label,
  .check-button label {
    flex: none !important;
  }

  .button {
    background-color: #046391; /* Minions-Blau */
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 10pt;
    margin-top: 10px;
  }

  footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #aeaeb0;
    font-size: 9pt; /* Century Gothic Italic [4] */
    font-style: italic;
    text-align: center;
    color: #46413e;
  }

  footer a {
    color: #046391;
    text-decoration: none;
  }

  @media (min-width: 600px) {
    /* nur echte Formularlabels */
    fieldset > label {
      flex: 0 0 200px;
      margin-top: 0;
    }

    input,
    textarea {
      flex: 1;
    }
  }
}
