Witaj Giancarlo,
Yes it can be tricky sometimes to use those words in the right moment.
"znać" will always answer the questions "kogo?" or "co?" and will concern nouns:
znam twoją mamę, znam jego imię, znam karate,
I try to explain it with using an extra word "poznać" - get to know. So first you get to know someone/something and then you know.
Poznałem twoją mamę więc ją znam. poznałem jego imię więc je znam. Poznałem karate więc znam karate.
"wiem" is mostly conected with the rest of the sentence, kind of "wiem o czymś" - I know about...
wiem co chcesz powiedzieć, wiem o tym, wiem gdzie mieszkasz, wiem jak masz na imię
Refering to those sentences with "znam" I would have to change them into:
Wiem kim jest twoja mama, wiem jak on ma na imię, wiem co to jest karate
In all of those cases the information that you send is that you know about it but not necessarily you know them/it personally.
I hope it helps a bit,
Pozdrawiam