It’s hard for teenagers do what their parents are told, let the girl do what she does. I’m not saying this is the right way, but doesn’t matter if you punish her, take her phone away, gets kicked out of school, or whatever, she probably won’t learn.
The respect starts from the house when they are little kids. At a young age, kids learn and copy EVERYTHING, and that’s the right time to teach them respect. She will learned in a few years after she din’t respect teachers nor her classmates, they will not help her went she needs help, people will not listen to her, nothing.
Let her know what will happen in the future. She will probably not listen, but in the end, she will say “you are right” or probably won’t.