{"id":1874,"date":"2025-02-03T08:14:34","date_gmt":"2025-02-03T07:14:34","guid":{"rendered":"https:\/\/stichtingdiva.nl\/?page_id=1874"},"modified":"2025-12-30T16:10:58","modified_gmt":"2025-12-30T15:10:58","slug":"rotes-moor-de","status":"publish","type":"page","link":"https:\/\/hanninkhof.de\/?page_id=1874&lang=de","title":{"rendered":"Rotes Moor DE"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1874\" class=\"elementor elementor-1874\">\n\t\t\t\t<div class=\"elementor-element elementor-element-235f758 e-flex e-con-boxed e-con e-parent\" data-id=\"235f758\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1c2a18d e-flex e-con-boxed e-con e-parent\" data-id=\"1c2a18d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-18bdfba elementor-widget elementor-widget-text-editor\" data-id=\"18bdfba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-2216 alignleft\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/02\/FeWo-1-Rotes-Moor-264x300.jpg\" alt=\"\" width=\"343\" height=\"390\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/02\/FeWo-1-Rotes-Moor-264x300.jpg 264w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/02\/FeWo-1-Rotes-Moor-900x1024.jpg 900w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/02\/FeWo-1-Rotes-Moor-768x873.jpg 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/02\/FeWo-1-Rotes-Moor.jpg 1187w\" sizes=\"(max-width: 343px) 100vw, 343px\" \/><\/p>\n<h4><span style=\"color: #003300;\"><strong>Rotes Moor &#8220;1&#8221; (5 pers.)<\/strong><\/span><\/h4>\n<p style=\"margin-block-end: var(--theme-content-spacing);\"><span style=\"color: #008000;\">Ferienwohnung <b>Rotes Moor<\/b> (73 m2) verf\u00fcgt im Erdgeschoss \u00fcber ein modern eingerichtetes Wohnzimmer mit einem gem\u00fctlichen 6-Personen-Ecksofa, einem Esstisch f\u00fcr 6 Personen, Smart-SAT\/TV mit Chromecast und WLAN, einen Flur mit Garderobe, ein Schlafzimmer mit einem 2-Personen-Boxspringbett 180 x 210, ein Schlafzimmer mit einem Einzel-Boxspringbett 90 x 210 und einem Schlafsofa f\u00fcr 2 Personen, eine voll ausgestattete K\u00fcche mit Geschirrsp\u00fcler und Blick auf unseren gem\u00fctlichen Familiengarten, ein Badezimmer mit Dusche und eine separate Toilette.<\/span><\/p>\n<p style=\"margin-block-end: var(--theme-content-spacing);\"><span style=\"color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; letter-spacing: 0px; background-color: var(--theme-palette-color-8); text-transform: var(--theme-text-transform);\">Die Ferienwohnung ist f\u00fcr max. 5 Erwachsene vorgesehen. Es besteht die M\u00f6glichkeit, gegen Geb\u00fchr ein zus\u00e4tzliches Reisebett und einen Hochstuhl zu buchen.<\/span><\/p>\n<p style=\"margin-block-end: var(--theme-content-spacing);\"><span style=\"color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; letter-spacing: 0px; background-color: var(--theme-palette-color-8); text-transform: var(--theme-text-transform);\">Rotes Moor bieten wir an ab 1. Mai bis 1. Oktober f\u00fcr einen&nbsp;<\/span><span style=\"color: #008000; letter-spacing: 0px; background-color: var(--theme-palette-color-8); font-family: var(--theme-font-family); font-style: var(--theme-font-style, inherit); font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: var(--theme-font-weight); text-transform: var(--theme-text-transform);\">Grundpreis von<\/span><span style=\"background-color: var(--theme-palette-color-8); color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; letter-spacing: 0px; text-transform: var(--theme-text-transform);\">: <\/span><span style=\"background-color: var(--theme-palette-color-8); color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; letter-spacing: 0px; text-transform: var(--theme-text-transform);\"><b>\u20ac 69,- pro Nacht f\u00fcr 2 Personen, bei einer Mindestbuchung von 3 N\u00e4chten<\/b><\/span><span style=\"background-color: var(--theme-palette-color-8); color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; letter-spacing: 0px; text-transform: var(--theme-text-transform);\">.&nbsp;<\/span><span style=\"color: #008000;\">Kinder bis 3 Jahre \u00fcbernachten kostenlos. F\u00fcr Kinder von 3 bis 14 Jahren wird ein Aufpreis von 5,- \u20ac pro Kind und Nacht berechnet. Weitere G\u00e4ste ab 14 Jahren zahlen 10,- \u20ac pro Person und Nacht.<\/span><\/p>\n<p style=\"margin-block-end: var(--theme-content-spacing);\"><span style=\"color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; letter-spacing: 0px; background-color: var(--theme-palette-color-8); text-transform: var(--theme-text-transform);\">In die Ferienwohnung ist das Mitbringen eines Hundes gestattet, sofern dieser die anderen G\u00e4ste nicht bel\u00e4stigt und nicht unbeaufsichtigt im Haus gelassen wird. Die Kosten betragen: \u20ac 5,50 pro Hund und Nacht.<\/span><\/p>\n<p><span style=\"color: #008000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; letter-spacing: 0px; background-color: var(--theme-palette-color-8); text-transform: var(--theme-text-transform);\">Die Ferienwohnung bietet Platz f\u00fcr 1 Auto auf unser privat Parkplatz.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ba25623 e-flex e-con-boxed e-con e-parent\" data-id=\"ba25623\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-af219d5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"af219d5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><strong>\u00a0\u00a0<span style=\"background-color: var(--theme-palette-color-8); font-family: var(--theme-font-family); font-style: var(--theme-font-style, inherit); font-variant-ligatures: inherit; font-variant-caps: inherit; letter-spacing: var(--theme-letter-spacing); text-transform: var(--theme-text-transform);\">Preise sind inklusive Bettw\u00e4sche, Hand\/Geschirrt\u00fccher, Endreinigungskosten.\u00a0 Exklusive Tourismusbeitrag und Heizkosten ab 1. Oktober bis 1. Mai von \u20ac 10,- pro Tag.<\/span><\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-28e2b35 e-flex e-con-boxed e-con e-parent\" data-id=\"28e2b35\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-a8e4f75 e-con-full e-flex e-con e-child\" data-id=\"a8e4f75\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c2c5ba8 elementor-widget elementor-widget-image\" data-id=\"c2c5ba8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0161-1024x683.webp\" class=\"attachment-large size-large wp-image-815\" alt=\"\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0161-1024x683.webp 1024w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0161-300x200.webp 300w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0161-768x512.webp 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0161-1536x1024.webp 1536w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0161.webp 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-48aa286 e-con-full e-flex e-con e-child\" data-id=\"48aa286\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e20736f elementor-widget elementor-widget-image\" data-id=\"e20736f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0102-1024x683.webp\" class=\"attachment-large size-large wp-image-816\" alt=\"\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0102-1024x683.webp 1024w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0102-300x200.webp 300w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0102-768x512.webp 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0102-1536x1024.webp 1536w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0102.webp 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1203fb7 e-con-full e-flex e-con e-child\" data-id=\"1203fb7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-669ab12 elementor-widget elementor-widget-image\" data-id=\"669ab12\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0105-1024x683.webp\" class=\"attachment-large size-large wp-image-817\" alt=\"\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0105-1024x683.webp 1024w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0105-300x200.webp 300w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0105-768x512.webp 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0105-1536x1024.webp 1536w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0105.webp 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-570b6cd e-flex e-con-boxed e-con e-parent\" data-id=\"570b6cd\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-acc42d4 e-con-full e-flex e-con e-child\" data-id=\"acc42d4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5344eb5 elementor-widget elementor-widget-image\" data-id=\"5344eb5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0111-1024x683.webp\" class=\"attachment-large size-large wp-image-819\" alt=\"\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0111-1024x683.webp 1024w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0111-300x200.webp 300w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0111-768x512.webp 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0111-1536x1024.webp 1536w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0111.webp 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4172557 e-con-full e-flex e-con e-child\" data-id=\"4172557\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1b18fc elementor-widget elementor-widget-image\" data-id=\"f1b18fc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109-1024x683.webp\" class=\"attachment-large size-large wp-image-820\" alt=\"\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109-1024x683.webp 1024w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109-300x200.webp 300w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109-768x512.webp 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109-1536x1024.jpg 1536w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109-2048x1365.jpg 2048w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0109.webp 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-fa359e9 e-con-full e-flex e-con e-child\" data-id=\"fa359e9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-306fa87 elementor-widget elementor-widget-image\" data-id=\"306fa87\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0110-1024x683.jpg\" class=\"attachment-large size-large wp-image-821\" alt=\"\" srcset=\"https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0110-1024x683.jpg 1024w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0110-300x200.jpg 300w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0110-768x512.jpg 768w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0110-1536x1024.jpg 1536w, https:\/\/hanninkhof.de\/wp-content\/uploads\/2025\/01\/IMG_0110-2048x1365.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b5ed77b e-flex e-con-boxed e-con e-parent\" data-id=\"b5ed77b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7f30105 elementor-view-stacked elementor-shape-circle elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"7f30105\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-far-calendar-alt\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z\"><\/path><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h3 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tVerf\u00fcgbarkeit\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h3>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\tPr\u00fcfen Sie schnell, ob diese Ferienwohnung noch verf\u00fcgbar ist!\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-14201cc e-flex e-con-boxed e-con e-parent\" data-id=\"14201cc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-58035f0 elementor-widget elementor-widget-shortcode\" data-id=\"58035f0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n  <link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.3\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\"\n        integrity=\"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65\" crossorigin=\"anonymous\">\n  <link rel=\"stylesheet\" href=\"css\/style.css\">\n\n  <input type=\"hidden\" id=\"current_lang\" name=\"current_lang\" value=\"nl\" >\n  <div class=\"container mt-3 p-2\" style=\"max-width: 700px; background-color: #f1ffec; border-width: 0px;\">\n    <form action=\"\" method=\"POST\" id=\"booking-form\">\n      <input type=\"hidden\" name=\"action\" value=\"booking_form_handler\">\n\n      <div class=\"mb-3\">\n        <style>\n            .success {\n                color: green;\n                padding: 10px;\n                border: 1px solid green;\n                background-color: #eaffea;\n                margin-bottom: 15px;\n            }\n\n            .error {\n                color: red;\n                padding: 10px;\n                border: 1px solid red;\n                background-color: #ffeaea;\n                margin-bottom: 15px;\n            }\n        <\/style>\n        <input type=\"hidden\" name=\"home\" id=\"home\" value=\"Rotes Moor\">\n      <\/div>\n\n      <div class=\"month\">\n        <ul>\n          <div class=\"row\">\n            <div class=\"col-sm\">\n              <select id=\"month-select\" class=\"form-select\" name=\"month\">\n                <option value=\"none\" selected>\n                    Selecteer een maand                <\/option>\n                <script>\n                    document.addEventListener('DOMContentLoaded', function() {\n                        var option = (document.getElementById('month-select')).querySelector('option[value=\"none\"]');\n                        if (option) {\n                            option.selected = true;\n                        }\n                    });\n                <\/script>\n                <option value=\"1\">\n                    Januari                <\/option>\n                <option value=\"2\">\n                    Februari                <\/option>\n                <option value=\"3\">\n                    Maart                <\/option>\n                <option value=\"4\">\n                    April                <\/option>\n                <option value=\"5\">\n                    Mei                <\/option>\n                <option value=\"6\">\n                    Juni                <\/option>\n                <option value=\"7\">\n                    Juli                <\/option>\n                <option value=\"8\">\n                    Augustus                <\/option>\n                <option value=\"9\">\n                    September                <\/option>\n                <option value=\"10\">\n                    Oktober                <\/option>\n                <option value=\"11\">\n                    November                <\/option>\n                <option value=\"12\">\n                    December                <\/option>\n              <\/select>\n\n            <\/div>\n            <div class=\"col-sm\">\n              <select id=\"year-select\" class=\"form-select\" name=\"year\">\n              <\/select>\n            <\/div>\n          <\/div>\n\n\n          <!--\n    <li id=\"month-year\" name=\"month-year\">\n        November<br>\n        <span style=\"font-size:18px\" id=\"year\">2025<\/span>\n    <\/li>\n    -->\n        <\/ul>\n      <\/div>\n\n      <ul class=\"weekdays\">\n        <li>\n            Maandag        <\/li>\n        <li>\n            Dinsdag        <\/li>\n        <li>\n            Woensdag        <\/li>\n        <li>\n            Donderdag        <\/li>\n        <li>\n            Vrijdag        <\/li>\n        <li>\n            Zaterdag        <\/li>\n        <li>\n            Zondag        <\/li>\n      <\/ul>\n\n\n      <ul class=\"days\" id=\"days_to_rent\" name=\"days_to_rent\" style=\"padding-left: 2px;\">\n      <\/ul>\n\n      <input type=\"hidden\" name=\"days_to_rent\" id=\"selected_days\" value=\"\">\n      <input type=\"hidden\" name=\"start_date\" id=\"start_date\" value=\"\">\n      <input type=\"hidden\" name=\"end_date\" id=\"end_date\" value=\"\">\n\n      <p>\n          Geboekt:        <span class=\"badge text-bg-danger p-2 mr-2\">&nbsp;<\/span><\/p>\n\n      <p id=\"extra_cleaning_cost_popup\" style=\"display: none\">\n          Extra schoonmaakkosten: \u20ac 40,-      <\/p>\n\n      <div class=\"row\" style=\"display: none\">\n        <h1>\n            Persoonsgegevens:        <\/h1>\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"first_name\" class=\"form-label\">\n                Voornaam            <\/label>\n            <input type=\"text\" class=\"form-control bg-white\" id=\"first_name\" name=\"first_name\" aria-describedby=\"\"\n                   placeholder=\"\" required>\n          <\/div>\n          <div class=\"mb-3\">\n            <label for=\"last_name\" class=\"form-label\">\n                Achternaam            <\/label>\n            <input type=\"text\" class=\"form-control bg-white\" id=\"last_name\" name=\"last_name\" required>\n          <\/div>\n        <\/div>\n\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"birthdate\" class=\"form-label\">\n                Geboortedatum            <\/label>\n            <input type=\"date\" class=\"form-control bg-white\" id=\"birthdate\" name=\"birthdate\" aria-describedby=\"\" required>\n          <\/div>\n\n          <div class=\"mb-3\">\n            <label for=\"nationality\" class=\"form-label\">\n                Nationaliteit            <\/label>\n            <select class=\"form-select bg-white\" aria-label=\"Default select example\" id=\"nationality\" name=\"nationality\"\n                    onchange=\"showHideIdFirst()\" required>\n              <option selected disabled>\n                  Selecteer              <\/option>\n              <option value=\"NL\">\n                  Nederland              <\/option>\n              <option value=\"GE\">\n                  Duitsland              <\/option>\n              <option value=\"RU\">\n                  Rusland              <\/option>\n              <option value=\"BG\">\n                  Bulgarije              <\/option>\n              <option value=\"BE\">\n                  Belgi\u00eb              <\/option>\n              <option value=\"RO\">\n                  Roemeni\u00eb              <\/option>\n              <option value=\"NO\">\n                  Noorwegen              <\/option>\n              <option value=\"DK\">\n                  Denemarken              <\/option>\n              <option value=\"LU\">\n                  Luxemburg              <\/option>\n              <option value=\"SE\">\n                  Zweden              <\/option>\n              <option value=\"IT\">\n                  Itali\u00eb              <\/option>\n              <option value=\"FR\">\n                  Frankrijk              <\/option>\n            <\/select>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div class=\"row\" style=\"display: none\">\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"address\" class=\"form-label\">\n                Adres            <\/label>\n            <input type=\"text\" class=\"form-control bg-white\" id=\"address\" name=\"address\" aria-describedby=\"\" required>\n          <\/div>\n        <\/div>\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"city\" class=\"form-label\">\n                Woonplaats            <\/label>\n            <input type=\"text\" class=\"form-control bg-white\" id=\"city\" name=\"city\" aria-describedby=\"\" required>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div style=\"display: none\" class=\"row\">\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"zipcode\" class=\"form-label\">\n                Postcode            <\/label>\n            <input type=\"text\" class=\"form-control  bg-white\" id=\"zipcode\" name=\"zipcode\" aria-describedby=\"\" required>\n          <\/div>\n        <\/div>\n        <div class=\"col\">\n          <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_first\">\n            <label for=\"id_number_first\" class=\"form-label\">\n                ID\/paspoort nummer            <\/label>\n            <input type=\"text\" class=\"form-control bg-white\" id=\"id_number_first\" name=\"id_number_first\" aria-describedby=\"\">\n          <\/div>\n        <\/div>\n      <\/div style=\"display: none\">\n\n      <div style=\"display: none\" class=\"row\">\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"country\" class=\"form-label\">\n                Land            <\/label>\n            <select class=\"form-select\" aria-label=\"Default select example\" id=\"country\"\n                    name=\"country\" required>\n              <option selected disabled>\n                  Selecteer              <\/option>\n              <option value=\"Nederland\">\n                  Nederland              <\/option>\n              <option value=\"Deutschland\">\n                  Duitsland              <\/option>\n              <option value=\"Rusland\">\n                  Rusland              <\/option>\n              <option value=\"Bulgarije\">\n                  Bulgarije              <\/option>\n              <option value=\"Belgi\u00eb\">\n                  Belgi\u00eb              <\/option>\n              <option value=\"Roemeni\u00eb\">\n                  Roemeni\u00eb              <\/option>\n              <option value=\"Noorwegen\">\n                  Noorwegen              <\/option>\n              <option value=\"Denemarken\">\n                  Denemarken              <\/option>\n              <option value=\"Luxemburg\">\n                  Luxemburg              <\/option>\n              <option value=\"Zweden\">\n                  Zweden              <\/option>\n              <option value=\"Itali\u00eb\">\n                  Itali\u00eb              <\/option>\n              <option value=\"Frankrijk\">\n                  Frankrijk              <\/option>\n            <\/select>\n          <\/div>\n        <\/div>\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"phone\" class=\"form-label\">\n                Telefoon nummer            <\/label>\n            <input type=\"text\" class=\"form-control bg-white\" id=\"phone\" name=\"phone\" aria-describedby=\"\" required>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div style=\"display: none\" class=\"row\">\n        <div class=\"col-6\">\n          <div class=\"mb-3\">\n            <label for=\"email\" class=\"form-label\">\n                Email adres            <\/label>\n            <input type=\"email\" class=\"form-control bg-white\" id=\"email\" name=\"email\" aria-describedby=\"\" required>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div style=\"display: none\" class=\"row\">\n        <div class=\"col\">\n          <h4>\n              Opties          <\/h4>\n\n          <div class=\"form-check d-flex align-items-center gap-2\" id=\"animals-checkbox\" style=\"display: none;\">\n            <input class=\"form-check-input\" type=\"checkbox\" value=\"5.5\" id=\"animals\" name=\"animals\"\n                   onchange=\"changePrice()\">\n            <label class=\"form-check-label d-flex align-items-center\" for=\"animals\">\n                Hond (\u20ac 5,50 extra per nacht)            <\/label>\n          <\/div>\n\n          <div class=\"form-check d-flex align-items-center gap-2\" id=\"child-bed-checkbox\" style=\"display:none;\">\n            <input class=\"form-check-input\" type=\"checkbox\" value=\"5\" id=\"child_bed\" name=\"child_bed\"\n                   onchange=\"changePrice()\">\n            <label class=\"form-check-label d-flex align-items-center\" for=\"child_bed\">\n                Reisbedje (\u20ac 5,- eenmalig)            <\/label>\n          <\/div>\n\n          <div class=\"form-check d-flex align-items-center gap-2\" id=\"child-chair-checkbox\" style=\"display:none;\">\n            <input class=\"form-check-input\" type=\"checkbox\" value=\"5\" id=\"child_chair\" name=\"child_chair\"\n                   onchange=\"changePrice()\">\n            <label class=\"form-check-label d-flex align-items-center\" for=\"child_chair\">\n                Kinderstoel (\u20ac 5,- eenmalig)            <\/label>\n          <\/div>\n        <\/div>\n\n        <div class=\"col\">\n          <div class=\"mb-3\">\n            <label for=\"comments\" class=\"form-label\">\n                Opmerkingen            <\/label>\n            <textarea class=\"form-control bg-white\" aria-label=\"With textarea\" id=\"comments\" name=\"comments\"><\/textarea>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <p style=\"display: none\">\n          Van 1 oktober t\/m 30 april brengen we stookkosten in rekening van \u20ac 10,- per nacht per vakantiewoning.<br>Toeristenbelasting: \u20ac 2,10 p.p. per nacht vanaf 14 jaar.<br>Prijzen zijn op basis van 2 personen per nacht.<br>Extra personen \u20ac 10,- p.p. per nacht.<br>Kinderen onder de 14 jaar zijn gratis.      <\/p>\n\n\n      <h2 style=\"display: none\"  >\n          Aantal personen      <\/h2>\n      <div style=\"display: none\" class=\"mb-3\">\n        <label for=\"amount_persons\" class=\"form-label\">\n            Aantal personen        <\/label>\n        <select class=\"form-select  bg-white\" aria-label=\"Default select example\" id=\"amount_persons\" name=\"amount_persons\"\n                onchange=\"changeExtraPersons(event)\">\n          <option selected disabled>\n              Selecteer          <\/option>\n          <option value=\"1\">1<\/option>\n          <option value=\"2\">2<\/option>\n          <option value=\"3\">3<\/option>\n          <option value=\"4\">4<\/option>\n          <option value=\"5\">5<\/option>\n          <option value=\"6\">6<\/option>\n        <\/select>\n      <\/div>\n\n      <div class=\"mb-3\" style=\"display: none\" id=\"person_2\">\n        <p>\n            Persoon 2:        <\/p>\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"first_name\" class=\"form-label\">\n                  Voornaam              <\/label>\n              <input type=\"text\" class=\"form-control  bg-white\" id=\"name_first_second\" name=\"name_first_second\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"name_last_second\" class=\"form-label\">\n                  Achternaam              <\/label>\n              <input type=\"text\" class=\"form-control  bg-white\" id=\"name_last_second\" name=\"name_last_second\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"city_second\" class=\"form-label\">\n                  Woonplaats              <\/label>\n              <input type=\"text\" class=\"form-control  bg-white\" id=\"city_second\" name=\"city_second\" aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"nationality_person_2\" class=\"form-label\">\n                  Nationaliteit              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"nationality_person_2\"\n                      name=\"nationality_person_2\" onchange=\"showHideIdSecond()\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"NL\">\n                    Nederland                <\/option>\n                <option value=\"GE\">\n                    Duitsland                <\/option>\n                <option value=\"RU\">\n                    Rusland                <\/option>\n                <option value=\"BG\">\n                    Bulgarije                <\/option>\n                <option value=\"BE\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"RO\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"NO\">\n                    Noorwegen                <\/option>\n                <option value=\"DK\">\n                    Denemarken                <\/option>\n                <option value=\"LU\">\n                    Luxemburg                <\/option>\n                <option value=\"SE\">\n                    Zweden                <\/option>\n                <option value=\"IT\">\n                    Itali\u00eb                <\/option>\n                <option value=\"FR\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"birthdate_second\" class=\"form-label\">\n                  Geboortedatum              <\/label>\n              <input type=\"date\" class=\"form-control  bg-white\" id=\"birthdate_second\" name=\"birthdate_second\" onchange=\"changePrice()\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_second\">\n              <label for=\"id_number_second\" class=\"form-label\">\n                  ID\/paspoort nummer              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"id_number_second\" name=\"id_number_second\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col-6\">\n            <div class=\"mb-3\">\n              <label for=\"country_second\" class=\"form-label\">\n                  Land              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"country\"\n                      name=\"country_second\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"Nederland\">\n                    Nederland                <\/option>\n                <option value=\"Deutschland\">\n                    Duitsland                <\/option>\n                <option value=\"Rusland\">\n                    Rusland                <\/option>\n                <option value=\"Bulgarije\">\n                    Bulgarije                <\/option>\n                <option value=\"Belgi\u00eb\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"Roemeni\u00eb\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"Noorwegen\">\n                    Noorwegen                <\/option>\n                <option value=\"Denemarken\">\n                    Denemarken                <\/option>\n                <option value=\"Luxemburg\">\n                    Luxemburg                <\/option>\n                <option value=\"Zweden\">\n                    Zweden                <\/option>\n                <option value=\"Itali\u00eb\">\n                    Itali\u00eb                <\/option>\n                <option value=\"Frankrijk\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div class=\"mb-3\" style=\"display: none\" id=\"person_3\">\n        <p>\n            Persoon 3:        <\/p>\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"first_name_thirth\" class=\"form-label\">\n                  Voornaam              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"first_name_thirth\" name=\"first_name_thirth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"last_name_thirth\" class=\"form-label\">\n                  Achternaam              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"last_name_thirth\" name=\"last_name_thirth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"city_thirth\" class=\"form-label\">\n                  Woonplaats              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"city_thirth\" name=\"city_thirth\" aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"nationality_person_3\" class=\"form-label\">\n                  Nationaliteit              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"nationality_person_3\"\n                      name=\"nationality_person_3\" onchange=\"showHideIdThirth()\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"NL\">\n                    Nederland                <\/option>\n                <option value=\"GE\">\n                    Duitsland                <\/option>\n                <option value=\"RU\">\n                    Rusland                <\/option>\n                <option value=\"BG\">\n                    Bulgarije                <\/option>\n                <option value=\"BE\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"RO\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"NO\">\n                    Noorwegen                <\/option>\n                <option value=\"DK\">\n                    Denemarken                <\/option>\n                <option value=\"LU\">\n                    Luxemburg                <\/option>\n                <option value=\"SE\">\n                    Zweden                <\/option>\n                <option value=\"IT\">\n                    Itali\u00eb                <\/option>\n                <option value=\"FR\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"birthdate_thirth\" class=\"form-label\">\n                  Geboortedatum              <\/label>\n              <input type=\"date\" class=\"form-control bg-white\" id=\"birthdate_thirth\" name=\"birthdate_thirth\" oninput=\"changePrice()\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_thirth\">\n              <label for=\"id_number_thirth\" class=\"form-label\">\n                  ID\/paspoort nummer              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"id_number_thirth\" name=\"id_number_thirth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col-6\">\n            <div class=\"mb-3\">\n              <label for=\"country_thirth\" class=\"form-label\">\n                  Land              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"country\"\n                      name=\"country_thirth\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"Nederland\">\n                    Nederland                <\/option>\n                <option value=\"Deutschland\">\n                    Duitsland                <\/option>\n                <option value=\"Rusland\">\n                    Rusland                <\/option>\n                <option value=\"Bulgarije\">\n                    Bulgarije                <\/option>\n                <option value=\"Belgi\u00eb\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"Roemeni\u00eb\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"Noorwegen\">\n                    Noorwegen                <\/option>\n                <option value=\"Denemarken\">\n                    Denemarken                <\/option>\n                <option value=\"Luxemburg\">\n                    Luxemburg                <\/option>\n                <option value=\"Zweden\">\n                    Zweden                <\/option>\n                <option value=\"Itali\u00eb\">\n                    Itali\u00eb                <\/option>\n                <option value=\"Frankrijk\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div class=\"mb-3\" style=\"display: none\" id=\"person_4\">\n        <p>\n            Persoon 4:        <\/p>\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"first_name_fourth\" class=\"form-label\">\n                  Voornaam              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"first_name_fourth\" name=\"first_name_fourth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"last_name_fourth\" class=\"form-label\">\n                  Achternaam              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"last_name_fourth\" name=\"last_name_fourth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"city_fourth\" class=\"form-label\">\n                  Woonplaats              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"city_fourth\" name=\"city_fourth\" aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"nationality_person_4\" class=\"form-label\">\n                  Nationaliteit              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"nationality_person_4\"\n                      name=\"nationality_person_4\" onchange=\"showHideIdFourth()\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"NL\">\n                    Nederland                <\/option>\n                <option value=\"GE\">\n                    Duitsland                <\/option>\n                <option value=\"RU\">\n                    Rusland                <\/option>\n                <option value=\"BG\">\n                    Bulgarije                <\/option>\n                <option value=\"BE\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"RO\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"NO\">\n                    Noorwegen                <\/option>\n                <option value=\"DK\">\n                    Denemarken                <\/option>\n                <option value=\"LU\">\n                    Luxemburg                <\/option>\n                <option value=\"SE\">\n                    Zweden                <\/option>\n                <option value=\"IT\">\n                    Itali\u00eb                <\/option>\n                <option value=\"FR\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"birthdate_fourth\" class=\"form-label\">\n                  Geboortedatum              <\/label>\n              <input type=\"date\" class=\"form-control bg-white\" id=\"birthdate_fourth\" name=\"birthdate_fourth\" oninput=\"changePrice()\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_fourth\">\n              <label for=\"id_number_fourth\" class=\"form-label\">\n                  ID\/paspoort nummer              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"id_number_fourth\" name=\"id_number_fourth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n        <div class=\"row\">\n          <div class=\"col-6\">\n            <div class=\"mb-3\">\n              <label for=\"country_fourth\" class=\"form-label\">\n                  Land              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"country\"\n                      name=\"country_fourth\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"Nederland\">\n                    Nederland                <\/option>\n                <option value=\"Deutschland\">\n                    Duitsland                <\/option>\n                <option value=\"Rusland\">\n                    Rusland                <\/option>\n                <option value=\"Bulgarije\">\n                    Bulgarije                <\/option>\n                <option value=\"Belgi\u00eb\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"Roemeni\u00eb\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"Noorwegen\">\n                    Noorwegen                <\/option>\n                <option value=\"Denemarken\">\n                    Denemarken                <\/option>\n                <option value=\"Luxemburg\">\n                    Luxemburg                <\/option>\n                <option value=\"Zweden\">\n                    Zweden                <\/option>\n                <option value=\"Itali\u00eb\">\n                    Itali\u00eb                <\/option>\n                <option value=\"Frankrijk\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div class=\"mb-3\" style=\"display: none\" id=\"person_5\">\n        <p>Persoon 5:<\/p>\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"first_name\" class=\"form-label\">Voornaam<\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"name_first_fifth\" name=\"name_first_fifth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"name_last_fifth\" class=\"form-label\">Achternaam<\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"name_last_fifth\" name=\"name_last_fifth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"city_fifth\" class=\"form-label\">Woonplaats<\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"city_fifth\" name=\"city_fifth\" aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"nationality_person_5\" class=\"form-label\">Nationaliteit<\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"nationality_person_5\"\n                      name=\"nationality_person_5\" onchange=\"showHideIdFifth()\">\n                <option selected disabled>Selecteer<\/option>\n                <option value=\"NL\">Nederland<\/option>\n                <option value=\"GE\">Duitsland<\/option>\n                <option value=\"RU\">Rusland<\/option>\n                <option value=\"BG\">Bulgarije<\/option>\n                <option value=\"BE\">Belgi\u00eb<\/option>\n                <option value=\"RO\">Roemeni\u00eb<\/option>\n                <option value=\"NO\">Noorwegen<\/option>\n                <option value=\"DK\">Denemarken<\/option>\n                <option value=\"LU\">Luxemburg<\/option>\n                <option value=\"SE\">Zweden<\/option>\n                <option value=\"IT\">Itali\u00eb<\/option>\n                <option value=\"FR\">Frankrijk<\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_fifth\">\n              <label for=\"id_number_fifth\" class=\"form-label\">ID\/paspoort nummer<\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"id_number_fifth\" name=\"id_number_fifth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"birthdate_fifth\" class=\"form-label\">\n                  Geboortedatum              <\/label>\n              <input type=\"date\" class=\"form-control bg-white\" id=\"birthdate_fifth\" name=\"birthdate_fifth\" onchange=\"changePrice()\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_fifth\">\n              <label for=\"id_number_fifth\" class=\"form-label\">\n                  ID\/paspoort nummer              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"id_number_fifth\" name=\"id_number_fifth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col-6\">\n            <div class=\"mb-3\">\n              <label for=\"country_fifth\" class=\"form-label\">\n                  Land              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"country\"\n                      name=\"country_fifth\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"Nederland\">\n                    Nederland                <\/option>\n                <option value=\"Deutschland\">\n                    Duitsland                <\/option>\n                <option value=\"Rusland\">\n                    Rusland                <\/option>\n                <option value=\"Bulgarije\">\n                    Bulgarije                <\/option>\n                <option value=\"Belgi\u00eb\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"Roemeni\u00eb\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"Noorwegen\">\n                    Noorwegen                <\/option>\n                <option value=\"Denemarken\">\n                    Denemarken                <\/option>\n                <option value=\"Luxemburg\">\n                    Luxemburg                <\/option>\n                <option value=\"Zweden\">\n                    Zweden                <\/option>\n                <option value=\"Itali\u00eb\">\n                    Itali\u00eb                <\/option>\n                <option value=\"Frankrijk\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div class=\"mb-3\" style=\"display: none\" id=\"person_6\">\n        <p>\n            Persoon 6:        <\/p>\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"first_name\" class=\"form-label\">\n                  Voornaam              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"name_first_sixth\" name=\"name_first_sixth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"name_last_sixth\" class=\"form-label\">\n                  Achternaam              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"name_last_sixth\" name=\"name_last_sixth\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"city_sixth\" class=\"form-label\">\n                  Woonplaats              <\/label>\n              <input type=\"text\" class=\"form-control bg-white\" id=\"city_sixth\" name=\"city_sixth\" aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"nationality_person_6\" class=\"form-label\">\n                  Nationaliteit              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"nationality_person_6\"\n                      name=\"nationality_person_6\" onchange=\"showHideIdSix()\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"NL\">\n                    Nederland                <\/option>\n                <option value=\"GE\">\n                    Duitsland                <\/option>\n                <option value=\"RU\">\n                    Rusland                <\/option>\n                <option value=\"BG\">\n                    Bulgarije                <\/option>\n                <option value=\"BE\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"RO\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"NO\">\n                    Noorwegen                <\/option>\n                <option value=\"DK\">\n                    Denemarken                <\/option>\n                <option value=\"LU\">\n                    Luxemburg                <\/option>\n                <option value=\"SE\">\n                    Zweden                <\/option>\n                <option value=\"IT\">\n                    Itali\u00eb                <\/option>\n                <option value=\"FR\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col\">\n            <div class=\"mb-3\">\n              <label for=\"birthdate_sixth\" class=\"form-label\">\n                  Geboortedatum              <\/label>\n              <input type=\"date\" class=\"form-control\" id=\"birthdate_sixth\" name=\"birthdate_sixth\" onchange=\"changePrice()\"\n                     aria-describedby=\"\">\n            <\/div>\n          <\/div>\n          <div class=\"col\">\n            <div class=\"mb-3\" style=\"display: none;\" id=\"id_number_sixth\">\n              <label for=\"id_number_sixth\" class=\"form-label\">\n                  ID\/paspoort nummer              <\/label>\n              <input type=\"text\" class=\"form-control\" id=\"id_number_sixth\" name=\"id_number_sixth\"\"\n              aria-describedby=\"\">\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"row\">\n          <div class=\"col-6\">\n            <div class=\"mb-3\">\n              <label for=\"country_sixth\" class=\"form-label\">\n                  Land              <\/label>\n              <select class=\"form-select\" aria-label=\"Default select example\" id=\"country\"\n                      name=\"country_sixth\">\n                <option selected disabled>\n                    Selecteer                <\/option>\n                <option value=\"Nederland\">\n                    Nederland                <\/option>\n                <option value=\"Deutschland\">\n                    Duitsland                <\/option>\n                <option value=\"Rusland\">\n                    Rusland                <\/option>\n                <option value=\"Bulgarije\">\n                    Bulgarije                <\/option>\n                <option value=\"Belgi\u00eb\">\n                    Belgi\u00eb                <\/option>\n                <option value=\"Roemeni\u00eb\">\n                    Roemeni\u00eb                <\/option>\n                <option value=\"Noorwegen\">\n                    Noorwegen                <\/option>\n                <option value=\"Denemarken\">\n                    Denemarken                <\/option>\n                <option value=\"Luxemburg\">\n                    Luxemburg                <\/option>\n                <option value=\"Zweden\">\n                    Zweden                <\/option>\n                <option value=\"Itali\u00eb\">\n                    Itali\u00eb                <\/option>\n                <option value=\"Frankrijk\">\n                    Frankrijk                <\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <h1 style=\"display: none\">\n          Prijs      <\/h1>\n      <div class=\"d-flex align-items-center\" style=\"display: none\">\n        <h2 style=\"display: none\">\u20ac<\/h2>\n        <h2 id=\"total_price\" name=\"total_price\" class=\"ms-2\"><\/h2>\n        <input type=\"hidden\" id=\"total_price_hidden\" name=\"total_price_hidden\" value=\"\">\n      <\/div>\n\n      <input type=\"hidden\" id=\"extra_cost_heating\" name=\"extra_cost_heating\"><\/input>\n      <input type=\"hidden\" id=\"extra_cost_tax\" name=\"extra_cost_tax\"><\/input>\n      <input type=\"hidden\" id=\"extra_cost_cleaning\" name=\"extra_cost_cleaning\"><\/input>\n      <input type=\"hidden\" id=\"amount_days\" name=\"amount_days\"><\/input>\n\n    <\/form>\n  <\/div>\n\n  <pre hidden>\n      <style>\n        .month {\n            padding: 10px 25px;\n            width: 100%;\n            background: #0E3E1A;\n            text-align: center;\n        }\n\n        .month ul {\n            margin: 0;\n            padding: 0;\n        }\n\n        .month ul li {\n            color: white;\n            font-size: 20px;\n            text-transform: uppercase;\n            letter-spacing: 3px;\n        }\n\n        .month .prev {\n            float: left;\n            padding-top: 10px;\n        }\n\n        .month .next {\n            float: right;\n            padding-top: 10px;\n        }\n\n\n        \/* Basisstijl voor de weekdays *\/\n        .weekdays {\n            margin: 0;\n            padding: 10px 0;\n            background-color: #0E3E1A;\n            display: flex;\n            flex-wrap: wrap;\n            justify-content: space-between;\n            list-style: none;\n            color: white;\n        }\n\n        .weekdays li {\n            flex: 1 0 14%;\n            color: white;\n            text-align: center;\n            padding: 5px 0;\n            font-size: 14px;\n        }\n\n        @media (max-width: 768px) {\n            .weekdays {\n                justify-content: space-around;\n            }\n\n            .weekdays li {\n                font-size: 12px;\n                flex: 1 0 13%;\n            }\n        }\n\n        .next-month {\n            color: gray;\n            opacity: 0.6;\n        }\n\n        .days_to_rent {\n            display: grid;\n            grid-template-columns: repeat(7, 1fr);\n            gap: 5px;\n        }\n\n        .days_to_rent li {\n            text-align: center;\n            padding: 10px;\n            border: 1px solid #ccc;\n            list-style: none;\n        }\n\n        .days-to-rent {\n            display: grid;\n            grid-template-columns: repeat(7, 1fr);\n            gap: 5px;\n        }\n\n        .days-to-rent li {\n            text-align: center;\n            padding: 10px;\n            border: 1px solid #ccc;\n            list-style: none;\n        }\n\n        .days {\n            padding: 10px 0;\n            background: #eee;\n            margin: 2px;\n            color: white;\n            max-height: 175px;\n            overflow-y: auto;\n            overflow-x: hidden;\n        }\n\n        .days li {\n            list-style-type: none;\n            display: inline-block;\n            width: 13.6%;\n            text-align: center;\n            margin-bottom: 5px;\n            margin-left: 2px;\n            margin-right: 2px;\n            font-size: 12px;\n            color: black;\n        }\n\n        .days li .active {\n            padding: 5px;\n            background: #1abc9c;\n            color: black; !important\n        }\n\n        .selected {\n            background-color: green;\n            color: white !important;\n            border-radius: 5px;\n        }\n\n        .booked {\n            background-color: red;\n            color: white !important;\n            border-radius: 5px;\n        }\n\n        @media screen and (max-width: 720px) {\n            .weekdays li, .days li {\n                width: 13.1%;\n            }\n        }\n\n        @media screen and (max-width: 420px) {\n            .weekdays li, .days li {\n                width: 12.5%;\n            }\n\n            .days li .active {\n                padding: 2px;\n            }\n        }\n\n        @media screen and (max-width: 290px) {\n            .weekdays li, .days li {\n                width: 12.2%;\n            }\n        }\n      <\/style>\n\n    <\/pre>\n\n  <pre hidden>\n        <script>\n            document.addEventListener(\"DOMContentLoaded\", () => {\n                setTimeout(() => updateCalendarWithBookings(), 500);\n            });\n\n            document.addEventListener('DOMContentLoaded', function () {\n                const select = document.getElementById('month-select');\n                const today = new Date();\n                const currentMonth = today.getMonth() + 1; \/\/ getMonth() geeft 0\u201311, dus +1\n\n                const optionToSelect = select.querySelector(`option[value=\"${currentMonth}\"]`);\n                if (optionToSelect) {\n                    optionToSelect.selected = true;\n                }\n            });\n\n            function changeOptions(event) {\n                const selectHome = document.getElementById('home');\n                const selectedOption = selectHome.options[selectHome.selectedIndex];\n            }\n\n            const daysToRentSecond = document.getElementById(\"days_to_rent\");\n            const selectedDaysInput = document.getElementById('selected_days');\n\n            var ajaxurl = \"https:\/\/hanninkhof.de\/wp-admin\/admin-ajax.php\";\n\n            daysToRentSecond.addEventListener('click', function (event) {\n                if (event.target.tagName === 'LI') {\n                    const dayElement = event.target;\n\n                    \/\/ Get month and year from the clicked day\n                    const selectedMonth = parseInt(dayElement.getAttribute('data-month'));  \/\/ Month as integer (1-12)\n                    const selectedYear = parseInt(dayElement.getAttribute('data-year'));   \/\/ Full year (e.g., 2025)\n                    const selectedDay = parseInt(dayElement.getAttribute('data-day'));\n\n                    if (!dayElement.classList.contains(\"booked\")) {\n                        dayElement.classList.toggle('selected');\n                    }\n\n                    \/\/ Gather selected days with their month & year\n                    const selectedDates = [];\n                    document.querySelectorAll('#days_to_rent li.selected').forEach(selectedDay => {\n                        selectedDates.push({\n                            year: parseInt(selectedDay.getAttribute('data-year')),\n                            month: parseInt(selectedDay.getAttribute('data-month')),\n                            day: parseInt(selectedDay.getAttribute('data-day'))\n                        });\n                    });\n\n                    \/\/ Sort selected days across months\n                    selectedDates.sort((a, b) =>\n                        a.year !== b.year ? a.year - b.year :\n                            a.month !== b.month ? a.month - b.month :\n                                a.day - b.day\n                    );\n\n                    \/\/ Check for gaps between selected days\n                    let hasGap = false;\n                    for (let i = 1; i < selectedDates.length; i++) {\n                        const prev = selectedDates[i - 1];\n                        const current = selectedDates[i];\n\n                        const prevDate = new Date(prev.year, prev.month - 1, prev.day);\n                        const currentDate = new Date(current.year, current.month - 1, current.day);\n\n                        const differenceInDays = (currentDate - prevDate) \/ (1000 * 60 * 60 * 24);\n                        if (differenceInDays > 1) {\n                            hasGap = true;\n                            break;\n                        }\n                    }\n\n                    if (hasGap) {\n                        dayElement.classList.remove('selected');\n                        return;\n                    }\n\n                    \/\/ Extract min and max dates\n                    const startDate = new Date(Date.UTC(selectedDates[0].year, selectedDates[0].month - 1, selectedDates[0].day));\n                    const endDate = new Date(Date.UTC(selectedDates[selectedDates.length - 1].year, selectedDates[selectedDates.length - 1].month - 1, selectedDates[selectedDates.length - 1].day));\n\n                    document.getElementById('start_date').value = startDate.toISOString();\n                    document.getElementById('end_date').value = endDate.toISOString();\n\n                    console.log(\"DEBUG START \", document.getElementById('start_date').value);\n                    console.log(\"DEBUG END \", document.getElementById('end_date').value);\n\n                    changePrice();\n                }\n            });\n\n            const monthSelect = document.getElementById(\"month-select\");\n            const yearSelect = document.getElementById(\"year-select\");\n            const daysToRent = document.getElementById(\"days_to_rent\");\n\n            const currentYear = new Date().getFullYear();\n            const currentMonth = new Date().getMonth();\n\n            const homeSelect = document.getElementById('home');\n\n            homeSelect.addEventListener('change', function () {\n                const selectedHome = this.value;\n                if (typeof ajaxurl === 'undefined') {\n                    console.error('ajaxurl is niet gedefinieerd');\n                    return;\n                }\n\n                fetch(ajaxurl, {\n                    method: 'POST',\n                    headers: {'Content-Type': 'application\/x-www-form-urlencoded'},\n                    body: new URLSearchParams({\n                        action: 'fetch_bookings_for_home',\n                        home: selectedHome,\n                    }),\n                })\n                    .then((response) => response.json())\n                    .then((data) => {\n                        console.log(data);\n                        if (data.success) {\n                            const bookings = data.data;\n                            updateCalendarWithBookings(bookings);\n                        } else {\n                            console.error(data.data || 'Geen boekingen gevonden.');\n                        }\n                    })\n                    .catch((error) => console.error('Fout:', error));\n\n                updateCalendar();\n            });\n\n            function updateCalendarWithBookings(bookings) {\n                console.log('updateCalendarWithBookings call');\n                console.log(bookings)\n                const selectedMonth = parseInt(monthSelect.value);\n                const selectedYear = parseInt(yearSelect.value);\n                const daysInMonth = new Date(selectedYear, selectedMonth, 0).getDate();\n\n                var bookedGoogleCalendarDays = [];\n\n                fetchBookingsFromGoogleCalendar().then(bookedDats => {\n                        bookedGoogleCalendarDays.push(bookedDats)\n                        var bookedCalenderDaysFlat = bookedGoogleCalendarDays.flat();\n\n                        daysToRent.innerHTML = \"\";\n\n                        for (let day = 1; day <= daysInMonth; day++) {\n                            const li = document.createElement(\"li\");\n                            const yearMonthDay = `${selectedYear}-${selectedMonth.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`;\n\n                            li.setAttribute(\"data-day\", day);\n                            li.setAttribute(\"data-month\", selectedMonth);\n                            li.setAttribute(\"data-year\", selectedYear);\n\n                            li.textContent = day;\n                            const currentDate = new Date(selectedYear, selectedMonth - 1, day);\n                            currentDate.setHours(0, 0, 0, 0);\n\n                            const isBooked = bookings.some((booking) => {\n                                const startDate = new Date(booking.start_date);\n                                const endDate = new Date(booking.end_date);\n                                startDate.setHours(0, 0, 0, 0);\n                                endDate.setHours(23, 59, 59, 999);\n\n                                const currentTime = currentDate.getTime();\n                                const startTime = startDate.getTime();\n                                const endTime = endDate.getTime();\n\n                                const checkDate = new Date(startDate);\n                                const checkDay = checkDate.getDate();\n\n                                if (day == checkDay) {\n                                    return false;\n                                }\n\n                                const checkDatetwo = new Date(endDate);\n                                const checkDaytwo = checkDatetwo.getDate();\n                                if (day == checkDaytwo) {\n                                    return false;\n                                }\n\n                                if (currentTime > startTime) {\n                                    if (currentTime < endTime) {\n                                        if (currentTime !== startTime) {\n                                            if (currentTime !== endTime) {\n                                                return true;\n                                            }\n                                        }\n                                    }\n                                }\n\n                                return false;\n                            });\n\n                            if (isBooked) {\n                                li.classList.add('booked');\n                            }\n\n                            try {\n                                \/\/ If date is alreate booked inside Google Calendar, add class booked\n                                if (bookedCalenderDaysFlat.includes(yearMonthDay)) {\n                                    li.classList.add('booked');\n                                }\n                            } catch (error) {\n                                console.error('Error while checking if date is booked in Google Calendar:', error);\n                            }\n\n                            daysToRent.appendChild(li);\n                        }\n                    }\n                );\n            }\n\n            for (let i = currentYear; i <= currentYear + 3; i++) {\n                const option = document.createElement(\"option\");\n                option.value = i;\n                option.textContent = i;\n                yearSelect.appendChild(option);\n            }\n\n            monthSelect.value = currentMonth;\n            yearSelect.value = currentYear;\n\n            function getDaysInMonth(month, year) {\n                return new Date(year, month, 0).getDate();\n            }\n\n\n            function updateCalendar() {\n                console.log('updateCalendar call');\n                const selectedMonth = parseInt(monthSelect.value);\n                const selectedYear = parseInt(yearSelect.value);\n                const selectedHome = homeSelect.value;\n\n                if (typeof ajaxurl === 'undefined') {\n                    console.error('ajaxurl is niet gedefinieerd');\n                    return;\n                }\n\n                var bookedGoogleCalendarDays = [];\n\n                fetchBookingsFromGoogleCalendar().then(bookedDates => {\n                    bookedGoogleCalendarDays = bookedDates;\n\n                    fetch(ajaxurl, {\n                        method: 'POST',\n                        headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n                        body: new URLSearchParams({\n                            action: 'fetch_bookings_for_home',\n                            home: selectedHome,\n                            year: selectedYear,\n                            month: selectedMonth,\n                        }),\n                    })\n                        .then((response) => response.json())\n                        .then((data) => {\n                            if (data.success) {\n                                const bookings = data.data;\n                                const daysInMonth = new Date(selectedYear, selectedMonth, 0).getDate(); \/\/ Get days in selected month\n                                const nextMonth = selectedMonth === 12 ? 1 : selectedMonth + 1;\n                                const nextYear = selectedMonth === 12 ? selectedYear + 1 : selectedYear;\n\n                                \/\/ Fetch bookings for the next month\n                                fetch(ajaxurl, {\n                                    method: 'POST',\n                                    headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n                                    body: new URLSearchParams({\n                                        action: 'fetch_bookings_for_home',\n                                        home: selectedHome,\n                                        year: nextYear,\n                                        month: nextMonth,\n                                    }),\n                                })\n                                    .then((response) => response.json())\n                                    .then((nextMonthData) => {\n                                        if (nextMonthData.success) {\n                                            const nextMonthBookings = nextMonthData.data;\n                                            const allBookings = [...bookings, ...nextMonthBookings];\n                                            daysToRent.innerHTML = \"\";\n\n                                            \/\/ Determine first day of the current month\n                                            const firstDayOfMonth = new Date(selectedYear, selectedMonth - 1, 1);\n                                            const firstWeekday = firstDayOfMonth.getDay(); \/\/ Get the starting day (0 = Sunday)\n\n                                            \/\/ Adjust to make Monday the first day of the week\n                                            const adjustedFirstWeekday = firstWeekday === 0 ? 6 : firstWeekday - 1;\n\n                                            \/\/ Insert empty placeholders for alignment\n                                            for (let i = 0; i < adjustedFirstWeekday; i++) {\n                                                const emptyLi = document.createElement(\"li\");\n                                                emptyLi.classList.add(\"empty\");\n                                                daysToRent.appendChild(emptyLi);\n                                            }\n\n                                            \/\/ Loop through the days of the current month\n                                            for (let day = 1; day <= daysInMonth; day++) {\n                                                const li = document.createElement(\"li\");\n                                                const yearMonthDay = `${selectedYear}-${selectedMonth.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`;\n                                                li.setAttribute(\"data-day\", day);\n                                                li.setAttribute(\"data-month\", selectedMonth);\n                                                li.setAttribute(\"data-year\", selectedYear);\n                                                li.textContent = day;\n\n                                                const currentDate = new Date(selectedYear, selectedMonth - 1, day);\n                                                currentDate.setHours(0, 0, 0, 0);\n\n                                                \/\/ Check if the day is booked from the DB (for both current and next month)\n                                                const isBooked = allBookings.some((booking) => {\n                                                    const startDate = new Date(booking.start_date);\n                                                    const endDate = new Date(booking.end_date);\n                                                    startDate.setHours(0, 0, 0, 0);\n                                                    endDate.setHours(23, 59, 59, 999);\n\n                                                    return currentDate >= startDate && currentDate <= endDate;\n                                                });\n\n                                                if (isBooked) {\n                                                    li.classList.add(\"booked\");\n                                                }\n\n                                                \/\/ Check if the day is booked from Google Calendar\n                                                if (bookedGoogleCalendarDays.includes(yearMonthDay)) {\n                                                    li.classList.add(\"booked\");\n                                                }\n\n                                                daysToRent.appendChild(li);\n                                            }\n\n                                            \/\/ Handle the next month's days (display them)\n                                            const nextMonthDaysInMonth = new Date(nextYear, nextMonth, 0).getDate(); \/\/ Get days in next month\n                                            const nextMonthFirstDay = new Date(nextYear, nextMonth - 1, 1);\n                                            const nextMonthFirstWeekday = nextMonthFirstDay.getDay();\n                                            const adjustedNextMonthFirstWeekday = nextMonthFirstWeekday === 0 ? 6 : nextMonthFirstWeekday - 1;\n\n                                            \/\/ Loop through the next month's days\n                                            for (let day = 1; day <= nextMonthDaysInMonth; day++) {\n                                                const li = document.createElement(\"li\");\n                                                const yearMonthDay = `${nextYear}-${nextMonth.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`;\n                                                li.setAttribute(\"data-day\", day);\n                                                li.setAttribute(\"data-month\", selectedMonth + 1);\n                                                li.setAttribute(\"data-year\", selectedYear);\n                                                li.textContent = day;\n\n                                                const currentDate = new Date(nextYear, nextMonth - 1, day);\n                                                currentDate.setHours(0, 0, 0, 0);\n\n                                                \/\/ Check if the day is booked from the DB\n                                                const isBooked = nextMonthBookings.some((booking) => {\n                                                    const startDate = new Date(booking.start_date);\n                                                    const endDate = new Date(booking.end_date);\n                                                    startDate.setHours(0, 0, 0, 0);\n                                                    endDate.setHours(23, 59, 59, 999);\n\n                                                    return currentDate >= startDate && currentDate <= endDate;\n                                                });\n\n                                                if (isBooked) {\n                                                    li.classList.add(\"booked\");\n                                                }\n\n                                                \/\/ Check if the day is booked from Google Calendar\n                                                if (bookedGoogleCalendarDays.includes(yearMonthDay)) {\n                                                    li.classList.add(\"booked\");\n                                                }\n\n                                                daysToRent.appendChild(li);\n                                            }\n                                        } else {\n                                            console.error(nextMonthData.data || \"Geen boekingen voor de volgende maand gevonden.\");\n                                        }\n                                    })\n                                    .catch((error) => console.error(\"Error fetching next month's bookings:\", error));\n                            } else {\n                                console.error(data.data || \"Geen boekingen gevonden.\");\n                            }\n                        })\n                        .catch((error) => console.error(\"Error fetching bookings:\", error));\n                });\n            }\n\n            monthSelect.addEventListener(\"change\", updateCalendar);\n            yearSelect.addEventListener(\"change\", updateCalendar);\n\n            updateCalendar();\n\n            function changeExtraPersons(event) {\n                console.log(event.target.value)\n                if (event.target.value == 1) {\n                    document.getElementById(\"person_2\").style.display = \"none\";\n                    document.getElementById(\"person_3\").style.display = \"none\";\n                    document.getElementById(\"person_4\").style.display = \"none\";\n                    document.getElementById(\"person_5\").style.display = \"none\";\n                    document.getElementById(\"person_6\").style.display = \"none\";\n                }\n\n                if (event.target.value == 2) {\n                    document.getElementById(\"person_2\").style.display = \"block\";\n                    document.getElementById(\"person_3\").style.display = \"none\";\n                    document.getElementById(\"person_4\").style.display = \"none\";\n                    document.getElementById(\"person_5\").style.display = \"none\";\n                    document.getElementById(\"person_6\").style.display = \"none\";\n                }\n\n                if (event.target.value == 3) {\n                    document.getElementById(\"person_2\").style.display = \"block\";\n                    document.getElementById(\"person_3\").style.display = \"block\";\n                    document.getElementById(\"person_4\").style.display = \"none\";\n                    document.getElementById(\"person_5\").style.display = \"none\";\n                    document.getElementById(\"person_6\").style.display = \"none\";\n                }\n\n                if (event.target.value == 4) {\n                    document.getElementById(\"person_2\").style.display = \"block\";\n                    document.getElementById(\"person_3\").style.display = \"block\";\n                    document.getElementById(\"person_4\").style.display = \"block\";\n                    document.getElementById(\"person_5\").style.display = \"none\";\n                    document.getElementById(\"person_6\").style.display = \"none\";\n                }\n\n                if (event.target.value == 5) {\n                    document.getElementById(\"person_2\").style.display = \"block\";\n                    document.getElementById(\"person_3\").style.display = \"block\";\n                    document.getElementById(\"person_4\").style.display = \"block\";\n                    document.getElementById(\"person_5\").style.display = \"block\";\n                    document.getElementById(\"person_6\").style.display = \"none\";\n                }\n\n                if (event.target.value == 6) {\n                    document.getElementById(\"person_2\").style.display = \"block\";\n                    document.getElementById(\"person_3\").style.display = \"block\";\n                    document.getElementById(\"person_4\").style.display = \"block\";\n                    document.getElementById(\"person_5\").style.display = \"block\";\n                    document.getElementById(\"person_6\").style.display = \"block\";\n                }\n\n                changePrice();\n            }\n\n            \/\/\n            \/\/ Calendar\n            \/\/\n            function getMinAndMaxDaysFromString(input) {\n                const numbersFromString = String(input).split(',').map(Number);\n                const minNumber = Math.min(...numbersFromString);\n                const maxNumber = Math.max(...numbersFromString);\n\n                return {minNumber, maxNumber}\n            }\n\n            function calculateHeatingCosts(startDate, endDate, pricePerNight) {\n                const start = new Date(startDate);\n                const end = new Date(endDate);\n                const winterMonths = [10, 11, 12, 1, 2, 3, 4];\n                let totalNights = 0;\n\n                while (start < end) {\n                    const month = start.getMonth() + 1;\n                    if (winterMonths.includes(month)) {\n                        totalNights++;\n                    }\n                    start.setDate(start.getDate() + 1);\n                }\n\n                return totalNights * pricePerNight;\n            }\n\n            function changePrice() {\n                const selectHome = document.getElementById('home');\n                var homeMaxPersons = (selectHome.options[selectHome.selectedIndex]).dataset.persons;\n\n                const selectAmountPersons = document.getElementById('amount_persons');\n                const optionThree = selectAmountPersons.querySelector('option[value=\"3\"]');\n                const optionFour = selectAmountPersons.querySelector('option[value=\"4\"]');\n                const optionFive = selectAmountPersons.querySelector('option[value=\"5\"]');\n                const optionSix = selectAmountPersons.querySelector('option[value=\"6\"]');\n\n                if (optionThree) {\n                    if (homeMaxPersons >= 3) {\n                        optionThree.style.display = 'block';\n                    } else {\n                        optionThree.style.display = 'none';\n                    }\n                }\n\n                if (optionFour) {\n                    if (homeMaxPersons >= 4) {\n                        optionFour.style.display = 'block';\n                    } else {\n                        optionFour.style.display = 'none';\n                    }\n                }\n\n                if (optionFive) {\n                    if (homeMaxPersons >= 5) {\n                        optionFive.style.display = 'block';\n                    } else {\n                        optionFive.style.display = 'none';\n                    }\n                }\n\n                if (optionSix) {\n                    if (homeMaxPersons == 6) {\n                        optionSix.style.display = 'block';\n                    } else {\n                        optionSix.style.display = 'none';\n                    }\n                }\n                var homePrice = (selectHome.options[selectHome.selectedIndex]).dataset.price;\n                var selectedDaysInput = (document.getElementById('selected_days').value).split(',');\n\n                document.getElementById('amount_days').value = selectedDaysInput.length - 1;\n\n                if (document.getElementById('animals').checked) {\n                    var animals = document.getElementById('animals').value;\n                } else {\n                    var animals = 0;\n                }\n\n                if (document.getElementById('child_chair').checked) {\n                    var childChair = document.getElementById('child_chair').value;\n                } else {\n                    var childChair = 0;\n                }\n\n                if (document.getElementById('child_bed').checked) {\n                    var childBed = document.getElementById('child_bed').value;\n                } else {\n                    var childBed = 0;\n                }\n\n                if (document.getElementById('amount_persons').value == 3) {\n                    var extraPeoplePrice = 10;\n                } else if (document.getElementById('amount_persons').value == 4) {\n                    var extraPeoplePrice = 20;\n                } else if (document.getElementById('amount_persons').value == 5) {\n                    var extraPeoplePrice = 30;\n                } else if (document.getElementById('amount_persons').value == 6) {\n                    var extraPeoplePrice = 40;\n                } else {\n                    var extraPeoplePrice = 0;\n                }\n\n                function calculateAge(birthdate) {\n                    if (!birthdate) {\n                        return 0;\n                    }\n\n                    const birthDate = new Date(birthdate);\n                    const today = new Date();\n                    const yearDifference = today.getFullYear() - birthDate.getFullYear();\n                    const monthDifference = today.getMonth() - birthDate.getMonth();\n                    const dayDifference = today.getDate() - birthDate.getDate();\n\n                    return yearDifference;\n                }\n\n                \/\/ Helper function to calculate age reduction\n                function calculateAgeReduction(birthdate) {\n                    if (!birthdate) {\n                        return 0;\n                    }\n\n                    const birthDate = new Date(birthdate);\n                    const today = new Date();\n                    let age = today.getFullYear() - birthDate.getFullYear();\n\n                    \/\/ Adjust age if the birthday hasn't occurred yet this year (without using &&)\n                    if (today.getMonth() < birthDate.getMonth()) {\n                        age--;\n                    } else {\n                        if (today.getMonth() === birthDate.getMonth()) {\n                            if (today.getDate() < birthDate.getDate()) {\n                                age--;\n                            }\n                        }\n                    }\n\n                    if (age < 14) {\n                        return 10;\n                    } else {\n                        return 0;\n                    }\n                }\n\n                \/\/ Get birthdates\n                const birthdateSecond = document.getElementById('birthdate_second').value;\n                const birthdateThirth = document.getElementById('birthdate_thirth').value;\n                const birthdateFourth = document.getElementById('birthdate_fourth').value;\n                const birthdateFifth = document.getElementById('birthdate_fifth').value;\n                const birthdateSix = document.getElementById('birthdate_sixth').value;\n\n                let ageReductionSecond = calculateAgeReduction(birthdateSecond);\n                let ageReductionThirth = calculateAgeReduction(birthdateThirth);\n                let ageReductionFourth = calculateAgeReduction(birthdateFourth);\n                let ageReductionFifth = calculateAgeReduction(birthdateFifth);\n                let ageReductionSix = calculateAgeReduction(birthdateSix);\n\n                let priceOfTax = 2.10;\n\n                if (calculateAge(birthdateSecond) >= 14) {\n                    priceOfTax += 2.10;\n                }\n\n                if (calculateAge(birthdateThirth) >= 14) {\n                    priceOfTax += 2.10;\n                }\n\n                if (calculateAge(birthdateFourth) >= 14) {\n                    priceOfTax += 2.10;\n                }\n\n                if (calculateAge(birthdateFifth) >= 14) {\n                    priceOfTax += 2.10;\n                }\n\n                if (calculateAge(birthdateSix) >= 14) {\n                    priceOfTax += 2.10;\n                }\n\n                priceOfTax = priceOfTax.toString().match(\/^-?\\d+(?:\\.\\d{0,2})?\/)[0];\n                console.log('Tax: ' + priceOfTax);\n\n\n                const heatingCost = calculateHeatingCosts(\n                    document.getElementById('start_date').value,\n                    document.getElementById('end_date').value,\n                    10, \/\/ Price\n                );\n\n                document.getElementById('extra_cost_heating').value = heatingCost;\n\n                console.log(`Totale extra stookkosten: \u20ac${heatingCost}`);\n\n                console.log(\"home price: \" + homePrice);\n                var homePricePerDay = homePrice;\n                var selectedDays = selectedDaysInput.length;\n\n                let startDate = new Date(document.getElementById('start_date').value);\n                let endDate = new Date(document.getElementById('end_date').value);\n                startDate.setHours(0, 0, 0, 0);\n                endDate.setHours(0, 0, 0, 0);\n\n                if (startDate > endDate) {\n                    const temp = startDate;\n                    startDate = endDate;\n                    endDate = temp;\n                }\n\n                const timeDifference = endDate - startDate;\n                const dayDifference = timeDifference \/ (1000 * 60 * 60 * 24);\n                const nights = Math.round(Math.max(dayDifference, 0));\n\n                console.log('Nights: ' + nights);\n\n                document.getElementById('amount_days').value = nights;\n                document.getElementById('extra_cost_tax').value = (Number(priceOfTax) * Number(nights));\n\n\n                console.log(\"Dog: \" + animals * nights);\n                console.log(\"Child Bed: \" + Number(childBed));\n                console.log(\"Child Chair: \" + Number(childChair));\n                console.log(\"Home Price total: \" + (Number(homePricePerDay) * Number(nights)));\n                console.log(\"Selected nights: \" + nights);\n                console.log(\"Heating Cost: \" + Number(heatingCost));\n                console.log(\"Extra People Price: \" + Number(extraPeoplePrice));\n                console.log(\"Age Reduction Third: \" + Number(ageReductionThirth));\n                console.log(\"Age Reduction Fourth: \" + Number(ageReductionFourth));\n                console.log(\"Age Reduction Fifth: \" + Number(ageReductionFifth));\n                console.log(\"Age Reduction Six: \" + Number(ageReductionSix));\n                console.log(\"Tax: \" + Number(priceOfTax.toString().match(\/^-?\\d+(?:\\.\\d{0,2})?\/)[0] * (nights)));\n\n                if (nights > 1 && nights <= 2) {\n                    var extraCleaningPrice = 40;\n                    console.log(\"Extra Cleaning: \" + Number(extraCleaningPrice));\n                    document.getElementById('extra_cost_cleaning').value = Number(extraCleaningPrice);\n                    document.getElementById('extra_cleaning_cost_popup').style.display = 'block';\n                }\n\n                if (nights > 2) {\n                    var extraCleaningPrice = 0;\n                    console.log(\"Extra Cleaning: \" + Number(extraCleaningPrice));\n                    document.getElementById('extra_cost_cleaning').value = Number(extraCleaningPrice);\n                    document.getElementById('extra_cleaning_cost_popup').style.display = 'none';\n                }\n                console.log('Extra people price times nights: ' + (Number(extraPeoplePrice) * Number(nights)));\n\n                var totalHomePrice =\n                    (Number(homePricePerDay)) * (Number(nights) || 1) +\n                    (Number(priceOfTax) || 0) * (Number(nights) || 0) +\n                    (Number(animals) || 0) * (Number(nights) || 0) +\n                    (Number(childBed) || 0) +\n                    (Number(childChair) || 0) +\n                    (Number(heatingCost) || 0) +\n                    (Number(extraPeoplePrice) * Number(nights)) -\n                    ((Number(ageReductionThirth) * Number(nights)) || 0) -\n                    ((Number(ageReductionFourth) * Number(nights)) || 0) -\n                    ((Number(ageReductionFifth) * Number(nights)) || 0) -\n                    ((Number(ageReductionSix) * Number(nights)) || 0) +\n                    (Number(extraCleaningPrice) || 0);\n\n\n                totalHomePrice = totalHomePrice.toString();\n                totalHomePrice = totalHomePrice.replace('.', ',');\n\n                if (totalHomePrice.includes(',')) {\n                    let parts = totalHomePrice.split(',');\n                    parts[1] = parts[1].padEnd(2, '0');\n                    totalHomePrice = parts.join(',');\n                } else {\n                    totalHomePrice = totalHomePrice + ',-';\n                }\n\n                document.getElementById('total_price').innerHTML = totalHomePrice;\n                document.getElementById('total_price_hidden').value = totalHomePrice;\n            }\n\n            function showHideIdFirst() {\n                if (document.getElementById('nationality').value != 'GE') {\n                    document.getElementById('id_number_first').style.display = 'block';\n                } else {\n                    document.getElementById('id_number_first').style.display = 'none';\n                }\n            }\n\n            function showHideIdSecond() {\n                if (document.getElementById('nationality_person_2').value != 'GE') {\n                    document.getElementById('id_number_second').style.display = 'block';\n                } else {\n                    document.getElementById('id_number_second').style.display = 'none';\n                }\n            }\n\n            function showHideIdThirth() {\n                if (document.getElementById('nationality_person_3').value != 'GE') {\n                    document.getElementById('id_number_thirth').style.display = 'block';\n                } else {\n                    document.getElementById('id_number_thirth').style.display = 'none';\n                }\n            }\n\n            function showHideIdFourth() {\n                if (document.getElementById('nationality_person_4').value != 'GE') {\n                    document.getElementById('id_number_fourth').style.display = 'block';\n                } else {\n                    document.getElementById('id_number_fourth').style.display = 'none';\n                }\n            }\n\n            function showHideIdFifth() {\n                if (document.getElementById('nationality_person_5').value != 'GE') {\n                    document.getElementById('id_number_fourth').style.display = 'block';\n                } else {\n                    document.getElementById('id_number_fourth').style.display = 'none';\n                }\n            }\n\n            function showHideIdSix() {\n                if (document.getElementById('nationality_person_6').value != 'GE') {\n                    document.getElementById('id_number_fourth').style.display = 'block';\n                } else {\n                    document.getElementById('id_number_fourth').style.display = 'none';\n                }\n            }\n\n            \/\/ On booking form submit\n            \/\/\n            document.addEventListener(\"DOMContentLoaded\", function () {\n                const bookingForm = document.querySelector(\"form\");\n                const submitButton = document.querySelector(\"button[name='booking_form_submit']\");\n                const startDateInput = document.getElementById(\"start_date\");\n                const endDateInput = document.getElementById(\"end_date\");\n                const currentLang = document.getElementById('current_lang');\n\n                submitButton.addEventListener(\"click\", function (event) {\n                    const startDate = new Date(startDateInput.value);\n                    const endDate = new Date(endDateInput.value);\n                    const home = document.getElementById('home');\n\n                    if (home.value === '') {\n                        alert('Please select a home!');\n                        event.preventDefault();\n                        return;\n                    }\n\n                    if (isNaN(startDate) || isNaN(endDate)) {\n                        if (currentLang === 'nl') {\n                            alert('Please select both a start and end date.');\n                        } else {\n                            alert('Please select both a start and end date.');\n                        }\n                        event.preventDefault();\n                        return;\n                    }\n\n                    console.log(startDate, endDate);\n                    startDate.setHours(0, 0, 0, 0);\n                    endDate.setHours(0, 0, 0, 0);\n\n                    if (startDate.getTime() === endDate.getTime()) {\n                        console.log('debug 1')\n                        if (currentLang === 'nl') {\n                            alert('Incorrecte datum ingevuld!');\n                        } else {\n                            alert('Datum falsch eingegeben!');\n                        }\n                        event.preventDefault();\n                    }\n\n                    const timeDifference = endDate - startDate;\n                    const dayDifference = timeDifference \/ (1000 * 60 * 60 * 24); \/\/ Convert ms to days\n\n                    \/\/ It's cringe because WordPress f*cks up the AND operator in this codebase\n                    if (startDate < new Date()) {\n                        if (endDate <= new Date()) {\n                            console.log('debug 2')\n                            if (currentLang === 'nl') {\n                                alert('Incorrecte datum ingevuld!');\n                            } else {\n                                alert('Datum falsch eingegeben!');\n                            }\n                            event.preventDefault();\n                            return;\n                        }\n                    }\n                    const nights = Math.max(Math.round(dayDifference), 0);\n                    if (nights < 2 ) {\n                        console.log('debug 3')\n                        if (currentLang === 'nl') {\n                            alert('Incorrecte datum ingevuld!');\n                        } else {\n                            alert('Datum falsch eingegeben!');\n                        }\n                        event.preventDefault();\n                    }\n                });\n            });\n\n            function fetchBookingsFromGoogleCalendar() {\n                const home = document.getElementById('home').value;\n                const selectedYear = document.getElementById('year-select').value;\n                const selectedMonth = document.getElementById('month-select').value;\n                const ajaxurl = \"https:\/\/hanninkhof.de\/wp-admin\/admin-ajax.php\";\n\n                return fetch(ajaxurl, {\n                    method: 'POST',\n                    headers: {'Content-Type': 'application\/x-www-form-urlencoded'},\n                    body: new URLSearchParams({\n                        action: 'fetch_bookings_from_calendar_by_home_name',\n                        home: `${home}`,\n                        year: selectedYear,\n                        month: selectedMonth,\n                    }),\n                })\n                    .then(response => {\n                        if (!response.ok) {\n                            throw new Error('Network response was not ok');\n                        }\n                        return response.json();\n                    })\n                    .then(data => {\n                        console.log(data)\n                        if (data.success) {\n                            var bookedDates = [];\n                            for (let date of data.data) {\n                                bookedDates.push(date);\n                            }\n                            return bookedDates;\n                        } else {\n                            return [];\n                        }\n                    })\n                    .catch(error => {\n                        console.error('Error fetching bookings:', error);\n                        throw error;\n                    });\n            }\n\n            document.getElementById('booking-form').addEventListener('submit', function (e) {\n                const amount = parseInt(document.getElementById('amount_persons').value, 10);\n\n                if (isNaN(amount) || amount < 2) return;\n\n                const birthdateIds = [\n                    'birthdate_second',\n                    'birthdate_thirth',\n                    'birthdate_fourth',\n                    'birthdate_fifth',\n                    'birthdate_sixth'\n                ];\n\n                for (let i = 0; i < amount - 1; i++) {\n                    const input = document.getElementById(birthdateIds[i]);\n                    if (!input || input.value.trim() === '') {\n                        e.preventDefault();\n                        alert(`Vul alstublieft geboortedatum in voor persoon ${i + 2}.`);\n                        input.focus();\n                        return;\n                    }\n                }\n            });\n      <\/script>\n    <\/pre>\n\n  <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.3\/dist\/js\/bootstrap.bundle.min.js\"\n          integrity=\"sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK\/7HAuoJl+0I4\"\n          crossorigin=\"anonymous\"><\/script>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Rotes Moor &#8220;1&#8221; (5 pers.) Ferienwohnung Rotes Moor (73 m2) verf\u00fcgt im Erdgeschoss \u00fcber ein modern eingerichtetes Wohnzimmer mit einem gem\u00fctlichen 6-Personen-Ecksofa, einem Esstisch f\u00fcr 6 Personen, Smart-SAT\/TV mit Chromecast und WLAN, einen Flur mit Garderobe, ein Schlafzimmer mit einem 2-Personen-Boxspringbett 180 x 210, ein Schlafzimmer mit einem Einzel-Boxspringbett 90 x 210 und einem Schlafsofa [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1874","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/hanninkhof.de\/index.php?rest_route=\/wp\/v2\/pages\/1874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hanninkhof.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hanninkhof.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hanninkhof.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hanninkhof.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1874"}],"version-history":[{"count":40,"href":"https:\/\/hanninkhof.de\/index.php?rest_route=\/wp\/v2\/pages\/1874\/revisions"}],"predecessor-version":[{"id":2844,"href":"https:\/\/hanninkhof.de\/index.php?rest_route=\/wp\/v2\/pages\/1874\/revisions\/2844"}],"wp:attachment":[{"href":"https:\/\/hanninkhof.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}