Home to pretty treasures, Bergen is Austria's best kept secret. The nearest major city to Bergen is Vienna. So, ideally any vacation planner would recommend you to visit Vienna for its bountiful attractions like Schonbrunn Palace, Vienna State Opera, Wiener Riesenrad on your trip to Bergen. Also, to reach Bergen, you'll have to take a flight to Vienna; so its not really a detour. And even if it is, the city is worth paying at least a quick visit. Popular vacation packages of Bergen are of 1-2 days.
Don't just take a trip, let the trip take you! Have a enjoyable time at Bergen.