German castle perched on