Breakdown of Takket være at hun ga et stort bidrag, reddet vi skolen.
hun
she
skolen
the school
vi
we
et
a, an (neuter)
Questions & Answers about Takket være at hun ga et stort bidrag, reddet vi skolen.
Why do we need at in takket være at?
On its own, takket være (thanks to) works like a preposition and is followed directly by a noun or pronoun, as in Takket være bidraget hennes, reddet vi skolen (Thanks to her contribution, we saved the school). When you want to follow it with a full clause containing a subject and a verb (hun ga et stort bidrag), you add at (that) to link them. Because English cannot say "thanks to that...", takket være at usually translates as "thanks to the fact that..." or "thanks to her giving...".
Could I use på grunn av at or som følge av at instead of takket være at here?
Grammatically yes, because all three follow the exact same pattern, but the tone would change. You use takket være (at) specifically for a positive outcome that you are glad about — here, saving the school. By contrast, på grunn av (at) (because of) and som følge av (at) (as a result of) are neutral and are often used for problems or plain facts. Choosing takket være at makes it clear that saving the school was a good result and gives credit to her contribution.
Why does the second part say reddet vi instead of vi reddet?
This is the V2 (verb-second) rule in action. The entire introductory clause — Takket være at hun ga et stort bidrag — counts as the first element of the sentence. Because the first position is already filled, the main verb (reddet) must come next in the second position, right before the subject (vi). Notice that inside the at-clause itself (at hun ga...), the subject hun still comes before the verb ga; the inversion happens in the main clause after the comma.