*{box-sizing:border-box}body{margin:0;background:#f5f6f0;color:#1c2819;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible{outline:3px solid #e22136;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:600;letter-spacing:-.045em;line-height:1.12}p{line-height:1.7}h1{font-size:clamp(36px,4vw,54px);margin-bottom:17px}h2{font-size:24px}h3{font-size:20px}.eyebrow{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;display:block;margin-bottom:22px;color:#8d9b82}.button{border:1px solid #d5192d;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:#d5192d;color:white;padding:13px 20px;min-height:46px;font-size:12px;font-weight:600}.button:hover{background:#b81627;border-color:#b81627}.button.secondary{background:#fff;border-color:#d4dccb;color:#34452a}.button.secondary:hover{background:#e9efdf}.button.compact{min-height:39px;padding:8px 15px}.button.danger{background:#9c2632;border-color:#9c2632}.muted{color:#77816e;font-size:13px}.small{font-size:12px}.tiny{font-size:10px;line-height:1.7;color:#8a9482;margin:18px 0 0}.error{color:#ba182a;font-size:12px;line-height:1.6;min-height:18px}.notice{background:#f0e8d3;border:1px solid #dfcfa4;color:#7b6027;padding:18px 23px;border-radius:6px;font-size:12px;line-height:1.7;margin-bottom:25px}.notice p{font-size:12px;margin:10px 0 15px}label{display:block;font-size:11px;font-weight:600;margin-bottom:19px}input,select,textarea{display:block;margin-top:8px;width:100%;padding:12px 13px;border:1px solid #cfd8c5;background:#fff;color:#25371d;min-height:45px;border-radius:5px;font-size:14px;outline:none}input:focus,select:focus,textarea:focus{border-color:#d71c30;box-shadow:0 0 0 3px #d71c3011}textarea{resize:vertical;line-height:1.6}.login-screen{min-height:100svh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#161f14;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:55px 11%}.login-brand img{width:150px;height:auto}.login-brand h1{font-size:clamp(42px,4vw,64px);line-height:1.08;letter-spacing:-.055em}.login-brand h1 em{font-style:normal;color:#ef3f51}.login-brand p{font-size:13px;color:#a3b29a;max-width:330px}.login-brand small{color:#819377;font-size:10px}.login-card{padding:100px 13%;align-self:center;max-width:660px}.login-card h2{font-size:36px}.login-card>.muted{margin-bottom:35px}.login-card .button{width:100%}.back{font-size:11px;color:#85927c;display:block;margin-bottom:60px}.app{display:grid;grid-template-columns:230px 1fr;min-height:100svh}.sidebar{background:#171f15;color:white;padding:35px 23px;position:sticky;top:0;height:100svh;display:flex;flex-direction:column}.brand img{width:124px;margin:0 10px 55px}.sidebar-label{font-size:9px;color:#718268;letter-spacing:.15em;margin:0 10px 17px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav button{display:flex;justify-content:space-between;border:1px solid transparent;background:transparent;color:#9fae96;padding:15px 14px;border-radius:5px;text-align:left;font-size:13px}.sidebar nav button.selected{background:#293225;color:#fff;border-color:#3c4935}.sidebar nav button span{font-size:9px;color:#73856b}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:20px;padding:20px 12px 0;font-size:11px;color:#87977d}.sidebar-bottom button{padding:0;text-align:left;border:0;background:transparent;color:#c6d0bf;font-size:11px}.main-area{min-width:0}.topbar{height:78px;border-bottom:1px solid #dee5d6;display:flex;justify-content:space-between;align-items:center;padding:0 45px;color:#74846b;font-size:11px}.badge{background:#e6eddc;border-radius:20px;padding:7px 12px;font-size:9px;color:#627a52}.workspace{padding:40px 45px 75px;max-width:1550px}.global-message{font-size:12px;color:#497333;min-height:17px;margin:0 0 15px}.panel-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:35px}.panel-heading .eyebrow{margin-bottom:17px}.panel-heading p{font-size:12px;color:#8b9583;margin-bottom:0}.panel-heading>.button{margin-bottom:3px;flex-shrink:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:35px}.metrics article{background:#fff;border:1px solid #dde4d4;padding:23px;border-radius:6px;min-width:0}.metrics small{display:block;font-size:9px;color:#8b9a80;letter-spacing:.08em;line-height:1.6}.metrics strong{font-size:43px;letter-spacing:-.05em;font-weight:500;margin:17px 0 13px;display:block;line-height:1}.metrics article:first-child strong{color:#d71b30}.metrics article>span{font-size:9px;line-height:1.5;color:#929e88;display:block}.table-toolbar{display:flex;align-items:end;gap:15px;margin-bottom:20px}.table-toolbar label{margin:0}.table-toolbar label:first-child{flex:1}.table-toolbar label:nth-child(2){min-width:180px}.table-toolbar .button{min-height:45px}.contact-table{border:1px solid #dde4d4;background:#fff;border-radius:6px;overflow:hidden}.contact-table table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{color:#8b9980;background:#f0f4e9;padding:17px 18px;font-size:10px;font-weight:500}td{padding:20px 18px;border-top:1px solid #e8eddf;color:#75846a;font-size:11px;vertical-align:middle}td:first-child{color:#293d21}td>button{display:block;text-align:left;padding:0;background:none;border:0;color:#293d21;font-size:13px;font-weight:600}td>small{display:block;font-size:10px;color:#8d9b83;margin-top:8px;overflow-wrap:anywhere}.status{display:inline-block;border-radius:20px;padding:6px 10px;background:#eef1e8;color:#7e8b73;font-size:10px;white-space:nowrap}.status.neu{background:#fce6e8;color:#be2639}.status.kontaktiert{background:#e7edf4;color:#557295}.status.termin{background:#fff1d9;color:#9b762d}.status.mitglied{background:#e3f0dc;color:#4d793a}.overdue{color:#c33243;font-weight:600}.empty{text-align:center;padding:65px 25px;color:#87967b}.empty>span{font-size:32px;display:block;color:#bcc9b0;margin-bottom:25px}.empty h3{color:#566a48;margin-bottom:12px}.empty p{font-size:12px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;font-size:11px;color:#8b9981}.pagination>div{display:flex;gap:16px;align-items:center}.range-label{min-width:170px;margin:0}.report-card{border:1px solid #dde5d4;background:#fff;border-radius:7px;padding:27px;margin-bottom:20px;min-width:0}.report-card h2{font-size:20px;margin-bottom:25px}.card-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.card-heading>span{font-size:9px;color:#9ca790;flex-shrink:0;margin-top:5px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.chart{height:200px;display:flex;gap:5px;align-items:end;padding-top:15px;border-bottom:1px solid #dce4d2;overflow:hidden}.chart>div{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:9px}.chart i{display:block;width:100%;max-width:38px;background:#d92c3d;border-radius:3px 3px 0 0;min-height:2px}.chart span{font-size:8px;color:#9eaa92;white-space:nowrap}.report-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid #e6edde;font-size:12px;color:#738568}.report-row span{overflow-wrap:anywhere}.report-row strong{font-size:14px;color:#3a502e;font-weight:500;flex-shrink:0}.report-empty{font-size:12px;color:#99a58e}.report-card dl{margin:0}.report-card dt{font-size:10px;color:#9aa88f;margin:18px 0 8px}.report-card dd{font-size:12px;margin:0;color:#536e43;overflow-wrap:anywhere}dialog{border:1px solid #d2ddc5;background:#f7f8f3;color:#24361b;border-radius:10px;padding:30px;max-width:650px;width:calc(100% - 40px);max-height:92svh;overflow:auto;box-shadow:0 20px 90px #0005}dialog::backdrop{background:#0c170bc7;backdrop-filter:blur(8px)}.detail-header{display:flex;align-items:start;justify-content:space-between;gap:20px}.detail-header h2{font-size:31px;overflow-wrap:anywhere}.detail-header .eyebrow{margin-bottom:15px}.close{width:30px;height:30px;border-radius:50%;border:1px solid #ccd8bf;background:transparent;color:#6b805b;font-size:20px;flex-shrink:0}.lead-info{background:#eaf0e1;border-radius:5px;padding:22px;margin:0 0 27px}.lead-info p{font-size:12px;color:#607a4f;line-height:1.8;margin:0 0 8px;overflow-wrap:anywhere;white-space:pre-wrap}.lead-info p:last-child{margin:0}.lead-info a{color:#25471a;text-decoration:underline}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.delete-area{margin-top:30px;border-top:1px solid #dbe4d0;padding-top:20px}.delete-area summary{cursor:pointer;font-size:11px;color:#a5464f}.delete-area p{font-size:11px;color:#9d666b;margin-top:18px}.delete-area input{max-width:200px}.delete-area .button{margin-top:5px}
@media(max-width:1150px){.app{grid-template-columns:190px 1fr}.sidebar{padding:30px 17px}.workspace{padding:35px 28px 60px}.topbar{padding:0 28px}.metrics{gap:10px}.metrics article{padding:18px 15px}.metrics strong{font-size:36px}.contact-table th,.contact-table td{padding:17px 13px}.panel-heading h1{font-size:39px}.panel-heading{gap:25px}.panel-heading .button{font-size:11px;padding:12px 14px}}
@media(max-width:800px){.login-screen{grid-template-columns:1fr}.login-brand{min-height:320px;padding:30px 7%;gap:35px}.login-brand h1{font-size:40px;margin-bottom:12px}.login-brand img{width:110px}.login-brand small{display:none}.login-brand .eyebrow{margin-bottom:15px}.login-card{padding:40px 7%;max-width:none}.back{margin-bottom:30px}.app{display:block}.sidebar{position:sticky;z-index:10;top:0;height:auto;padding:15px 5%;display:grid;grid-template-columns:100px 1fr;align-items:center;gap:15px;border-bottom:1px solid #31422a}.brand img{width:95px;margin:0}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;justify-content:end;gap:4px}.sidebar nav button{font-size:11px;padding:12px 10px}.sidebar nav button span{display:none}.topbar{height:52px;padding:0 6%;font-size:9px}.badge{font-size:8px;padding:6px 9px}.workspace{padding:25px 6% 60px}.panel-heading{display:block;margin-bottom:25px}.panel-heading h1{font-size:39px}.panel-heading>.button,.range-label{margin-top:25px}.range-label{max-width:220px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:25px}.metrics article{padding:20px}.metrics strong{font-size:40px;margin:16px 0}.metrics small{font-size:9px}.table-toolbar{flex-wrap:wrap;gap:13px}.table-toolbar label:first-child{flex-basis:100%}.table-toolbar label:nth-child(2){flex:1;min-width:150px}.contact-table table,.contact-table tbody{display:block}.contact-table thead{display:none}.contact-table tr{display:grid;grid-template-columns:1fr 1fr;padding:20px;border-top:1px solid #dde5d5;gap:16px 20px}.contact-table tr:first-child{border:0}.contact-table td{border:0;padding:0;font-size:11px;min-width:0}.contact-table td:first-child{grid-column:1/-1}.contact-table td:first-child button{font-size:17px}.contact-table td:nth-child(2){grid-column:1/-1}.contact-table td:not(:first-child):before{content:attr(data-label);display:block;color:#a0ad94;font-size:9px;margin-bottom:7px}.report-grid{grid-template-columns:1fr}.report-card{padding:24px}.chart{gap:3px}.chart span{font-size:7px}.pagination{align-items:start;flex-direction:column}.pagination>div{width:100%;justify-content:space-between}.notice{font-size:11px;padding:15px 17px}.card-heading{display:block}.card-heading>span{display:block;margin:-12px 0 15px}.report-card h2{font-size:20px}.form-grid{gap:12px}dialog{padding:24px;max-height:94svh;width:calc(100% - 22px)}.detail-header h2{font-size:28px}.empty{padding:45px 25px}}
@media(max-width:360px){.sidebar{grid-template-columns:75px 1fr;gap:10px}.brand img{width:75px}.sidebar nav button{font-size:10px;padding:11px 8px}.panel-heading h1{font-size:34px}.metrics article{padding:17px 13px}.metrics small{font-size:8px}.metrics strong{font-size:34px}.badge{font-size:7px}.topbar{font-size:8px}.table-toolbar .button{padding:10px;font-size:10px}.table-toolbar label:nth-child(2){min-width:140px}.contact-table tr{padding:19px 16px}.form-grid{grid-template-columns:1fr}.workspace{padding-inline:5%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.top-logout{background:transparent;color:#75856a;border:1px solid #d5dfcb;border-radius:4px;min-height:30px;font-size:10px;padding:5px 12px}@media(max-width:560px){.topbar .badge{display:none}input,select,textarea{font-size:16px}}
.table-toolbar label:has(#kind-filter){min-width:175px}@media(max-width:1050px){.table-toolbar{flex-wrap:wrap}.table-toolbar label:first-child{flex-basis:100%}.table-toolbar label:has(#kind-filter),.table-toolbar label:has(#status-filter){flex:1;min-width:160px}}@media(max-width:560px){.table-toolbar label:has(#kind-filter),.table-toolbar label:has(#status-filter){flex-basis:100%;min-width:0}}
