{"id":1443,"date":"2025-11-26T11:08:39","date_gmt":"2025-11-26T08:08:39","guid":{"rendered":"https:\/\/the-taxi.at\/?page_id=1443"},"modified":"2025-11-26T11:13:29","modified_gmt":"2025-11-26T08:13:29","slug":"inquiry","status":"publish","type":"page","link":"https:\/\/the-taxi.at\/de\/inquiry\/","title":{"rendered":"Inquiry"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1443\" class=\"elementor elementor-1443\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-101a441 e-flex e-con-boxed e-con e-parent\" data-id=\"101a441\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-774a4c7 elementor-widget elementor-widget-shortcode\" data-id=\"774a4c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\">\n        <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/css\/intlTelInput.css\">\n        <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/17.0.13\/js\/intlTelInput.min.js\"><\/script>\n        \n\n        <div class=\"taxi-booking-container\">\n            <!-- Sol Taraf: Harita -->\n            <div class=\"map-section\">\n                <div class=\"map-container\">\n                    <div id=\"map\"><\/div>\n                <\/div>\n                <div class=\"map-info\">\n                    <div class=\"info-item\">\n                        <i class=\"fas fa-route info-icon\"><\/i>\n                        <div class=\"info-content\">\n                            <div class=\"info-label\">Distance<\/div>\n                            <div class=\"info-value\" id=\"distance-value\">-<\/div>\n                        <\/div>\n                    <\/div>\n                    <div class=\"info-item\">\n                        <i class=\"fas fa-clock info-icon\"><\/i>\n                        <div class=\"info-content\">\n                            <div class=\"info-label\">Duration<\/div>\n                            <div class=\"info-value\" id=\"duration-value\">-<\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n            \n            <!-- Sa\u011f Taraf: Form -->\n            <div class=\"form-section\">\n                <div class=\"booking-form\">\n                    <h3 class=\"form-title\"><span data-translate=\"taxi_booking\">Taxi-Buchung<\/span><\/h3>\n                    \n            <!-- Servis Se\u00e7imi -->\n            <div class=\"service-selection\">\n                <div class=\"service-options\">\n                            <label class=\"service-option\">\n                                <input type=\"radio\" name=\"service_type\" value=\"quick_taxi\" checked>\n                        <span class=\"service-label\">\n                                    <i class=\"fas fa-taxi\"><\/i>\n                                    <strong data-translate=\"quick_taxi\">Schnelles Taxi<\/strong>\n                                    <small data-translate=\"quick_taxi_desc\">Schnelle Stadtfahrten<\/small>\n                        <\/span>\n                    <\/label>\n                            <label class=\"service-option\">\n                                <input type=\"radio\" name=\"service_type\" value=\"airport_transfer\">\n                        <span class=\"service-label\">\n                                    <i class=\"fas fa-plane\"><\/i>\n                                    <strong data-translate=\"airport_transfer\">Flughafentransfer<\/strong>\n                                    <small data-translate=\"airport_transfer_desc\">Flughafen Abholung & Abgabe<\/small>\n                        <\/span>\n                    <\/label>\n                <\/div>\n            <\/div>\n\n                    <!-- Form Alanlar\u0131 -->\n                    <div class=\"form-fields\">\n                        <!-- Quick Taxi Form - 4 Steps -->\n                        <div id=\"quick-taxi-form\" class=\"service-form\" style=\"display: block;\">\n                    <!-- Step Indicator -->\n                    <div class=\"step-indicator\">\n                                <div class=\"step active\" data-step=\"1\">\n                                    <span class=\"step-number\">1<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_location\">Standort<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"2\">\n                                    <span class=\"step-number\">2<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_date_time\">Datum & Zeit<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"3\">\n                                    <span class=\"step-number\">3<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_information\">Informationen<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"4\">\n                                    <span class=\"step-number\">4<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_payment\">Zahlung<\/span>\n                                <\/div>\n                    <\/div>\n\n                            <!-- Step 1: Konum -->\n                    <div class=\"step-content active\" data-step=\"1\">\n                                <div class=\"form-group\">\n                                    <label for=\"quick_pickup_location\" data-translate=\"pickup_location\">Abholort<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-map-marker-alt input-icon\"><\/i>\n                                        <input type=\"text\" id=\"quick_pickup_location\" name=\"quick_pickup_location\" data-translate-placeholder=\"pickup_location\" placeholder=\"Abholort\" class=\"has-location-btn pac-target-input\" required autocomplete=\"off\">\n                                        <button type=\"button\" class=\"current-location-btn\" id=\"quick-current-location-btn\">\n                                            <i class=\"fas fa-crosshairs\"><\/i> <span data-translate=\"current_location\">Aktuelle Position<\/span>\n                                        <\/button>\n                                    <\/div>\n                                <\/div>\n                                \n                                <!-- Swap Locations Button -->\n                                <div class=\"location-swap-container\">\n                                    <button type=\"button\" class=\"swap-location-btn\" id=\"quick-swap-locations-btn\">\n                                        <i class=\"fas fa-exchange-alt\"><\/i>\n                                        <span data-translate=\"change_direction\">Richtung \u00e4ndern<\/span>\n                            <\/button>\n                        <\/div>\n\n                        <div class=\"form-group\">\n                                    <label for=\"quick_dropoff_location\" data-translate=\"dropoff_location\">Zielort<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-flag-checkered input-icon\"><\/i>\n                                        <input type=\"text\" id=\"quick_dropoff_location\" name=\"quick_dropoff_location\" data-translate-placeholder=\"dropoff_location\" placeholder=\"Zielort\" class=\"has-location-btn pac-target-input\" required autocomplete=\"off\">\n                                        <button type=\"button\" class=\"current-location-btn\" id=\"quick-dropoff-location-btn\">\n                                            <i class=\"fas fa-crosshairs\"><\/i> <span data-translate=\"current_location\">Aktuelle Position<\/span>\n                                        <\/button>\n                            <\/div>\n                        <\/div>\n                        \n                        <!-- Mobilde Butonlar\u0131n \u00dcst\u00fcnde G\u00f6sterilecek Distance\/Duration Bilgisi -->\n                        <div class=\"mobile-route-info\">\n                            <div class=\"mobile-info-item\">\n                                <i class=\"fas fa-route mobile-info-icon\"><\/i>\n                                <div class=\"mobile-info-content\">\n                                    <div class=\"mobile-info-label\">Distance<\/div>\n                                    <div class=\"mobile-info-value\" id=\"mobile-distance-value\">-<\/div>\n                                <\/div>\n                            <\/div>\n                            <div class=\"mobile-info-item\">\n                                <i class=\"fas fa-clock mobile-info-icon\"><\/i>\n                                <div class=\"mobile-info-content\">\n                                    <div class=\"mobile-info-label\">Duration<\/div>\n                                    <div class=\"mobile-info-value\" id=\"mobile-duration-value\">-<\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('quick-taxi', 2)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                        <\/button>\n                            <\/div>\n                        <\/div>\n\n                            <!-- Step 2: Tarih & Saat -->\n                    <div class=\"step-content\" data-step=\"2\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                        <label for=\"quick_pickup_date\">Date<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-calendar-alt input-icon\"><\/i>\n                                            <input type=\"date\" id=\"quick_pickup_date\" name=\"quick_pickup_date\" value=\"2026-05-06\" required>\n                                        <\/div>\n                            <\/div>\n                            <div class=\"form-group\">\n                                        <label for=\"quick_pickup_time\">Time<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-clock input-icon\"><\/i>\n                                            <input type=\"time\" id=\"quick_pickup_time\" name=\"quick_pickup_time\" value=\"14:05\" required>\n                                        <\/div>\n                                    <\/div>\n                                <\/div>\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('quick-taxi', 1)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                                    <\/button>\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('quick-taxi', 3)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                                    <\/button>\n                            <\/div>\n                        <\/div>\n\n                            <!-- Step 3: Yolcu Bilgileri -->\n                            <div class=\"step-content\" data-step=\"3\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                        <label for=\"quick_passenger_name\">Full Name<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-user input-icon\"><\/i>\n                                            <input type=\"text\" id=\"quick_passenger_name\" name=\"quick_passenger_name\" placeholder=\"Enter your name\" required>\n                            <\/div>\n                            <\/div>\n                        <div class=\"form-group\">\n                                        <label for=\"quick_passenger_phone\">Telefon<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <input type=\"tel\" id=\"quick_passenger_phone\" name=\"quick_passenger_phone\" placeholder=\"Your phone number\" required>\n                        <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                    <div class=\"form-row\">\n                        <div class=\"form-group\">\n                                        <label for=\"quick_passenger_email\">Email<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-envelope input-icon\"><\/i>\n                                            <input type=\"email\" id=\"quick_passenger_email\" name=\"quick_passenger_email\" placeholder=\"Your email address\" required>\n                                        <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                    <!-- Yolcu Say\u0131lar\u0131 -->\n                    <div class=\"form-row\">\n                        <div class=\"form-group\">\n                            <label for=\"quick_adult_count\">Adults<\/label>\n                            <div class=\"input-wrapper\">\n                                <i class=\"fas fa-user input-icon\"><\/i>\n                                <select id=\"quick_adult_count\" name=\"quick_adult_count\" required>\n                                    <option value=\"1\" selected>1 adult<\/option>\n                                    <option value=\"2\">2 adults<\/option>\n                                    <option value=\"3\">3 adults<\/option>\n                                    <option value=\"4\">4 adults<\/option>\n                                    <option value=\"5\">5 adults<\/option>\n                                    <option value=\"6\">6 adults<\/option>\n                                <\/select>\n                            <\/div>\n                        <\/div>\n                        <div class=\"form-group\">\n                            <label for=\"quick_child_count\">Children<\/label>\n                            <div class=\"input-wrapper\">\n                                <i class=\"fas fa-child input-icon\"><\/i>\n                                <select id=\"quick_child_count\" name=\"quick_child_count\" required>\n                                    <option value=\"0\" selected>0 children<\/option>\n                                    <option value=\"1\">1 child<\/option>\n                                    <option value=\"2\">2 children<\/option>\n                                    <option value=\"3\">3 children<\/option>\n                                    <option value=\"4\">4 children<\/option>\n                                <\/select>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                        <div class=\"form-group\">\n                                    <label for=\"quick_special_requests\">Special Requests<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-comment-alt input-icon\"><\/i>\n                                        <textarea id=\"quick_special_requests\" name=\"quick_special_requests\" placeholder=\"Enter your special requests (optional)\"><\/textarea>\n                            <\/div>\n                        <\/div>\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('quick-taxi', 2)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                                    <\/button>\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('quick-taxi', 4)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n\n                            <!-- Step 4: \u00d6deme Y\u00f6ntemi -->\n                            <div class=\"step-content\" data-step=\"4\">\n                                <div class=\"payment-selection\">\n                                    <div class=\"payment-options\">\n                                        <label class=\"payment-option\">\n                                            <input type=\"radio\" name=\"quick_payment_method\" value=\"cash\" checked>\n                                            <span class=\"payment-label\">\n                                                <i class=\"fas fa-money-bill-wave\"><\/i>\n                                                <strong>Cash in Taxi<\/strong>\n                                                <small>Payment on delivery<\/small>\n                                            <\/span>\n                                        <\/label>\n                                        <label class=\"payment-option\">\n                                            <input type=\"radio\" name=\"quick_payment_method\" value=\"card\">\n                                            <span class=\"payment-label\">\n                                                <i class=\"fas fa-credit-card\"><\/i>\n                                                <strong>Credit Card<\/strong>\n                                                <small>Payment on delivery<\/small>\n                                            <\/span>\n                                        <\/label>\n                                    <\/div>\n                                <\/div>\n                                \n                                <!-- Honeypot field (bot protection) -->\n                                <input type=\"text\" name=\"website\" value=\"\" style=\"position: absolute; left: -9999px; opacity: 0; pointer-events: none; tabindex: -1;\" autocomplete=\"off\" aria-hidden=\"true\">\n                                \n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('quick-taxi', 3)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                                    <\/button>\n                                    <button type=\"submit\" class=\"booking-btn\" id=\"quick-booking-btn\">\n                                        <i class=\"fas fa-check-circle\"><\/i> <span data-translate=\"book_now\">Jetzt buchen<\/span>\n                                    <\/button>\n                                <\/div>\n                            <\/div>\n            <\/div>\n\n                        <!-- Airport Transfer Form - 6 Steps -->\n                        <div id=\"airport-transfer-form\" class=\"service-form\" style=\"display: none;\">\n                    <!-- Step Indicator -->\n                    <div class=\"step-indicator\">\n                                <div class=\"step active\" data-step=\"1\">\n                                    <span class=\"step-number\">1<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_location\">Standort<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"2\">\n                                    <span class=\"step-number\">2<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_date_time\">Datum & Zeit<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"3\">\n                                    <span class=\"step-number\">3<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_passenger\">Passagier<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"4\">\n                                    <span class=\"step-number\">4<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_luggage\">Gep\u00e4ck<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"5\">\n                                    <span class=\"step-number\">5<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_information\">Informationen<\/span>\n                                <\/div>\n                                <div class=\"step\" data-step=\"6\">\n                                    <span class=\"step-number\">6<\/span>\n                                    <span class=\"step-title\" data-translate=\"step_payment\">Zahlung<\/span>\n                            <\/div>\n                    <\/div>\n\n                            <!-- Step 1: Konum -->\n                    <div class=\"step-content active\" data-step=\"1\">\n                                <div class=\"form-group\">\n                                    <label for=\"airport_pickup_location\" data-translate=\"pickup_location\">Abholort<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-plane input-icon\"><\/i>\n                                        <select id=\"airport_pickup_location\" name=\"airport_pickup_location\" required>\n                                            <option value=\"\" data-translate=\"select_airport\">Flughafen ausw\u00e4hlen<\/option>\n                                            <option value=\"Innsbruck Airport\">Flughafen Innsbruck<\/option>\n                                            <option value=\"Z\u00fcrich Airport\">Flughafen Z\u00fcrich<\/option>\n                                            <option value=\"Memmingen Airport\">Flughafen Memmingen<\/option>\n                                            <option value=\"Friedrichshafen Airport\">Flughafen Friedrichshafen<\/option>\n                                            <option value=\"Salzburg Airport\">Flughafen Salzburg<\/option>\n                                            <option value=\"M\u00fcnchen Airport\">Flughafen M\u00fcnchen<\/option>\n                                            <option value=\"St.Gallen Altenrhein\">St.Gallen Altenrhein<\/option>\n                                        <\/select>\n                            <\/div>\n                    <\/div>\n                                \n                                <!-- Swap Locations Button -->\n                                <div class=\"location-swap-container\">\n                                    <button type=\"button\" class=\"swap-location-btn\" id=\"airport-swap-locations-btn\">\n                                        <i class=\"fas fa-exchange-alt\"><\/i>\n                                        <span data-translate=\"change_direction\">Richtung \u00e4ndern<\/span>\n                            <\/button>\n                        <\/div>\n\n                        <div class=\"form-group\">\n                                    <label for=\"airport_dropoff_location\" data-translate=\"dropoff_location\">Zielort<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-map-marker-alt input-icon\"><\/i>\n                                        <input type=\"text\" id=\"airport_dropoff_location\" name=\"airport_dropoff_location\" data-translate-placeholder=\"dropoff_location\" placeholder=\"Zielort\" class=\"has-location-btn pac-target-input\" required autocomplete=\"off\">\n                                        <button type=\"button\" class=\"current-location-btn\" id=\"airport-dropoff-location-btn\">\n                                            <i class=\"fas fa-crosshairs\"><\/i> <span data-translate=\"current_location\">Aktuelle Position<\/span>\n                                        <\/button>\n                            <\/div>\n                        <\/div>\n\n\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('airport-transfer', 2)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                            <\/button>\n                            <\/div>\n                        <\/div>\n\n                            <!-- Step 2: Tarih ve Saat -->\n                    <div class=\"step-content\" data-step=\"2\">\n                                <div class=\"form-row\">\n                        <div class=\"form-group\">\n                                        <label for=\"airport_pickup_date\" data-translate=\"pickup_date\">Abholdatum<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-calendar-alt input-icon\"><\/i>\n                                            <input type=\"date\" id=\"airport_pickup_date\" name=\"airport_pickup_date\" value=\"2026-05-06\" required>\n                                        <\/div>\n                                    <\/div>\n                                    <div class=\"form-group\">\n                                        <label for=\"airport_pickup_time\" data-translate=\"pickup_time\">Abholzeit<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-clock input-icon\"><\/i>\n                                            <input type=\"time\" id=\"airport_pickup_time\" name=\"airport_pickup_time\" value=\"14:05\" required>\n                                        <\/div>\n                                    <\/div>\n                        <\/div>\n                        \n                        <!-- Mobilde Butonlar\u0131n \u00dcst\u00fcnde G\u00f6sterilecek Distance\/Duration Bilgisi -->\n                        <div class=\"mobile-route-info\">\n                            <div class=\"mobile-info-item\">\n                                <i class=\"fas fa-route mobile-info-icon\"><\/i>\n                                <div class=\"mobile-info-content\">\n                                    <div class=\"mobile-info-label\">Distance<\/div>\n                                    <div class=\"mobile-info-value\" id=\"mobile-distance-value-airport\">-<\/div>\n                                <\/div>\n                            <\/div>\n                            <div class=\"mobile-info-item\">\n                                <i class=\"fas fa-clock mobile-info-icon\"><\/i>\n                                <div class=\"mobile-info-content\">\n                                    <div class=\"mobile-info-label\">Duration<\/div>\n                                    <div class=\"mobile-info-value\" id=\"mobile-duration-value-airport\">-<\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('airport-transfer', 1)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                            <\/button>\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('airport-transfer', 3)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n\n                            <!-- Step 3: Yolcu Say\u0131s\u0131 -->\n                    <div class=\"step-content\" data-step=\"3\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                        <label for=\"airport_adult_count\" data-translate=\"adult_count\">Erwachsene<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-user input-icon\"><\/i>\n                                            <select id=\"airport_adult_count\" name=\"airport_adult_count\" required>\n                                                <option value=\"1\" selected>1 adult<\/option>\n                                                <option value=\"2\">2 adults<\/option>\n                                                <option value=\"3\">3 adults<\/option>\n                                                <option value=\"4\">4 adults<\/option>\n                                                <option value=\"5\">5 adults<\/option>\n                                                <option value=\"6\">6 adults<\/option>\n                                                <option value=\"7\">7 adults<\/option>\n                                                <option value=\"8\">8 adults<\/option>\n                                            <\/select>\n                            <\/div>\n                            <\/div>\n                            <div class=\"form-group\">\n                                        <label for=\"airport_child_count\" data-translate=\"child_count\">Kinder<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-child input-icon\"><\/i>\n                                            <select id=\"airport_child_count\" name=\"airport_child_count\" required>\n                                                <option value=\"0\" selected>0 children<\/option>\n                                                <option value=\"1\">1 child<\/option>\n                                                <option value=\"2\">2 children<\/option>\n                                                <option value=\"3\">3 children<\/option>\n                                                <option value=\"4\">4 children<\/option>\n                                                <option value=\"5\">5 children<\/option>\n                                                <option value=\"6\">6 children<\/option>\n                                            <\/select>\n                                        <\/div>\n                            <\/div>\n                        <\/div>\n\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('airport-transfer', 2)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                                    <\/button>\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('airport-transfer', 4)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                        <\/button>\n                                <\/div>\n                    <\/div>\n\n                            <!-- Step 4: Bagaj ve Ekipman -->\n                            <div class=\"step-content\" data-step=\"4\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                        <label for=\"airport_luggage_count\">Luggage Count<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-suitcase input-icon\"><\/i>\n                                            <select id=\"airport_luggage_count\" name=\"airport_luggage_count\" required>\n                                                <option value=\"0\">0 luggage<\/option>\n                                                <option value=\"1\" selected>1 luggage<\/option>\n                                                <option value=\"2\">2 luggage<\/option>\n                                                <option value=\"3\">3 luggage<\/option>\n                                                <option value=\"4\">4 luggage<\/option>\n                                                <option value=\"5+\">5+ luggage<\/option>\n                                            <\/select>\n                                        <\/div>\n                            <\/div>\n                            <div class=\"form-group\">\n                                        <label for=\"airport_ski_count\">Ski\/Snowboard Count<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-skiing input-icon\"><\/i>\n                                            <select id=\"airport_ski_count\" name=\"airport_ski_count\" required>\n                                                <option value=\"0\" selected>0 pieces<\/option>\n                                                <option value=\"1\">1 piece<\/option>\n                                                <option value=\"2\">2 pieces<\/option>\n                                                <option value=\"3\">3 pieces<\/option>\n                                                <option value=\"4\">4 pieces<\/option>\n                                                <option value=\"5+\">5+ pieces<\/option>\n                                            <\/select>\n                                        <\/div>\n                            <\/div>\n                        <\/div>\n\n                                <div class=\"form-group\">\n                                    <label for=\"airport_child_seat_count\">Child Seat Count<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-baby-carriage input-icon\"><\/i>\n                                        <select id=\"airport_child_seat_count\" name=\"airport_child_seat_count\" required>\n                                            <option value=\"0\" selected>0 adet<\/option>\n                                            <option value=\"1\">1 adet<\/option>\n                                            <option value=\"2\">2 adet<\/option>\n                                            <option value=\"3\">3 adet<\/option>\n                                        <\/select>\n                                    <\/div>\n                                <\/div>\n                                \n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('airport-transfer', 3)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                                    <\/button>\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('airport-transfer', 5)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                                    <\/button>\n                                <\/div>\n                            <\/div>\n\n                            <!-- Step 5: \u0130leti\u015fim Bilgileri -->\n                            <div class=\"step-content\" data-step=\"5\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                        <label for=\"airport_passenger_name\" data-translate=\"passenger_name\">Passagier Name<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-user input-icon\"><\/i>\n                                            <input type=\"text\" id=\"airport_passenger_name\" name=\"airport_passenger_name\" data-translate-placeholder=\"enter_name\" placeholder=\"Geben Sie Ihren Namen ein\" required>\n                                        <\/div>\n                            <\/div>\n                            <div class=\"form-group\">\n                                        <label for=\"airport_passenger_phone\" data-translate=\"passenger_phone\">Telefonnummer<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <input type=\"tel\" id=\"airport_passenger_phone\" name=\"airport_passenger_phone\" data-translate-placeholder=\"phone_number\" placeholder=\"Ihre Telefonnummer\" required>\n                                        <\/div>\n                            <\/div>\n                        <\/div>\n\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                        <label for=\"airport_passenger_email\">Email<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-envelope input-icon\"><\/i>\n                                            <input type=\"email\" id=\"airport_passenger_email\" name=\"airport_passenger_email\" placeholder=\"Your email address\" required>\n                                        <\/div>\n                            <\/div>\n                        <\/div>\n\n                        <div class=\"form-group\">\n                                    <label for=\"airport_special_requests\" data-translate=\"special_requests\">Besondere W\u00fcnsche<\/label>\n                                    <div class=\"input-wrapper\">\n                                        <i class=\"fas fa-comment-alt input-icon\"><\/i>\n                                        <textarea id=\"airport_special_requests\" name=\"airport_special_requests\" data-translate-placeholder=\"special_requests_placeholder\" placeholder=\"Geben Sie Ihre besonderen W\u00fcnsche ein (optional)\"><\/textarea>\n                                    <\/div>\n                        <\/div>\n\n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('airport-transfer', 4)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                            <\/button>\n                                    <button type=\"button\" class=\"btn-next\" onclick=\"nextStep('airport-transfer', 6)\">\n                                        <i class=\"fas fa-arrow-right\"><\/i> <span data-translate=\"next_step\">N\u00e4chster Schritt<\/span>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n\n                            <!-- Step 6: \u00d6deme Y\u00f6ntemi -->\n                            <div class=\"step-content\" data-step=\"6\">\n                                <div class=\"payment-selection\">\n                                    <div class=\"payment-options\">\n                                        <label class=\"payment-option\">\n                                            <input type=\"radio\" name=\"airport_payment_method\" value=\"cash\" checked>\n                                            <span class=\"payment-label\">\n                                                <i class=\"fas fa-money-bill-wave\"><\/i>\n                                                <strong>Cash in Taxi<\/strong>\n                                                <small>Payment on delivery<\/small>\n                                            <\/span>\n                                        <\/label>\n                                        <label class=\"payment-option\">\n                                            <input type=\"radio\" name=\"airport_payment_method\" value=\"credit_card\">\n                                            <span class=\"payment-label\">\n                                                <i class=\"fas fa-credit-card\"><\/i>\n                                                <strong>Credit Card in Taxi<\/strong>\n                                                <small>Card payment on delivery<\/small>\n                                            <\/span>\n                                        <\/label>\n                                    <\/div>\n                                <\/div>\n                                \n                                <!-- Fatura Se\u00e7ene\u011fi -->\n                            <div class=\"form-group\">\n                                    <div class=\"checkbox-wrapper\">\n                                        <label class=\"checkbox-label\">\n                                            <input type=\"checkbox\" id=\"airport_need_invoice\" name=\"airport_need_invoice\" onchange=\"toggleInvoiceFields()\">\n                                            <span class=\"checkbox-custom\"><\/span>\n                                            <span class=\"checkbox-text\">I need an invoice<\/span>\n                                        <\/label>\n                            <\/div>\n                        <\/div>\n\n                                <!-- Fatura Bilgileri (Gizli) -->\n                                <div id=\"invoice-fields\" class=\"invoice-fields\" style=\"display: none;\">\n                                    <h5 data-translate=\"invoice_information\">Rechnungsinformationen<\/h5>\n                                    \n                            <div class=\"form-group\">\n                                        <label for=\"airport_invoice_type\" data-translate=\"invoice_type\">Rechnungstyp<\/label>\n                                        <div class=\"input-wrapper\">\n                                            <i class=\"fas fa-file-invoice input-icon\"><\/i>\n                                            <select id=\"airport_invoice_type\" name=\"airport_invoice_type\" onchange=\"toggleInvoiceTypeFields()\">\n                                                <option value=\"person\" data-translate=\"personal\">Privat<\/option>\n                                                <option value=\"company\" data-translate=\"corporate\">Firma<\/option>\n                                            <\/select>\n                            <\/div>\n                        <\/div>\n\n                                    <!-- \u015eah\u0131s Fatura Bilgileri -->\n                                    <div id=\"person-invoice-fields\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                                <label for=\"airport_invoice_name\" data-translate=\"invoice_name\">Rechnungsname<\/label>\n                                                <div class=\"input-wrapper\">\n                                                    <i class=\"fas fa-user input-icon\"><\/i>\n                                                    <input type=\"text\" id=\"airport_invoice_name\" name=\"airport_invoice_name\" data-translate-placeholder=\"enter_name\" placeholder=\"Geben Sie Ihren Namen ein\">\n                                                <\/div>\n                            <\/div>\n                            <div class=\"form-group\">\n                                                <label for=\"airport_invoice_tc\" data-translate=\"invoice_tc\">Steuer-ID<\/label>\n                                                <div class=\"input-wrapper\">\n                                                    <i class=\"fas fa-id-card input-icon\"><\/i>\n                                                    <input type=\"text\" id=\"airport_invoice_tc\" name=\"airport_invoice_tc\" data-translate-placeholder=\"your_id_number\" placeholder=\"Ihre Ausweisnummer\">\n                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n                                        <div class=\"form-group\">\n                                            <label for=\"airport_invoice_address\" data-translate=\"invoice_address\">Adresse<\/label>\n                                            <div class=\"input-wrapper\">\n                                                <i class=\"fas fa-map-marker-alt input-icon\"><\/i>\n                                                <textarea id=\"airport_invoice_address\" name=\"airport_invoice_address\" data-translate-placeholder=\"enter_invoice_address\" placeholder=\"Geben Sie Ihre Rechnungsadresse ein\"><\/textarea>\n                                            <\/div>\n                            <\/div>\n                        <\/div>\n\n                                    <!-- \u015eirket Fatura Bilgileri -->\n                                    <div id=\"company-invoice-fields\" style=\"display: none;\">\n                        <div class=\"form-row\">\n                            <div class=\"form-group\">\n                                                <label for=\"airport_invoice_company_name\" data-translate=\"invoice_company_name\">Firmenname<\/label>\n                                                <div class=\"input-wrapper\">\n                                                    <i class=\"fas fa-building input-icon\"><\/i>\n                                                    <input type=\"text\" id=\"airport_invoice_company_name\" name=\"airport_invoice_company_name\" data-translate-placeholder=\"enter_company_name\" placeholder=\"Firmenname eingeben\">\n                                                <\/div>\n                            <\/div>\n                            <div class=\"form-group\">\n                                                <label for=\"airport_invoice_tax_number\" data-translate=\"invoice_tax_number\">Steuernummer<\/label>\n                                                <div class=\"input-wrapper\">\n                                                    <i class=\"fas fa-file-alt input-icon\"><\/i>\n                                                    <input type=\"text\" id=\"airport_invoice_tax_number\" name=\"airport_invoice_tax_number\" data-translate-placeholder=\"tax_number_placeholder\" placeholder=\"Steuernummer\">\n                            <\/div>\n                        <\/div>\n                                        <\/div>\n                                        <div class=\"form-row\">\n                        <div class=\"form-group\">\n                                                <label for=\"airport_invoice_tax_office\" data-translate=\"invoice_tax_office\">Finanzamt<\/label>\n                                                <div class=\"input-wrapper\">\n                                                    <i class=\"fas fa-landmark input-icon\"><\/i>\n                                                    <input type=\"text\" id=\"airport_invoice_tax_office\" name=\"airport_invoice_tax_office\" data-translate-placeholder=\"tax_office_placeholder\" placeholder=\"Finanzamt\">\n                        <\/div>\n                        <\/div>\n                                            <div class=\"form-group\">\n                                                <label for=\"airport_invoice_phone\" data-translate=\"invoice_phone\">Telefon<\/label>\n                                                <div class=\"input-wrapper\">\n                                                    <input type=\"tel\" id=\"airport_invoice_phone\" name=\"airport_invoice_phone\" data-translate-placeholder=\"company_phone\" placeholder=\"Firmen Telefon\">\n                    <\/div>\n                                            <\/div>\n                                        <\/div>\n                                        <div class=\"form-group\">\n                                            <label for=\"airport_invoice_company_address\" data-translate=\"invoice_company_address\">Firmenadresse<\/label>\n                                            <div class=\"input-wrapper\">\n                                                <i class=\"fas fa-map-marker-alt input-icon\"><\/i>\n                                                <textarea id=\"airport_invoice_company_address\" name=\"airport_invoice_company_address\" data-translate-placeholder=\"enter_company_address\" placeholder=\"Firmenadresse eingeben\"><\/textarea>\n                                            <\/div>\n                            <\/div>\n                            <\/div>\n                        <\/div>\n\n                                <!-- Honeypot field (bot protection) -->\n                                <input type=\"text\" name=\"website\" value=\"\" style=\"position: absolute; left: -9999px; opacity: 0; pointer-events: none; tabindex: -1;\" autocomplete=\"off\" aria-hidden=\"true\">\n                                \n                                <div class=\"step-navigation\">\n                                    <button type=\"button\" class=\"btn-prev\" onclick=\"prevStep('airport-transfer', 5)\">\n                                        <i class=\"fas fa-arrow-left\"><\/i> <span data-translate=\"previous_step\">Vorheriger Schritt<\/span>\n                            <\/button>\n                                    <button type=\"submit\" class=\"booking-btn\" id=\"airport-booking-btn\">\n                                        <i class=\"fas fa-check-circle\"><\/i> <span data-translate=\"book_now\">Jetzt buchen<\/span>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n            <\/div>\n        <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <script>\n        \/\/ Global variables\n        let map;\n        let directionsService;\n        let directionsRenderer;\n        let quickPickupAutocomplete, quickDropoffAutocomplete;\n        let airportPickupAutocomplete, airportDropoffAutocomplete;\n        let taxiMarker, taxiAnimation;\n        \n        document.addEventListener('DOMContentLoaded', function() {\n            \/\/ Google Maps'i ba\u015flat - callback ile otomatik \u00e7a\u011fr\u0131lacak\n            \/\/ initGoogleMaps(); \/\/ callback ile otomatik \u00e7a\u011fr\u0131lacak\n            \/\/ initAutocomplete(); \/\/ initGoogleMaps i\u00e7inde \u00e7a\u011fr\u0131lacak\n            \n            \/\/ Dinamik y\u00fckseklik ayarla\n            adjustMapHeight();\n            \n            \/\/ Swap button event listeners\n            document.getElementById('quick-swap-locations-btn').addEventListener('click', function(e) {\n                e.preventDefault();\n                e.stopPropagation();\n                swapLocations('quick');\n            });\n            \n            document.getElementById('airport-swap-locations-btn').addEventListener('click', function(e) {\n                e.preventDefault();\n                e.stopPropagation();\n                swapLocations('airport');\n            });\n            \n            \/\/ Initialize step forms\n            initializeStepForms();\n            \n            \/\/ Service type change\n            document.querySelectorAll('input[name=\"service_type\"]').forEach(function(radio) {\n                radio.addEventListener('change', function() {\n                    const quickForm = document.getElementById('quick-taxi-form');\n                    const airportForm = document.getElementById('airport-transfer-form');\n                    \n                    if (this.value === 'quick_taxi') {\n                        quickForm.style.display = 'block';\n                        airportForm.style.display = 'none';\n                        resetFormToFirstStep('quick-taxi');\n                    } else if (this.value === 'airport_transfer') {\n                        quickForm.style.display = 'none';\n                        airportForm.style.display = 'block';\n                        resetFormToFirstStep('airport-transfer');\n                    }\n                    \n                    \/\/ Form de\u011fi\u015fikli\u011finde harita y\u00fcksekli\u011fini ayarla\n                    setTimeout(adjustMapHeight, 100);\n                });\n            });\n            \n            \/\/ Form submission handlers\n            document.getElementById('quick-booking-btn').addEventListener('click', function(e) {\n                e.preventDefault();\n                submitBooking('quick');\n            });\n            \n            document.getElementById('airport-booking-btn').addEventListener('click', function(e) {\n                e.preventDefault();\n                submitBooking('airport');\n            });\n            \n            \/\/ Window resize event\n            window.addEventListener('resize', function() {\n                setTimeout(adjustMapHeight, 100);\n            });\n        });\n\n        \/\/ Google Maps initialization\n        function initGoogleMaps() {\n            if (typeof google === 'undefined' || !google.maps) {\n\/\/ Google Maps API not loaded\n                return;\n            }\n\n            \/\/ Zaten ba\u015flat\u0131lm\u0131\u015fsa tekrar ba\u015flatma\n            if (map) {\n\/\/ Google Maps already initialized\n                return;\n            }\n\n            \n            \/\/ Ana harita (sol tarafta sabit)\n            const mapElement = document.getElementById('map');\n            if (mapElement) {\n                map = new google.maps.Map(mapElement, {\n                    center: { lat: 47.1275, lng: 10.2636 }, \/\/ St. Anton am Arlberg\n                    zoom: 10,\n                    mapTypeControl: false,\n                    streetViewControl: false,\n                    fullscreenControl: false,\n                    zoomControl: false,\n                    panControl: false,\n                    rotateControl: false,\n                    scaleControl: false,\n                    overviewMapControl: false,\n                    keyboardShortcuts: false,\n                    scrollwheel: false,\n                    disableDoubleClickZoom: true,\n                    draggable: true,\n                    styles: [\n                        \/\/ POI'leri gizle\n                        {\n                            featureType: \"poi\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.business\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.attraction\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.government\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.medical\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.park\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.place_of_worship\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.school\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"poi.sports_complex\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"transit\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"transit.station\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"administrative\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"administrative.country\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"administrative.province\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"administrative.neighborhood\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"landscape\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"water\",\n                            elementType: \"labels\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"road\",\n                            elementType: \"labels\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"road\",\n                            elementType: \"labels.text\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        {\n                            featureType: \"road\",\n                            elementType: \"labels.icon\",\n                            stylers: [{ visibility: \"off\" }]\n                        },\n                        \/\/ \u015eehir isimlerini g\u00f6ster\n                        {\n                            featureType: \"administrative.locality\",\n                            elementType: \"labels\",\n                            stylers: [{ visibility: \"on\" }]\n                        },\n                        {\n                            featureType: \"administrative.locality\",\n                            elementType: \"labels.text\",\n                            stylers: [{ visibility: \"on\" }]\n                        }\n                    ]\n                });\n            }\n            \n            directionsService = new google.maps.DirectionsService();\n            directionsRenderer = new google.maps.DirectionsRenderer({\n                draggable: false,\n                map: map,\n                suppressMarkers: false,\n                hideRouteList: true,\n                suppressInfoWindows: true,\n                suppressBicyclingLayer: true,\n                preserveViewport: false, \/\/ Otomatik viewport ayar\u0131 i\u00e7in false\n                polylineOptions: {\n                    strokeColor: '#00d66f',\n                    strokeWeight: 4,\n                    strokeOpacity: 0.8\n                },\n                markerOptions: {\n                    clickable: false,\n                    animation: google.maps.Animation.DROP,\n                    optimized: false \/\/ Daha iyi g\u00f6r\u00fcn\u00fcm i\u00e7in\n                }\n            });\n\n            \/\/ Autocomplete'leri ba\u015flat\n            initAutocomplete();\n        }\n\n        \/\/ Autocomplete initialization\n        function initAutocomplete() {\n            if (typeof google === 'undefined' || !google.maps || !google.maps.places) {\n\/\/ Google Maps Places API not loaded\n                return;\n            }\n            \n            \/\/ Quick Taxi autocomplete\n            const quickPickupInput = document.getElementById('quick_pickup_location');\n            const quickDropoffInput = document.getElementById('quick_dropoff_location');\n            \n            if (quickPickupInput) {\n                quickPickupAutocomplete = new google.maps.places.Autocomplete(quickPickupInput, {\n                    componentRestrictions: { country: ['at', 'ch', 'de', 'it'] }, \/\/ Avusturya, \u0130svi\u00e7re, Almanya, \u0130talya\n                    types: ['geocode', 'establishment'],\n                    fields: ['geometry', 'name', 'formatted_address', 'place_id', 'types']\n                });\n                quickPickupAutocomplete.addListener('place_changed', function() {\n                    calculateRoute();\n                });\n            }\n            \n            if (quickDropoffInput) {\n                quickDropoffAutocomplete = new google.maps.places.Autocomplete(quickDropoffInput, {\n                    componentRestrictions: { country: ['at', 'ch', 'de', 'it'] }, \/\/ Avusturya, \u0130svi\u00e7re, Almanya, \u0130talya\n                    types: ['geocode', 'establishment'],\n                    fields: ['geometry', 'name', 'formatted_address', 'place_id', 'types']\n                });\n                quickDropoffAutocomplete.addListener('place_changed', function() {\n                    calculateRoute();\n                });\n            }\n            \n            \/\/ Airport Transfer autocomplete\n            const airportPickupSelect = document.getElementById('airport_pickup_location');\n            const airportDropoffInput = document.getElementById('airport_dropoff_location');\n            \n            if (airportPickupSelect) {\n                airportPickupSelect.addEventListener('change', function() {\n                    calculateRoute();\n                });\n            }\n            \n            if (airportDropoffInput) {\n                airportDropoffAutocomplete = new google.maps.places.Autocomplete(airportDropoffInput, {\n                    componentRestrictions: { country: ['at', 'ch', 'de', 'it'] }, \/\/ Avusturya, \u0130svi\u00e7re, Almanya, \u0130talya\n                    types: ['geocode', 'establishment'],\n                    fields: ['geometry', 'name', 'formatted_address', 'place_id', 'types']\n                });\n                airportDropoffAutocomplete.addListener('place_changed', function() {\n                    calculateRoute();\n                });\n            }\n        }\n\n        \/\/ Invoice Fields Toggle Functions\n        function toggleInvoiceFields() {\n            const checkbox = document.getElementById('airport_need_invoice');\n            const invoiceFields = document.getElementById('invoice-fields');\n            \n            if (checkbox.checked) {\n                invoiceFields.style.display = 'block';\n                document.getElementById('airport_invoice_type').value = 'person';\n                toggleInvoiceTypeFields();\n    } else {\n                invoiceFields.style.display = 'none';\n                clearInvoiceFields();\n            }\n        }\n\n        function toggleInvoiceTypeFields() {\n            const invoiceType = document.getElementById('airport_invoice_type').value;\n            const personFields = document.getElementById('person-invoice-fields');\n            const companyFields = document.getElementById('company-invoice-fields');\n            \n            if (invoiceType === 'person') {\n                personFields.style.display = 'block';\n                companyFields.style.display = 'none';\n            } else if (invoiceType === 'company') {\n                personFields.style.display = 'none';\n                companyFields.style.display = 'block';\n            }\n        }\n\n        function clearInvoiceFields() {\n            const invoiceInputs = document.querySelectorAll('#invoice-fields input, #invoice-fields textarea');\n            invoiceInputs.forEach(input => {\n                input.value = '';\n            });\n        }\n\n        \/\/ Swap Locations Function\n        function swapLocations(formType) {\n            let pickupInput, dropoffInput;\n            \n            if (formType === 'quick') {\n                pickupInput = document.getElementById('quick_pickup_location');\n                dropoffInput = document.getElementById('quick_dropoff_location');\n            } else if (formType === 'airport') {\n                pickupInput = document.getElementById('airport_pickup_location');\n                dropoffInput = document.getElementById('airport_dropoff_location');\n            }\n            \n            if (pickupInput && dropoffInput) {\n                const pickupValue = pickupInput.value;\n                const dropoffValue = dropoffInput.value;\n                \n                if (formType === 'quick') {\n                    pickupInput.value = dropoffValue;\n                    dropoffInput.value = pickupValue;\n                } else if (formType === 'airport') {\n                    \/\/ Airport Transfer: Element tiplerini de\u011fi\u015ftir\n                    \n                    \/\/ Pickup ve dropoff wrapper'lar\u0131n\u0131 bul\n                    const pickupWrapper = pickupInput.closest('.input-wrapper');\n                    const dropoffWrapper = dropoffInput.closest('.input-wrapper');\n                    \n                    if (pickupWrapper && dropoffWrapper) {\n                        \/\/ Mevcut HTML'leri sakla\n                        const pickupHTML = pickupWrapper.innerHTML;\n                        const dropoffHTML = dropoffWrapper.innerHTML;\n                        \n                        \/\/ HTML'leri de\u011fi\u015ftir\n                        pickupWrapper.innerHTML = dropoffHTML;\n                        dropoffWrapper.innerHTML = pickupHTML;\n                        \n                        \/\/ Yeni elementleri bul ve de\u011ferleri set et\n                        const newPickupInput = document.getElementById('airport_pickup_location');\n                        const newDropoffInput = document.getElementById('airport_dropoff_location');\n                        \n                        if (newPickupInput && newDropoffInput) {\n                            \/\/ De\u011ferleri tamamen yer de\u011fi\u015ftir\n                            if (newPickupInput.tagName === 'SELECT') {\n                                \/\/ E\u011fer yeni pickup select ise, dropoff de\u011ferini se\u00e7\n                                \/\/ \u00d6nce dropdown se\u00e7eneklerini kontrol et\n                                const optionExists = Array.from(newPickupInput.options).some(option => option.value === dropoffValue);\n                                if (optionExists) {\n                                    newPickupInput.value = dropoffValue;\n                                } else {\n                                    \/\/ E\u011fer de\u011fer dropdown'da yoksa, bo\u015f b\u0131rak\n                                    newPickupInput.value = '';\n                                    \/\/ Kullan\u0131c\u0131ya bilgi ver\n                                    if (dropoffValue) {\n                                    }\n                                }\n                            } else {\n                                \/\/ E\u011fer yeni pickup input ise, dropoff de\u011ferini yaz\n                                newPickupInput.value = dropoffValue;\n                            }\n                            \n                            if (newDropoffInput.tagName === 'SELECT') {\n                                \/\/ E\u011fer yeni dropoff select ise, pickup de\u011ferini se\u00e7\n                                \/\/ \u00d6nce dropdown se\u00e7eneklerini kontrol et\n                                const optionExists = Array.from(newDropoffInput.options).some(option => option.value === pickupValue);\n                                if (optionExists) {\n                                    newDropoffInput.value = pickupValue;\n                                } else {\n                                    \/\/ E\u011fer de\u011fer dropdown'da yoksa, bo\u015f b\u0131rak\n                                    newDropoffInput.value = '';\n                                    \/\/ Kullan\u0131c\u0131ya bilgi ver\n                                    if (pickupValue) {\n                                    }\n                                }\n                            } else {\n                                \/\/ E\u011fer yeni dropoff input ise, pickup de\u011ferini yaz\n                                newDropoffInput.value = pickupValue;\n                            }\n                            \n                            \n                            \/\/ Autocomplete'leri yeniden ba\u015flat\n                            setTimeout(() => {\n                                \/\/ Pickup i\u00e7in autocomplete\n                                if (newPickupInput.tagName === 'INPUT') {\n                                    if (airportPickupAutocomplete) {\n                                        google.maps.event.clearInstanceListeners(airportPickupAutocomplete);\n                                    }\n                                    airportPickupAutocomplete = new google.maps.places.Autocomplete(newPickupInput, {\n                                        componentRestrictions: { country: ['at', 'ch', 'de', 'it'] },\n                                        types: ['geocode', 'establishment'],\n                                        fields: ['geometry', 'name', 'formatted_address', 'place_id', 'types']\n                                    });\n                                    airportPickupAutocomplete.addListener('place_changed', function() {\n                                        calculateRoute();\n                                    });\n                                } else if (newPickupInput.tagName === 'SELECT') {\n                                    if (airportPickupAutocomplete) {\n                                        google.maps.event.clearInstanceListeners(airportPickupAutocomplete);\n                                        airportPickupAutocomplete = null;\n                                    }\n                                    newPickupInput.addEventListener('change', function() {\n                                        calculateRoute();\n                                    });\n                                }\n                                \n                                \/\/ Dropoff i\u00e7in autocomplete\n                                if (newDropoffInput.tagName === 'INPUT') {\n                                    if (airportDropoffAutocomplete) {\n                                        google.maps.event.clearInstanceListeners(airportDropoffAutocomplete);\n                                    }\n                                    airportDropoffAutocomplete = new google.maps.places.Autocomplete(newDropoffInput, {\n                                        componentRestrictions: { country: ['at', 'ch', 'de', 'it'] },\n                                        types: ['geocode', 'establishment'],\n                                        fields: ['geometry', 'name', 'formatted_address', 'place_id', 'types']\n                                    });\n                                    airportDropoffAutocomplete.addListener('place_changed', function() {\n                                        calculateRoute();\n                                    });\n                                } else if (newDropoffInput.tagName === 'SELECT') {\n                                    if (airportDropoffAutocomplete) {\n                                        google.maps.event.clearInstanceListeners(airportDropoffAutocomplete);\n                                        airportDropoffAutocomplete = null;\n                                    }\n                                    newDropoffInput.addEventListener('change', function() {\n                                        calculateRoute();\n                                    });\n                                }\n                            }, 100);\n                        }\n                    }\n                }\n                \n                \/\/ Event'leri tetikle\n                if (formType === 'quick') {\n                    pickupInput.dispatchEvent(new Event('change', { bubbles: true }));\n                    dropoffInput.dispatchEvent(new Event('change', { bubbles: true }));\n                } else if (formType === 'airport') {\n                    \/\/ Yeni elementlerde event'leri tetikle\n                    const newPickupInput = document.getElementById('airport_pickup_location');\n                    const newDropoffInput = document.getElementById('airport_dropoff_location');\n                    \n                    if (newPickupInput) {\n                        newPickupInput.dispatchEvent(new Event('change', { bubbles: true }));\n                    }\n                    if (newDropoffInput) {\n                        newDropoffInput.dispatchEvent(new Event('change', { bubbles: true }));\n                    }\n                }\n                \n                setTimeout(() => {\n                    if (pickupValue && dropoffValue) {\n                        calculateRoute();\n                    }\n                }, 300);\n                \n                const swapBtn = document.getElementById(formType + '-swap-locations-btn');\n                if (swapBtn) {\n                    swapBtn.style.transform = 'scale(0.95)';\n                    setTimeout(() => {\n                        swapBtn.style.transform = 'scale(1)';\n                    }, 150);\n                }\n            }\n        }\n\n        \/\/ Step Navigation Functions\n        function nextStep(formType, nextStepNumber) {\n            const form = document.getElementById(formType + '-form');\n            const currentStep = form.querySelector('.step-content.active');\n            const nextStep = form.querySelector(`.step-content[data-step=\"${nextStepNumber}\"]`);\n            \n            if (currentStep && nextStep) {\n                \/\/ Validate current step\n                if (validateCurrentStep(currentStep)) {\n                    \/\/ Hide current step\n                    currentStep.classList.remove('active');\n                    \n                    \/\/ Show next step\n                    nextStep.classList.add('active');\n                    \n                    \/\/ Update step indicator\n                    updateStepIndicator(form, nextStepNumber);\n                    \n                    \/\/ Harita y\u00fcksekli\u011fini ayarla\n                    setTimeout(adjustMapHeight, 100);\n                }\n            }\n        }\n\n        function prevStep(formType, prevStepNumber) {\n            const form = document.getElementById(formType + '-form');\n            const currentStep = form.querySelector('.step-content.active');\n            const prevStep = form.querySelector(`.step-content[data-step=\"${prevStepNumber}\"]`);\n            \n            if (currentStep && prevStep) {\n                \/\/ Hide current step\n                currentStep.classList.remove('active');\n                \n                \/\/ Show previous step\n                prevStep.classList.add('active');\n                \n                \/\/ Update step indicator\n                updateStepIndicator(form, prevStepNumber);\n                \n                \/\/ Harita y\u00fcksekli\u011fini ayarla\n                setTimeout(adjustMapHeight, 100);\n            }\n        }\n\n        function updateStepIndicator(form, activeStepNumber) {\n            const steps = form.querySelectorAll('.step');\n            \n            steps.forEach((step, index) => {\n                const stepNumber = index + 1;\n                \n                if (stepNumber < activeStepNumber) {\n                    step.classList.add('completed');\n                    step.classList.remove('active');\n                } else if (stepNumber === activeStepNumber) {\n                    step.classList.add('active');\n                    step.classList.remove('completed');\n                } else {\n                    step.classList.remove('active', 'completed');\n                }\n            });\n        }\n\n        function validateCurrentStep(stepElement) {\n            const requiredInputs = stepElement.querySelectorAll('input[required], select[required], textarea[required]');\n            \n            for (let input of requiredInputs) {\n                if (!input.value.trim()) {\n                    input.focus();\n                    return false;\n                }\n            }\n            \n            return true;\n        }\n\n        function initializeStepForms() {\n            const forms = ['quick-taxi', 'airport-transfer'];\n            \n            forms.forEach(formType => {\n                const form = document.getElementById(formType + '-form');\n                if (form) {\n                    const steps = form.querySelectorAll('.step-content');\n                    \n                    steps.forEach((step, index) => {\n                        if (index === 0) {\n                            step.classList.add('active');\n                        } else {\n                            step.classList.remove('active');\n                        }\n                    });\n                }\n            });\n        }\n\n        function resetFormToFirstStep(formType) {\n            const form = document.getElementById(formType + '-form');\n            if (form) {\n                const steps = form.querySelectorAll('.step-content');\n                const stepIndicators = form.querySelectorAll('.step');\n                \n                \/\/ Reset all steps\n                steps.forEach((step, index) => {\n                    if (index === 0) {\n                        step.classList.add('active');\n                    } else {\n                        step.classList.remove('active');\n                    }\n                });\n                \n                \/\/ Reset step indicators\n                stepIndicators.forEach((indicator, index) => {\n                    if (index === 0) {\n                        indicator.classList.add('active');\n                    } else {\n                        indicator.classList.remove('active', 'completed');\n                    }\n                });\n            }\n        }\n\n        function calculateRoute() {\n            const quickForm = document.getElementById('quick-taxi-form');\n            const airportForm = document.getElementById('airport-transfer-form');\n            \n            let pickup, dropoff;\n            \n            if (quickForm.style.display !== 'none') {\n                pickup = document.getElementById('quick_pickup_location').value;\n                dropoff = document.getElementById('quick_dropoff_location').value;\n            } else if (airportForm.style.display !== 'none') {\n                const pickupSelect = document.getElementById('airport_pickup_location');\n                pickup = pickupSelect ? pickupSelect.value : '';\n                dropoff = document.getElementById('airport_dropoff_location').value;\n            }\n            \n            if (!pickup || !dropoff || !directionsService || !map) return;\n            \n            const request = {\n                origin: pickup,\n                destination: dropoff,\n                travelMode: google.maps.TravelMode.DRIVING,\n                unitSystem: google.maps.UnitSystem.METRIC\n            };\n            \n            directionsService.route(request, function(result, status) {\n                if (status === 'OK') {\n                    directionsRenderer.setDirections(result);\n                    updateDistanceInfo(result.routes[0]);\n                    \n                    \/\/ Koordinatlar\u0131 yakala ve global de\u011fi\u015fkenlere kaydet\n                    const route = result.routes[0];\n                    if (route.legs && route.legs[0]) {\n                        window.pickupCoordinates = {\n                            lat: route.legs[0].start_location.lat(),\n                            lng: route.legs[0].start_location.lng()\n                        };\n                        window.dropoffCoordinates = {\n                            lat: route.legs[0].end_location.lat(),\n                            lng: route.legs[0].end_location.lng()\n                        };\n                        \/\/ Coordinates captured\n                    }\n                    \n                    \/\/ Taksi animasyonunu ba\u015flat\n                    animateTaxi(result.routes[0]);\n                    \n                    \/\/ Haritay\u0131 rota \u00fczerine ortala\n                    const bounds = new google.maps.LatLngBounds();\n                    \n                    \/\/ Ba\u015flang\u0131\u00e7 ve biti\u015f noktalar\u0131n\u0131 bounds'a ekle\n                    bounds.extend(route.legs[0].start_location);\n                    bounds.extend(route.legs[0].end_location);\n                    \n                    \/\/ Rota \u00fczerindeki t\u00fcm noktalar\u0131 da ekle (daha iyi g\u00f6r\u00fcn\u00fcm i\u00e7in)\n                    const path = route.overview_path;\n                    for (let i = 0; i < path.length; i++) {\n                        bounds.extend(path[i]);\n                    }\n                    \n                    \/\/ Haritay\u0131 bounds'a g\u00f6re ortala (daha fazla padding ile)\n                    map.fitBounds(bounds, {\n                        top: 100,\n                        right: 100,\n                        bottom: 100,\n                        left: 100\n                    });\n                    \n                    \/\/ Zoom seviyesini s\u0131n\u0131rla (markerlar tam g\u00f6r\u00fcns\u00fcn)\n                    const listener = google.maps.event.addListener(map, 'idle', function() {\n                        if (map.getZoom() > 16) map.setZoom(16);\n                        if (map.getZoom() < 6) map.setZoom(6);\n                        google.maps.event.removeListener(listener);\n                    });\n                } else {\n                    \/\/ Directions request failed\n                }\n            });\n        }\n\n        function updateDistanceInfo(route) {\n            const distance = route.legs[0].distance.text;\n            const duration = route.legs[0].duration.text;\n            \n            \/\/ Global de\u011fi\u015fkenlere kaydet\n            window.distanceText = distance;\n            window.durationText = duration;\n            \n            \/\/ Update distance and duration displays (sol taraftaki harita bilgileri)\n            const distanceElement = document.getElementById('distance-value');\n            const durationElement = document.getElementById('duration-value');\n            \n            if (distanceElement) distanceElement.textContent = distance;\n            if (durationElement) durationElement.textContent = duration;\n            \n            \/\/ Mobilde butonlar\u0131n \u00fcst\u00fcndeki bilgileri de g\u00fcncelle (her iki form i\u00e7in)\n            const mobileDistanceElement = document.getElementById('mobile-distance-value');\n            const mobileDurationElement = document.getElementById('mobile-duration-value');\n            const mobileDistanceElementAirport = document.getElementById('mobile-distance-value-airport');\n            const mobileDurationElementAirport = document.getElementById('mobile-duration-value-airport');\n            \n            if (mobileDistanceElement) mobileDistanceElement.textContent = distance;\n            if (mobileDurationElement) mobileDurationElement.textContent = duration;\n            if (mobileDistanceElementAirport) mobileDistanceElementAirport.textContent = distance;\n            if (mobileDurationElementAirport) mobileDurationElementAirport.textContent = duration;\n            \n            \/\/ Distance and duration saved\n        }\n\n        \/\/ Taksi animasyonu fonksiyonu\n        function animateTaxi(route) {\n            \/\/ \u00d6nceki taksi marker\u0131n\u0131 temizle\n            if (taxiMarker) {\n                taxiMarker.setMap(null);\n            }\n            if (taxiAnimation) {\n                clearInterval(taxiAnimation);\n            }\n\n            const path = route.overview_path;\n            const startLocation = route.legs[0].start_location;\n            const endLocation = route.legs[0].end_location;\n            \n            \/\/ Create taxi marker - PNG with fallback\n            const iconUrl = (typeof taxi_booking_ajax !== 'undefined' && taxi_booking_ajax.plugin_url) ? \n                taxi_booking_ajax.plugin_url + 'assets\/img\/taxi_marker.png' : \n                'assets\/img\/taxi_marker.png';\n            const fallbackIcon = {\n                url: 'data:image\/svg+xml;charset=UTF-8,' + encodeURIComponent(`\n                    <svg width=\"80\" height=\"40\" viewBox=\"0 0 80 40\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                        <rect x=\"5\" y=\"10\" width=\"70\" height=\"20\" rx=\"10\" fill=\"#00d66f\" stroke=\"#fff\" stroke-width=\"2\"\/>\n                        <text x=\"40\" y=\"25\" text-anchor=\"middle\" fill=\"white\" font-family=\"Arial\" font-size=\"12\" font-weight=\"bold\">TAXI<\/text>\n                    <\/svg>\n                `),\n                scaledSize: new google.maps.Size(80, 40),\n                anchor: new google.maps.Point(40, 20)\n            };\n            \n            taxiMarker = new google.maps.Marker({\n                position: startLocation,\n                map: map,\n                icon: {\n                    url: iconUrl,\n                    scaledSize: new google.maps.Size(80, 40),\n                    anchor: new google.maps.Point(40, 20)\n                },\n                animation: google.maps.Animation.DROP\n            });\n            \n            \/\/ PNG y\u00fcklenmezse SVG kullan\n            setTimeout(() => {\n                if (taxiMarker && !taxiMarker.getIcon()) {\n                    taxiMarker.setIcon(fallbackIcon);\n                }\n            }, 2000);\n\n            \/\/ Animasyon parametreleri\n            const totalDuration = 3000; \/\/ 3 saniye\n            const steps = Math.min(path.length, 60); \/\/ Rota uzunlu\u011funa g\u00f6re ad\u0131m say\u0131s\u0131\n            const stepDuration = totalDuration \/ steps;\n            let currentStep = 0;\n\n            \/\/ Animasyonu ba\u015flat - rota \u00fczerinde git\n            taxiAnimation = setInterval(() => {\n                if (currentStep >= steps) {\n                    clearInterval(taxiAnimation);\n                    return;\n                }\n\n                const progress = currentStep \/ steps;\n                const pathIndex = Math.floor(progress * (path.length - 1));\n                const currentPosition = path[pathIndex];\n\n                taxiMarker.setPosition(currentPosition);\n                currentStep++;\n            }, stepDuration);\n        }\n\n        \/\/ Current location fonksiyonu\n        function getCurrentLocation(inputId) {\n            if (navigator.geolocation) {\n                navigator.geolocation.getCurrentPosition(function(position) {\n                    const lat = position.coords.latitude;\n                    const lng = position.coords.longitude;\n                    \n                    const geocoder = new google.maps.Geocoder();\n                    const latlng = { lat: lat, lng: lng };\n                    \n                    geocoder.geocode({ location: latlng }, function(results, status) {\n                        if (status === 'OK' && results[0]) {\n                            const input = document.getElementById(inputId);\n                            if (input) {\n                                input.value = results[0].formatted_address;\n                                input.dispatchEvent(new Event('change', { bubbles: true }));\n                                calculateRoute();\n                            }\n                        }\n                    });\n                }, function(error) {\n                    \/\/ Geolocation error\n                });\n            }\n        }\n\n        \/\/ Dinamik harita y\u00fcksekli\u011fi ayarlama\n        function adjustMapHeight() {\n            const formSection = document.querySelector('.form-section');\n            const mapContainer = document.querySelector('.map-container');\n            \n            if (formSection && mapContainer) {\n                const formHeight = formSection.offsetHeight;\n                const minHeight = 300;\n                const maxHeight = 800;\n                \n                \/\/ Form y\u00fcksekli\u011fine g\u00f6re harita y\u00fcksekli\u011fini ayarla\n                let mapHeight = Math.max(minHeight, Math.min(maxHeight, formHeight));\n                \n                mapContainer.style.height = mapHeight + 'px';\n                \n                \/\/ Google Maps'i yeniden boyutland\u0131r\n                if (map && google && google.maps) {\n                    setTimeout(() => {\n                        google.maps.event.trigger(map, 'resize');\n                    }, 100);\n                }\n            }\n        }\n\n        \/\/ Initialize or get intl-tel-input instances\n        function initOrGetPhoneInstances() {\n            const phoneInstances = {};\n            const phoneInputs = document.querySelectorAll('input[type=\"tel\"]');\n            \n            \n            phoneInputs.forEach(input => {\n                \n                \/\/ Try multiple methods to get existing instance\n                let instance = null;\n                \n                \/\/ Method 1: Try intlTelInputGlobals\n                if (window.intlTelInputGlobals) {\n                    instance = window.intlTelInputGlobals.getInstance(input);\n                }\n                \n                \/\/ Method 2: Try window.phoneInstances from script.js\n                if (!instance && window.phoneInstances) {\n                    instance = window.phoneInstances[input.id];\n                }\n                \n                \/\/ Method 3: Try direct property\n                if (!instance && input.intlTelInput) {\n                    instance = input.intlTelInput;\n                }\n                \n                if (instance) {\n                    phoneInstances[input.id] = instance;\n                    \n                    \/\/ Add country change listener to track changes\n                    input.addEventListener('countrychange', function() {\n                        const currentCountryData = instance.getSelectedCountryData();\n                    });\n                    \n                    \/\/ Log initial country\n                    const countryData = instance.getSelectedCountryData();\n                } else {\n                }\n            });\n            \n            \n            return phoneInstances;\n        }\n        \n        \/\/ Wait for script.js to initialize phone instances, then get them\n        function waitForPhoneInstances() {\n            return new Promise((resolve) => {\n                const checkInstances = () => {\n                    if (window.phoneInstances && Object.keys(window.phoneInstances).length > 0) {\n                        resolve(window.phoneInstances);\n                    } else {\n                        setTimeout(checkInstances, 100);\n                    }\n                };\n                checkInstances();\n            });\n        }\n        \n        \/\/ Define submitBooking function first (before async initialization)\n        window.submitBooking = async function(formType) {\n            \/\/ Get phone instances when they're ready\n            const phoneInstances = await waitForPhoneInstances();\n            try {\n                \n                \/\/ Form ID'lerini d\u00fczelt\n                const formId = formType === 'quick' ? 'quick-taxi-form' : 'airport-transfer-form';\n                const form = document.getElementById(formId);\n                const formData = new FormData();\n                \n                \/\/ \u00d6nce normal form verilerini topla (telefon hari\u00e7)\n                const inputs = form.querySelectorAll('input:not([type=\"tel\"]), select, textarea');\n                inputs.forEach(input => {\n                    if (input.type === 'radio' || input.type === 'checkbox') {\n                        if (input.checked) {\n                            formData.append(input.name, input.value);\n                        }\n                    } else if (input.name) {\n                        formData.append(input.name, input.value);\n                    }\n                });\n                \n                \/\/ Telefon numaralar\u0131n\u0131 i\u015fle\n                \/\/ Yolcu telefonu\n                const phoneInput = formType === 'quick' ? 'quick_passenger_phone' : 'airport_passenger_phone';\n                const phoneElement = document.getElementById(phoneInput);\n                const phoneInstance = phoneInstances[phoneInput];\n                \n                if (phoneInstance && phoneElement) {\n                    const countryData = phoneInstance.getSelectedCountryData();\n                    const countryCode = countryData.dialCode;\n                    \n                    const rawPhoneNumber = phoneElement.value;\n                    \n                    \/\/ Use getNumber() to get properly formatted number\n                    const fullNumber = phoneInstance.getNumber();\n                    \n                    \/\/ If getNumber() doesn't work, construct manually\n                    let finalNumber = fullNumber;\n                    if (!fullNumber || fullNumber === rawPhoneNumber) {\n                        const cleanPhoneNumber = rawPhoneNumber.replace(\/\\D\/g, '');\n                        finalNumber = '+' + countryCode + cleanPhoneNumber;\n                    }\n                    \n                    formData.append(phoneInput, finalNumber);\n                    \n                    \/\/ Also send the country code separately for PHP processing\n                    formData.append(phoneInput + '_country', countryData.iso2);\n                } else {\n                    if (phoneElement) {\n                        formData.append(phoneInput, phoneElement.value);\n                    }\n                }\n\n                \/\/ Fatura telefonu (sadece airport form i\u00e7in)\n                if (formType === 'airport') {\n                    const invoicePhoneElement = document.getElementById('airport_invoice_phone');\n                    const invoicePhoneInstance = phoneInstances['airport_invoice_phone'];\n                    \n                    if (invoicePhoneInstance && invoicePhoneElement && invoicePhoneElement.value.trim()) {\n                        const invoiceCountryData = invoicePhoneInstance.getSelectedCountryData();\n                        const invoiceCountryCode = invoiceCountryData.dialCode;\n                        \n                        const rawInvoicePhone = invoicePhoneElement.value;\n                        \n                        \/\/ Use getNumber() to get properly formatted number\n                        const fullInvoiceNumber = invoicePhoneInstance.getNumber();\n                        \n                        \/\/ If getNumber() doesn't work, construct manually\n                        let finalInvoiceNumber = fullInvoiceNumber;\n                        if (!fullInvoiceNumber || fullInvoiceNumber === rawInvoicePhone) {\n                            const cleanInvoicePhone = rawInvoicePhone.replace(\/\\D\/g, '');\n                            finalInvoiceNumber = '+' + invoiceCountryCode + cleanInvoicePhone;\n                        }\n                        \n                        formData.append('airport_invoice_phone', finalInvoiceNumber);\n                        \n                        \/\/ Also send the country code separately for PHP processing\n                        formData.append('airport_invoice_phone_country', invoiceCountryData.iso2);\n                    }\n                }\n                \n                \/\/ Koordinatlar\u0131 ekle\n                if (window.pickupCoordinates) {\n                    formData.append('pickup_lat', window.pickupCoordinates.lat);\n                    formData.append('pickup_lng', window.pickupCoordinates.lng);\n                }\n                if (window.dropoffCoordinates) {\n                    formData.append('dropoff_lat', window.dropoffCoordinates.lat);\n                    formData.append('dropoff_lng', window.dropoffCoordinates.lng);\n                }\n                \n                \/\/ Mesafe ve s\u00fcre bilgilerini ekle\n                if (window.distanceText) formData.append('distance_text', window.distanceText);\n                if (window.durationText) formData.append('duration_text', window.durationText);\n\n            \/\/ Add WordPress AJAX action\n            formData.append('action', 'taxi_booking_submit');\n            \n            \/\/ Add service type\n            formData.append('service_type', formType === 'quick' ? 'quick_taxi' : 'airport_transfer');\n            \n            \/\/ Nonce kontrol\u00fc ve g\u00f6nderimi\n            if (typeof taxi_booking_ajax === 'undefined') {\n                console.error('taxi_booking_ajax is not defined! Nonce cannot be sent.');\n                alert('Error: Page configuration error. Please refresh the page and try again.');\n                return;\n            }\n            \n            if (!taxi_booking_ajax.nonce) {\n                console.error('taxi_booking_ajax.nonce is not set!');\n                alert('Error: Security token missing. Please refresh the page and try again.');\n                return;\n            }\n            \n            \/\/ Nonce'u hem header'da hem FormData'da g\u00f6nder (uyumluluk i\u00e7in)\n            formData.append('nonce', taxi_booking_ajax.nonce);\n            \n            \/\/ Headers objesi olu\u015ftur\n            const headers = {\n                'X-WP-Nonce': taxi_booking_ajax.nonce\n            };\n            \n            console.log('Sending nonce:', taxi_booking_ajax.nonce.substring(0, 20) + '...');\n            console.log('AJAX URL:', taxi_booking_ajax.ajax_url);\n            \n            fetch(taxi_booking_ajax.ajax_url, {\n                method: 'POST',\n                body: formData,\n                headers: headers\n            })\n            .then(async response => {\n                const responseText = await response.text();\n                try {\n                    return JSON.parse(responseText);\n                } catch (e) {\n                    \/\/ JSON parse error\n                    throw new Error('Invalid JSON response');\n                }\n            })\n            .then(data => {\n                if (data.success) {\n                    \/\/ Show success message\n                    alert('Booking created successfully! Redirecting...');\n                    \n                    \/\/ Redirect to booking page\n                    if (data.data && data.data.redirect_url) {\n                        window.location.href = data.data.redirect_url;\n                    } else {\n                        \/\/ Fallback redirect\n                        window.location.href = 'https:\/\/app.the-taxi.at\/';\n                    }\n                } else {\n                    \/\/ Booking failed\n                    alert('Error: ' + (data.data || 'An unknown error occurred'));\n                }\n            })\n            .catch(error => {\n                \/\/ Form submission error\n                alert('An error occurred during the booking process. Please try again.');\n            });\n        } catch (error) {\n            \/\/ Form processing error\n            alert('An error occurred while processing the form. Please try again.');\n        }\n        };\n        \n        <\/script>\n        <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1443","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/pages\/1443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/comments?post=1443"}],"version-history":[{"count":13,"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/pages\/1443\/revisions"}],"predecessor-version":[{"id":1456,"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/pages\/1443\/revisions\/1456"}],"wp:attachment":[{"href":"https:\/\/the-taxi.at\/de\/wp-json\/wp\/v2\/media?parent=1443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}