There are still states where marrying one’s cousin is not illegal (NJ for example). I just googled it yesterday for someone who posted something on FB about a father and daughter wanting to marry. As long as they’re over the age of 18, it’s ok, to this day.
Presumably some Rabbi in Germany or Switzerland. You would have to look at Jewish ecclesiastical rules on marriage to learn about marriage between close relatives.