.elementor-location-header{--ss-dark:#16120e;--ss-gold:#c9a46a;--ss-gold-2:#e2c48f;--ss-text:#e9e1d6;--ss-muted:#b3a691;--ss-line:rgba(201,164,106,.22); --ss-type:'American Typewriter Regular',Georgia,serif;--ss-sans:Helvetica,Arial,sans-serif;} /* Infoleiste */ .elementor-location-header .elementor-element-398eaaa2{background:var(--ss-dark)!important;background-image:none!important;padding-top:8px!important;padding-bottom:8px!important} .elementor-location-header .elementor-element-398eaaa2 > .e-con-inner{padding:0!important;max-width:1200px} .elementor-location-header .elementor-element-67401f4, .elementor-location-header .elementor-element-67401f4 .elementor-widget-html{width:100%!important;max-width:none} .ss-top{display:flex;align-items:center;gap:22px;width:100%;font:13px/1 var(--ss-sans);letter-spacing:.02em} .ss-top a{text-decoration:none;color:var(--ss-text);display:inline-flex;align-items:center;gap:7px} .ss-top a:hover{color:var(--ss-gold-2)} .ss-top svg{width:14px;height:14px;fill:var(--ss-gold)} .ss-top__status{margin-left:auto} .ss-top .shero-status{font-size:13px;padding:5px 12px;background:rgba(255,255,255,.06)} @media (max-width:1024px){.ss-top .ss-top__addr,.ss-top .ss-top__mail{display:none}} @media (max-width:767px){.elementor-location-header .elementor-element-398eaaa2{display:none!important}} /* Hauptleiste */ .elementor-location-header .elementor-element-3191747c{background:linear-gradient(180deg,rgba(22,18,14,.97),rgba(30,25,20,.93))!important; -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--ss-line);padding-top:10px!important;padding-bottom:10px!important} .elementor-location-header .elementor-element-6fc4af1b img{height:46px!important;width:auto!important} .elementor-location-header .elementor-element-6fc4af1b{flex:0 0 auto!important;width:auto!important;max-width:none!important} /* Menueabstand selbst steht in der Elementor-Einstellung (menu_space_between 26 px). Auf schmalen Laptops enger und kleiner - Leipzig hat einen Menuepunkt mehr. */ /* Hinweis: der Wert gilt links UND rechts je Menuepunkt (Abstand = 2x) */ @media (max-width:1500px){.elementor-location-header .elementor-element-30a30347{--e-nav-menu-horizontal-menu-item-margin:12px!important} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--main .elementor-item{font-size:14px!important}} /* Anordnung: Desktop Logo … Menue · Anrufen; mobil Logo … Anrufen · Menue-Knopf */ .elementor-location-header .elementor-element-30a30347{margin-left:auto;flex:0 0 auto;width:auto} .elementor-location-header .elementor-element-3191747c .elementor-widget-html:has(.ss-cta){margin-left:22px;flex:0 0 auto;width:auto} @media (max-width:1024px){ .elementor-location-header .elementor-element-30a30347{order:3;margin-left:10px} .elementor-location-header .elementor-element-3191747c .elementor-widget-html:has(.ss-cta){margin-left:auto} } /* Menue */ .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--main .elementor-item{color:var(--ss-text)!important;font-family:var(--ss-sans);font-size:15px;letter-spacing:.04em;position:relative} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--main .elementor-item::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px; background:var(--ss-gold)!important;opacity:1!important;transform:scaleX(0);transform-origin:left;transition:transform .25s} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--main .elementor-item:hover::after, .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--main .elementor-item.elementor-item-active::after{transform:scaleX(1)} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--main .elementor-item:hover{color:var(--ss-gold-2)!important} .elementor-location-header .elementor-element-30a30347 .sub-menu{background:var(--ss-dark)!important;border:1px solid var(--ss-line)} .elementor-location-header .elementor-element-30a30347 .sub-menu a{color:var(--ss-text)!important} .elementor-location-header .elementor-element-30a30347 .sub-menu a:hover{color:var(--ss-gold-2)!important} .elementor-location-header .elementor-element-30a30347 .sub-arrow{color:var(--ss-gold)!important} .elementor-location-header .elementor-element-30a30347 .sub-arrow svg{fill:currentColor!important} .elementor-location-header .elementor-element-30a30347 .elementor-menu-toggle{border:1px solid var(--ss-line);border-radius:10px;padding:9px;color:var(--ss-text)!important;background:transparent!important} .elementor-location-header .elementor-element-30a30347 .elementor-menu-toggle svg{fill:var(--ss-text)!important} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--dropdown{background:var(--ss-dark)!important;border-top:1px solid var(--ss-line)} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--dropdown a{color:var(--ss-text)!important;background:transparent!important} .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--dropdown a:hover, .elementor-location-header .elementor-element-30a30347 .elementor-nav-menu--dropdown a.elementor-item-active{color:var(--ss-gold-2)!important} .shero-status-wrap{text-align:center} .shero-status{display:inline-flex;align-items:center;gap:.6em;padding:.55em 1.1em;border-radius:999px; background:rgba(0,0,0,.35);color:rgba(255,254,254,.85);font-family:"American Typewriter Regular",Georgia,serif; font-size:20px;line-height:1.3;text-align:left;backdrop-filter:blur(2px)} .shero-status__dot{flex:none;width:.6em;height:.6em;border-radius:50%;background:#9a9a9a} .shero-status.is-open .shero-status__dot{background:#4cd964;box-shadow:0 0 0 .2em rgba(76,217,100,.25)} .shero-status.is-soon .shero-status__dot{background:#ffcc00;box-shadow:0 0 0 .2em rgba(255,204,0,.25)} .shero-status.is-closed .shero-status__dot{background:#ff5a4f} @media (max-width:767px){.shero-status{font-size:16px}} (function () { // Darf mehrfach auf einer Seite stehen (Header-Leiste + Hero): definiert sich nur einmal, // jeder weitere Aufruf initialisiert nur noch neu hinzugekommene Anzeigen. if (window.SheroStatus) { window.SheroStatus.init(); return; } /* ======================= CONFIG – nur hier pflegen ======================= */ var CONFIG = { // Wochentag (1 = Montag … 7 = Sonntag): [öffnet, schließt] – fehlt ein Tag, ist geschlossen. // Je Domain; die erste Zeile gilt auch als Rückfall (z. B. in der Elementor-Vorschau). hoursBySite: { 'sherostyle-zwickau.de': { 1: ['09:00', '19:00'], 2: ['09:00', '19:00'], 3: ['09:00', '19:00'], 4: ['09:00', '19:00'], 5: ['09:00', '19:00'], 6: ['09:00', '18:00'] }, 'sherostyle.de': { 1: ['09:00', '19:00'], 2: ['09:00', '19:00'], 3: ['09:00', '19:00'], 4: ['09:00', '19:00'], 5: ['09:00', '19:00'], 6: ['09:00', '19:00'] } }, // Gesetzliche Feiertage in Sachsen geschlossen (werden jedes Jahr selbst berechnet) closedOnHolidays: true, // Jedes Jahr gleich (MM-TT). Gilt nur, wenn an dem Wochentag sonst geöffnet wäre. yearly: { '12-24': { hours: ['09:00', '13:00'], note: 'Heiligabend' }, '12-31': { hours: ['09:00', '13:00'], note: 'Silvester' } }, // Einmalige Abweichungen: 'JJJJ-MM-TT' → { hours: [öffnet, schließt], note } oder null (= geschlossen) special: { // '2027-06-12': { hours: ['10:00', '14:00'], note: 'Stadtfest' }, }, // Geschlossene Zeiträume (z. B. Betriebsurlaub): [von, bis (einschließlich), Grund] closures: [ // ['2026-08-03', '2026-08-15', 'Betriebsurlaub'], ], soonMinutes: 30 // ab wann „schließt bald“ (gelb) angezeigt wird }; /* ========================================================================= */ var TZ = 'Europe/Berlin'; var HOST = window.SHERO_SITE || (location.hostname || '').replace(/^www\./, ''); var sites = CONFIG.hoursBySite; CONFIG.hours = sites[HOST] || sites[Object.keys(sites)[0]]; var DAYS = ['', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag']; function berlinNow(d) { var p = {}; new Intl.DateTimeFormat('en-GB', { timeZone: TZ, year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', hourCycle: 'h23', weekday: 'short' }) .formatToParts(d).forEach(function (x) { p[x.type] = x.value; }); var wd = { Mon: 1, Tue: 2, Wed: 3, Thu: 4, Fri: 5, Sat: 6, Sun: 7 }[p.weekday]; return { y: +p.year, m: +p.month, d: +p.day, wd: wd, min: (+p.hour) * 60 + (+p.minute) }; } // Kalenderrechnung in UTC – unabhängig von Zeitzone und Zeitumstellung function ymd(y, m, d) { return Date.UTC(y, m - 1, d); } function iso(t) { return new Date(t).toISOString().slice(0, 10); } function addDays(t, n) { return t + n * 864e5; } function weekday(t) { var w = new Date(t).getUTCDay(); return w === 0 ? 7 : w; } function toMin(s) { var a = s.split(':'); return (+a[0]) * 60 + (+a[1]); } function fmt(s) { var a = s.split(':'); return (+a[0]) + (a[1] === '00' ? '' : ':' + a[1]) + ' Uhr'; } function easter(y) { // Gaußsche Osterformel (anonymer gregorianischer Algorithmus) var a = y % 19, b = Math.floor(y / 100), c = y % 100, d = Math.floor(b / 4), e = b % 4, f = Math.floor((b + 8) / 25), g = Math.floor((b - f + 1) / 3), h = (19 * a + b - d - g + 15) % 30, i = Math.floor(c / 4), k = c % 4, l = (32 + 2 * e + 2 * i - h - k) % 7, m = Math.floor((a + 11 * h + 22 * l) / 451), mo = Math.floor((h + l - 7 * m + 114) / 31), da = ((h + l - 7 * m + 114) % 31) + 1; return ymd(y, mo, da); } var holidayCache = {}; function holidays(y) { // gesetzliche Feiertage Sachsen if (holidayCache[y]) return holidayCache[y]; var e = easter(y), h = {}; h[iso(ymd(y, 1, 1))] = 'Neujahr'; h[iso(addDays(e, -2))] = 'Karfreitag'; h[iso(addDays(e, 1))] = 'Ostermontag'; h[iso(ymd(y, 5, 1))] = 'Tag der Arbeit'; h[iso(addDays(e, 39))] = 'Christi Himmelfahrt'; h[iso(addDays(e, 50))] = 'Pfingstmontag'; h[iso(ymd(y, 10, 3))] = 'Tag der Deutschen Einheit'; h[iso(ymd(y, 10, 31))] = 'Reformationstag'; var nov22 = ymd(y, 11, 22); // Buß- und Bettag: Mittwoch vor dem 23. November h[iso(addDays(nov22, -((weekday(nov22) - 3 + 7) % 7)))] = 'Buß- und Bettag'; h[iso(ymd(y, 12, 25))] = '1. Weihnachtstag'; h[iso(ymd(y, 12, 26))] = '2. Weihnachtstag'; return (holidayCache[y] = h); } // Liefert für einen Tag { hours: [auf, zu] | null, note } function dayPlan(t) { var key = iso(t); for (var i = 0; i = c[0] && key <= c[1]) return { hours: null, note: c[2] || '' }; } if (CONFIG.special[key] !== undefined) { var s = CONFIG.special[key]; return s === null ? { hours: null, note: '' } : { hours: s.hours || null, note: s.note || '' }; } var weekly = CONFIG.hours[weekday(t)] || null; var y = CONFIG.yearly[key.slice(5)]; if (CONFIG.closedOnHolidays) { var hol = holidays(new Date(t).getUTCFullYear())[key]; if (hol) return { hours: null, note: hol }; } if (y && weekly) return { hours: y.hours || null, note: y.note || '' }; return { hours: weekly, note: '' }; } function nextOpening(fromDay, offsetStart) { for (var n = offsetStart; n <= 60; n++) { var t = addDays(fromDay, n), p = dayPlan(t); if (p.hours) return { n: n, t: t, open: p.hours[0] }; } return null; } function whenText(o) { if (!o) return ''; var day = o.n === 0 ? 'heute' : o.n === 1 ? 'morgen' : o.n = o && now.min < c) { var left = c - now.min; return { cls: left <= CONFIG.soonMinutes ? 'is-soon' : 'is-open', text: (left <= CONFIG.soonMinutes ? 'Schließt bald – noch ' : 'Jetzt geöffnet – noch ') + dur(left) + (plan.note ? ' (' + plan.note + ')' : '') }; } if (now.min < o) { var until = o - now.min; return { cls: 'is-closed', text: 'Öffnet heute um ' + fmt(plan.hours[0]) + (until <= 120 ? ' – in ' + dur(until) : '') }; } } var next = nextOpening(today, 1); var head = plan.hours ? 'Geschlossen' : 'Heute geschlossen' + (plan.note ? ' (' + plan.note + ')' : ''); return { cls: 'is-closed', text: head + (next ? ' – wieder geöffnet ' + whenText(next) : '') }; } function render(el) { var q = /[?&]shero_now=([^&]+)/.exec(location.search); // nur zum Testen: ?shero_now=2026-12-24T12:00 var d = q ? new Date(decodeURIComponent(q[1])) : new Date(); var s = status(d); el.className = 'shero-status ' + s.cls; el.querySelector('.shero-status__text').textContent = s.text; } function init() { var els = document.querySelectorAll('[data-shero-status]:not([data-shero-ready])'); for (var i = 0; i < els.length; i++) { (function (el) { el.setAttribute('data-shero-ready', ''); render(el); setInterval(function () { render(el); }, 30000); })(els[i]); } } window.SheroStatus = { status: status, holidays: holidays, config: CONFIG, init: init }; init(); if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init); })();
Anrufen .ss-cta{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font:600 14px/1 Helvetica,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase; color:#16120e!important;background:linear-gradient(135deg,#e2c48f,#c9a46a);padding:12px 18px;border-radius:999px;box-shadow:0 6px 18px rgba(201,164,106,.25);white-space:nowrap} .ss-cta svg{width:15px;height:15px;fill:currentColor} .ss-cta:hover{filter:brightness(1.06)} @media (max-width:1200px){.ss-cta{width:44px;height:44px;padding:0;justify-content:center}.ss-cta__txt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ss-cta svg{width:18px;height:18px}}

Einstellungen Cookie-Banner