Bergman Real Estate Group has leased more than 28,000 square feet at a Madison office building after completing deals with a law firm and an environmental engineering group.