Bernstein and De Giorgi type problems: new results via a geometric approach