Can one hinge allow for a flat 180° without a gap and an offset at 90° (see drawing)?
You could go down to your local woodworking shop and ask for a full overlay hinge for thin materials. They should point you toward a beast like this:



Looks like this closed:



Picture courtesy of https://tddhardware.com/