I'm wondering if I fly to Frankfurt Main from Spain and stay overnight in a hotel outside the airport and then fly out of the EU the next day, does my passport get stamped? I have residency in Spain but not a EU citizenship. I already know that if I don't exit the airport after my flight from Spain and just go directly to my overseas flight, passport does NOT get stamped. However, now I'm not sure if the same things happens if I stay overnight in Frankfurt (meaning I exit the airport and come back the next day).
follow-up question: does this apply to every city in Germany that has an international airport, or just FRA?