I didn't know whether to put this under Germany or Transportation, but there are a lot of German transportation questions on this forum so maybe it belongs here.
Regional public transportation in Germany is run by some subsidiaries of German Rail called Verkehrsverbünde (Pl. of Verkehrsverbund, transit union). They are responsible for setting fares and selling tickets in their area. Often, when searching for fares on the Banh website, you get the message, "Fares not available". Usually it is because the two stations are inside a single Verkehrsverbund, and the Bahn does not compete online with it's Verkehrsverbünde (but you can buy these tickets at any Bahn counter or from automats).
I just found a page on Bahn.de (it's probably been around for a while, but I just found it), www.bahn.de/p/view/angebot/verbuende/index.shtml. It shows a map of Germany with 13 of the commonly used VV (Verkehrsverbünde) shown. Actually, there are scores of VV, maybe close to a hundred, but this is a start; a few VV of note, like Rhein-Main-Verkehrsverbund, RMV, Frankfurt area and Verkehrsverbund-Rhein-Mosel, VRM, Rhein gorge and Mosel valley are not shown. In a column to the left are links to those VV that are shown.
If the Bahn won't give you a fare, but you can get to the VV website, you can find the fares there.