There is more of a willingness to be called a racist. There is an effort to reclassify racism where almost nothing qualifies. And when they do get called racist, Steve Bannon told them to wear the label "like a badge of honor." Republicans do a good job of messaging, they say in unison there's no such thing as voter suppression while they make every effort to implement it. Obama's first victory may have turned on McCain's mistakes, his second was a against a Mormon who they feared just enough not to get behind. Stephen Miller and Steve Bannon were white nationalists, one wrote Trump's speeches and put brown children in cages, the other was Trump's top advisor. Trump's base including those who hated Obama never constituted a majority, but when added to those who put Party before country it was enough to defeat a woman who enough people wouldn't vote for for that reason to let him win.
A separate issue is how poorly Democrats allocate funds and market to Hispanics in particular, barely using Spanish-speaking ads and then n ot using native speakers. Trump's claim that Obama wasn't an American was a racist attempt to portray him as "other." He called African nations "shithole countries." In private business he had rental applications marked "C" for colored to deny them apartments. America knew they were voting for a racist (among other things) they just didn't care. You mentioned the Muslim ban which initially was broad and wasn't limited to terrorists. In his defense, Trump didn't create racists, he only exposed them.