BERLIN — Police say a crane carrying a panoramic cabin tipped over at a festival in southwestern Germany and hit a house, injuring 13 people.

The accident happened Saturday afternoon in the town of Neuenstadt am Kocher. The cabin suspended from the crane had been set up for a festival organized by a local school.

Police in nearby Heilbronn said in a statement that the cabin collapsed into the roof of a residential building. All eight adults and five children in the cabin were injured; two of the adults suffered serious injuries and were taken to hospitals by helicopter.

No one in the house was hurt.

It wasn't immediately clear what caused the crane to tip over.