I have tried some things to make a part move with an armature at a folding line. And it's almost working fine, but due to the mesh it looks a little bit weird when I move one bone upwards in the Pose mode. Downwards it is ok.
How can I fix this with the weight paint? Or is there another way?
This is the blender file: https://we.tl/t-BmacjXAygR