Talk to a lawyer yourself. Make it clear you want to save your marriage, but you want to know how to protect yourself legally as well...
If your wife brings up you seeing a lawyer you tell her the same thing : You are consulting a lawyer to protect and save your family, NOT to DESTROY IT.