-
Notifications
You must be signed in to change notification settings - Fork 0
/
damageservice.html
861 lines (861 loc) · 38.9 KB
/
damageservice.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
<!DOCTYPE html><!-- Last Published: Tue Jul 02 2024 23:16:40 GMT+0000 (Coordinated Universal Time) -->
<html data-wf-page="651c54da21448f75b98d93f3" data-wf-site="64233eb40608547f9d6368d5" lang="de">
<head>
<meta charset="utf-8">
<title>Damageservice</title>
<meta content="Damageservice" property="og:title">
<meta content="Damageservice" property="twitter:title">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="hphYoo_5I8byIn7KGFl0517707wDBPFwjhcv20sS1tc" name="google-site-verification">
<link href="css/normalize.css" rel="stylesheet" type="text/css">
<link href="css/webflow.css" rel="stylesheet" type="text/css">
<link href="css/cardea.webflow.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com" rel="preconnect">
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script>
<script type="text/javascript">WebFont.load({ google: { families: ["Montserrat:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic","Nunito:regular,700"] }});</script>
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="images/webclip.png" rel="apple-touch-icon">
<link href="https://cardea-insurance.com/damageservice" rel="canonical">
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-GF7RJNKMTN"></script>
<script type="text/javascript">window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('set', 'developer_id.dZGVlNj', true);gtag('config', 'G-GF7RJNKMTN');</script>
<script type="text/javascript">!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.agent='plwebflow';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init', '317888321044377');fbq('track', 'PageView');</script>
<meta charset="UTF-8">
<style>
.dropdown-content {
display: none; /* by default, hide the dropdown */
/* any other styles you want to apply to the dropdown */
}
.dropdown-content.show {
display: block; /* when .show is added, display the dropdown */
}
body, p, h1, h2, h3, h4, h5, h6, span, div, a, li, ul, ol, input, button {
font-family: 'TT Norms', sans-serif;
font-feature-settings: 'liga' off; /* Disable standard ligatures */
-webkit-font-feature-settings: 'liga' off; /* Safari */
}
.floating-label-group {
position: relative;
margin-bottom: 20px;
}
.floating-label-group input {
font-size: 16px;
padding: 20px 10px 10px 15px; /* Adjusted padding */
display: block;
width: 100%;
border: 1px solid lightgray;
border-radius: 30px; /* Rounded borders */
box-sizing: border-box; /* Ensures padding doesn't increase size */
height: 50px;
text-indent: 0px; /* Adjusted text starting position */
margin-bottom: -10px;
}
.floating-label-group label {
color: #5264AE;
font-size: 16px;
font-weight: normal;
position: absolute;
pointer-events: none;
left: 15px; /* Increased left spacing for the label */
top: 16px; /* Adjusted for initial position within the input */
transition: 0.2s ease all;
background-color: white; /* Background to cover input border */
padding: 0 4px; /* Padding for label's background */
}
.floating-label-group select {
font-size: 16px;
padding: 10px 15px; /* Adjusted padding */
display: block;
width: 100%;
border: 1px solid lightgray;
border-radius: 30px;
box-sizing: border-box;
height: 50px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: white;
font-family: 'Nunito', sans-serif;
color: #5264AE;
background-image: url('data:image/svg+xml;utf8,<svg fill="%235264AE" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
background-position: right 2px center;
background-repeat: no-repeat;
background-size: 16px 16px;
}
.floating-label-group input:focus ~ .floating-label,
.floating-label-group input:not(:placeholder-shown) ~ .floating-label {
top: 3px; /* Position above the input field */
font-size: 12px;
color: #5264AE;
font-weight:bold;
font-family: 'Nunito', sans-serif; /* Apply Nunito font here */
}
.floating-label-group input:focus {
outline: none;
border: 1px solid #262445; /* Highlighted border when focused */
}
.floating-label-group select:focus {
outline: none;
border: 1px solid #262445; /* Highlighted border when focused */
}
.input-group {
display: flex;
}
/* Styles for the country code select container */
.country-code-select-container {
flex: 1;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
margin-right: -1px;
}
.country-code-select-container select {
width: 100%;
border-radius: 30px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
/* Styles for the phone number input container */
.phone-number-input-container {
flex: 5;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.phone-number-input-container input {
width: 100%;
border-radius: 30px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.wg-li {
display: none;
}
</style>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0">
<style>
.button-footer {
text-align: left;
display: flex;
align-items: center;
padding-top: 6px;
padding-bottom: 6px;
transition: background-color 0.3s, color 0.3s;
}
.button-footer:hover {
background-color: white;
color: #262445;
}
@media (max-width: 991px) {
/* Styles for screen sizes below 992 pixels */
.button-footer {
text-align: left;
display: flex;
align-items: center;
padding-top: 6px;
padding-bottom: 6px;
transition: background-color 0.3s, color 0.3s;
color: white; /* Set text color to white */
text-decoration: none; /* Remove text decorations */
}
}
.material-symbols-outlined {
display: flex;
align-items: center;
margin-right: 5px;
margin-left: 5px;
}
.material-symbols-outlined img {
height: 14px;
width: auto;
margin-right: 15px;
vertical-align: middle;
}
</style>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MFMDT3SB');</script>
<!-- End Google Tag Manager -->
</head>
<body class="body-24">
<header id="navigation" class="navigation">
<div class="w-embed w-iframe"><!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MFMDT3SB" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
</div>
<div class="div-block-72">
<nav class="container-4 w-container">
<div class="div-block-69">
<div class="wg-element-wrapper sw6">
<div data-hover="true" data-delay="300" class="wg-dropdown-1 w-dropdown">
<div lang="de" class="wg-dd-1-togle w-dropdown-toggle">
<div class="wg-selector-text-wrapper">
<div class="wg-flag"><img src="images/de.svg" alt="" class="wg-flag-ico"></div>
<div>DE</div>
</div>
</div>
<nav class="wg-dd-1-list wg-dropdown-link-flag w-dropdown-list">
<a lang="en" href="#" class="wg-dropdown-1-link w-inline-block">
<div class="wg-selector-text-wrapper">
<div class="wg-flag"><img src="images/gb.svg" alt="" class="wg-flag-ico"></div>
<div>EN</div>
</div>
</a>
<a lang="fr" href="#" class="wg-dropdown-1-link w-inline-block">
<div class="wg-selector-text-wrapper">
<div class="wg-flag"><img src="https://uploads-ssl.webflow.com/646dcc901ee966061c6939ad/646dcc911ee966061c693a1c_fr.svg" alt="" class="wg-flag-ico"></div>
<div>FR</div>
</div>
</a>
<a lang="it" href="#" class="wg-dropdown-1-link w-inline-block">
<div class="wg-selector-text-wrapper">
<div class="wg-flag"><img src="images/it.png" alt="" class="wg-flag-ico"></div>
<div>IT</div>
</div>
</a>
</nav>
</div>
</div>
<div class="wg-code w-embed w-script">
<style>
.wg-dd-1-togle {
color: white;
}
</style>
<script type="text/javascript" src="https://cdn.weglot.com/weglot.min.js"></script>
<script>
// init Weglot
Weglot.initialize({
api_key: 'wg_61ee3b20b1064c455b2aae925b39b81b6'
});
// on Weglot init
Weglot.on('initialized', ()=>{
// get the current active language
const currentLang = Weglot.getCurrentLang();
// call updateFlagDropdownLinks function
updateSW6FlagDropdownLinks(currentLang);
setLanguageAttributes(currentLang)
});
// for each of the .wg-element-wrapper language links
document.querySelectorAll('.wg-element-wrapper.sw6 [lang]').forEach((link)=>{
// add a click event listener
link.addEventListener('click', function(e){
// prevent default
e.preventDefault();
// get the current language
var currentLang = this.getAttribute('lang');
// switch to the current active language
Weglot.switchTo(currentLang);
// change the innerHTML of the div
// call updateDropdownLinks function
updateSW6FlagDropdownLinks(currentLang);
});
});
// updateFlagDropdownLinks function
function updateSW6FlagDropdownLinks(currentLang){
// get the wrapper element
const $wrapper = document.querySelector('.wg-element-wrapper.sw6');
// if the .w-dropdown-toggle is not the current active language
if($wrapper.querySelector('.w-dropdown-toggle').getAttribute('lang') !== currentLang){
// swap the dropdown toggle's innerHTML with the current active language link innerHTML
const $activeLangLink = $wrapper.querySelector('[lang='+currentLang+']');
const childDiv = $activeLangLink.innerHTML;
console.log(childDiv);
const $toggle = $wrapper.querySelector('.w-dropdown-toggle');
const toggleDiv = $toggle.innerHTML;
$toggle.innerHTML = childDiv;
$activeLangLink.innerHTML = toggleDiv;
// swap the dropdown toggle's lang attr with the current active language link lang attr
const lang = $activeLangLink.getAttribute('lang');
//setLanguageAttributes(lang);
const toggleLang = $toggle.getAttribute('lang');
$toggle.setAttribute('lang', lang);
$activeLangLink.setAttribute('lang', toggleLang);
adjustInnerHtml();
setLanguageAttributes(lang);
}
}
function adjustInnerHtml() {
document.querySelectorAll('.wg-element-wrapper.sw6 [lang]').forEach((link)=>{
var currentLang = link.getAttribute('lang');
link.querySelector('div.wg-selector-text-wrapper > div:last-child').innerHTML = currentLang.toUpperCase();
});
}
</script>
</div>
<div class="div-block-63">
<a href="index.html" class="navbar-brand w-nav-brand"><img src="images/cardea-insurance-transparent.png" loading="lazy" sizes="154px" height="45" alt="cardea insurance logo" srcset="images/cardea-insurance-transparent-p-500.png 500w, images/cardea-insurance-transparent-p-800.png 800w, images/cardea-insurance-transparent.png 980w" class="image-19"></a>
</div>
<div class="nav-button-wrapper mobile">
<a href="login.html" class="link-block-5 w-inline-block">
<div id="userGreeting" class="text-block-16"> </div>
<div class="html-embed-35 w-embed w-script">
<script>
function jwtDecode(token) {
var base64Url = token.split('.')[1];
var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
var jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) {
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
}).join(''));
return JSON.parse(jsonPayload);
}
// Wait for the DOM to be fully loaded before running the script
document.addEventListener("DOMContentLoaded", function() {
const token = sessionStorage.getItem('token');
// Check if the token exists
if (token) {
// Get the user's given name from the token using jwtDecode
const userGivenName = jwtDecode(token).given_name;
console.log(jwtDecode(token));
// Set the text of the element with the id "userGreeting" to a welcome message
document.getElementById("userGreeting").textContent = `${userGivenName}`;
} else {
// Set the text of the element with the id "userGreeting" to "Anmelden"
document.getElementById("userGreeting").textContent = "Anmelden";
}
});
</script>
</div>
<div class="html-embed-28 w-embed"><span class="material-symbols-outlined" style="font-size:32px;">
account_circle
</span></div>
</a>
</div>
</div>
<nav class="navbar-no-shadow">
<div data-animation="default" class="navbar-no-shadow-container w-nav" data-easing2="ease-in-out" data-easing="ease-in-out" data-collapse="medium" role="banner" data-no-scroll="1" data-duration="0" data-doc-height="1">
<nav class="container-regular">
<nav class="navbar-wrapper">
<nav role="navigation" class="nav-menu-wrapper w-nav-menu">
<ul id="navMenu" role="list" class="nav-menu w-list-unstyled">
<li id="userPages" class="list-item list-item-2">
<div class="html-7 w-embed">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.fa-caret-down {
display: inline-block;
margin-left: 5px;
}
.dropdownH {
display: inline-block;
float: left;
overflow: hidden;
}
.dropdownH .dropbtn {
border: none;
outline: none;
font-family: "Nunito", sans-serif;
padding: 14px 16px;
font-weight: 700;
text-decoration: none;
margin: 0;
}
.dropdownH-content {
display: none;
position: absolute;
background-color: #262445;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdownH-content a {
float: none;
color: white;
padding: 6px 8px;
font-family: "Nunito", sans-serif;
font-weight: 400;
text-decoration: none;
display: block;
text-align: left;
}
.dropdownH-content a:hover {
background-color: #0081ff;
}
.dropdownH:hover .dropdownH-content {
display: block;
}
@media (max-width: 991px) {
.dropbtn.Nav_Link2 {
color: black;
}
}
.nav-link {
color: #FFFFFF;
}
</style>
<div class="dropdownH">
<span class="dropbtn nav-link2" id="versicherung-link">Mein Konto<i class="fa fa-caret-down"></i></span>
<div class="dropdownH-content">
<a href="my-insurance.html">Meine Policen</a>
<a href="referral.html">Meine Empfehlungen</a>
<a href="cashback.html">Mein Cashback</a>
</div>
</div>
<style>
.disabled {
cursor: default;
pointer-events: none;
}
</style>
</div>
</li>
<li class="list-item list-item-2">
<div class="html-embed-14 w-embed">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="dropdownH">
<a href="/versicherung" class="dropbtn nav-link2" id="versicherung-link">Versicherungen<i class="fa fa-caret-down"></i></a>
<div class="dropdownH-content">
<a href="/versicherung#krankenkasse">Krankenkasse</a>
<a href="/versicherung#fahrzeugversicherung">Fahrzeugversicherung</a>
<a href="/versicherung#haushaltsversicherung">Haushaltsversicherung</a>
<a href="/versicherung#lebensversicherung">Lebensversicherung</a>
<a href="/versicherung#rechtsschutz">Rechtsschutz</a>
<a href="/versicherung#reiseversicherung">Reiseversicherung</a>
<a href="/versicherung#tierversicherung">Tierversicherung</a>
<a href="/versicherung#gebaeudeversicherung">Gebäudeversicherung</a>
<a href="/versicherung#wertsachenversicherung">Wertsachenversicherung</a>
<a href="/versicherung#handyversicherung">Handyversicherung</a>
<a href="/versicherung#laptopversicherung">Laptopversicherung</a>
<a href="/versicherung#andere">Andere</a>
</div>
</div>
<style>
.disabled {
cursor: default;
pointer-events: none;
}
</style>
</div>
</li>
<li class="list-item-2">
<a href="mandat.html" class="nav-link2">Betreuung</a>
</li>
<li class="list-item list-item-2">
<div class="html-embed-14 second w-embed">
<div class="dropdownH">
<a class="dropbtn nav-link2" id="uber-uns-link">Über uns<i class="fa fa-caret-down"></i></a>
<div class="dropdownH-content">
<a href="/dienstleistungen">Über uns</a>
<a href="blog.html">Blog</a>
<a href="faq.html">FAQ</a>
</div>
</div>
</div>
</li>
<li class="list-item list-item-2">
<a href="contact.html" class="nav-link2">Kontakt</a>
</li>
<li class="list-item notvisiblefordesktop list-item-2"><button id="langButton" class="button-primary" data-wf-user-logout="Abmelden" data-wf-user-login="Anmelden" type="button">Abmelden</button></li>
</ul>
</nav>
<div id="menu-button" class="menu-button w-nav-button">
<div class="icon-2 w-icon-nav-menu"></div>
</div>
</nav>
</nav>
</div>
</nav>
</nav>
</div>
<div class="html-embed-9 w-embed w-script">
<style>
body {
position: relative;
/* other styles as necessary */
}
.nav-link2.w--current {
color: white!important;
text-align: left;
}
</style>
<script>
const accessToken = sessionStorage.getItem('accessToken');
const userPages = document.getElementById('userPages');
if (accessToken) {
userPages.style.display = 'block';
} else {
userPages.style.display = 'none';
}
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Select the caret icon
var caret = document.querySelector('.fa-caret-down');
// Add click event listener to the caret icon
caret.addEventListener('click', function(event) {
// Prevent the default action
event.preventDefault();
// Check if the window width is less than 992 pixels
if (window.innerWidth < 992) {
// Select the dropdown content
var dropdownContent = this.parentElement.querySelector('.dropdownH-content');
// Toggle the display property
if (dropdownContent.style.display === 'block') {
dropdownContent.style.display = 'none';
} else {
dropdownContent.style.display = 'block';
}
}
});
window.addEventListener('scroll', function() {
if (window.innerWidth < 992) {
var navMenu = document.querySelector('[data-nav-menu-open]');
if (navMenu) {
navMenu.removeAttribute('data-nav-menu-open');
}
}
});
// Add a listener for window resize to adjust dropdown visibility accordingly
window.addEventListener('resize', function() {
var dropdowns = document.getElementsByClassName("dropdownH-content");
for (var i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (window.innerWidth >= 992) {
// Always show the dropdown on larger screens
openDropdown.style.display = 'block';
} else {
// Hide the dropdown on smaller screens
openDropdown.style.display = 'none';
}
}
});
});
</script>
</div>
<div id="offerteDivBlock" class="div-block-95">
<div class="html-embed-27 w-embed">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200">
<style>
#offerteDivBlock {
/* Your existing styles, make sure it's relative if it's not already */
position: relative;
}
.offerteText {
padding-right: 20px;
padding-left: 20px;
display: flex; /* Set up flexbox layout */
flex-wrap: wrap; /* Allow items to wrap to the next line */
justify-content: center; /* Center-align items on the main axis */
text-align: center; /* Center-align text for when items wrap */
width: 100%; /* Set a width to the parent container */
}
#closeButton {
/* Position it at the top-right corner of the offerteDivBlock */
position: absolute;
right: 5px; /* Align to the far right */
top: 0; /* Align to the top */
cursor: pointer; /* Change cursor on hover */
padding: 5px; /* Add space around the 'X' for easier clicking */
/* Add more styles if needed */
}
.promoLink{
color: white;
text-decoration: none;
}
</style>
<a class="promoLink" href="mandat.html">
<div id="offerTextBox" class="offerteText">
Gewinne Ein iPhone 15 Pro Max Indem Wir Deine Versicherung Kostenlos Betreuen!
<div class="countdown">
Offerte gilt:
<span id="days">0</span> Tage,
<span id="hours">0</span> Std.
<span id="minutes">0</span> Min.
<span id="seconds">0</span> Sek.
</div>
</div>
</a>
<span id="closeButton" style="cursor:pointer;position:absolute;right:0;top:0;font-size:24px" class="material-symbols-outlined">
close
</span>
</div>
<div class="html-embed-25 w-embed w-script">
<script>
function hideOffer() {
const offerDiv = document.getElementById('offerteDivBlock');
offerDiv.style.display = 'none';
}
document.getElementById('closeButton').addEventListener('click', hideOffer);
function updateCountdown() {
const now = new Date();
const year = now.getFullYear();
const targetDate = new Date(year, 2, 1); // January 14th of the current year
// Check if the current date is past January 14th
if (now >= targetDate) {
targetDate.setFullYear(year + 1); // If so, set the target to January 14th of the next year
}
const diffInSeconds = Math.floor((targetDate - now) / 1000);
const days = Math.floor(diffInSeconds / (60 * 60 * 24));
const hours = Math.floor(diffInSeconds / (60 * 60) % 24);
const minutes = Math.floor(diffInSeconds / 60 % 60);
const seconds = Math.floor(diffInSeconds % 60);
document.getElementById('days').textContent = days;
document.getElementById('hours').textContent = hours;
document.getElementById('minutes').textContent = minutes;
document.getElementById('seconds').textContent = seconds;
}
setInterval(updateCountdown, 1000);
</script>
</div>
</div>
</header>
<div>
<h1 class="heading-33">Schadenservice</h1>
<div class="form-block-2 w-form">
<form id="email-form" name="email-form" data-name="Email Form" method="get" class="form-5" data-wf-page-id="651c54da21448f75b98d93f3" data-wf-element-id="93ca360d-4890-df19-a1bc-4f55464e3045"><label for="name" class="pa_label">Name:</label><input class="pa-field w-input" maxlength="256" name="name" data-name="Name" placeholder="" type="text" id="name" required=""><label for="Telefonnummer" class="pa_label">Telefonnummer:</label><input class="pa-field w-input" maxlength="256" name="Telefonnummer" data-name="Telefonnummer" placeholder="" type="text" id="Telefonnummer" required=""><label for="Schaden" class="pa_label">Schaden:</label><input class="pa-field w-input" maxlength="256" name="Schaden" data-name="Schaden" placeholder="Kollision / Parkschaden / Hagel / Steinschlag" type="email" id="Schaden" required="">
<div class="div-block-93"><input type="submit" data-wait="Please wait..." class="button-primary schadenservicesubmit w-button" value="Submit"></div>
</form>
<div class="w-form-done">
<div>Thank you! Your submission has been received!</div>
</div>
<div class="w-form-fail">
<div>Oops! Something went wrong while submitting the form.</div>
</div>
</div>
</div>
<footer class="footer">
<div class="div-block-42">
<div class="w-layout-grid grid-13">
<figure id="w-node-_23f2c297-ff34-3f11-fdfd-d65fc614959c-a22cdad6">
<div class="w-layout-grid grid-14">
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495a0" href="index.html" class="footer-link">Home</a>
<div id="userPages" class="userpages w-node-_5fdcd4ae-3430-924c-7085-efd3e43fc296-a22cdad6">
<a data-w-id="fe196bba-1339-f576-950d-92eb4fad9f3a" href="my-insurance.html" class="footer-link">Meine Versicherungen</a>
</div>
<div id="userPages" class="userpages w-node-c1271710-aada-136d-ebeb-717894564855-a22cdad6">
<a id="userPagesFooter" data-w-id="0b5b7849-99e5-7989-4828-b0a27be3d052" href="referral.html" class="footer-link">Referrals</a>
</div>
<div id="userPages" class="userpages w-node-ca431c0d-1cf8-94a7-54f2-5e280cf3cabf-a22cdad6">
<a id="userPagesFooter" data-w-id="ca431c0d-1cf8-94a7-54f2-5e280cf3cac0" href="mandat.html" class="footer-link">Mandatieren</a>
</div>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495a2" href="insurance.html" class="footer-link">Versicherungen</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495a4" href="about.html" class="footer-link">Dienstleistungen</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495a6" href="faq.html" class="footer-link">FAQ</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495a8" href="blog.html" class="footer-link">Blog</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495aa" href="contact.html" class="footer-link">Kontakt</a>
<a data-w-id="1e9dc13b-a119-4ae9-cfcc-8f843352e555" href="damageservice.html" aria-current="page" class="footer-link w--current">Schadenservice</a>
<a data-w-id="9817ece3-84ec-6c9b-c9c9-f0931ad052fb" href="credit.html" class="footer-link">Kredit</a>
</div>
</figure>
<div id="w-node-_23f2c297-ff34-3f11-fdfd-d65fc61495ac-a22cdad6">
<div class="w-layout-grid grid-14">
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495b0" href="/versicherung#krankenkasse" class="footer-link">Krankenkasse</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495b2" href="/versicherung#fahrzeugversicherung" class="footer-link">Fahrzeugversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495b4" href="/versicherung#haushaltsversicherung" class="footer-link">Haushaltsversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495b6" href="/versicherung#lebensversicherung" class="footer-link">Lebensversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495b8" href="/versicherung#rechtsschutz" class="footer-link">Rechtsschutz</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495ba" href="/versicherung#reiseversicherung" class="footer-link">Reiseversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495bc" href="/versicherung#tierversicherung" class="footer-link">Tierversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495be" href="/versicherung#gebaeudeversicherung" class="footer-link">Gebäudeversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495c0" href="/versicherung#wertsachenversicherung" class="footer-link">Wertsachenversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495c2" href="/versicherung#handyversicherung" class="footer-link">Handyversicherung</a>
<a data-w-id="23f2c297-ff34-3f11-fdfd-d65fc61495c4" href="/versicherung#laptopversicherung" class="footer-link">Laptopversicherung</a>
</div>
</div>
<address id="w-node-c3df6031-6bb3-548a-24a6-79e9d93a04e3-a22cdad6" class="address">
<div class="w-layout-grid grid-15">
<div id="w-node-c3df6031-6bb3-548a-24a6-79e9d93a04e5-a22cdad6">
<p class="paragraph-14">Bahnhofstrasse 100<br>Zürich 8001</p>
<div class="html-embed-7 w-embed"><button class="button-footer" type="page" onclick="window.location.href='/kontakt';">
<span class="material-symbols-outlined">
edit
</span>
Schreibe uns
</button></div>
<div class="html-embed-7 w-embed"><button class="button-footer" type="phone" onclick="window.location.href='tel:+41438830007';">
<span class="material-symbols-outlined">
call
</span>
+41 43 883 00 07
</button></div>
<div class="html-embed-7 w-embed"><button class="button-footer" type="email" onclick="location.href='mailto:[email protected]';">
<span class="material-symbols-outlined">
mail
</span>
</button></div>
<div class="html-embed-7 w-embed"><button class="button-footer" type="email" onclick="location.href='/contact';">
<span class="material-symbols-outlined">
videocam
</span>
Beratungsgespräch
</button></div>
</div>
</div>
</address>
<div id="w-node-_3fbf334f-6abe-f37a-adb4-bfd2e904963e-a22cdad6" class="div-block-67">
<div class="w-layout-grid grid-26">
<div id="w-node-_8f0b0d2d-0418-62f7-3304-83facb1242e4-a22cdad6" class="div-block-66">
<a href="https://www.instagram.com/cardeainsurance/" class="w-inline-block"><img src="images/instagram-white.png" loading="lazy" alt="instagram icon" class="image-20 div-block-66"></a>
</div>
<div id="w-node-_6a273747-c086-6f16-5aac-0116e7036ab5-a22cdad6" class="div-block-66">
<a href="https://www.linkedin.com/company/cardea-insurance/" class="w-inline-block"><img src="images/linkedin-white.png" loading="lazy" alt="linkedin icon" class="image-20 div-block-66"></a>
</div>
<div id="w-node-d302738d-18e9-529e-f507-05e25d71c6a0-a22cdad6" class="div-block-66"></div>
</div>
</div>
<div id="w-node-_5bfbded4-6657-e0a3-769d-eb7bfe1a9adf-a22cdad6" class="w-layout-grid"></div>
</div>
</div>
<div class="div-block-43">
<div class="flex justify-center"><img src="images/cardea-insurance-transparent.png" loading="lazy" width="Auto" sizes="200px" alt="cardea insurance logo" srcset="images/cardea-insurance-transparent-p-500.png 500w, images/cardea-insurance-transparent-p-800.png 800w, images/cardea-insurance-transparent.png 980w" class="image-15"></div>
<p class="paragraph">© 2024 Cardea Insurance. All Rights Reserved.<br><br>Bahnhofstrasse 100<br>Zürich 8001<br><br>FINMA zertifiziert <br><a href="https://register.finma.ch/ReportRegister.aspx?lng=de&regnr=39816" class="link-3">Register Nr. 39816<br></a>
</p>
<div class="div-block-59">
<a href="vag.html" class="footer-link footer-ds-agb">VAG</a>
<a href="impressum.html" class="footer-link footer-ds-agb">Impressum</a>
<a href="tos.html" class="footer-link footer-ds-agb">AGB</a>
<a href="privacy-policy.html" class="footer-link footer-ds-agb">Datenschutz</a>
</div>
</div>
<div class="html-embed-16 w-embed w-script">
<script>
const accessTokenFooter = sessionStorage.getItem('accessToken');
const userPagesFooter = document.getElementsByClassName('userPage');
for(let i = 0; i < userPagesFooter.length; i++) {
if (accessTokenFooter) {
userPagesFooter[i].style.display = 'block';
} else {
userPagesFooter[i].style.display = 'none';
}
}
</script>
</div>
</footer>
<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=64233eb40608547f9d6368d5" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="js/webflow.js" type="text/javascript"></script>
<script>
function disableRedirectLink() {
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
var versicherungLink = document.getElementById('versicherung-link');
var uberUnsLink = document.getElementById('uber-uns-link');
var versicherungDropdown = document.getElementById('versicherung-dropdown');
var uberUnsDropdown = document.getElementById('uber-uns-dropdown');
if (screenWidth <= 991) {
versicherungLink.removeAttribute('href');
versicherungLink.classList.add('disabled');
versicherungLink.onclick = function() {
versicherungDropdown.classList.toggle('show');
};
uberUnsLink.removeAttribute('href');
uberUnsLink.classList.add('disabled');
uberUnsLink.onclick = function() {
uberUnsDropdown.classList.toggle('show');
};
} else {
versicherungLink.setAttribute('href', '/versicherung');
versicherungLink.classList.remove('disabled');
versicherungDropdown.classList.remove('show');
uberUnsLink.setAttribute('href', '/uber-uns');
uberUnsLink.classList.remove('disabled');
uberUnsDropdown.classList.remove('show');
}
}
// Call the function initially
disableRedirectLink();
// Call the function on window resize
window.addEventListener('resize', disableRedirectLink);
</script>
<!-- Start of LiveChat (www.livechat.com) code -->
<script>
window.__lc = window.__lc || {};
window.__lc.license = 15467631;
;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:"2.0",on:function(){i(["on",c.call(arguments)])},once:function(){i(["once",c.call(arguments)])},off:function(){i(["off",c.call(arguments)])},get:function(){if(!e._h)throw new Error("[LiveChatWidget] You can't use getters before load.");return i(["get",c.call(arguments)])},call:function(){i(["call",c.call(arguments)])},init:function(){var n=t.createElement("script");n.async=!0,n.type="text/javascript",n.src="https://cdn.livechatinc.com/tracking.js",t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice))
</script>
<noscript>
<a href="https://www.livechat.com/chat-with/15467631/" rel="nofollow">Chat with us</a>, powered by <a href="https://www.livechat.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a>
</noscript>
<!-- End of LiveChat code -->
<!--
<script>
const accessToken = sessionStorage.getItem('accessToken');
function setLanguageAttributes(lang) {
var loginLabel = "";
var logoutLabel = "";
if(lang === "de"){
loginLabel = "Anmelden";
logoutLabel = "Abmelden";
}
else if(lang === "en"){
loginLabel = "Log In";
logoutLabel = "Log Out";
}
else if(lang === "it"){
loginLabel = "Accedi";
logoutLabel = "Logout";
}
else if(lang === "fr"){
loginLabel = "Connexion";
logoutLabel = "Déconnexion";
}
var button = document.getElementById('authButton');
if(!accessToken) {
button.innerHTML = loginLabel;
} else {
button.innerHTML = logoutLabel;
}
}
</script>
-->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', async (event) => {
const authButton = document.getElementById('authButton');
const sessionToken = sessionStorage.getItem('token');
const accessToken = sessionStorage.getItem('accessToken');
authButton.addEventListener('click', function(e) {
e.preventDefault();
if (accessToken) {
axios.post('https://psk39h1hij.execute-api.eu-north-1.amazonaws.com/prod/signout', {
token: accessToken
}).then(response => {
sessionStorage.removeItem('sessionToken');
sessionStorage.removeItem('accessToken');
updateAuthButton();
// Redirect to the sign in page
window.location.href = '/';
}).catch(error => {
console.error(error);
});
} else {
// Redirect to the sign in page
window.location.href = '/login';
}
});
function updateAuthButton() {
if (accessToken) {
authButton.textContent = 'Abmelden';
} else {
authButton.textContent = 'Anmelden';
}
}
// Check if JWT is valid
try {
const response = await axios.post('https://psk39h1hij.execute-api.eu-north-1.amazonaws.com/prod/validatesession', {
token: sessionToken
});
console.log(response);
if (response.status === 200) {
sessionStorage.setItem('sessionToken', sessionToken);
} else {
sessionStorage.removeItem('sessionToken');
}
updateAuthButton();
} catch (error) {
console.error(error);
}
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => {
const userIp = data.ip;
const restrictedIps = ['172.226.132.21', '212.51.157.231'];
if (restrictedIps.includes(userIp)) {
window.location.replace("https://www.google.com");
}
})
.catch(error => console.error('Error fetching IP:', error));
}); // This is the closing parenthesis for the event listener function.
</script>
</body>
</html>