When we got married, we went to the County Courthouse in the city where we lived, paid the fee, and filled out the paperwork. Poof, we’re legally married in the eyes of the State. The church wedding Mass was a week or two later, at my old church about 200 miles away. Poof, we’re validly married in the eyes of the Church. But I don’t think of it as being two weddings. One was paperwork that we did for legal reasons/tax reasons/etc, and the other was a ceremony that formed a sacramental bond. But in our day and age, we couldn’t have received the sacrament without going through the civil paperwork part of things, whereas just over 100 years ago, the federal government started getting involved in the marriage biz, and it wasn’t until 1929 that every state finally had laws about marriage licenses.
My parents, on the other hand, got married in a different state, in a different decade. Somehow, they were able to take their County Courthouse paperwork and sign it (at the altar?) during the Church wedding Mass. Poof, they’re legally and validly married in the same day-- just gotta get that paperwork back to the County Courthouse to get it properly on-file.