You can marry her anywhere you want, that doesn't mean that you'll be allowed to live in Germany once you're married.