/* Variablen: Corporate Design Farben + Error */
:root {
  --Koralle: #ff7477;
  --Schwarz: #232323;
  --Weiss: #ffffff;
  --Grau: #c7c9c7;
  --Grün: #defc36;
  --Error: #cc0000;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Quellenangabe 18 Start */
/* Schriftarten */
@font-face {
  font-family: "Helvetica Neue";
  src: url("../assets/HelveticaNeue-Regular.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../assets/HelveticaNeue-Bold.woff") format("woff");
  font-weight: 700;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../assets/HelveticaNeue-Light.woff") format("woff");
  font-weight: 300;
}
/* Quellenangabe 18 Ende */

/* Grundstil */
body {
  background-color: var(--Koralle);
  color: var(--Schwarz);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding: 1.5rem 1.25rem;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
header {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
}

.logo {
  height: 36px;
  width: auto;
  display: block;
}

/* Glasiges Formular-Card */
.formular-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 40px;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}

h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--Schwarz);
  margin-bottom: 0.4rem;
}

.intro {
  font-size: 0.9rem;
  color: var(--Schwarz);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Innere Fieldsets (Checkbox/Radio-Gruppen) */
.inner-fieldset {
  border: none;
  border-top: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inner-fieldset legend {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--Schwarz);
  margin-bottom: 0.5rem;
}

/* Einzelnes Feld */
.formular-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

/* Labels */
label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--Schwarz);
}

/* Alle Eingabefelder */
input,
select,
textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--Schwarz);
  background-color: var(--Weiss);
  border: 1px solid var(--Schwarz);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  width: 100%;
  outline: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--Schwarz);
  background-color: var(--Weiss);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Quellenangabe 19 Start */
/* ── Range Slider ── */
input[type="range"] {
  appearance: none;
  height: 4px;
  background: rgba(35, 35, 35, 0.2);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--Schwarz);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--Grün);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--Schwarz);
}
/* Quellenangabe 19 Ende */

/* Checkboxes & Radios */
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  background-color: var(--Weiss);
  border: 1px solid var(--Schwarz);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--Schwarz);
  border-color: var(--Schwarz);
}

input[type="radio"] {
  border-radius: 50%;
}

/* Hinweistext */
.hint {
  font-size: 0.72rem;
  color: var(--Schwarz);
  font-style: italic;
}

/* Fehlermeldungen */
.error {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--Grün);
}

/* Submit */
.required {
  font-size: 0.7rem;
  color: var(--Schwarz);
  margin-bottom: 1rem;
}

button[type="submit"] {
  background-color: var(--Schwarz);
  color: var(--Weiss);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: var(--Grün);
  color: var(--Schwarz);
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  padding: 1.25rem;
  font-size: 0.75rem;
  color: var(--Schwarz);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

footer a {
  color: var(--Koralle);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover {
  color: var(--Grün);
}

/* RESPONSIVE – ab 640px
   Strukturelle Veränderung: Labels links neben Feldern */
@media (min-width: 640px) {
  header {
    padding: 1.75rem 2rem;
  }

  main {
    padding: 2rem;
  }

  .formular-card {
    padding: 2.5rem;
  }

  /* Labels links, Felder rechts */
  .formular-field {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: start;
    gap: 0.4rem 1rem;
  }

  .formular-field .hint,
  .formular-field .error {
    grid-column: 2;
  }

  .formular-field .inner-fieldset {
    grid-column: 2;
  }

  .formular-field .range-labels {
    grid-column: 2;
  }

  button[type="submit"] {
    width: auto;
    min-width: 200px;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    text-align: left;
  }
}

/* Startseite */
.startseite-card {
  max-width: 600px;
  margin: 0 auto;
}

.startseite-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--Schwarz);
  margin-bottom: 0.75rem;
}

.startseite-liste {
  list-style: none;
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.startseite-liste li {
  font-size: 0.9rem;
  color: var(--Schwarz);
  padding-left: 1rem;
  position: relative;
}

.startseite-liste li::before {
  position: absolute;
  left: 0;
  color: var(--Schwarz);
  opacity: 0.5;
}

/* Buttons */
.button-primary {
  background-color: var(--Schwarz);
  color: var(--Weiss);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 15px;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.button-primary:hover {
  background-color: var(--Grün);
  color: var(--Schwarz);
}

.button-secondary {
  background-color: transparent;
  color: var(--Schwarz);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  border: 1.5px solid rgba(35, 35, 35, 0.3);
  border-radius: 15px;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.button-secondary:hover {
  background-color: var(--Schwarz);
  color: var(--Weiss);
}

.button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Quellenangabe 20 Start */
/* INDICATOR */

.steps-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.step {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--Weiss);
  transition: background-color 0.3s;
}

.step.active {
  background-color: var(--Grün);
}
/* Quellenangabe 20 Ende */

/* Bestätigungsseite */
.confirm-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--Schwarz);
  color: var(--Grün);
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.confirm-card {
  border: 1.5px solid var(--Schwarz);
  border-radius: 15px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.confirm-card h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--Schwarz);
  margin-bottom: 1rem;
}

.confirm-list {
  display: flex;
  flex-direction: column;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--Schwarz);
  font-size: 0.88rem;
}

.confirm-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--Schwarz);
}

.confirm-row dd {
  text-align: right;
  color: var(--Schwarz);
  word-break: break-word;
}

.confirm-row.highlight dd {
  font-weight: 700;
}

/* Quellenangabe 21 Start */
/* Blank Studios Muster */
.blank-muster {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200vw;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

header,
main {
  position: relative;
  z-index: 1;
}

footer {
  position: relative;
  z-index: 2;
}
/* Quellenangabe 21 Ende */
