The online railway map , not only of Germany but worldwide.  Many of the disused railways are also clearly marked.

http://www.openrailwaymap.org/

Alan