Trying to find a coming of age movie from a Scandinavian country

I’m Finnish and remember watching a movie that was made in Swedish or a related language. I must have watched it late 2000s or early 2010s.

It was about a girl that saw a ghost of a woman in an abandoned building. At the end of the movie she finds about the history of that ghost and starts understanding her better or something.

I remember the main character being a read head, and that she cut another girls hair without permission. (I think she did it because there was a rumour that the ghost had done the same when she was alive)

And I’m pretty sure both the main character and the girl whose hair she cut were crushing on the same boy. (This could have also had parallels with the ghost story)