but gandalf went forward , leading the company , and where the road from the hornburg met the trees they saw now an opening like an arched gate under mighty boughs ; and through it gandalf passed , and they followed him .