BMW Logo
Mini Logo
ANGEBOTEANGEBOTE
Standort Bamberg: (0951) 964 333-0Standort Lichtenfels: (09571) 9230-0

BMW LogoBMW M LogoBMW I LogoMini Logo

KONTAKT & ÖFFNUNGSZEITEN.

PER TELEFON, E-MAIL UND PERSÖNLICH FÜR SIE DA.

OpenStreetMap

Mit dem Laden der Karte akzeptieren Sie die Datenschutzerklärung von OpenStreetMap Foundation.
Mehr erfahren

Karte laden

PC9wPgo8ZGl2IGlkPSJsZWFmbGV0LW1hcC0xIj4gICAgICAgIDxkaXYgCiAgICAgICAgICAgIGlkPSJsZWFmbGV0LW1hcC0xIiAKICAgICAgICAgICAgY2xhc3M9ImxlYWZsZXQtbWFwIiAKICAgICAgICAgICAgc3R5bGU9ImhlaWdodDo1MDBweDsgd2lkdGg6MTAwJTsiPjwvZGl2PgogICAgICAgIDxzY3JpcHQ+CiAgICAgICAgd2luZG93LldQTGVhZmxldE1hcFBsdWdpbiA9IHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4gfHwgW107CiAgICAgICAgd2luZG93LldQTGVhZmxldE1hcFBsdWdpbi5wdXNoKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgdmFyIGJhc2VVcmwgPSAnaHR0cHM6Ly97c30udGlsZS5vcGVuc3RyZWV0bWFwLm9yZy97en0ve3h9L3t5fS5wbmcnLAogICAgICAgICAgICAgICAgYmFzZSA9ICghYmFzZVVybCAmJiB3aW5kb3cuTVEpID8gCiAgICAgICAgICAgICAgICAgICAgTVEubWFwTGF5ZXIoKSA6IEwudGlsZUxheWVyKGJhc2VVcmwsIHsgCiAgICAgICAgICAgICAgICAgICAgICAgIHN1YmRvbWFpbnM6ICdhYmMnCiAgICAgICAgICAgICAgICAgICAgfSksCiAgICAgICAgICAgICAgICBvcHRpb25zID0gTC5VdGlsLmV4dGVuZCh7fSwgewogICAgICAgICAgICAgICAgICAgIG1heFpvb206IDIwLAogICAgICAgICAgICAgICAgICAgIG1pblpvb206IDAsCiAgICAgICAgICAgICAgICAgICAgbGF5ZXJzOiBbYmFzZV0sCiAgICAgICAgICAgICAgICAgICAgem9vbUNvbnRyb2w6IDEsCiAgICAgICAgICAgICAgICAgICAgc2Nyb2xsV2hlZWxab29tOiAwLAogICAgICAgICAgICAgICAgICAgIGRvdWJsZUNsaWNrWm9vbTogMCwKICAgICAgICAgICAgICAgICAgICBhdHRyaWJ1dGlvbkNvbnRyb2w6IGZhbHNlCiAgICAgICAgICAgICAgICB9LCB7ImRyYWdnaW5nIjpmYWxzZX0pLAogICAgICAgICAgICAgICAgbWFwID0gTC5tYXAoJ2xlYWZsZXQtbWFwLTEnLCBvcHRpb25zKQogICAgICAgICAgICAgICAgICAgIC5zZXRWaWV3KFs0OS44OTU5NzEsMTAuOTE4MjczXSwxMik7CiAgICAgICAgICAgIGlmICgwKSB7CiAgICAgICAgICAgICAgICBtYXAuX3Nob3VsZEZpdEJvdW5kcyA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBhdHRDb250cm9sID0gTC5jb250cm9sLmF0dHJpYnV0aW9uKHtwcmVmaXg6ZmFsc2V9KS5hZGRUbyhtYXApOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRDb250cm9sLmFkZEF0dHJpYnV0aW9uKCc8YSBocmVmPSJodHRwOi8vbGVhZmxldGpzLmNvbSIgdGl0bGU9IkVpbmUgSmF2YXNjcmlwdC1CaWJsaW90aGVrIGbDvHIgaW50ZXJha3RpdmUgS2FydGVuIj5MZWFmbGV0PC9hPicpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRDb250cm9sLmFkZEF0dHJpYnV0aW9uKCdcclxuwqkgPGEgaHJlZj0iaHR0cDovL3d3dy5vcGVuc3RyZWV0bWFwLm9yZy9jb3B5cmlnaHQiPk9wZW5TdHJlZXRNYXA8L2E+IE1pdHdpcmtlbmRlJyk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cuV1BMZWFmbGV0TWFwUGx1Z2luLm1hcHMucHVzaChtYXApOwogICAgICAgIH0pOyAvLyBlbmQgYWRkCiAgICAgICAgPC9zY3JpcHQ+ICAgICAgICA8c2NyaXB0PgogICAgICAgIHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4gPSB3aW5kb3cuV1BMZWFmbGV0TWFwUGx1Z2luIHx8IFtdOwogICAgICAgIHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4ucHVzaChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHZhciBtYXJrZXJfb3B0aW9ucyA9IChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICB2YXIgX29wdGlvbnMgPSB7Imljb25VcmwiOiJodHRwczpcL1wvd3d3LmF1dG9oYXVzLXNwZXJiZXIuZGVcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjBcLzAzXC9nb29nbGUtbWFwcy1tYXJrZXIuc3ZnIiwiaWNvblNpemUiOlsiNDAsNzAiXX07CiAgICAgICAgICAgICAgICB2YXIgaWNvbkFycmF5cyA9IFsKICAgICAgICAgICAgICAgICAgICAnaWNvblNpemUnLCAKICAgICAgICAgICAgICAgICAgICAnaWNvbkFuY2hvcicsIAogICAgICAgICAgICAgICAgICAgICdzaGFkb3dTaXplJywgCiAgICAgICAgICAgICAgICAgICAgJ3NoYWRvd0FuY2hvcicsCiAgICAgICAgICAgICAgICAgICAgJ3BvcHVwQW5jaG9yJwogICAgICAgICAgICAgICAgXTsKICAgICAgICAgICAgICAgIHZhciBkZWZhdWx0X2ljb24gPSBMLkljb24uRGVmYXVsdC5wcm90b3R5cGUub3B0aW9uczsKICAgICAgICAgICAgICAgIGlmIChfb3B0aW9ucy5pY29uVXJsKSB7CiAgICAgICAgICAgICAgICAgICAgLy8gYXJyYXlzIGFyZSBzdHJpbmdzLCB1bmZvcnR1bmF0ZWx5Li4uCiAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgaSA9IDAsIGxlbiA9IGljb25BcnJheXMubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIG9wdGlvbl9uYW1lID0gaWNvbkFycmF5c1tpXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9wdGlvbiA9IF9vcHRpb25zWyBvcHRpb25fbmFtZSBdOwogICAgICAgICAgICAgICAgICAgICAgICAvLyBjb252ZXJ0ICIxLDIiIHRvIFsxLCAyXTsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG9wdGlvbikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFyciA9IG9wdGlvbi5qb2luKCcnKS5zcGxpdCgnLCcpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYXJyYXkubWFwIGZvciBpZTw5CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBqID0gMCwgbGVuSiA9IGFyci5sZW5ndGg7IGogPCBsZW5KOyBqKyspIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcnJbal0gPSBOdW1iZXIoYXJyW2pdKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9vcHRpb25zWyBvcHRpb25fbmFtZSBdID0gYXJyOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIC8vIGRlZmF1bHQgcG9wdXBBbmNob3IKICAgICAgICAgICAgICAgICAgICBpZiAoIV9vcHRpb25zLnBvcHVwQW5jaG9yKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIC8vIHNldCAocm91Z2hseSkgdG8gc2l6ZSBvZiBpY29uCiAgICAgICAgICAgICAgICAgICAgICAgIF9vcHRpb25zLnBvcHVwQW5jaG9yID0gKGZ1bmN0aW9uIChpX3NpemUpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvcHkgYXJyYXkKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlfc2l6ZSA9IGlfc2l6ZS5zbGljZSgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBpbnZlcnNlIGNvb3JkaW5hdGVzCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpX3NpemVbMF0gPSAwOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgaV9zaXplWzFdICo9IC0xOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYm90dG9tIHBvc2l0aW9uIG9uIHBvcHVwIGlzIDdweAogICAgICAgICAgICAgICAgICAgICAgICAgICAgaV9zaXplWzFdIC09IDM7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gaV9zaXplOwogICAgICAgICAgICAgICAgICAgICAgICB9KShfb3B0aW9ucy5pY29uU2l6ZSB8fCBkZWZhdWx0X2ljb24uaWNvblNpemUpOwogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgX29wdGlvbnMuaWNvbiA9IG5ldyBMLkljb24oIF9vcHRpb25zICk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICByZXR1cm4gX29wdGlvbnM7CiAgICAgICAgICAgIH0pKCk7CiAgICAgICAgICAgIHZhciBkcmFnZ2FibGUgPSBtYXJrZXJfb3B0aW9ucy5kcmFnZ2FibGU7CiAgICAgICAgICAgIHZhciBtYXJrZXIgPSBMLm1hcmtlcigKICAgICAgICAgICAgICAgIFs0OS44OTU5NzEsMTAuOTE4MjczXSwgCiAgICAgICAgICAgICAgICBtYXJrZXJfb3B0aW9ucwogICAgICAgICAgICApOwogICAgICAgICAgICB2YXIgbWFwID0gd2luZG93LldQTGVhZmxldE1hcFBsdWdpbi5nZXRDdXJyZW50TWFwKCk7CiAgICAgICAgICAgIHZhciBpc19pbWFnZSA9IG1hcC5pc19pbWFnZV9tYXA7CiAgICAgICAgICAgIHZhciBncm91cCA9IHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4uZ2V0Q3VycmVudEdyb3VwKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChkcmFnZ2FibGUpIHsKICAgICAgICAgICAgICAgIG1hcmtlci5vbignZHJhZ2VuZCcsIGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICB2YXIgbGF0bG5nID0gdGhpcy5nZXRMYXRMbmcoKSwKICAgICAgICAgICAgICAgICAgICAgICAgbGF0ID0gbGF0bG5nLmxhdCwKICAgICAgICAgICAgICAgICAgICAgICAgbG5nID0gbGF0bG5nLmxuZzsKICAgICAgICAgICAgICAgICAgICBpZiAoaXNfaW1hZ2UpIHsKICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2xlYWZsZXQtbWFya2VyIHk9JyArIGxhdCArICcgeD0nICsgbG5nKTsKICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnbGVhZmxldC1tYXJrZXIgbGF0PScgKyBsYXQgKyAnIGxuZz0nICsgbG5nKTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfQogICAgICAgICAgICBtYXJrZXIuYWRkVG8oIGdyb3VwICk7CiAgICAgICAgICAgIG1hcmtlci5iaW5kUG9wdXAod2luZG93LldQTGVhZmxldE1hcFBsdWdpbi51bmVzY2FwZSgnJmx0O3N0cm9uZyZndDtBdXRvaGF1cyBTcGVyYmVyIEdtYkggJmFtcDsjMDM4OyBDby4gS0cmbHQ7L3N0cm9uZyZndDsmbHQ7YnIgLyZndDtPaG1zdHJhw59lIDEwYSZsdDticiAvJmd0OyZsdDticiZndDs5NjA1MCBCYW1iZXJnJmx0O2JyIC8mZ3Q7Jmx0O2EgaHJlZj1cJnF1b3Q7aHR0cDovL21hcHMuZ29vZ2xlLmNvbS9tYXBzP2RhZGRyPU9obXN0cmHDn2UrMTBhKzk2MDUwK0JhbWJlcmdcJnF1b3Q7IHRhcmdldD1cJnF1b3Q7X2JsYW5rXCZxdW90OyByZWw9XCZxdW90O25vb3BlbmVyXCZxdW90OyZndDtSb3V0ZSBiZXJlY2huZW4mbHQ7L2EmZ3Q7JykpOyAgICAgICAgICAgIHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4ubWFya2Vycy5wdXNoKCBtYXJrZXIgKTsKICAgICAgICB9KTsgLy8gZW5kIGFkZCBmdW5jdGlvbgogICAgICAgIDwvc2NyaXB0PgogICAgICAgIDwvZGl2Pgo8cD4=

Hauptniederlassung Bamberg

Ohmstraße 10a
96050 Bamberg

Telefon: (0951) 964 333-0
Telefax: (0951) 964 033-9
E-Mail: info@autohaus-sperber.de

Servicezeiten (während der Corona-Krise)
Montag bis Freitag:
08:00 bis 17:00 Uhr
Samstag:
geschlossen

Verkauf/Beratung (nur telefonisch oder per E-Mail)
Montag bis Freitag:
08:00 bis 17:00 Uhr
Samstag:
geschlossen

Teile- und Zubehörverkauf (nur telefonisch oder per E-Mail)
Montag bis Freitag:
08:00 bis 17:00 Uhr
Samstag:
geschlossen

OpenStreetMap

Mit dem Laden der Karte akzeptieren Sie die Datenschutzerklärung von OpenStreetMap Foundation.
Mehr erfahren

Karte laden

PC9wPgo8ZGl2IGlkPSJsZWFmbGV0LW1hcC0yIj4gICAgICAgIDxkaXYgCiAgICAgICAgICAgIGlkPSJsZWFmbGV0LW1hcC0yIiAKICAgICAgICAgICAgY2xhc3M9ImxlYWZsZXQtbWFwIiAKICAgICAgICAgICAgc3R5bGU9ImhlaWdodDo1MDBweDsgd2lkdGg6MTAwJTsiPjwvZGl2PgogICAgICAgIDxzY3JpcHQ+CiAgICAgICAgd2luZG93LldQTGVhZmxldE1hcFBsdWdpbiA9IHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4gfHwgW107CiAgICAgICAgd2luZG93LldQTGVhZmxldE1hcFBsdWdpbi5wdXNoKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgdmFyIGJhc2VVcmwgPSAnaHR0cHM6Ly97c30udGlsZS5vcGVuc3RyZWV0bWFwLm9yZy97en0ve3h9L3t5fS5wbmcnLAogICAgICAgICAgICAgICAgYmFzZSA9ICghYmFzZVVybCAmJiB3aW5kb3cuTVEpID8gCiAgICAgICAgICAgICAgICAgICAgTVEubWFwTGF5ZXIoKSA6IEwudGlsZUxheWVyKGJhc2VVcmwsIHsgCiAgICAgICAgICAgICAgICAgICAgICAgIHN1YmRvbWFpbnM6ICdhYmMnCiAgICAgICAgICAgICAgICAgICAgfSksCiAgICAgICAgICAgICAgICBvcHRpb25zID0gTC5VdGlsLmV4dGVuZCh7fSwgewogICAgICAgICAgICAgICAgICAgIG1heFpvb206IDIwLAogICAgICAgICAgICAgICAgICAgIG1pblpvb206IDAsCiAgICAgICAgICAgICAgICAgICAgbGF5ZXJzOiBbYmFzZV0sCiAgICAgICAgICAgICAgICAgICAgem9vbUNvbnRyb2w6IDEsCiAgICAgICAgICAgICAgICAgICAgc2Nyb2xsV2hlZWxab29tOiAwLAogICAgICAgICAgICAgICAgICAgIGRvdWJsZUNsaWNrWm9vbTogMCwKICAgICAgICAgICAgICAgICAgICBhdHRyaWJ1dGlvbkNvbnRyb2w6IGZhbHNlCiAgICAgICAgICAgICAgICB9LCB7ImRyYWdnaW5nIjpmYWxzZX0pLAogICAgICAgICAgICAgICAgbWFwID0gTC5tYXAoJ2xlYWZsZXQtbWFwLTInLCBvcHRpb25zKQogICAgICAgICAgICAgICAgICAgIC5zZXRWaWV3KFs1MC4xMzcxOTIsMTEuMDYyMTcyXSwxMik7CiAgICAgICAgICAgIGlmICgwKSB7CiAgICAgICAgICAgICAgICBtYXAuX3Nob3VsZEZpdEJvdW5kcyA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBhdHRDb250cm9sID0gTC5jb250cm9sLmF0dHJpYnV0aW9uKHtwcmVmaXg6ZmFsc2V9KS5hZGRUbyhtYXApOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRDb250cm9sLmFkZEF0dHJpYnV0aW9uKCc8YSBocmVmPSJodHRwOi8vbGVhZmxldGpzLmNvbSIgdGl0bGU9IkVpbmUgSmF2YXNjcmlwdC1CaWJsaW90aGVrIGbDvHIgaW50ZXJha3RpdmUgS2FydGVuIj5MZWFmbGV0PC9hPicpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRDb250cm9sLmFkZEF0dHJpYnV0aW9uKCdcclxuwqkgPGEgaHJlZj0iaHR0cDovL3d3dy5vcGVuc3RyZWV0bWFwLm9yZy9jb3B5cmlnaHQiPk9wZW5TdHJlZXRNYXA8L2E+IE1pdHdpcmtlbmRlJyk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cuV1BMZWFmbGV0TWFwUGx1Z2luLm1hcHMucHVzaChtYXApOwogICAgICAgIH0pOyAvLyBlbmQgYWRkCiAgICAgICAgPC9zY3JpcHQ+ICAgICAgICA8c2NyaXB0PgogICAgICAgIHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4gPSB3aW5kb3cuV1BMZWFmbGV0TWFwUGx1Z2luIHx8IFtdOwogICAgICAgIHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4ucHVzaChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHZhciBtYXJrZXJfb3B0aW9ucyA9IChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICB2YXIgX29wdGlvbnMgPSB7Imljb25VcmwiOiJodHRwczpcL1wvd3d3LmF1dG9oYXVzLXNwZXJiZXIuZGVcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjBcLzAzXC9nb29nbGUtbWFwcy1tYXJrZXIuc3ZnIiwiaWNvblNpemUiOlsiNDAsNzAiXX07CiAgICAgICAgICAgICAgICB2YXIgaWNvbkFycmF5cyA9IFsKICAgICAgICAgICAgICAgICAgICAnaWNvblNpemUnLCAKICAgICAgICAgICAgICAgICAgICAnaWNvbkFuY2hvcicsIAogICAgICAgICAgICAgICAgICAgICdzaGFkb3dTaXplJywgCiAgICAgICAgICAgICAgICAgICAgJ3NoYWRvd0FuY2hvcicsCiAgICAgICAgICAgICAgICAgICAgJ3BvcHVwQW5jaG9yJwogICAgICAgICAgICAgICAgXTsKICAgICAgICAgICAgICAgIHZhciBkZWZhdWx0X2ljb24gPSBMLkljb24uRGVmYXVsdC5wcm90b3R5cGUub3B0aW9uczsKICAgICAgICAgICAgICAgIGlmIChfb3B0aW9ucy5pY29uVXJsKSB7CiAgICAgICAgICAgICAgICAgICAgLy8gYXJyYXlzIGFyZSBzdHJpbmdzLCB1bmZvcnR1bmF0ZWx5Li4uCiAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgaSA9IDAsIGxlbiA9IGljb25BcnJheXMubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIG9wdGlvbl9uYW1lID0gaWNvbkFycmF5c1tpXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9wdGlvbiA9IF9vcHRpb25zWyBvcHRpb25fbmFtZSBdOwogICAgICAgICAgICAgICAgICAgICAgICAvLyBjb252ZXJ0ICIxLDIiIHRvIFsxLCAyXTsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG9wdGlvbikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFyciA9IG9wdGlvbi5qb2luKCcnKS5zcGxpdCgnLCcpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYXJyYXkubWFwIGZvciBpZTw5CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBqID0gMCwgbGVuSiA9IGFyci5sZW5ndGg7IGogPCBsZW5KOyBqKyspIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcnJbal0gPSBOdW1iZXIoYXJyW2pdKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9vcHRpb25zWyBvcHRpb25fbmFtZSBdID0gYXJyOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIC8vIGRlZmF1bHQgcG9wdXBBbmNob3IKICAgICAgICAgICAgICAgICAgICBpZiAoIV9vcHRpb25zLnBvcHVwQW5jaG9yKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIC8vIHNldCAocm91Z2hseSkgdG8gc2l6ZSBvZiBpY29uCiAgICAgICAgICAgICAgICAgICAgICAgIF9vcHRpb25zLnBvcHVwQW5jaG9yID0gKGZ1bmN0aW9uIChpX3NpemUpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvcHkgYXJyYXkKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlfc2l6ZSA9IGlfc2l6ZS5zbGljZSgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBpbnZlcnNlIGNvb3JkaW5hdGVzCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpX3NpemVbMF0gPSAwOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgaV9zaXplWzFdICo9IC0xOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYm90dG9tIHBvc2l0aW9uIG9uIHBvcHVwIGlzIDdweAogICAgICAgICAgICAgICAgICAgICAgICAgICAgaV9zaXplWzFdIC09IDM7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gaV9zaXplOwogICAgICAgICAgICAgICAgICAgICAgICB9KShfb3B0aW9ucy5pY29uU2l6ZSB8fCBkZWZhdWx0X2ljb24uaWNvblNpemUpOwogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgX29wdGlvbnMuaWNvbiA9IG5ldyBMLkljb24oIF9vcHRpb25zICk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICByZXR1cm4gX29wdGlvbnM7CiAgICAgICAgICAgIH0pKCk7CiAgICAgICAgICAgIHZhciBkcmFnZ2FibGUgPSBtYXJrZXJfb3B0aW9ucy5kcmFnZ2FibGU7CiAgICAgICAgICAgIHZhciBtYXJrZXIgPSBMLm1hcmtlcigKICAgICAgICAgICAgICAgIFs1MC4xMzcxOTIsMTEuMDYyMTcyXSwgCiAgICAgICAgICAgICAgICBtYXJrZXJfb3B0aW9ucwogICAgICAgICAgICApOwogICAgICAgICAgICB2YXIgbWFwID0gd2luZG93LldQTGVhZmxldE1hcFBsdWdpbi5nZXRDdXJyZW50TWFwKCk7CiAgICAgICAgICAgIHZhciBpc19pbWFnZSA9IG1hcC5pc19pbWFnZV9tYXA7CiAgICAgICAgICAgIHZhciBncm91cCA9IHdpbmRvdy5XUExlYWZsZXRNYXBQbHVnaW4uZ2V0Q3VycmVudEdyb3VwKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChkcmFnZ2FibGUpIHsKICAgICAgICAgICAgICAgIG1hcmtlci5vbignZHJhZ2VuZCcsIGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICB2YXIgbGF0bG5nID0gdGhpcy5nZXRMYXRMbmcoKSwKICAgICAgICAgICAgICAgICAgICAgICAgbGF0ID0gbGF0bG5nLmxhdCwKICAgICAgICAgICAgICAgICAgICAgICAgbG5nID0gbGF0bG5nLmxuZzsKICAgICAgICAgICAgICAgICAgICBpZiAoaXNfaW1hZ2UpIHsKICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2xlYWZsZXQtbWFya2VyIHk9JyArIGxhdCArICcgeD0nICsgbG5nKTsKICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnbGVhZmxldC1tYXJrZXIgbGF0PScgKyBsYXQgKyAnIGxuZz0nICsgbG5nKTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfQogICAgICAgICAgICBtYXJrZXIuYWRkVG8oIGdyb3VwICk7CiAgICAgICAgICAgIG1hcmtlci5iaW5kUG9wdXAod2luZG93LldQTGVhZmxldE1hcFBsdWdpbi51bmVzY2FwZSgnJmx0O3N0cm9uZyZndDtBdXRvaGF1cyBTcGVyYmVyIEdtYkggJmFtcDsjMDM4OyBDby4gS0cmbHQ7L3N0cm9uZyZndDsmbHQ7YnIgLyZndDtHcsO8bmV3YWxkc3RyYcOfZSAzYSZsdDticiAvJmd0OyZsdDticiZndDs5NjIxNSBMaWNodGVuZmVscyZsdDticiAvJmd0OyZsdDthIGhyZWY9XCZxdW90O2h0dHA6Ly9tYXBzLmdvb2dsZS5jb20vbWFwcz9kYWRkcj1HcsO8bmV3YWxkc3RyYcOfZSszYSs5NjIxNStMaWNodGVuZmVsc1wmcXVvdDsgdGFyZ2V0PVwmcXVvdDtfYmxhbmtcJnF1b3Q7IHJlbD1cJnF1b3Q7bm9vcGVuZXJcJnF1b3Q7Jmd0O1JvdXRlIGJlcmVjaG5lbiZsdDsvYSZndDsnKSk7ICAgICAgICAgICAgd2luZG93LldQTGVhZmxldE1hcFBsdWdpbi5tYXJrZXJzLnB1c2goIG1hcmtlciApOwogICAgICAgIH0pOyAvLyBlbmQgYWRkIGZ1bmN0aW9uCiAgICAgICAgPC9zY3JpcHQ+CiAgICAgICAgPC9kaXY+CjxwPg==

Standort Lichtenfels

Grünewaldstraße 3a
96215 Lichtenfels

Telefon: (09571) 9230-0
Telefax: (09571) 9230-30
E-Mail: info@autohaus-sperber.de

Servicezeiten (während der Corona-Krise)
Montag bis Freitag:
08:00 bis 17:00 Uhr
Samstag:
geschlossen

Verkauf/Beratung (nur telefonisch oder per E-Mail)
Montag bis Freitag:
08:00 bis 17:00 Uhr
Samstag:
geschlossen