/* Bestehende öffentliche Karten-/Formularoptik; nur Layout dieses zweistufigen Wegs. */
.widerruf-container { max-width: 760px; }
.widerruf-inhalt { text-align: left; overflow-wrap: anywhere; }
.widerruf-inhalt [hidden] { display: none !important; }
.widerruf-inhalt p { margin-bottom: 1rem; }
.widerruf-inhalt h2 { overflow-wrap: anywhere; margin: 1.5rem 0 .75rem; font-size: 1.25rem; }
.widerruf-inhalt h3 { margin: 1rem 0 .5rem; font-size: 1.05rem; }
.widerruf-inhalt input, .widerruf-inhalt textarea { font-size: 1rem; }
.widerruf-inhalt textarea { resize: vertical; min-height: 7rem; }
.widerruf-inhalt button { min-height: 44px; white-space: normal; }
.widerruf-inhalt button:disabled { opacity: .6; cursor: wait; }
.widerruf-inhalt :focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; }
.widerruf-datenhinweis { margin: 1.25rem 0; padding: 1rem; border-left: 4px solid var(--secondary-dark); background: var(--bg-color); }
.widerruf-datenhinweis h2 { margin-top: 0; }
.widerruf-datenhinweis p { margin-bottom: 0; }
.widerruf-hilfe { color: var(--text-secondary); font-size: .9375rem; }
.widerruf-angabenliste dt { font-weight: 600; margin-top: .75rem; }
.widerruf-angabenliste dd, .widerruf-erklaerung { white-space: pre-wrap; overflow-wrap: anywhere; }
.widerruf-aktionen, .widerruf-footer { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.widerruf-beleg { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: var(--bg-color); padding: 1rem; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm); }
.widerruf-zuordnung, .widerruf-footer { border-top: 1px solid var(--border-color); padding-top: 1rem; margin-top: 1.5rem; }
#widerruf-codeform { margin-top: 1rem; }
#widerruf-meldung:not(:empty) { margin-top: 1rem; padding: 1rem; border-radius: var(--border-radius-sm); background: var(--bg-color); }
#widerruf-meldung[data-fehler="true"] { color: #991b1b; }
@media (max-width: 480px) {
    .widerruf-container { margin-top: 1rem; }
    .widerruf-aktionen { flex-direction: column; align-items: stretch; }
}
