@vonny,
In medieval times, the devil was a prolific architect. All around Europe are bridges known as the Devil's Bridge, with a stories of soul-selling deals and outwitting satan and other legends.
Illustration of the devil in the Nuremberg Chronicle, by Hartmann Schedel (1440-1514)
The story about the Devil's Bridge in Ceredigion, Wales,for instance, is the ravine was too steep for mortal architecture, so the devil offered the traditional deal which was to take the soul of the first to cross. It ended up being an overly excited dog.
In Ardino, there's a a double legend.
One is that the builder's wife died while it was being constructed and her shadow became a part of it.
The other goes that the devil himself walked over its arches while helping its construction and left a footprint.
The legend about the Ponte della Maddalena in Borgo is that the complicated bridge proved too much for the villagers to complete, so they begged the devil to finish it. As per usual, he requested the soul of the first to cross. The townspeople sent over a dog.
Back in the 13th century for the first bridge in Andermatt, it's said that the villagers found building their bridge to be impossible. So they got the crafty devil to do it. But of course he wanted the first crosser's soul. They sent a goat over. The devil flipped out and picked up a giant rock and was going to shatter the wood bridge, but an old woman with a cross scared him off. The stone he supposedly dropped is nearby.
In Martorell, Spain, the story has to do with the disbelief that human hands could have made such a bridge that could stand, and the structure would make a perfect place for the devil to request crossing souls.
The bridge osso like (in Cahors) took 70 years to finish, from 1308 and 1378.
There's the legend of the devil hurrying it along. Rather than some random soul, this time the devil wanted that of the builder. However, the builder said he would give him his soul only when the bridge was finished. For the water for the last batch of mortar, he gave the devil a sieve, so of course it could not be completely finished. The devil was none too pleased and stole a stone out of the central tower. Each time it was replaced, he would take it again overnight. When the bridge was being restored in the 19th century, the lead architect was inspired to replace the real missing stone with a sculpture of the the devil stealing the stone away.