/* <-- Stylesheet -->*/
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #ffe0ec, #e0f7fa);
  color: #333;
}

header {
  background: linear-gradient(to right, #f48fb1, #81d4fa);
  padding: 30px 20px;
  text-align: center;
  color: white;
  border-bottom: 5px solid #f06292;
}

header h1 {
  margin: 0;
  font-size: 2.2em;
}

.container {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

label {
  font-weight: 600;
  font-size: 1.1em;
  color: #6a1b9a;
  margin-top: 20px;
  display: block;
}

.frage-block {
  margin: 25px 0;
}

.optionen {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.optionen label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  color: #333;
}

input[type="checkbox"] {
  transform: scale(1.3);
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

input[type="submit"] {
  background: linear-gradient(to right, #f06292, #64b5f6);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 1.1em;
  margin-top: 30px;
}

input[type="submit"]:hover {
  opacity: 0.95;
}

.error {
  color: red;
  font-size: 0.95em;
  margin-top: 10px;
}

footer {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  margin: 40px 0;
}
  input[type="radio"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    width: 1.25em;
    height: 1.25em;
    border: 0.15em solid #ccc;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
  }
  
  /* Jetzt die dynamischen Farben */
  input[type="radio"][data-role="mrs"]:checked::before {
    background-color: #f06292; /* rosa */
    transform: scale(1);
  }
  
  input[type="radio"][data-role="mr"]:checked::before {
    background-color: #64b5f6; /* blau */
    transform: scale(1);
  }
  
  
  input[type="radio"][data-role="chaos"]:checked::before {
    background-color: #f80404; /* red */
    transform: scale(1);
  }
    
  input[type="radio"]:hover {
    border-color: #64b5f6;
  }

  .button-link {
    display: inline-block;
    margin-top: 2rem;
    text-decoration: none;
    background-color: #64b5f6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .button-link:hover {
    background-color: #42a5f5;
  }
  