well, it is difficult to judge this without a deeper insight into the project. But it seems you have taken precautions seriously.
it all depends on if someone is allowed/capable of touching one of the connectors while another one might be AC powered !
Are your cutouts and the remaining distances specified according to an official and up to date regulation (it is up to you to define and find the regulations for your product. I often had to personally visit VDE for guidance in these matters) ?
The “Netz 12V” may come out of / lead to an unprotected circuit ? It may need better insulation against “Netz 230V” ?
You are using big upright THT resistors to bridge the gap. They can easily be bend and touch each other. I sometimes had to insert an isolating foam or similar inbetween to GUARANTEE correct assembly.
Such resistors should be “fusible” ones. when damaged they will turn into an open state without excessive heat, fire or smoke. Fusibles are not well established and more expensive …