You asked:

is a wedding a ritual

Yes. A wedding is a ceremony.
wedding
wedding
wedding

ceremony
ceremony
ceremony