A device for searching for a lane on which a vehicle shall drive, wherein the device is configured to receive an image captured by a camera, the image showing an area in front of the vehicle, detect lane markings (42, 43) in the image, determine for each of the lane markings (42, 43) if the respective lane marking is of a first type indicating a road condition of a first type or a second type indicating a road condition of a second type, wherein the road condition of the first type is a non-constructing site and the road condition of the second type is a construction site, wherein a lane marking (42, 43) of the first type has a predetermined first color and a lane marking (42, 43) of the second type has a predetermined second color, create lane candidates from the lane markings (42, 43), divide the lane candidates into classes of lane candidates depending on the type of the lane markings (42, 43) of the lane candidates, and search the classes of lane candidates for a lane on which the vehicle shall drive, characterized in that the device is further configured to determine for each of the lane markings (42, 43) if the respective lane marking is a left lane marking or a right lane marking, the classes of lane candidates comprise classes a) to e) and class a) comprises lane candidates having a left lane marking of the second type and a right lane marking of the second type, class b) comprises lane candidates having a left lane marking and a right lane marking with one of the lane markings (42, 43) being of the first type and the other one being of the second type, class c) comprises lane candidates having a lane marking (42, 43) on only one side, the lane marking (42, 43) being of the second type, class d) comprises lane candidates having a left lane marking of the first type and a right lane marking of the first type, and class e) comprises lane candidates having a lane marking (42, 43) on only one side, the lane marking (42, 43) being of the first type, wherein the device is further configured to search the classes of lane candidates sequentially in a given order for a lane on which the vehicle shall drive, wherein the device starts with class a) and continues then with class b), c) and d) until class e) has been reached, wherein the device is further configured to terminate searching the classes of lane candidates when a lane on which the vehicle shall drive has been selected, and wherein the device is further configured to select a lane candidate from one of the classes as the lane on which the vehicle shall drive, wherein geometry information of the lane candidate is considered when selecting one of the lane candidates as the lane on which the vehicle shall drive. receive an image captured by a camera, the image showing an area in front of the vehicle, detect lane markings (42, 43) in the image, determine for each of the lane markings (42, 43) if the respective lane marking is of a first type indicating a road condition of a first type or a second type indicating a road condition of a second type, wherein the road condition of the first type is a non-constructing site and the road condition of the second type is a construction site, wherein a lane marking (42, 43) of the first type has a predetermined first color and a lane marking (42, 43) of the second type has a predetermined second color, create lane candidates from the lane markings (42, 43), divide the lane candidates into classes of lane candidates depending on the type of the lane markings (42, 43) of the lane candidates, and search the classes of lane candidates for a lane on which the vehicle shall drive, characterized in that the device is further configured to determine for each of the lane markings (42, 43) if the respective lane marking is a left lane marking or a right lane marking, the classes of lane candidates comprise classes a) to e) and class a) comprises lane candidates having a left lane marking of the second type and a right lane marking of the second type, class b) comprises lane candidates having a left lane marking and a right lane marking with one of the lane markings (42, 43) being of the first type and the other one being of the second type, class c) comprises lane candidates having a lane marking (42, 43) on only one side, the lane marking (42, 43) being of the second type, class d) comprises lane candidates having a left lane marking of the first type and a right lane marking of the first type, and class e) comprises lane candidates having a lane marking (42, 43) on only one side, the lane marking (42, 43) being of the first type, wherein the device is further configured to search the classes of lane candidates sequentially in a given order for a lane on which the vehicle shall drive, wherein the device starts with class a) and continues then with class b), c) and d) until class e) has been reached, wherein the device is further configured to terminate searching the classes of lane candidates when a lane on which the vehicle shall drive has been selected, and wherein the device is further configured to select a lane candidate from one of the classes as the lane on which the vehicle shall drive, wherein geometry information of the lane candidate is considered when selecting one of the lane candidates as the lane on which the vehicle shall drive.