Discriminating between hazy and clear hot Jupiter atmospheres with CARMENES