Sadly I couldn´t get a better photo of it from the moving train.
The famous rock church of Idar-Oberstein that has been build into a cliff under a castle.