Joachim Andersen's own goal plus one penalty - and one missed - from Cristiano Ronaldo plus Trincao's clincher took the game into extra time after Rasmus Kristensen and Christian Eriksen netted for the Danes.
Portugal are into the last four and will face Germany, who saw off Italy with a 3-3 draw in a 5-4 aggregate win.
Germany skipper Joshua Kimmich fired them ahead from the spot after Tim Kleindienst was fouled by Alessandro Buongiorno. A blu...