First thing to be aware:
Karlsruhe is getting a subway downtown. They put the downtown underground so downtown is quite a construction site.
To all the ideas above I would add:
Take the tram to Bad Herrenalb and take a short hike through the Black Forest.
Depending how old your kids are maybe the zoo in Karlsruhe might interest them.