OK, so I've reviewed the previous posts you penned and gathered a few of the basics. You wrote...
We want to see some historical sites including palaces or castles,
lakes and mountains.
We are looking for ideas to build our itinerary.
I think Luzern handles your need for mountains.
The Salzburg area does too. A good outing from Salzburg is Werfen - Hohensalzburg Castle (one of the settings for the 60's film Where Eagles Dare with Richard Burton and Clint Eastwood) is there. A falconry show is offered in addition to a castle tour.
:
https://www.burg-hohenwerfen.at/en/
About 1 hour from Salzburg, on the way to Munich, is Herrenchiemsee Palace, one of King Ludwig II's over-the-top palaces. It's on an island in Lake Chiemsee, so a short ferry ride across the lake is involved:
https://www.herrenchiemsee.de/englisch/tourist/index.htm
https://www.schloesser.bayern.de/deutsch/service/infomat/screen-pdf/hch_engl.pdf
Munich really is a big city with all that implies. 1.5 million people. It might make sense to use Munich airport (which is roughly 40-45 minutes away from central Munich) but then again a city like this might or might not be what you're looking for during your time in Germany. Also, apartment rentals are probably going to be difficult in Munich. You mentioned renting apartments... Munich doesn't have enough housing for its own residents, and recent changes in the law there help ensure that citizens who want to live get priority over tourists when it comes to apartment rentals. So I'll suggest a different place... How about Freiburg? Freiburg is a city of 200K plus residents, an attractive university town with good options for visiting/sightseeing. It lies near the Swiss border with Germany just outside of the Black Forest region, so you'd be able to use the train system to take outings to smaller towns/villages in the Black Forest.
https://visit.freiburg.de/en/discover/sightseeing/top-10-sightseeing
https://bellasboldadventures.com/5-charming-things-i-loved-about-freiburg-that-made-it-one-of-my-favorite-german-cities/
Places you might visit near Freiburg:
Gengenbach, old walled town with towers:
https://www.schwarzwaldportal.com/wp-content/uploads/2021/11/IMG_20211014_131531-scaled.jpg
Black Forest Open-Air museum, in Gutach near Gengenbach:
https://www.tripadvisor.co.uk/Attraction_Review-g1825958-d190955-Reviews-Schwarzwalder_Freilichtmuseum_Vogtsbauernhof-Gutach_im_Schwarzwald_Baden_Wurttemb.html
The scenic Hell's Valley Railway (Höllentalbahn) climbs into the mountains of the Black Forest from Freiburg to small towns like Titisee and eventually to Donaueschingen (the town where the Danube springs from the earth.)
If these places sound good to you I'd probably route as follows for a trip with these 3 base towns: Freiburg > Luzern > Salzburg.
Fly into Zurich. Spend one hotel night there. Get your bearings.
Day 2: Direct Train to Freiburg, less than 2 hours (7:59 - 9:52 for example.)
Later: Train to Luzern, 2 hours (9:05 - 11:05, for example.)
Later: Train to Salzburg, 6.5 hours (9:35 - 16:03, for example.) VERY scenic trip through the Alps on the Arlberg Railway:
https://www.seat61.com/trains-and-routes/zurich-to-innsbruck-via-the-arlberg-railway.htm
Later: Train to MUC airport for one last hotel night. 2.25 hours (14:00 - 16:16, for example.) Fly home the next day from there.