Bach’s "Contrapunctus I" from The Art of Fugue with the first movement of Mozart’s "Eine kleine Nachtmusik".

Compare Bach’s "Contrapunctus I" from The Art of Fugue with the first movement of Mozart’s "Eine kleine Nachtmusik". What are the stylistic differences between these pieces? How do they reflect their respective identities as Baroque or Classical music? Please be specific by describing the stylistic differences between the two eras as they pertain to the two pieces. As always, cite your resources.