The bridge is a real highlight and looks extremely good. Since it is right next to the road, there are a lot of tourists there, which is why you should stop by relatively early in the morning. If you can't make it in the morning, you can try to come back at sunset, when there is usually a lot less going on.
Various hikes start in Sonogno and you will also find a restaurant and some accommodation there. I would definitely recommend you to visit the “La Froda” waterfall. Feel free to check out the other options if you want to go on a longer hike.
At the end of the day I would visit the beautiful village of Corippo, you can also stay overnight and have dinner there.
But, if you want to visit Foroglio the next day, I would rather stay near Foroglio. In this case you can also come to Ascona/Locarno and eat there if you want.
You can stay for example overnight here which is close to Foroglio, then you can get to the small village really quickly. If you stay overnight in Ascona-Locarno you should plan at least a 45 minute drive.