:root{
 --ink:#0a2650;--navy:#173d5d;--navy2:#284f6c;--blue:#0875e5;--blue-soft:#e8f4ff;
 --line:#d8e3ec;--muted:#65788d;--bg:#f4f8fb;--card:#fff;--green:#17944b;--green-bg:#e8f8ef;
 --red:#d62227;--red-bg:#feecee;--orange:#dc8800;--orange-bg:#fff4d9;--purple:#7a4cbd;--purple-bg:#f2ebff;
 --shadow:0 2px 10px rgba(22,55,83,.08);--radius:10px;
}
*{box-sizing:border-box}
html{font-size:15px;background:var(--bg)}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10243f;background:linear-gradient(#f8fbfe,#f4f8fb);min-height:100vh}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
svg{display:block}
.top-shell{background:rgba(248,251,254,.96);border-bottom:1px solid #dce7f0}
.topbar{width:min(1280px,calc(100% - 32px));margin:0 auto;min-height:78px;display:grid;grid-template-columns:240px 1fr 260px;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:800}
.brand-mark{width:62px;height:44px;flex:none}
.brand-copy{line-height:1.05;font-size:20px}
.brand-copy small{display:block;font-size:9px;letter-spacing:.12em;margin-top:6px;font-weight:800}
.page-title{text-align:center;color:var(--ink)}
.page-title h1{font-size:25px;line-height:1.1;margin:0 0 9px;font-weight:800}
.quick-links{display:flex;justify-content:center;gap:11px;color:#122e50;font-size:14px}
.quick-links a{position:relative}
.quick-links a:not(:last-child)::after{content:"·";margin-left:11px}
.claim{justify-self:end;color:#1561a4;font-family:cursive;font-size:18px;transform:rotate(-4deg);white-space:nowrap}
.claim .heart{display:inline-block;font-size:26px;margin-left:7px}
.app-wrap{width:min(1280px,calc(100% - 24px));margin:14px auto 28px;background:#fff;border:1px solid #cfdce7;border-radius:6px;box-shadow:0 2px 10px rgba(24,57,84,.06);overflow:hidden}
.section-title{height:36px;background:linear-gradient(180deg,#365b76,#244963);color:#fff;display:flex;align-items:center;padding:0 14px;font-weight:800;font-size:16px}
.app-grid{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:710px}
.sidebar{border-right:1px solid #dce6ef;background:#fbfdff;padding:16px 10px 14px;display:flex;flex-direction:column;min-width:0}
.sidebar .mini-brand{display:flex;align-items:center;gap:9px;font-weight:800;color:var(--ink);padding:2px 8px 16px}
.sidebar nav{display:flex;flex-direction:column;gap:4px}
.nav-link{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;font-size:13px;color:#19324e}
.nav-link svg{width:17px;height:17px;stroke-width:1.9}
.nav-link.active{background:#deefff;color:#0065cf;font-weight:700}
.nav-link:hover{background:#eef6fc}
.sidebar-foot{margin-top:auto;padding-top:16px;border-top:1px solid #e1eaf1;display:flex;flex-direction:column;gap:4px}
.main{padding:18px 18px 24px;min-width:0}
.main-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.main-head h2{font-size:18px;margin:0;color:#101c31}
.main-head .date{font-size:12px;color:#5f7386;margin-top:4px}
.grid-2{display:grid;grid-template-columns:1fr 1.15fr;gap:14px}
.grid-2.equal{grid-template-columns:1fr 1fr}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.card{background:var(--card);border:1px solid #dce6ee;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}
.card .card-h{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 9px;font-size:14px;font-weight:800;color:#112a48}
.card .card-b{padding:4px 14px 14px}
.card.soft-blue{background:linear-gradient(135deg,#eff8ff,#f9fcff)}
.card.soft-green{background:linear-gradient(135deg,#ebf9f0,#f8fffb)}
.kpi{padding:16px 14px;border:0;box-shadow:none;min-height:82px}
.kpi strong{display:block;font-size:25px;line-height:1;margin-bottom:8px}
.kpi span{font-size:12px}
.kpi.blue{background:#e8f4ff;color:#0965c4}.kpi.red{background:#ffecee;color:#c51c27}.kpi.orange{background:#fff4da;color:#b86b00}.kpi.green{background:#e7f9ee;color:#118342}
.list{display:flex;flex-direction:column}
.list-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;padding:9px 0;border-bottom:1px solid #e7edf2;font-size:12px}
.list-row:last-child{border-bottom:0}
.list-row .time{font-weight:800;color:#18334f;white-space:nowrap}
.list-row .title{font-weight:700;color:#182c46}
.list-row .sub{display:block;color:#667a8d;font-weight:500;margin-top:2px}
.list-row .meta{color:#667a8d;white-space:nowrap;font-size:11px}
.dot{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:900;margin-top:1px}
.dot.red{background:#e3272d}.dot.orange{background:#f0a100}.dot.blue{background:#1475df}.dot.green{background:#1da357}
.progress{font-size:12px;color:#14743c}
.check-list{display:flex;flex-direction:column;gap:6px}
.task-line{display:flex;align-items:center;gap:8px;font-size:13px}
.task-line input{width:16px;height:16px;accent-color:#1a9a50}
.notice{display:flex;gap:11px;padding:15px;border:1px solid #f2dfaa;background:linear-gradient(90deg,#fff7df,#fffdf5);border-radius:8px}
.notice strong{color:#183254}.notice p{margin:3px 0 0;font-size:13px}.notice small{display:block;color:#5f7386;margin-top:5px}
.btn{border:1px solid transparent;border-radius:6px;padding:8px 12px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px}
.btn-primary{background:#0875e5;color:#fff;box-shadow:0 1px 3px rgba(0,74,150,.18)}
.btn-primary:hover{background:#0467ca}.btn-outline{background:#fff;border-color:#cbd9e5;color:#153a60}.btn-danger{background:#d8222c;color:#fff}
.btn-sm{padding:6px 9px;min-height:29px}
.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.field{display:flex;flex-direction:column;gap:5px}
.field label{font-size:11px;font-weight:800;color:#1b2e46}
.input,.select,.textarea{width:100%;border:1px solid #cbd9e5;border-radius:6px;padding:9px 10px;background:#fff;color:#162a44;outline:none}
.input:focus,.select:focus,.textarea:focus{border-color:#5fa7ef;box-shadow:0 0 0 3px rgba(0,117,229,.1)}
.textarea{min-height:90px;resize:vertical}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-grid .full{grid-column:1/-1}
.table-wrap{overflow:auto;border:1px solid #dce6ee;border-radius:8px}
table{width:100%;border-collapse:collapse;min-width:650px}
th{font-size:11px;color:#2d425c;text-align:left;background:#f8fbfd;border-bottom:1px solid #dce6ee;padding:10px}
td{font-size:12px;border-bottom:1px solid #e6edf2;padding:11px 10px;vertical-align:middle}
tr:last-child td{border-bottom:0}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700;white-space:nowrap}
.badge.green{background:#e7f8ee;color:#168445}.badge.red{background:#fdebed;color:#c4222b}.badge.orange{background:#fff2d2;color:#ac6700}.badge.blue{background:#e7f3ff;color:#0563c6}.badge.gray{background:#eef2f5;color:#5c6c7b}
.empty{padding:26px;text-align:center;color:#718396;font-size:13px}
.alert{padding:11px 13px;border-radius:7px;margin-bottom:13px;font-size:13px}
.alert.success{background:#e7f8ee;color:#146c3d;border:1px solid #ccefd9}.alert.error{background:#fdebed;color:#b82029;border:1px solid #f7ccd0}
.section-gap{margin-top:14px}
.link{color:#006fd9;font-weight:700;font-size:12px}
.modal-toggle{display:none}
.modal{display:none;position:fixed;inset:0;background:rgba(7,22,38,.48);z-index:1000;align-items:center;justify-content:center;padding:22px}
.modal.open{display:flex}
.modal-card{width:min(600px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:11px;box-shadow:0 18px 60px rgba(8,32,54,.25)}
.modal-card .modal-h{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e2e9ef;font-weight:800}
.modal-card .modal-b{padding:16px}
.close-modal{border:0;background:transparent;font-size:22px;color:#53677b}
.area-tree{display:grid;grid-template-columns:220px 1fr;gap:12px}
.tree{border-right:1px solid #e0e8ef;padding-right:12px}
.tree ul{list-style:none;margin:0;padding:0}.tree li{font-size:12px;margin:2px 0}.tree .node{display:flex;align-items:center;gap:7px;padding:6px 7px;border-radius:6px}.tree .node.active{background:#dff0ff;color:#0468cb;font-weight:700}.tree .children{padding-left:18px}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #dbe5ed;border-radius:8px;overflow:hidden}
.day-col{min-height:440px;border-right:1px solid #e1e9f0;background:linear-gradient(to bottom,transparent 59px,#eef3f7 60px);background-size:100% 60px;position:relative;padding:0 7px}
.day-col:last-child{border-right:0}.day-head{text-align:center;font-size:11px;padding:8px 4px;border-bottom:1px solid #e1e9f0;background:#fff;position:sticky;top:0}.day-head strong{display:block;font-size:12px}.day-head.today{background:#e8f4ff;color:#0b61bd}
.event{font-size:10px;padding:6px 7px;border-left:3px solid #176fc5;background:#e7f3ff;border-radius:4px;margin-top:10px;line-height:1.25}.event.green{border-left-color:#189653;background:#e6f8ed}.event.purple{border-left-color:#8156c4;background:#f0e9ff}
.login-page{min-height:100vh;display:grid;grid-template-rows:auto 1fr;background:#eef5fa}
.login-top{padding:24px 0}.login-shell{width:min(1120px,calc(100% - 32px));margin:0 auto;display:grid;grid-template-columns:1fr 1.2fr;min-height:620px;background:#fff;border:1px solid #ccdbe6;border-radius:8px;overflow:hidden;box-shadow:0 14px 40px rgba(23,61,93,.12)}
.login-photo{position:relative;background:
 linear-gradient(rgba(42,70,92,.05),rgba(15,42,61,.28)),
 radial-gradient(circle at 35% 24%,#d9edf9 0 13%,transparent 14%),
 linear-gradient(155deg,#b9d8e9 0 38%,#8fb1c5 39% 56%,#697f8a 57% 59%,#9aa8a7 60% 100%);
 display:flex;align-items:center;justify-content:center;padding:30px}
.login-photo::after{content:"Saubere Räume. Starke Zukunft.";position:absolute;bottom:26px;color:#fff;font-size:13px}
.login-card{width:min(360px,90%);background:rgba(255,255,255,.93);border:1px solid rgba(210,222,232,.95);border-radius:9px;padding:28px;box-shadow:0 8px 24px rgba(29,57,78,.13);backdrop-filter:blur(4px)}
.login-card h2{text-align:center;color:#0d2850;margin:0 0 6px;font-size:20px}.login-card .sub{text-align:center;font-size:12px;font-weight:700;margin-bottom:22px}.login-card .field{margin-bottom:12px}.login-card .btn{width:100%;margin-top:4px}.login-card .forgot{text-align:center;margin-top:13px;font-size:11px;color:#006ccc}
.login-copy{display:flex;align-items:center;justify-content:center;padding:50px}.login-copy-inner{max-width:500px}.login-copy h1{font-size:36px;color:#0a2650;margin:18px 0 12px}.login-copy p{font-size:16px;color:#587087;line-height:1.6}.login-copy .claim{display:block;justify-self:auto;margin-top:40px}
.mobile-nav{display:none}
@media(max-width:900px){
 .topbar{grid-template-columns:1fr auto}.page-title{display:none}.claim{font-size:14px}
 .app-wrap{width:100%;margin:0;border-radius:0;border-left:0;border-right:0}
 .section-title{display:none}.app-grid{grid-template-columns:1fr;min-height:auto}.sidebar{display:none}
 .main{padding:14px 14px 84px}.grid-2,.grid-2.equal,.grid-4{grid-template-columns:1fr 1fr}.grid-4 .kpi{min-height:74px}
 .area-tree{grid-template-columns:1fr}.tree{border-right:0;border-bottom:1px solid #e1e9f0;padding:0 0 10px}
 .mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #dbe5ec;z-index:500;padding:7px 8px max(7px,env(safe-area-inset-bottom))}
 .mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:#5d7183}.mobile-nav a.active{color:#006bd3;font-weight:800}.mobile-nav svg{width:20px;height:20px}
 .calendar-grid{overflow:auto;grid-template-columns:repeat(7,minmax(120px,1fr))}
 .login-shell{grid-template-columns:1fr;min-height:auto}.login-copy{display:none}.login-photo{min-height:100vh}.login-card{width:min(420px,92%)}
}
@media(max-width:620px){
 html{font-size:14px}.topbar{min-height:62px;width:calc(100% - 22px)}.brand-mark{width:48px;height:36px}.brand-copy{font-size:17px}.brand-copy small{font-size:7px}.claim{display:none}
 .main-head h2{font-size:17px}.grid-2,.grid-2.equal,.grid-4{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}
 .toolbar{align-items:stretch}.toolbar .input,.toolbar .select{min-width:0}.card .card-h{padding:11px 12px 8px}.card .card-b{padding:4px 12px 12px}
 .table-wrap{border:0;overflow:visible}table.responsive,table.responsive tbody,table.responsive tr,table.responsive td{display:block;width:100%}table.responsive thead{display:none}table.responsive{min-width:0}table.responsive tr{border:1px solid #dce6ee;border-radius:8px;margin-bottom:9px;background:#fff;padding:7px}table.responsive td{border:0;padding:5px 7px}table.responsive td::before{content:attr(data-label);display:block;font-size:10px;color:#6a7c8e;font-weight:800;margin-bottom:2px}
}
.month-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #dbe5ed;border-radius:8px;overflow:hidden}
.month-cell{min-height:130px;border-right:1px solid #e1e9f0;border-bottom:1px solid #e1e9f0;padding:7px;background:#fff}
.month-cell:nth-child(7n){border-right:0}.month-cell .num{font-size:11px;font-weight:800;color:#526a80}.month-cell.out{background:#f8fafc;color:#9aa9b6}.month-cell.today{background:#eef7ff}
.month-event{margin-top:6px;padding:4px 5px;border-left:3px solid #1674d1;background:#eaf4ff;border-radius:3px;font-size:9px;line-height:1.2}
@media(max-width:900px){.month-grid{overflow:auto;grid-template-columns:repeat(7,minmax(115px,1fr))}}
.mobile-day{display:none}
.mobile-day .mobile-summary{display:grid;gap:8px}.mobile-day .mobile-row{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #dce6ee;border-radius:8px;background:#fff}.mobile-day .mobile-row svg{width:18px;height:18px;color:#284f6c}.mobile-day .mobile-row strong{margin-left:auto;color:#0a2650}
@media(max-width:900px){.mobile-day{display:block;margin-bottom:14px}.cleaner-desktop{display:none}}
