A roof assembly for a vehicle includes a roof having roof parts. A rod
kinematic system is connected to the roof parts to move the roof parts
between a closed position of the roof in which the roof parts adjoin one
another along a planar level to thereby cover the vehicle interior and a
stored position of the roof in which the roof parts stack on top of one
another to thereby expose the vehicle interior. First and second locking
devices are associated with the roof parts. The locking devices have
locking elements which engage one another to lock the stacked roof parts
together when the roof is in the stored position.