the small bavarian town looked like it had just emerged from a medieval time capsule , complete with dark houses with red tile roofs , stacked stone walls , and painted wooden flower boxes adorning most windows .