Companies in Germany have been offering the option to work remotely. I will write down from my experience on what this means and what you can expect from the remote working model.
When looking for a job, you can choose different cities or states instead of where you are living. This allows for possibly better cost of living, better work-life balance as you no longer have to commute to work.
If you have a work permit that does not require you to have a job, like Permanent Residence, then you can work as a freelancer.