My dds are 12 and nearly 14. We start making noises about bedtime at 9pm - certainly would expect them to be home from friends' / homework done etc by then. If they need showers and tonwas hair then we strongly advise that bedtime happens. Nothing normally happens though until 9.30 when we usually all have a big old bicker about the fact it is bedtime NOW, so off they go, usually followed by giggling and messing about while they get ready for bed.
10pm one of us will usually go up and order them that it is bedtime. Phones are usually taken away by then (if not before). Dd1 is allowed to read quietly until tired / we go to bed. Dd2 will often be settled, usually one of us will read to her for 15 mins (I know it's ridiculous and she's perfectly capable of reading herself but she still likes it!) or just lie next her and chat for a bit.
Dd2 is almost always asleep by 10.15, and dd2 by 10.30, and in the recent hot weather 11.
They can and do sleep in until 7.30-8 as we live five mins from school. Dd tends to get up earlier - she gets about 9 hours and dd2 gets about 10 hours. Dd1 has always needed less sleep. They both lie in at weekends until about 8.30.
So in short I think your dd's bedtime of 9pm is very early, and I think she could be allowed to go to her room at 9 and allowed to do something quietly until 9.30 when it's lights out. I believe your dh was far too draconian with her, poor love. Grounding is a big punishment in our house and would have to be a consequence of something dreadful. Thankfully (so far) we haven't had to use it. Removal of gadgets for a certain number of days is our go-to consequence for disrespectful behaviour. The lippiness and fibbing that your dd displayed are IMO par for the course with a pre/young teen pushing their boundaries.
Try to encourage your dd to start expressing anger and to be a bit naughty. I had parents that were really quite strict, especially my dad, and while it was good to have limitations (I've grown up with a strong moral code and sense of resilience and self-control) I also struggle with a lot of self-doubt and suppressed anger now. I find it v hard to express and share emotion, and have had to learn to stand up for myself as life has gone on.