/* Schriftarten laden */
@font-face {
  font-family: "Veneer Clean Soft";
  src: url("/assets/fonts/VeneerCleanSoft.woff2") format("woff2"),
    url("/assets/fonts/VeneerCleanSoft.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"),
    url("/assets/fonts/Inter-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Inter Bold";
  src: url("/assets/fonts/Inter-Bold.woff2") format("woff2"),
    url("/assets/fonts/Inter-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

/* Beispiel-Style für das Status-Element am unteren Rand, zentriert */
.status-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2;
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 0.5rem;
  padding-bottom: 1.5rem;
  font-weight: bold;
  color: #333;
}

/* Allgemeine Stile */
body {
  font-family: "Inter", sans-serif;
  background-color: #a9d8d8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

p {
  font-family: "Inter", sans-serif;
  font-weight: normal;
  font-size: 18px;
  color: #235753;
}

a {
  font-family: "Inter Bold", sans-serif;
  font-weight: normal;
  font-size: 18px;
  color: #235753;
  text-decoration: underline;
}

i,
span {
  font-family: "Inter", sans-serif;
  font-weight: normal;
  color: #235753;
}

/* Karten-Container */
.card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  text-align: center;
  max-height: 70vh;
  overflow-y: scroll;
}

/* Überschriften */
h1 {
  font-family: "Veneer Clean Soft", sans-serif;
  font-weight: normal;
  font-size: 40px;
  color: #235753;
}

/* Formular-Container */
.form-body {
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

/* Formular */
form {
  width: 100%;
  box-sizing: border-box;
}

/* Formular-Eingaben */
input[type="text"] {
  width: calc(100% - 20px);
  padding: 15px;
  margin: 10px 0;
  border: 2px solid #235753;
  border-radius: 5px;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

/* Labels */
label {
  font-family: "Inter Bold", sans-serif;
  font-size: 18px;
  color: #235753;
  display: block;
  margin-bottom: 5px;
}

/* Schaltflächen */
button,
input[type="submit"] {
  background-color: #235753;
  color: white;
  border: 3px solid #235753;
  padding: 12px 16px;
  font-size: 18px;
  font-family: "Inter Bold", sans-serif;
  border-radius: 5px;
  cursor: pointer;
  width: auto;
  min-width: 150px;
  transition: background-color 0.3s;
  display: block;
  margin: 20px auto 0 auto;
}

.form-page {
  display: none;
}

.active {
  display: block;
}

.button-back {
  background-color: transparent !important;
  color: #235753 !important;
  border-color: #235753 !important;
  border: 3px solid !important;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Abstand zwischen den Radio-Buttons */
}

.radio-group input {
  margin: 0;
}

input[type="radio"],
label {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Design der Formularfelder Radio und Checkbox */

input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #235753;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background-color: white;
}

input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-color: #235753;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

input[type="radio"]:checked::after {
  opacity: 1;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #235753;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background-color: white;
}

input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  /* Die Größe des Häkchens – etwas größer und zentriert */
  width: 6px;
  height: 12px;
  border: solid #235753;
  border-width: 0 3px 3px 0;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 0;
}

input[type="checkbox"]:checked::after {
  opacity: 1;
}

/* Rating Sterne */

.rating {
  direction: rtl;
  unicode-bidi: bidi-override;
  font-size: 3em;
  display: inline-block;
}

/* Radio-Buttons ausblenden */
.rating input {
  display: none;
}

.rating label {
  cursor: pointer;
  /* Standard: Sterntext ist transparent, aber mit goldener Umrandung sichtbar */
  color: transparent;
  -webkit-text-stroke: 2px #cc0070;
  transition: all 0.2s;
  font-size: 40px;
}

/* Wenn ein Stern (und damit alle folgenden, also in visuell richtiger Reihenfolge alle niedrigeren) ausgewählt ist */
.rating input:checked~label {
  color: #cc0070;
  -webkit-text-stroke: 2px #cc0070;
}

/* Hover: Beim Überfahren mit der Maus werden der aktuelle Stern und alle "vorherigen" (also niedrigere) Sterne voll ausgefüllt */
.rating label:hover,
.rating label:hover~label {
  color: #cc0070;
  -webkit-text-stroke: 2px #cc0070;
}


input[type="email"] {
  width: calc(100% - 20px);
  padding: 15px;
  margin: 10px 0;
  border: 2px solid #235753;
  border-radius: 5px;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;

  /* Deaktiviert Hover- und Fokus-Effekte */
  background: white;
  color: black;
  outline: none;
}

input[type="email"]:hover,
input[type="email"]:focus {
  border: 2px solid #235753;
  /* Stellt sicher, dass sich der Rahmen nicht ändert */
  background: white;
  /* Hintergrund bleibt unverändert */
  color: black;
  /* Schriftfarbe bleibt gleich */
  box-shadow: none;
  /* Verhindert Schatteneffekte */
}

input[type="email"] {
  color: #235753 !important;
  /* Textfarbe */
  font-family: "Inter", sans-serif;
  /* Schriftart */
  font-size: 18px;
  /* Schriftgröße */
}


.button-container {
  display: flex;
  justify-content: space-between;
}



/* Allgemeiner Platzhalter-Stil */
::placeholder {
  color: #235753;
  opacity: 1;
  font-size: 18px;
  /* Für Firefox */
}

/* WebKit-Browser (Chrome, Safari, Edge) */
::-webkit-input-placeholder {
  color: #235753;
  font-size: 18px;
}

/* Mozilla Firefox 4 bis 18 */
:-moz-placeholder {
  color: #235753;
  opacity: 1;
  font-size: 18px;
}

/* Mozilla Firefox 19+ */
::-moz-placeholder {
  color: #235753;
  opacity: 1;
  font-size: 18px;
}

/* Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: #235753;
  font-size: 18px;
}

/* Microsoft Edge */
::-ms-input-placeholder {
  color: #235753;
  font-size: 18px;
}