A resident permit based on the marriage with a EU citizen is not unrestricted right to live and work in europe. You can only reside in germany and work there, the right does not extend to other European countries. For that you need a passport from any European state. I would advise to look elsewhere