Staatsbau, Residenz, Schloß, Burg