body {
  background: #000;
  color: #eee;
  font-family: Arial, sans-serif;
  padding: 20px;
}

form {
	max-width: 785px;
	margin: auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
	background-color: #202020;
	padding: 5px;
}

h2 {
  margin-top: 30px;
  color: #fff;
}

/* --- Fieldset & Legend --- */
fieldset {
  border: 1px solid #444;
  padding: 15px;
  border-radius: 6px;
}

legend {
  padding: 0 8px;
  font-weight: bold;
  color: #fff;
}

/* --- Radio-Buttons Container --- */
fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  cursor: pointer;
}

/* --- Radio Buttons neu gestalten --- */
input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #4aa3ff;
  border-radius: 50%;
  background: #111;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

input[type="radio"]:hover {
  border-color: #6bb6ff;
}

input[type="radio"]:focus {
  outline: 2px solid #6bb6ff;
  outline-offset: 2px;
}

/* --- Der innere Punkt bei Auswahl --- */
input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: #4aa3ff;
  border-radius: 50%;
}

/* --- Optional: Hover-Effekt für das Label --- */
fieldset label:hover {
  color: #6bb6ff;
}

label {
  font-weight: bold;
}

input, select, textarea, button {
  width: 100%;
  padding: 10px;
  border: 1px solid #444;
  background: #111;
  color: #eee;
  border-radius: 4px;
  font-size: 16px;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid #4aa3ff;
}

button {
	width: 100% !important;
	padding: 10px !important;
	color: #000 !important;
	font-size: 16px !important;
	font-weight: bold !important;
	cursor: pointer !important;
	border: none !important;
	background-color: #FCC900 !important;
}

button:hover {
	background-color: #4aa3ff !important;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

a {
  color: #4aa3ff;
}

.hp {
  display: none !important;
}

/* --- Checkbox-Container --- */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.4;
}

/* --- Standard-Checkbox ausblenden --- */
.checkbox input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #4aa3ff;
  background: #111;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* --- Hover-Effekt --- */
.checkbox input[type="checkbox"]:hover {
  border-color: #6bb6ff;
}

/* --- Fokus sichtbar machen (barrierefrei) --- */
.checkbox input[type="checkbox"]:focus {
  outline: 2px solid #6bb6ff;
  outline-offset: 2px;
}

/* --- Häkchen bei Auswahl --- */
.checkbox input[type="checkbox"]:checked::before {
  content: "✔";
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 18px;
  color: #4aa3ff;
}

/* --- Link im DSGVO-Text --- */
.checkbox a {
  color: #4aa3ff;
  text-decoration: underline;
}

.checkbox a:hover {
  color: #6bb6ff;
}

/* --- Popup mit Meldungen --- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: #000;
    padding: 20px;
    border-radius: 8px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
	color: #fff;
}

.popup-content button {
    margin-top: 15px;
    padding: 8px 15px;
    cursor: pointer;
}