I was in Germany at work for 3 months as a student. When I returned to my country at the airport, they stamped me and put this on the stamp and put a new normal stamp underneath, they didn't tell me anything from there and I returned to my country. Do you know what this means?

To be more specific, why there are two stamps and what is the meaning of the first one(that blue stamp and blue text)?