As others have stated, the big "M" on a Lufthansa boarding pass means only that you are seated in economy. It is not necessarily the economy fare class that you hold!
Its purpose is solely to allow any staff to easily recognise which cabin you should be travelling in.
The actual class of travel is indicated elsewhere on the boarding pass in normal font - respectively Q, U, U and X in these examples: