/* 3.3.3 – Rahmen: Navigation links, Einstellungen, Kacheln, Startseite */
.sh-sub.sb2{display:none}
.sh-gear.sh-gear-t{width:auto!important;padding:0 14px!important;font-weight:800;font-size:14px;gap:6px;display:inline-flex;align-items:center;border-radius:11px;white-space:nowrap}
/* Bereichs-Navigation links */
.anl{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
.anl-c{min-width:0}
.anl-nav{position:sticky;top:12px;background:#fff;border:1px solid #ebeae5;border-radius:16px;padding:8px;display:flex;flex-direction:column;gap:1px}
.anl-nav h5{margin:12px 9px 4px;font-size:10.5px;letter-spacing:.08em;color:#7a7e84;font-weight:800}
.anl-nav h5:first-child{margin-top:4px}
.anl-nav button{display:flex;align-items:center;gap:9px;width:100%;border:0;background:none;padding:7px 9px;border-radius:10px;font:700 13.5px var(--f,inherit);color:#1d2024;cursor:pointer;text-align:left}
.anl-nav button i{width:26px;height:26px;border-radius:8px;background:#f1f7f8;color:#134e5e;display:grid;place-items:center;font-style:normal;font-size:12px;flex:none}
.anl-nav button span{flex:1;min-width:0;line-height:1.25}
.anl-nav button em{font-style:normal;font-size:11px;font-weight:800;background:#e8e7e1;border-radius:7px;padding:1px 7px;color:#1d2024}
.anl-nav button:hover{background:#f4f4f1}
.anl-nav button.on{background:#134e5e;color:#fff}.anl-nav button.on i{background:rgba(255,255,255,.16);color:#fff}.anl-nav button.on em{background:rgba(255,255,255,.2);color:#fff}
.anl-sel{display:none}
.anl-actrow{display:flex;justify-content:flex-end;margin-bottom:12px}
.anl-c>.head{margin-top:0}
.anl-dup{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:900px){.anl{grid-template-columns:1fr;gap:12px}.anl-nav{display:none}.anl-sel{display:block}.anl-sel select{width:100%}}
/* Veranstaltungen als Kacheln */
.evt-bar2{display:flex;gap:10px;align-items:center;margin:0 0 16px}.evt-bar2 .search{flex:1;margin:0}
.evt-seg{flex:none;margin:0!important}
.evt-mo{font-size:12.5px;font-weight:800;letter-spacing:.06em;color:#7a7e84;margin:6px 0 10px}
.evt-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-bottom:22px}
.evt-g.h4{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.evt{display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid #ebeae5;border-radius:18px;overflow:hidden;padding:0;cursor:pointer;font:inherit;color:inherit;box-shadow:0 2px 10px rgba(0,0,0,.04);transition:transform .15s,box-shadow .15s}
.evt:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.09)}
.evt-i{height:170px;position:relative;display:flex;align-items:flex-end;padding:12px 14px;color:#fff;background-size:cover;background-position:center}
.evt.sm .evt-i{height:120px}
.evt-i:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.45))}
.evt-t{position:relative;z-index:1;font-size:19px;font-weight:900;line-height:1.1;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.evt.sm .evt-t{font-size:16px}
.evt-d{position:absolute;z-index:1;top:10px;left:10px;background:#fff;color:#1d2024;border-radius:10px;padding:3px 9px;text-align:center;line-height:1.1;box-shadow:0 3px 10px rgba(0,0,0,.18)}.evt-d small{display:block;font-size:10.5px;font-weight:700;color:#7a7e84}.evt-d b{font-size:16px}
.evt-s{position:absolute;z-index:1;top:10px;right:10px;border-radius:8px;padding:2px 8px;font-size:11px;font-weight:800;background:rgba(255,255,255,.93);color:#1d2024}
.evt-s.ok{background:#e3f4ea;color:#1f7a45}.evt-s.wa{background:#fff1d6;color:#8a5a00}.evt-s.off{background:#ecebe6;color:#555}
.evt-b{display:flex;flex-direction:column;gap:2px;padding:12px 14px 14px;flex:1}
.evt-h{font-size:15.5px}.evt-m{font-size:12.5px;color:#6c7075}.evt-l{font-size:12px;color:#4b4f55}
.evt-p{display:flex;align-items:center;gap:8px;margin-top:10px}.evt-p b{font-size:14px}.evt-p small{font-size:12px;color:#7a7e84}
.evt-bar{flex:1;height:7px;background:#ecebe6;border-radius:4px;overflow:hidden}.evt-bar i{display:block;height:100%;background:#134e5e;border-radius:4px}.evt-bar i.wa{background:#e8a33a}
.evt-f{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#6c7075;margin-top:6px}.evt-f b{color:#1d2024}.evt-f .up{color:#1f7a45;font-weight:800}
.evt-new{border:2px dashed #134e5e;background:#f1f7f8;color:#134e5e;align-items:center;justify-content:center;min-height:250px;box-shadow:none;gap:4px}
.evt-new span{font-size:30px;font-weight:800;line-height:1}.evt-new b{font-size:14.5px}
.evt-g.h4 .evt-new{min-height:180px}
@media (max-width:1100px){.evt-g.h4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.evt-g.h4{grid-template-columns:1fr}.evt-bar2{flex-wrap:wrap}}
/* Startseite */
.hseg{margin:0!important}
.hw-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.hw{position:relative;background:#fff;border:1px solid #ebeae5;border-radius:16px;padding:14px 16px;min-width:0}
.hw-ev{background:none;border:0;padding:0}
.hw-h{display:flex;align-items:center;gap:8px;margin-bottom:10px}.hw-h h3{margin:0;font-size:15px}.hw-h .linkbtn{margin-left:auto;font-size:13px;font-weight:700}
.hw-k{margin:0;font-size:12px;font-weight:800;letter-spacing:.06em;color:#7a7e84}
.hw-kpi{min-height:104px}
.hk-l{display:block;font-size:11.5px;font-weight:800;letter-spacing:.04em;color:#7a7e84}
.hk-v{font-size:26px;font-weight:900;letter-spacing:-.01em;line-height:1.2}.hk-v span{font-size:12px;font-weight:600;color:#6c7075;margin-left:6px;letter-spacing:0}
.hk-d{font-size:12.5px;font-weight:800;color:#1f7a45}.hk-d.n{color:#c0392b}.hk-d.mu{color:#9a9ea4;font-weight:600}
.hk-sp{position:absolute;right:14px;bottom:14px}
.hc{width:100%;height:210px;display:block}.hc rect{fill:#134e5e}.hc rect.now{fill:#e8a33a}.hc-g{stroke:#f1f0ec;stroke-width:1}
.hc-p{fill:none;stroke:#9fc3cc;stroke-width:2.5;stroke-dasharray:6 5;vector-effect:non-scaling-stroke}
.hc-x{display:flex;justify-content:space-around;font-size:11.5px;color:#7a7e84;margin-top:4px}.hc-x span{flex:1;text-align:center}
.hc-lg{display:flex;gap:14px;font-size:12px;color:#6c7075;margin-top:6px}.hc-lg span:before{content:"";display:inline-block;width:12px;height:4px;border-radius:2px;margin-right:6px;vertical-align:2px}.hc-lg .a:before{background:#134e5e}.hc-lg .b:before{background:#9fc3cc}
.hr{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid #f1f0ec;background:none;padding:8px 0;font:inherit;text-align:left;cursor:pointer;color:inherit}.hr:first-of-type{border-top:0}
.hr .dot{width:8px;height:8px;border-radius:50%;background:#1f9d55;flex:none}.hr .dot.o{background:#e8a33a}
.hr-m{flex:1;min-width:0}.hr-m b{display:block;font-size:13.5px}.hr-m small,.hr-r small{display:block;font-size:11.5px;color:#7a7e84;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hr-r{text-align:right}.hr-r b{font-size:13.5px}
.hb{display:flex;flex-direction:column;gap:7px}.hb-r{display:grid;grid-template-columns:minmax(90px,140px) 1fr auto;gap:10px;align-items:center;font-size:12.5px}
.hb-b{height:8px;background:#ecebe6;border-radius:4px;overflow:hidden}.hb-b i{display:block;height:100%;background:#134e5e;border-radius:4px}.hb-r b{text-align:right;min-width:60px}
.hh{display:flex;align-items:flex-end;gap:3px;height:110px}.hh span{flex:1;height:100%;display:flex;align-items:flex-end}.hh i{display:block;width:100%;background:#134e5e;border-radius:3px 3px 0 0;min-height:2px}
.hh-x{display:flex;justify-content:space-between;font-size:11px;color:#7a7e84;margin-top:4px}
.ht{display:flex;gap:9px;align-items:flex-start;width:100%;border:0;background:none;padding:6px 0;font:inherit;font-size:13.5px;text-align:left;cursor:pointer;color:inherit}
.ht i{width:16px;height:16px;border-radius:5px;border:2px solid #c9cbcf;flex:none;margin-top:2px}.ht small{display:block;color:#7a7e84;font-size:11.5px}
.hw-new{border:2px dashed #134e5e;background:#f1f7f8;padding:0;display:flex}
.hw-newb{flex:1;border:0;background:none;color:#134e5e;font:800 15px var(--f,inherit);cursor:pointer;min-height:110px}.hw-newb span{font-size:18px}
.hw-ld{height:80px;border-radius:10px;background:linear-gradient(90deg,#f4f3ef,#fafaf8,#f4f3ef);background-size:200% 100%;animation:hwld 1.2s infinite}
@keyframes hwld{to{background-position:-200% 0}}
/* Anpassen */
.hw-grid.ed .hw{outline:2px dashed #134e5e;outline-offset:-2px;padding-top:30px}
.hw-grid.ed .hw-ev{padding:30px 10px 10px}
.hw-hdl{position:absolute;top:7px;left:50%;transform:translateX(-50%);padding:0 10px;height:18px;border-radius:6px;background:#f1f7f8;color:#134e5e;font-size:11px;font-weight:900;letter-spacing:2px;line-height:18px;cursor:grab;user-select:none;z-index:2}
.hw-ctl{position:absolute;top:6px;right:8px;display:flex;gap:4px;z-index:2}.hw-ctl button{height:22px;min-width:22px;padding:0 6px;border-radius:6px;border:0;background:#f1f7f8;color:#134e5e;font:800 11px var(--f,inherit);cursor:pointer}
.hw-ctl button.on{background:#134e5e;color:#fff}.hw-ctl button.x{background:#fdecea;color:#c0392b}
.hw.drag{opacity:.45}.hw.over{box-shadow:0 0 0 3px #134e5e inset}
.hw-lib{background:#fff;border:1px solid #ebeae5;border-radius:16px;padding:12px 14px;margin-bottom:14px}.hw-lib h4{margin:0 0 8px;font-size:13px;color:#4b4f55}
.hw-libl{display:flex;flex-wrap:wrap;gap:8px}.hw-libl .u{border:1.5px solid #e1e0da;background:#f6f5f1;color:#9a9ea4;border-radius:11px;padding:6px 11px;font-weight:700;font-size:12.5px}
@media (max-width:900px){.hw-grid{grid-template-columns:1fr}.hw-grid .hw{grid-column:auto!important}}
.hseg button[aria-selected=true],.evt-seg button[aria-selected=true]{background:#134e5e!important;color:#fff!important}
.sh-gear.sh-gear-t{font-size:13.5px}
.sh-gear.sh-gear-t{font-size:13.5px!important;height:38px}
.anl-c>section.panel+section.panel,.anl-c>form.panel+form.panel,.anl-c section.panel:not([hidden])~section.panel:not([hidden]){margin-top:14px}
@media (max-width:1500px){.sh-m1 button{padding:10px 9px!important;gap:6px!important}.sh-bar.lay-m1 .sh-s{width:130px!important}}
@media (max-width:1280px){.sh-gear.sh-gear-t{font-size:0!important;padding:0 10px!important}.sh-gear.sh-gear-t span{font-size:16px}}
.ins-kp.go,.ins-c.go,.hw-kpi[data-go]{cursor:pointer;transition:box-shadow .15s,transform .15s}
.ins-kp.go:hover,.ins-c.go:hover,.hw-kpi[data-go]:hover{box-shadow:0 8px 22px rgba(19,78,94,.12);transform:translateY(-1px)}
.ins-kp.go:after,.hw-kpi[data-go]:after{content:"→";position:absolute;top:12px;right:14px;color:#134e5e;font-weight:800;opacity:0;transition:opacity .15s}
.ins-kp.go{position:relative}.ins-kp.go:hover:after,.hw-kpi[data-go]:hover:after{opacity:1}
.ins-kp.go:focus-visible,.hw-kpi[data-go]:focus-visible{outline:3px solid #134e5e;outline-offset:2px}
/* Fenster: doppelte Zentrierung (Raster + left/translate) aufheben */
@media (min-width:641px){#layer:not(.top):not(.wl) .drawer,#layer:not(.top):not(.wl) .drawer.sd,#layer:not(.top):not(.wl) .drawer.od{left:auto;top:auto;transform:none;animation:pop .18s ease-out}}
@media (max-width:1500px){.sh-m1 .sh-i{display:none}}
/* 3.3.4 Verkauf stoppen */
.ss-p{cursor:pointer;border:2px solid transparent;font:inherit;font-weight:800}
.ss-p.ok:hover{border-color:#b9dfc9}
.ss-p.stop{background:#fdecea!important;color:#b3261e!important;border-color:#e9b3ad}
.ss-ban{display:flex;align-items:center;gap:8px;margin:10px 24px 0;background:#d33a2c;color:#fff;border-radius:12px;padding:9px 14px;font-size:13.5px;position:relative;z-index:2}
.ss-ban span{opacity:.95}.ss-ban button{margin-left:auto;border:0;background:none;color:#fff;font:800 13.5px var(--f,inherit);text-decoration:underline;cursor:pointer}
.ss-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #ebeae5;border-radius:16px;padding:16px 18px;margin:0 0 16px}
.ss-card b{display:block;font-size:16px}.ss-card span{font-size:13px;color:#6c7075}.ss-card .dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#2fa36b;margin-right:7px;vertical-align:1px}
.ss-card.stop{border:2px solid #e9b3ad;background:#fdf4f3}.ss-card.stop b{color:#b3261e}
.ss-big{margin-left:auto;flex:none;display:flex;align-items:center;gap:10px;border-radius:14px;padding:13px 22px;font:900 16px var(--f,inherit);border:2px solid #d33a2c;color:#b3261e;background:#fff;cursor:pointer}
.ss-big i{width:26px;height:26px;border-radius:7px;background:#d33a2c;display:grid;place-items:center;color:#fff;font-style:normal;font-size:12px}
.ss-big.go{border-color:#1f9d55;color:#1f7a45}.ss-big.go i{background:#1f9d55}
.ss-big:hover{box-shadow:0 6px 18px rgba(0,0,0,.08)}
.ssm{position:relative;pointer-events:auto;background:#fff;border-radius:20px;overflow:hidden;width:min(620px,calc(100vw - 24px));box-shadow:0 20px 60px rgba(0,0,0,.3);margin:auto}
#layer.wl:has(.ssm){display:grid;place-items:center;padding:24px 12px}
.ssm-h{display:flex;align-items:center;background:#b3261e;color:#fff;padding:14px 20px}.ssm-h.go{background:#1f7a45}.ssm-h h2{margin:0;font-size:17px;color:#fff}
.ssm-h .x{margin-left:auto;width:30px;height:30px;border-radius:9px;border:0;background:#fff;color:#1d2024;font-weight:900;cursor:pointer}
.ssm-b{padding:16px 20px}.ssm-b p{margin:0 0 12px;color:#4b4f55;font-size:14px}
.ssm-o{display:flex;gap:10px;border:1.5px solid #e1e0da;border-radius:12px;padding:10px 12px;margin-bottom:8px;cursor:pointer}.ssm-o:has(input:checked){border:2px solid #134e5e;background:#f1f7f8}
.ssm-o b{display:block;font-size:14px}.ssm-o small{display:block;font-size:12.5px;color:#6c7075}.ssm-o .in{margin-top:6px;max-width:240px}
.ssm-t{display:flex;gap:10px;align-items:center;font-size:13.5px;margin-top:10px}
.ssm-f{display:flex;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid #ebeae5}.ssm-f .sp{flex:1}
.ssm-f button{border-radius:22px;padding:9px 16px;font:800 14px var(--f,inherit);cursor:pointer;border:0;background:none}
.ssm-f .p{color:#fff}.ssm-f .red{background:#b3261e}.ssm-f .go{background:#1f7a45}
@media (max-width:640px){.ss-card{flex-direction:column;align-items:stretch}.ss-big{margin-left:0;justify-content:center}}
.ssm-h h2{flex:1}
/* 3.3.5 Empfehlen */
.ref .panel{margin-bottom:14px}
.ref-st{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.ref-st div{border:1.5px solid #e1e0da;border-radius:12px;padding:10px 12px}.ref-st i{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#134e5e;color:#fff;font-style:normal;font-size:12px;margin-bottom:4px}.ref-st b{display:block;font-size:14px}.ref-st span{font-size:12.5px;color:#6c7075}
.ref-l{display:flex;gap:8px;align-items:center}.ref-l .in{flex:1}.mono{font-family:ui-monospace,Menlo,monospace}
.ref-b{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.ref-k{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}.ref-k div{background:#f6f5f1;border-radius:12px;padding:10px 12px}.ref-k small{display:block;font-size:11px;font-weight:800;color:#7a7e84;letter-spacing:.04em}.ref-k b{font-size:20px}
.ref-p{border-radius:7px;padding:2px 8px;font-size:12px;font-weight:800}.ref-p.ok{background:#e3f4ea;color:#1f7a45}.ref-p.wa{background:#fff1d6;color:#8a5a00}
.ref-t{display:flex;gap:10px;align-items:center;font-size:14px}
@media (max-width:700px){.ref-st,.ref-k{grid-template-columns:1fr}.ref-l{flex-wrap:wrap}}
.ssm-b svg{width:240px;height:240px;margin:0 auto;display:block}
/* „Zurück zu allen Veranstaltungen“ deutlich als Button */
.evl-back{align-self:stretch!important;display:flex!important;align-items:center;gap:10px;opacity:1!important;background:rgba(255,255,255,.12)!important;border:1.5px solid rgba(255,255,255,.28)!important;border-radius:12px!important;padding:10px 12px!important;font:800 14px var(--f,inherit)!important;color:#fff!important;margin-bottom:6px}
.evl-back i{width:26px;height:26px;border-radius:8px;background:#fff;color:#134e5e;display:grid;place-items:center;font-style:normal;font-weight:900;flex:none}
.evl-back:hover{background:rgba(255,255,255,.22)!important}
.evl-c.l2 .evl-back{color:#134e5e!important;background:#f1f7f8!important;border-color:#cfe1e5!important}.evl-c.l2 .evl-back i{background:#134e5e;color:#fff}
.evl-back{text-align:left;justify-content:flex-start}
