/* Page-specific only - everything else comes from the shared stylesheet. */
.consent-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.consent-card {
  max-width: 440px; width: 100%; background: var(--surface); border-radius: var(--radius-l);
  padding: 48px 36px; text-align: center; box-shadow: var(--shadow);
}
.consent-icon { font-size: 52px; margin-bottom: 16px; }
.consent-card h1 { font-size: 22px; margin-bottom: 12px; }
.consent-card p { color: var(--text-muted); line-height: 1.6; }
.consent-card .btn { margin-top: 24px; }
.consent-state { display: none; }
.consent-state.active { display: block; }
.spinner {
  width: 28px; height: 28px; margin: 8px auto 0; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ── Kuendigungs- und Widerrufsformular ─────────────────────────────────────
   Eigene Felder statt der Login-Karte: diese Seiten haben ein echtes Formular
   mit sechs Feldern, keine einzelne Schaltflaeche. Bewusst schlicht und breit
   angelegt - wer hier landet, will fertig werden, nicht gestaltet werden. */

.consent-card form { text-align: left; margin-top: 22px; }

.feld { margin-top: 18px; }
.feld label {
  display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: var(--ink);
}
.feld input[type="text"], .feld input[type="email"], .feld input[type="date"], .feld textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff;
  border: 1px solid #ccd0dc; border-radius: 11px; padding: 12px 14px;
}
.feld input:focus, .feld textarea:focus {
  outline: 3px solid rgba(93, 67, 223, .2); border-color: var(--primary);
}
.feld .hint { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.feldgruppe { border: 0; padding: 0; margin: 18px 0 0; }
.feldgruppe legend {
  font-weight: 700; font-size: 14.5px; margin-bottom: 8px; padding: 0; color: var(--ink);
}
/* Grosse Klickflaeche: das hier wird auch auf dem Handy und in Eile bedient. */
.wahl {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 8px;
  border: 1px solid #ccd0dc; border-radius: 11px; cursor: pointer; font-size: 15.5px;
}
.wahl:hover { border-color: var(--primary); }
.wahl input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }

.consent-card .form-error {
  margin: 14px 0 0; color: #b32640; font-size: 14.5px; line-height: 1.5;
}
.consent-card .btn-large { width: 100%; margin-top: 22px; }

.unter-hinweis {
  max-width: 34rem; margin: 20px auto 0; text-align: center;
  color: var(--muted); font-size: 14px; line-height: 1.55;
}

@media (max-width: 560px) {
  .consent-card form { margin-top: 16px; }
  .feld { margin-top: 14px; }
}

/* .consent-wrap ist ein zentrierter Flex-Container fuer EINE Karte. Auf den
   Formularseiten stehen Karte und Fussnote untereinander - ohne diesen
   Modifikator legt Flex sie nebeneinander, und der Hinweis landet mitten auf
   der Seite rechts. Aufgefallen beim Ansehen, nicht beim Schreiben. */
.consent-wrap--formular {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  padding: 40px 24px 56px;
}
.consent-wrap--formular .consent-card {
  max-width: 620px;
  padding: 40px 36px;
  text-align: left;
}
.consent-wrap--formular .consent-card > .consent-state > h2 { text-align: left; }
.consent-wrap--formular .consent-state#stateSuccess { text-align: center; }
