So today my wife totaled our 2008 BMW 335 XI.

She got slammed into by a big rig on her way to work. We got a lot of snow on the ground in the Front Range of Colorado. My wife is fine , she was just shaken up a bit. So I am not totally sure what to expect with regards to the insurance and how much they will give us for the car. I assume it will be market price but not sure. Any ideas? How does this process work?
While this is going to be a hassle. I am digging the idea of researching and buying a new car.
Steve