We design and fabricate (nano-)structured solar cells with enhanced performance by carefully considering the interplay between charge carrier generation and extraction.