A vehicle includes a roof having a roof opening between respective sides
of the vehicle body, and guide rails attached to respective sides of the
vehicle body. A cover having guide elements is slidably engaged to
respective ones of the rails to slide the cover between a closed position
in which the cover covers the opening and an opened position in which the
cover exposes the opening. A first sealing section is connected to one of
the respective vehicle body sides. A second sealing section is connected
to the cover on the respective body side. The sealing sections enclose a
wedge line. A seal is between the sealing sections. The seal is
compressed when the cover is in the closed position and is relaxed when
the cover is in the opened position in response to a wedge effect
generated by the wedge line as the cover slides along the rails.