Yes, Lufthansa provides compensation for canceled flights under EU Regulation 261/2004, provided certain conditions are met. If your flight is canceled and you were informed less than 14 days before departure, you may be entitled to compensation unless the cancellation was due to extraordinary circumstances such as severe weather, political instability, or security risks. The amount of compensation depends on the distance of the flight: €250 for flights up to 1,500 km, €400 for flights between 1,500 and 3,500 km, and €600 for flights over 3,500 km. Additionally, Lufthansa is required to offer you a choice between a full refund or rebooking on another flight. They must also provide assistance, including meals, refreshments, hotel accommodation if necessary, and two free communications. To claim compensation, you can submit a request through Lufthansa's official channels, providing your booking details and any supporting documents.