Based on what seem to be your preferences, I might split things up geographically as follows.
Nuremberg area
Nuremberg base; optional outings to Würzburg, Bamberg, Rothenburg, Bad Windsheim, Iphofen, Bayreuth
Garmisch-Partenkirchen area
G-P base; optional outings to the Zugspitze, Füssen, Mittenwald, Oberammergau, Ettal Monastery, Linderhof Palace, Reutte and the Highline 179 suspension bridge.
Area transport map:
https://bahnland-bayern.de/files/media/bahnland-bayern/tickets/regio-ticket-bayern/Regio-Ticket%20Werdenfels/beg-gr-gueltigkeitsbereich-regio-ticket-werdenfels-2021-05-ansicht.jpg
(The D-Land ticket and other passes cover the train route through Austria you will use to reach Reutte and Füssen; certain short bus trips, like the one to Highline 179 and the connection between Austria and Füssen, aren't covered.)
Mosel area
Cochem base; optional outings include Trier, Bernkastel, Traben-Trarbach, Burg Eltz, Beilstein, others
Rhine base
St. Goar base; optional outings to Bacharach, Oberwesel, Boppard, Cologne, Koblenz, Limburg, Braubach (Marksburg Castle,) Rüdesheim/Bingen (Rhine Cruise)
Area transport map for both Rhine and Mosel
https://www.vrminfo.de/fileadmin/data_vrminfo/PDF/RLP-Ticket_streckennetz.pdf
I think you'd have roughly 18 nights wrapped up in these 4 areas. That leaves 2 nights in Munich plus another 10 nights or so. You might hang your hats in 2-3 of these areas as well...
Lake Constance area (Meersburg? Lindau? We spent 5 nights one time on the Hoeri Peninsula just riding bikes and hanging out. Not sure what you're after. It's a big place.)
Black Forest area (could also include Strasbourg FR)
Neckar/Odenwald region (Heidelberg, Michelstadt, Heppenheim, Bad Wimpfen, Besigheim, Burg Guttenberg)
Area transport map (and more) for both Black Forest and Neckar/Odenwald:
http://www.agilis.de/wp-content/uploads/2016/11/Streckenkarte-BW-2013.jpg
Berchtesgaden / Salzburg area (Berchtesgaden, Salzburg, Chiemsee, Koenigssee)
Area map, transport not shown but very good: https://www.stepmap.de/landkarte/Oberbayern-1573754.png
Travel between these areas as well as within them should be doable on the Deutschland-Ticket as they are fairly near one another.