We also have a house in the family in the 2nd row on a slope by a main road. It is a solid house with 50cm walls from yesteryear. Inside the walls, it is absolutely no problem. However, the city has now also prescribed noise protection windows for the 1st row in new buildings, and in such a case, I would always choose these.
What is actually annoying is that you hardly ever have peace in the garden. You never get used to it. Although the terrace is still located behind the house, away from the street, it is still quite loud.
If I were to build new there today, I would have the noise protection planned precisely. For that, I would look for an expert who exactly balances for me where to best place any corners, edges, or walls so that there is maximum peace on the terrace. I would definitely budget the costs from the very beginning if the plot is otherwise optimal.