/* Bewertungsformular (Gerüst aus dem Widerrufsformular). Keine Inline-Stile (CSP style-src 'self'), keine Schriften oder Bilder von Dritten. */
/* Farben wie Shop und Kunden-Mails: Blau #0c3251, Rot #ae333c. Kontraste auf Weiß: #0c3251 etwa 13:1, #5b6878 etwa 5,6:1, #b00020 etwa 7:1. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  padding: 0 1rem 1.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;           /* 16 px */
  line-height: 1.5;
  color: #1a1a1a;
  background: #fff;
  border-top: 6px solid #0c3251;
}
main { max-width: 40rem; margin: 0 auto; }
.karte {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(12, 50, 81, 0.08);
  padding: 1.5rem 1.25rem;
}
@media (min-width: 40rem) { .karte { padding: 2rem 2.25rem; } }

/* Kopf: Logo links, Links rechts */
.kopf {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
}
.logo { display: block; line-height: 0; }
.logo img { display: block; width: 11rem; height: auto; }
.kopf nav { color: #5b6878; }


h1 {
  font-size: 1.625rem;
  line-height: 1.25;
  color: #0c3251;
  margin: 0 0 1.25rem;
}
/* rote Linie unter der Überschrift wie in den Mails */
h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.75rem;
  background: #ae333c;
}
h2 { font-size: 1.125rem; color: #0c3251; margin: 1.5rem 0 0.5rem; }
a { color: #0c3251; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #ae333c; }
a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible, .stern:focus-within {
  outline: 3px solid #0c3251;
  outline-offset: 2px;
}
.feld { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: 0.375rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid #8a96a3;
  border-radius: 8px;
  background: #fff;
  color: inherit;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { border-color: #0c3251; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: #b00020; border-width: 2px; }
.hinweis { font-size: 1rem; color: #5b6878; margin: 0.25rem 0 0; }
.fehler { color: #b00020; font-weight: 600; margin: 0.25rem 0 0; }
.fehlerkopf {
  border: 2px solid #b00020;
  border-radius: 8px;
  background: #fff5f6;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}
.fehlerkopf p { font-weight: 600; color: #b00020; margin-top: 0; }
button {
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border: 0;
  border-radius: 8px;
  background: #0c3251;
  color: #fff;
  cursor: pointer;
}
button:hover { background: #082338; }
button[disabled] { background: #5b6878; cursor: wait; }
@media (max-width: 30rem) { button { width: 100%; } }
.angaben { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; }
.angaben dt { font-weight: 600; }
.angaben dd { margin: 0; overflow-wrap: anywhere; }
.erklaerung { font-style: italic; }
.fuss { max-width: 40rem; margin: 1.5rem auto 0; font-size: 0.875rem; color: #5b6878; }
/* Kontrollfeld für Bots: nicht sichtbar, aber kein display:none. */
.kf { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Sterne: fünf gleich große Felder, nichts vorausgewählt, in aufsteigender Reihenfolge. */
fieldset.sterne { border: 0; padding: 0; margin: 0 0 1.25rem; }
fieldset.sterne legend { font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.stern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.375rem;
  border: 1px solid #8a96a3;
  border-radius: 8px;
  cursor: pointer;
}
.stern span { color: #ae333c; letter-spacing: 0.1em; min-width: 5.5em; }
.stern:has(input:checked) { border-color: #0c3251; border-width: 2px; background: #f3f6f9; }
fieldset.sterne[aria-invalid="true"] .stern { border-color: #b00020; }
.haekchen label { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; margin-bottom: 0.5rem; }
.haekchen input { margin-top: 0.3rem; width: 1.125rem; height: 1.125rem; flex: none; }
