For travel in Austria, use the ÖBB website to find train schedules and fares. http://www.oebb.at/vip8/oebb/en/
For travel in 2nd class, there is a special ticket called the ‘1-PLUS-Freizeit-Ticket für die 2.Klasse.’ To travel from Vienna to Salzburg with this ticket, the first traveler would pay 44.40 € and adult travelers 2 to 5 would pay 22.20 €.
To travel from Salzburg to Munich you could use the Bayern-Ticket. This is a group ticket for up to 5 travelers that is only valid on regional trains after 9 AM on weekdays and anytime on weekends. The ticket costs 27 € from a machine or 29 € from a ticket window. At the Salzburg station you would buy this ticket from the Deutsches Bahn DB machine or office, not from the ÖBB.
For travel in Germany use the DB website to find train schedules and fares. http://reiseauskunft.bahn.de/bin/query.exe/en
To find trains on the DB website were you could use the Bayern Ticket, under Means of transport: change the default setting from ‘standard search’ to ‘only local transport’.
Each Germany Federal State has Länder Tickets. An overview is at - http://www.bahn.de/-S:PtVORd:d9E-jtNNYyadcNNNNPIM/p/view/international/englisch/travelservice/laender_tickets.shtml
Major cities and regions also have group day tickets for travel on public transportation.