Hotel Investments in Germany

For various reasons the German hotel market has become very attractive for foreign investors. What are the key considerations for those contemplating investing in the local hotel market from a German legal and tax perspective?