/* BATCH Team – Startseite mit Widgets (15.10.2026) */
.hm{display:flex;flex-direction:column;gap:16px}
.hm-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.hm-hd h1{margin:0;font-weight:400;font-size:28px;letter-spacing:-.01em}
.hm-date{font-size:13px;color:var(--soft)}
.hm-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:start}
.hm-card{grid-column:span 3;background:var(--paper);border:1px solid var(--line2);border-radius:18px;padding:16px 18px 18px;display:flex;flex-direction:column;gap:12px;min-width:0;transition:box-shadow .2s}
.hm-card.sz-s{grid-column:span 2}
.hm-card.sz-l{grid-column:span 6}
@media (max-width:899px){.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hm-card,.hm-card.sz-m,.hm-card.sz-l{grid-column:span 2}.hm-card.sz-s{grid-column:span 1}.hm-hd h1{font-size:24px}}
.hm-grid.editing .hm-card{box-shadow:0 0 0 2px var(--line);border-style:dashed}
.hm-ch{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px}
.hm-ch h3{margin:0;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:500;color:var(--soft)}
.hm-ch h3 a{color:inherit;text-decoration:none}
.hm-ch h3 a:hover{color:var(--ink)}
.hm-ed{display:flex;align-items:center;gap:4px}
.hm-ed button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;min-width:28px;height:28px;font:inherit;font-size:13px;cursor:pointer}
.hm-ed button[disabled]{opacity:.3}
.hm-sz{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.hm-sz button{border:0;border-radius:0;min-width:26px}
.hm-sz button.on{background:var(--ink);color:var(--on-ink)}
.hm-add{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--soft)}
.hm-muted{color:var(--soft);font-size:14px;margin:0}
.hm-skel{display:flex;flex-direction:column;gap:8px}
.hm-skel i{display:block;height:14px;border-radius:7px;background:linear-gradient(90deg,var(--line2),var(--hover),var(--line2));background-size:200% 100%;animation:hmsk 1.2s infinite}
.hm-skel i:nth-child(1){width:40%;height:28px}.hm-skel i:nth-child(3){width:70%}
@keyframes hmsk{to{background-position:-200% 0}}
.hm-big{font-size:34px;line-height:1.05;font-weight:400;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hm-big.warn{color:var(--red)}
.hm-sub{font-size:13px;color:var(--soft)}
.hm-sub b.up{color:var(--ok);font-weight:500}.hm-sub b.down{color:var(--red);font-weight:500}
.hm-w-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:899px){.hm-w-grid{grid-template-columns:minmax(0,1fr);gap:14px}.hm-w-grid>*{min-width:0}.hm-hours{grid-auto-columns:44px}.hm-days{padding:10px 2px}.hm-w-t{font-size:38px}.hm-wi.big{width:48px;height:48px}}
/* Wetter */
.hm-wi{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hm-wi.big{width:58px;height:58px;stroke-width:1.3}
.hm-wi.w-sun{color:#E2A21B}.hm-wi.w-part{color:#9AA3AD}.hm-wi.w-cloud,.hm-wi.w-fog{color:#8F969E}.hm-wi.w-rain,.hm-wi.w-drizzle{color:#3E7BC4}.hm-wi.w-snow{color:#6FA8D8}.hm-wi.w-storm{color:#7B5CC4}.hm-wi.w-moon{color:#8C8FB5}
.hm-w-now{display:flex;align-items:center;gap:14px}
.hm-w-t{font-size:44px;line-height:1;font-weight:300;letter-spacing:-.03em}
.hm-w-c{font-size:15px;margin-top:2px}
.hm-w-side{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:13px;color:var(--soft)}
.hm-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.hm-chip{font-size:12px;padding:4px 10px;border-radius:999px;background:var(--hover);color:var(--ink)}
.hm-chip.wet{background:#E1ECF8;color:#245C9E}.hm-chip.dry{background:var(--ok-bg);color:var(--ok)}
:root[data-theme="dark"] .hm-chip.wet{background:#1C2A3A;color:#8DB8E8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hm-chip.wet{background:#1C2A3A;color:#8DB8E8}}
.hm-hours{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(44px,1fr);gap:4px;margin-top:14px;overflow-x:auto;padding-bottom:2px}
.hm-hours>div,.hm-days>div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px}
.hm-hours span,.hm-days span{color:var(--soft)}
.hm-hours b,.hm-days b{font-weight:500;font-size:14px}
.hm-hours em,.hm-days em{font-style:normal;font-size:11px;color:var(--soft);min-height:13px}
.hm-hours em.hi,.hm-days em.hi{color:#3E7BC4;font-weight:500}
.hm-days{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:var(--hover);border-radius:14px;padding:12px 6px}
.hm-days i{font-style:normal;font-size:12px;color:var(--soft)}
.hm-tips{list-style:none;margin:0;padding:12px 14px;border-radius:14px;background:var(--today-bg,#F1EEE9);display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.4}
.hm-tips li{padding-left:18px;position:relative}
.hm-tips li::before{content:'→';position:absolute;left:0;color:var(--today,#827462)}
.hm-src{font-size:11px;color:var(--soft)}
/* Umsatz */
.hm-bars{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;align-items:end;height:110px;margin-top:12px}
.hm-bars>div{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center}
.hm-bars i{position:absolute;bottom:14px;width:70%;border-radius:4px 4px 1px 1px;max-height:calc(100% - 14px)}
.hm-bars i.pv{background:var(--line);width:86%}
.hm-bars i.v{background:var(--ink)}
.hm-bars i.v.now{background:var(--today,#827462)}
.hm-bars span{font-size:10px;color:var(--soft);position:absolute;bottom:0}
.hm-legend{display:flex;gap:14px;font-size:11px;color:var(--soft);margin-top:6px}
.hm-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.hm-legend i.v{background:var(--ink)}.hm-legend i.pv{background:var(--line)}
.hm-top h4,.hm-tm h4{margin:0 0 8px;font-size:12px;font-weight:500;color:var(--soft)}
.hm-top>div{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:6px 0;border-bottom:1px solid var(--line2)}
.hm-top b{font-weight:500;white-space:nowrap}
/* Events */
.hm-ev{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:start;padding:8px 0;border-bottom:1px solid var(--line2)}
.hm-ev:last-of-type{border-bottom:0}
.hm-ev-i{font-size:18px;line-height:1.2;text-align:center}
.hm-ev b{display:block;font-weight:500;font-size:14.5px}
.hm-ev span{display:block;font-size:12.5px;color:var(--soft)}
.hm-ev em{display:block;font-style:normal;font-size:12.5px;margin-top:2px}
.hm-ev.imp-hoch b::after{content:'mehr Andrang';margin-left:8px;font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;padding:2px 6px;border-radius:6px;background:var(--amber-bg);color:var(--amber);vertical-align:2px}
.hm-x{border:0;background:none;color:var(--soft);font-size:18px;cursor:pointer}
/* Team */
.hm-tm{display:flex;flex-direction:column;gap:6px}
.hm-tm+.hm-tm{margin-top:10px}
.hm-sh{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:12px;background:var(--hover)}
.hm-sh>span{font-size:12px;color:var(--soft)}
.hm-sh>div{display:flex;flex-wrap:wrap;gap:6px}
.hm-p{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.hm-p i{width:9px;height:9px;border-radius:50%}
.hm-gap{font-style:normal;font-size:13px;color:var(--red)}
/* Lager */
.hm-low{display:flex;flex-direction:column}
.hm-low>div{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line2);font-size:14px}
.hm-low img,.hm-low .ph{width:34px;height:34px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid var(--line2)}
.hm-low .ph{background:var(--hover)}
.hm-low b{font-weight:500;color:var(--red);white-space:nowrap}
.hm-card .pill{align-self:flex-start}
/* Event-Formular */
.hm-modal{position:fixed;inset:0;z-index:150;background:var(--overlay,rgba(0,0,0,.4));display:flex;align-items:center;justify-content:center;padding:16px}
.hm-mi{width:100%;max-width:460px;background:var(--paper);color:var(--ink);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px}
.hm-mi h2{margin:0;font-size:20px;font-weight:500;text-transform:none;letter-spacing:0}
.hm-mi label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--soft)}
.hm-mi input,.hm-mi select{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;font-size:15px;color:var(--ink);background:var(--paper)}
.hm-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hm-err{color:var(--red);font-size:13px;margin:0}
.hm-ft{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
