Two other legs are genuine LH metal with LH flight numbers. I hope it will suffice. There should be Priority Pass lounges both at TXL and MUC to spend the few hours between the flights.
TXL yes, but MUC no, I fear.
LH use Terminal 2 at MUC with only LH lounges. PP lounges are in T1.