How to deal with multiple address layouts

I am facing a small UX obstacle, that is related on how to handle address layouts for different countries. We are building basically a sign up process, that asks the user to enter their country of residence. On the next step the user then has to enter their address details. The input fields on this page need to adjust to the standard address layout for the users country of residence.

Is there a smart way to design a uniform address layout that feels natural for users basically anywhere on earth? (Street, No., Zip Code, City)