Adverbialsatz

a subordinate clause that functions as an adverb within a main clause