For anyone reading this who has never been to Germany:
Apartments can also be present in villages. Some rural ones only consist of single family homes, but there are also multiple-family apartment buildings in some villages (no high-rises or big complexes of course).
So "if you live in an apartment, you're in a city" is an incorrect statement.
So "if you live in an apartment, you're in a city" is an incorrect statement.