First: a few people commented that thinking about your postdoc/Habilitation before even starting your Ph.D. is premature. I disagree. I have seen too many people coast along during their Ph.D. time without ever knowing what they are going to do afterwards, and certainly not preparing for their post-Ph.D. time, whether in academia or in industry. So I would say you demonstrate good long-term thinking. Already thinking about your academic career will help you prepare to work out a research program, network (more on this below) etc.
Second: there is no problem whatsoever with changing advisors between the Ph.D. and the postdoc period. To the contrary! If you stay at the same place for almost ten years, you will need to explain why you never moved, never checked out other places to work, other approaches to research. Many, many (most?) people will switch advisors at least once, or possibly even do postdocs in two different places.
Incidentally, this is why I think it is a good thing you are already thinking about your long-term future now, because it is never too early to start meeting people at conferences with your future in mind. You may just meet someone at your first conference who you could collaborate with or spend your postdoc time with.
So I would definitely recommend that you consider the older potential advisor. He sounds like he could introduce you to lots of people, and you will likely not need to pack up and move somewhere else during your Ph.D. period, which seems possible with the younger professor and which could somewhat mess up your personal life.
Of course, these considerations are all not the highest priority. You should definitely keep other aspects in mind in choosing where to do your Ph.D., like the kind of project you would be doing for either of the two professors, or whether the two of you "click" on a personal level, or what financing there is, or lots of other things you should discuss with your potential advisor ahead of time.
Finally, there is no Habilitation in Germany any more. Nowadays, Germany has moved to a more American style in academic careers. You will do a Ph.D., then a postdoc, then usually a Juniorprofessur (roughly, assistant professorship - not tenured and limited to six years), then get your Ruf to a tenured position. It's quite possible to skip the Juniorprofessur, though.