Capacity to contract
The ability to make legally effective declarations of intent. Anyone who, owing to illness, no longer has it is incapable of contracting; a declaration they make is void (sections 104, 105 BGB) — a protection, not a stigma.
German: Geschäftsfähigkeit
This explanation is for orientation; German law applies. No legal advice in individual cases.