Since a free Deutschlandticket itinerary from Berlin to Hamburg would be too complex and chancy—six hops or so—we settled for Flixbus.
Long stretches of flat fields often interrupted by windmills or solar arrays. Sometimes you see sheep grazing among the solar panels, which I guess prevents the vegetation from interfering with collecting sunlight.