/* feedbackform.css – FEZZ Feedback komplett & optimiert */

html, body {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #f6f6fa;
  margin: 0;
  padding: 0;
  color: #13252b;
}

/* Logo & Card für Startscreen */
.fezz-logo {
  display: block;
  margin: 34px auto 19px auto;
  max-width: 320px;
  width: 65vw;
  height: auto;
}
.fb-card, .fb-wrap {
  background: #fcfeff;
  border-radius: 20px;
  box-shadow: 0 2px 32px #21888f25;
  max-width: 600px;
  margin: 0 auto 44px auto;
  box-sizing: border-box;
  padding: 2.5em 2.1em 2em 2.1em;
  text-align: center;
}
.fb-wrap { 
  max-width: 600px; 
  margin-bottom: 60px;
  padding: 2.2em 2.8em 3.4em 2.8em;
  text-align: left;
}

/* Header */
.fb-header {
  background: #21888f;
  color: #fff;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 3px 19px #21888f14;
  padding: 29px 0 12px 0;
  margin: 0 0 36px 0;
  text-align: center;
}
.fb-header .title1 {
  font-size: 2.55em;
  font-weight: 800;
  margin-bottom: 0.12em;
  letter-spacing: 0.01em;
}
.fb-header .title2 {
  font-size: 1.18em;
  font-weight: 500;
  margin-bottom: 0.17em;
}

/* Intro & Form */
.fb-intro {
  background: #f1fafd;
  border-radius: 11px;
  padding: 20px 20px 12px 24px;
  margin-bottom: 28px;
  font-size: 1.09em;
  color: #284446;
}
.fb-date {
  margin-bottom: 28px;
  font-weight: 600;
  color: #21888f;
  font-size: 1.11em;
}
.fb-date input[type="date"] {
  font-size: 1.15em;
  border: 2px solid #21888f80;
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 7px;
  background: #fafdff;
  color: #188086;
  font-weight: 500;
  max-width: 240px;
  outline: none;
  transition: border 0.18s;
}
.fb-date input[type="date"]:focus {
  border: 2.3px solid #21888f;
}

/* Fieldset & Legend */
fieldset {
  border: none;
  margin: 0 0 25px 0;
  padding: 22px 0 11px 0;
  border-radius: 13px;
  background: #fafdfe;
  box-shadow: 0 1px 7px #21888f09;
}
legend {
  font-size: 1.18em;
  font-weight: 700;
  margin-bottom: 14px;
  color: #21888f;
  line-height: 1.32;
}

/* Auswahlgruppen */
.fb-choice-group {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 28px;
}
.fb-choice-group label {
  font-size: 1.18em;
  font-weight: 600;
  color: #21888f;
  display: flex;
  align-items: center;
  gap: 0.6em;
  cursor: pointer;
}
.fb-choice-group input[type="radio"] {
  appearance: none;
  width: 2.1em;
  height: 2.1em;
  border: 2.3px solid #21888f;
  border-radius: 7px;
  background: #fff;
  margin-right: 0.5em;
  margin-left: 0.03em;
  transition: border 0.18s, box-shadow 0.18s;
  outline: none;
  position: relative;
  cursor: pointer;
}
.fb-choice-group input[type="radio"]:checked {
  border-color: #21888f;
  box-shadow: 0 0 0 3px #21888f22;
}
.fb-choice-group input[type="radio"]:checked:after {
  content: '✖';
  font-size: 1.1em;
  color: #21888f;
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -55%);
  font-weight: 700;
}
.fb-choice-group input[type="radio"]:hover {
  border-color: #30b1ba;
}

/* Bewertungsraster */
.flexrate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1.5em;
  margin-top: 11px;
  margin-bottom: 7px;
}
.flexrate label {
  font-size: 1.16em;
  font-weight: 500;
  min-width: 110px;
  margin-bottom: 0.23em;
  display: flex;
  align-items: center;
  line-height: 1.38;
}
.flexrate input[type="radio"] {
  appearance: none;
  width: 2.1em;
  height: 2.1em;
  border: 2.3px solid #21888f;
  border-radius: 7px;
  background: #fff;
  margin-right: 0.5em;
  margin-left: 0.03em;
  transition: border 0.18s, box-shadow 0.18s;
  outline: none;
  position: relative;
  cursor: pointer;
}
.flexrate input[type="radio"]:checked {
  border-color: #21888f;
  box-shadow: 0 0 0 3px #21888f22;
}
.flexrate input[type="radio"]:checked:after {
  content: '✖';
  font-size: 1.1em;
  color: #21888f;
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -55%);
  font-weight: 700;
}
.flexrate input[type="radio"]:hover {
  border-color: #30b1ba;
}

/* Eingabefelder */
.fb-field, .fb-dozentfeld, .fb-massnahmefeld {
  margin-bottom: 23px;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.fb-field label, .fb-dozentfeld label, .fb-massnahmefeld label {
  font-weight: 500;
  color: #21888f;
  margin-bottom: 6px;
  display: block;
  font-size: 1.06em;
}
.fb-field input[type="text"], .fb-field input[type="password"],
.fb-dozentfeld input[type="text"], .fb-massnahmefeld select {
  width: 100%;
  padding: 13px 12px;
  font-size: 1.09em;
  border: 1.7px solid #21888f88;
  border-radius: 10px;
  margin-bottom: 2px;
  background: #fafdfe;
  color: #13252b;
  outline: none;
  transition: border 0.18s;
}
.fb-field input[type="text"]:focus, .fb-field input[type="password"]:focus,
.fb-dozentfeld input[type="text"]:focus, .fb-massnahmefeld select:focus {
  border: 1.7px solid #21888f;
}

.kid-field {
  max-width: 95px;
  text-align: center;
  letter-spacing: 0.22em;
  font-size: 1.18em;
  padding-left: 10px;
  padding-right: 10px;
  background: #fafdfe;
  border: 1.7px solid #21888f88;
  border-radius: 10px;
  color: #13252b;
  margin-top: 2px;
}
.pin-field {
  max-width: 95px;
  text-align: center;
  letter-spacing: 0.22em;
  font-size: 1.35em;
  padding-left: 12px;
  padding-right: 12px;
}
@media (max-width: 700px) {
  .kid-field {
    max-width: 86px !important;
    font-size: 1.06em !important;
  }
  .pin-field {
    max-width: 86px !important;
    font-size: 1.14em !important;
  }
}

textarea {
  width: 99%;
  min-height: 80px;
  font-size: 1.11em;
  border-radius: 10px;
  border: 1.6px solid #21888f66;
  padding: 13px 13px;
  background: #fafdfe;
  margin-top: 11px;
  margin-bottom: 3px;
  resize: vertical;
  color: #13252b;
}
textarea:focus {
  border-color: #21888f;
}

/* Animationen & Fehler */
.fadeIn {
  animation: fadeIn 0.6s;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: none; }
}
.fb-error {
  color: #d32;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 1em;
  min-height: 20px;
  text-align: center;
}

/* Buttons */
button[type="submit"], .fb-submit {
  background: #21888f;
  color: #fff;
  padding: 16px 0;
  border: none;
  border-radius: 13px;
  font-size: 1.18em;
  font-weight: 700;
  width: 98%;
  max-width: 240px;
  margin: 20px auto 0 auto;
  display: block;
  box-shadow: 0 2px 18px #21888f15;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.19s;
}
button[type="submit"]:hover, .fb-submit:hover {
  background: #14636a;
}

/* Dankesnachricht & Google Link */
.fb-thanks {
  max-width: 500px;
  margin: 60px auto 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 32px #21888f1b;
  padding: 44px 32px 38px 32px;
  text-align: center;
}
.fb-thanks h1 {
  color: #21888f;
  font-size: 2.12em;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: 0.01em;
}
.fb-thanks p {
  font-size: 1.17em;
  color: #226d72;
  margin: 0 0 22px 0;
  font-weight: 500;
}
.fb-thanks .star {
  font-size: 2.3em;
  color: #ffb32c;
  vertical-align: -8px;
}
.fb-thanks .google-link {
  display: inline-block;
  padding: 12px 32px;
  background: #21888f;
  color: #fff;
  font-size: 1.09em;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  margin: 16px 0 0 0;
  transition: background 0.19s;
}
.fb-thanks .google-link:hover {
  background: #14636a;
}
.fb-thanks .ok {
  font-size: 4em;
  color: #21888f;
  line-height: 1;
  margin-bottom: 17px;
}
.fb-thanks small {
  display: block;
  margin-top: 28px;
  color: #aaa;
  font-size: 0.92em;
}

/* Mobile Optimierung */
@media only screen and (max-width: 700px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #f6f6fa !important;
    width: 100vw !important;
    box-sizing: border-box !important;
  }
  .fb-wrap, .fb-card {
    margin: 0 auto 70px auto !important;
    padding: 0 5vw 2.5em 5vw !important;
    max-width: 440px !important;
    width: 100vw !important;
    box-sizing: border-box !important;
    background: #fcfeff;
    border-radius: 16px;
  }
  .fb-header {
    border-radius: 0 0 26px 26px !important;
    margin: 0 auto 24px auto !important;
    padding: 28px 5vw 18px 5vw !important;
    width: 100vw !important;
    max-width: 440px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .fb-header .title1 {
    font-size: 2.1em !important;
    margin-bottom: 0.14em !important;
    word-break: break-word;
  }
  .fb-header .title2 {
    font-size: 1.10em !important;
    margin-bottom: 0.15em !important;
    word-break: break-word;
    text-align: center !important;
  }
  .fezz-logo {
    max-width: 98vw;
  }
  .fb-intro {
    margin: 0 0 22px 0 !important;
    font-size: 1.03em !important;
    padding: 17px 2vw 14px 2vw !important;
    border-radius: 11px !important;
  }
  .fb-date {
    margin: 0 0 20px 0 !important;
    font-size: 1.09em !important;
  }
  .fb-date input[type="date"] {
    width: 98% !important;
    max-width: 410px !important;
    font-size: 1.15em !important;
    border-radius: 9px !important;
    padding: 11px 12px !important;
    margin-top: 7px !important;
    box-sizing: border-box !important;
  }
  input[type="text"], select {
    width: 98% !important;
    max-width: 410px !important;
    font-size: 1.11em !important;
    padding: 13px 11px !important;
    margin-top: 6px !important;
    margin-bottom: 15px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  fieldset {
    margin: 0 0 25px 0 !important;
    padding: 18px 0 11px 0 !important;
    border-radius: 12px !important;
    background: #fafdfe;
    box-sizing: border-box !important;
    box-shadow: 0 1px 7px #21888f09;
  }
  legend {
    font-size: 1.13em !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #21888f !important;
    line-height: 1.34 !important;
    word-break: break-word;
  }
  .flexrate {
   