:root{--ink:#302b29;--muted:#6c625b;--green:#98432e;--green-dark:#753322;--green-light:#f5e9df;--lime:#efd9bd;--paper:#faf7f2;--line:#e5dcd3;--sand:#f5e4cd;--white:#fff;--radius:16px;--shadow:0 12px 48px #17372c0b;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:none}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #cfb862;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:600;letter-spacing:-.035em}h1{font-size:36px;line-height:1.16}h2{font-size:22px;line-height:1.3}h3{font-size:18px;line-height:1.35}p{color:var(--muted);line-height:1.7}small{font-size:12px}em{font-family:Georgia,"Times New Roman",serif;font-weight:400}strong{font-weight:600}.icon{width:20px;height:20px;display:inline-block;flex-shrink:0;vertical-align:middle}.btn{border:1px solid transparent;border-radius:9px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;font-size:13px;font-weight:600;line-height:1.4;min-height:44px;transition:background .18s,transform .18s,box-shadow .18s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.dark,.btn.primary{background:var(--green);color:#fff}.btn.dark:hover,.btn.primary:hover{background:var(--green-dark);box-shadow:0 4px 12px #174f4522}.btn.secondary{background:#fff;border-color:#dce4dc}.btn.secondary:hover{background:#f2f6f0}.btn.light{background:var(--lime);color:var(--green-dark)}.btn.light:hover{background:#eef5d5}.btn.outline-light{border-color:#ffffff60;color:#fff;background:transparent}.btn.text{border:0;background:transparent;padding:9px 0;color:var(--green)}.btn.text .icon{width:17px}.wide{width:100%}.text-link{display:inline-flex;gap:12px;align-items:center;font-weight:600;font-size:14px}.text-link:hover .icon{transform:translateX(3px)}.icon-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;width:36px;height:36px;flex-shrink:0}.icon-btn:hover{background:#17372c0a}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--green);margin-bottom:14px;line-height:1.5}.eyebrow.light{color:#d8e9c1}.status-dot{width:6px;height:6px;border-radius:50%;background:#4f9371;display:inline-block;flex-shrink:0}.local-badge{border-radius:30px;background:#edf3e9;color:#466747;padding:7px 11px;font-size:11px;display:inline-flex;gap:7px;align-items:center;font-weight:500;white-space:nowrap}.brand{display:inline-flex;align-items:center;gap:11px;line-height:1.2;font-size:18px;font-weight:650;letter-spacing:-.4px}.brand-sub{font-size:11px;font-weight:400;letter-spacing:.6px;display:block;text-transform:uppercase;margin-top:4px;color:var(--muted)}.brand img{border-radius:12px}.square-icon{width:43px;height:43px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.square-icon .icon{width:21px;height:21px}.mint{background:#e5f0df;color:#346348}.sand{background:var(--sand);color:#8c6f39}.lilac{background:#f0ebfa;color:#7e69a0}.blue{background:#e9f2f4!important;color:#527d8b!important}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#e8eddf;color:#58664b;font-size:13px;font-weight:600;border-radius:50%;width:40px;height:40px}.avatar.small{width:32px;height:32px;font-size:11px;background:#e3e7d6}.avatar.big{width:64px;height:64px;font-size:22px}.avatar.donor{width:36px;height:36px;font-size:11px}.muted{color:var(--muted);font-size:13px}.space-top{margin-top:26px!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:6px 10px;font-size:11px;font-weight:500;background:#edf3e8;color:#4b6b46}.pill.sand{background:var(--sand);color:#8c6f39}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:30px;text-align:center}.loader{height:32px;width:32px;border:2px solid #d9e2d6;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Öffentliche Vereinsseite */
.public-site{background:#fafbf7}.public-note{font-size:11px;background:#eaf0df;padding:9px;text-align:center;color:#556a47;letter-spacing:.2px;display:flex;align-items:center;justify-content:center;gap:8px}.public-header{max-width:1280px;margin:auto;padding:25px 42px;display:flex;align-items:center;justify-content:space-between;gap:28px}.public-header nav{display:flex;gap:34px;font-size:13px;color:#596761}.public-header nav a:hover{color:var(--green)}.hero{max-width:1280px;margin:0 auto;padding:44px 42px 88px;display:grid;grid-template-columns:1fr 1.01fr;gap:70px;align-items:center}.hero-copy{padding:15px 0}.hero .eyebrow{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.7px}.hero .eyebrow>span{display:inline-block;height:7px;width:7px;background:#9db36c;border-radius:2px}.hero h1{font-size:clamp(40px,4.6vw,64px);letter-spacing:-2.6px;font-weight:600;line-height:1.06;margin:24px 0}.hero h1 em{color:var(--green);font-size:1.06em;letter-spacing:-2.8px}.hero-copy>p{font-size:14px;line-height:1.85;max-width:410px;margin-bottom:28px}.hero-actions{display:flex;align-items:center;gap:28px}.hero-footnote{display:flex;align-items:center;gap:9px;font-size:11px;color:#7a8579;margin-top:36px}.hero-footnote .icon{height:16px;width:16px}.hero-art{position:relative;transform:rotate(1.5deg)}.hero-art>img{width:100%;height:515px;object-fit:cover;border-radius:22px}.art-caption{position:absolute;bottom:34px;left:-33px;background:#f7f5e8;color:#24483e;padding:25px 56px 25px 25px;border-radius:13px;box-shadow:0 6px 30px #17382d12;font-size:16px;line-height:1.5;transform:rotate(-6deg)}.art-caption strong{font-size:17px}.art-caption>.icon{position:absolute;width:34px;height:34px;right:16px;top:21px;color:#8d9e66}.art-label{position:absolute;top:20px;left:22px;background:#fafbf6bf;border:1px solid #ffffff80;border-radius:30px;padding:8px 11px;font-size:9px;letter-spacing:1px;color:#496453}.mission{display:grid;grid-template-columns:.65fr 1.25fr 1.4fr;gap:36px;align-items:start;padding:50px 42px;max-width:1280px;margin:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.mission h2{font-size:28px;line-height:1.3;margin:0;letter-spacing:-.9px}.mission>.eyebrow{padding-top:6px}.mission p{font-size:13px;margin:0 0 14px;line-height:1.85}.projects{max-width:1280px;margin:auto;padding:78px 42px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.section-heading h2{font-size:34px;margin-bottom:0}.mini-label{font-size:12px;color:var(--muted);display:flex;gap:12px;align-items:center}.project-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:26px}.water-project{background:#f0f5eb;border:1px solid #e4ebdf;border-radius:20px;display:grid;grid-template-columns:.9fr 1fr;overflow:hidden}.project-visual{background:#dceadf;position:relative;display:flex;align-items:center;justify-content:center;min-height:300px}.project-visual>svg{width:100%;height:100%;object-fit:cover}.project-visual>.pill{position:absolute;top:18px;left:18px;background:#f7f9ef;font-size:9px}.project-body{padding:32px 25px}.project-body .eyebrow{font-size:8px;letter-spacing:1.2px}.project-body h3{font-size:25px;margin-bottom:14px;line-height:1.2}.project-body p{font-size:12px;line-height:1.8;margin-bottom:22px}.project-tag{font-size:10px;color:var(--green);display:flex;gap:8px;align-items:center}.project-tag .icon{width:15px;height:15px}.community-project{padding:32px;background:#f4eedf;border-radius:20px;border:1px solid #ece5d2}.large-spark>.icon{width:36px;height:36px;color:#9c8e63;margin-bottom:20px}.community-project>.eyebrow{font-size:9px;letter-spacing:1.2px}.community-project h3{font-size:27px;line-height:1.25}.community-project p{font-size:12px;line-height:1.8}.community-project .text-link{font-size:12px;margin-top:12px}.join-section{margin:0 auto 64px;max-width:1196px;border-radius:20px;background:var(--green);color:#f8faef;padding:55px 58px;display:grid;grid-template-columns:1.5fr 1fr;gap:90px;align-items:center}.join-section .eyebrow{color:#c7d5a6}.join-section h2{font-size:38px}.join-section p{color:#c8d6c7;font-size:13px;margin-bottom:0;max-width:420px}.join-section>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.join-section small{font-size:9px;color:#bed0bc;line-height:1.6}.join-section .outline-light{margin-top:10px;font-size:12px}.public-footer{max-width:1280px;margin:auto;padding:25px 42px 45px;display:flex;gap:24px;align-items:center;justify-content:space-between}.public-footer>.brand{font-size:15px}.public-footer .brand img{height:34px;width:34px}.public-footer>span:not(.brand){font-size:11px;color:var(--muted)}.public-footer>div{display:flex;gap:20px}.public-footer .btn{font-size:11px}
/* Login & Konten */
.auth-layout{display:grid;grid-template-columns:47% 53%;min-height:100vh;background:#fcfcf8}.auth-story{background:var(--green);color:#f5f7e8;min-height:100vh;padding:40px 55px 30px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-story .brand-sub{color:#c0d1bd}.auth-story>div{margin:45px auto 20px;width:100%;max-width:450px}.auth-story .eyebrow{font-size:9px;color:#b9d1ac;letter-spacing:1.7px}.auth-story h1{font-size:50px;line-height:1.12;margin-bottom:22px}.auth-story h1 em{color:#e3ebb8}.auth-story p{color:#bfd0c3;max-width:320px;font-size:13px}.auth-story>div>img{width:100%;max-height:300px;object-fit:cover;object-position:center 65%;border-radius:18px;margin-top:10px}.auth-story>small{color:#bbcebf;font-size:9px;line-height:1.6}.auth-main{display:flex;flex-direction:column;padding:40px 60px 24px;justify-content:space-between}.back-link{font-size:12px;color:var(--muted)}.auth-form-wrap{width:100%;max-width:380px;margin:35px auto}.auth-form-wrap h2{font-size:40px;line-height:1.15;letter-spacing:-1.5px;margin:22px 0 15px}.auth-form-wrap>p{font-size:13px;margin-bottom:25px}.auth-links{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:0 0 22px;color:#687b6c}.auth-links a{font-weight:600;color:var(--green)}.auth-note{display:flex;gap:10px;padding:15px 0;font-size:11px;color:#6b786c;line-height:1.65;margin:8px 0}.auth-note>.icon{width:17px;height:17px;margin-top:2px}.auth-footer{display:flex;gap:20px;justify-content:space-between;font-size:9px;color:#8d968b}.auth-footer>span{font-variant-numeric:tabular-nums}.auth-form-wrap>.text-link{font-size:12px;margin-top:10px}
/* Vereinsbüro */
.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;flex-shrink:0;border-right:1px solid var(--line);background:#fdfefa;display:flex;flex-direction:column;padding:29px 17px 0;position:fixed;top:0;left:0;bottom:0;z-index:20}.sidebar-brand{display:block;margin:0 10px 38px}.sidebar-brand .brand{font-size:17px}.sidebar-brand .brand img{width:39px;height:39px}.sidebar-eyebrow{display:block;margin:0 13px 12px;font-size:8px;font-weight:600;letter-spacing:1.6px;color:#93a08e}.nav-item{border:0;background:transparent;border-radius:9px;width:100%;display:flex;align-items:center;gap:12px;font-size:12px;min-height:46px;text-align:left;padding:11px 13px;margin-bottom:4px;color:#6b776b}.nav-item>.icon{width:18px;height:18px;color:#7a8c77}.nav-item.active{background:#e8efdf;color:#2e553e;font-weight:600}.nav-item.active>.icon{color:#3a5e40}.nav-item:hover{background:#eff3e9}.nav-item>span:not(.nav-count){flex:1}.nav-count{border-radius:5px;background:#d9e5cc;color:#507044;padding:2px 6px;min-width:21px;text-align:center;font-size:10px}.nav-separator{margin-top:28px}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-card{margin:0 8px 25px;background:#f1f4e9;border:1px solid #e8eddf;border-radius:13px;position:relative;padding:18px 15px}.sidebar-card>.icon{position:absolute;right:10px;top:18px;color:#9aac78;width:26px;height:26px;transform:rotate(-20deg)}.sidebar-card>strong{font-size:11px;display:block;margin-bottom:6px}.sidebar-card p{font-size:10px;line-height:1.65;color:#839079;margin:0}.user-menu{width:100%;display:flex;align-items:center;text-align:left;gap:10px;background:transparent;border:0;border-top:1px solid var(--line);padding:19px 5px}.user-menu>span:nth-child(2){flex:1;min-width:0}.user-menu strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-menu small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.user-menu>.icon{height:15px;width:15px;color:#8c9888}.app-main{margin-left:245px;min-width:0;width:calc(100% - 245px);display:flex;flex-direction:column;background:#f6f8f3}.app-topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px;background:#fcfdf9}.breadcrumb{font-size:11px;color:#65715f}.breadcrumb>span{padding:0 12px;color:#b5beb0}.topbar-right{display:flex;gap:18px;align-items:center}.mobile-menu{display:none}.workspace{padding:38px;max-width:1600px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 31px}.page-heading>.btn{align-self:center}.page-heading .eyebrow{font-size:9px;margin-bottom:12px;letter-spacing:1.4px;color:#869376}.page-heading h1{font-size:32px;letter-spacing:-1.2px;margin:0 0 12px}.page-heading p{font-size:12px;margin:0}.dashboard-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:22px;margin-bottom:23px}.welcome-card{position:relative;background:var(--green);color:#f6f8e9;border-radius:16px;padding:31px 33px;overflow:hidden;min-height:326px}.welcome-card>.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:16px;position:relative;z-index:2}.welcome-card h2{font-size:31px;line-height:1.22;letter-spacing:-.7px;margin-bottom:14px;position:relative;z-index:2;max-width:60%}.welcome-card h2 em{color:#e2edb8;font-size:1.06em}.welcome-card>p{font-size:11px;color:#c1d2c0;max-width:55%;line-height:1.8;margin-bottom:20px;position:relative;z-index:2}.welcome-card>.btn{font-size:11px;padding:10px 14px;min-height:39px;position:relative;z-index:2}.paper-stack{position:absolute;right:15px;bottom:-5px;width:215px;height:270px;transform:rotate(11deg)}.paper{width:153px;height:210px;background:#f6f7ec;border-radius:8px;position:absolute;box-shadow:0 4px 18px #133e3520}.paper.back{right:32px;top:23px;transform:rotate(-17deg);background:#b8cbae}.paper.front{top:31px;right:9px;padding:17px 16px}.paper.front img{height:23px;width:23px;border-radius:7px;display:block;margin-bottom:16px}.paper.front>span{font-size:10px;display:block;line-height:1.4;font-weight:600;color:#445a4d;margin-bottom:17px;letter-spacing:-.1px}.paper.front>i{display:block;height:4px;border-radius:2px;margin-bottom:6px;background:#d4dec9;width:100%}.paper.front>i.short{width:65%}.paper.front>b{position:absolute;right:16px;bottom:37px;background:#d9e5bb;border-radius:50%;width:27px;height:27px;display:flex;align-items:center;justify-content:center;color:#678556}.paper.front>b>.icon{width:15px;height:15px}.paper.front>small{font-size:6px;letter-spacing:1px;color:#849679;position:absolute;bottom:18px}.floating-leaf{position:absolute;top:-1px;left:-10px;background:#e9efce;width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;color:#577843;transform:rotate(-19deg)}.floating-leaf>.icon{width:26px;height:26px}.next-card{border:1px solid #e7e4d7;background:#f9f6ec;padding:24px 25px;border-radius:16px;position:relative;display:flex;flex-direction:column;align-items:flex-start}.next-card>.square-icon{position:absolute;top:24px;right:22px;width:34px;height:34px;border-radius:10px}.next-card>.square-icon>.icon{width:18px;height:18px}.next-card>.eyebrow{font-size:8px;margin-top:5px;margin-bottom:21px;color:#9b8c67;letter-spacing:1.1px}.next-card h3{font-size:20px;margin-bottom:10px}.next-card p{font-size:11px;line-height:1.7;margin-bottom:17px;max-width:90%}.setup-checks{list-style:none;padding:0;margin:0 0 13px;width:100%}.setup-checks li{display:flex;gap:10px;align-items:center;font-size:10px;color:#8d8f7e;margin:0 0 12px}.setup-checks li>.icon{height:14px;width:14px;color:#b5b49d}.setup-checks li.done{color:#657654}.setup-checks li.done>.icon{color:#6f8e53}.next-card>.btn{margin-top:auto;font-size:10px;min-height:30px}.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:29px}.kpi{background:#fff;border:1px solid #e5e9df;border-radius:14px;padding:22px;display:flex;gap:15px;align-items:flex-start}.kpi .square-icon{width:39px;height:39px;border-radius:11px}.kpi .square-icon>.icon{width:18px;height:18px}.kpi>div>span{display:block;color:#86907e;font-size:10px;margin:1px 0 9px}.kpi strong{font-size:28px;letter-spacing:-1px;line-height:1.1;font-variant-numeric:tabular-nums;display:block;margin-bottom:8px}.kpi small{color:#98a18e;font-size:9px;display:block;line-height:1.5}.panel{background:#fff;border:1px solid #e2e8dc;border-radius:15px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 25px}.panel-heading h2{font-size:16px;letter-spacing:-.3px;margin:0 0 7px}.panel-heading p{font-size:10px;margin:0;color:#949d8d}.panel-heading>.btn{font-size:11px}.panel.padded{padding:27px;margin-bottom:23px}.panel.padded>h2{font-size:20px;margin:18px 0 12px}.panel.padded>.square-icon+h2{margin-top:18px}.panel.padded>h2:first-child{margin-top:0}.panel.padded>h3{margin:0 0 12px}.panel.padded>p{font-size:12px;line-height:1.8}.panel.padded .btn{font-size:12px}.panel.padded form>.btn{margin-top:0}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;color:#98a18f;background:#fbfcf8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 24px}td{padding:17px 24px;border-bottom:1px solid #eef1e8;font-size:11px;color:#67755f;line-height:1.5}tr:last-child td{border-bottom:0}td>strong{color:var(--ink)}td>small,td>span+small{display:block;color:#9aa391;font-size:9px;margin-top:5px}.cell-donor{display:flex;align-items:center;gap:11px}.cell-donor strong{font-size:11px;font-weight:600;display:block;color:var(--ink)}.cell-donor small{font-size:9px;color:#a2aa99;display:block;margin-top:4px}.amount{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:600;font-size:12px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:5px 9px;font-size:9px;font-weight:500;white-space:nowrap;background:#f0f2e9;color:#7d8870}.badge>i{height:4px;width:4px;border-radius:50%;background:currentColor}.badge.ready{background:#e9f2dd;color:#708950}.badge.review{background:#fcf0d6;color:#a5894e}.badge.issued{background:#e7f1f2;color:#62868e}.badge.cancelled{background:#f7eae5;color:#ae8071}tr[data-action]{cursor:pointer}tr[data-action]:hover{background:#fafcf6}tr[data-action] td:last-child>.icon{color:#b3bdaa;width:15px;height:15px}.empty-state{padding:39px 30px 43px;text-align:center;border-top:1px solid var(--line)}.empty-symbol{background:#eef3e7;display:inline-flex;width:57px;height:57px;border-radius:17px;align-items:center;justify-content:center;position:relative;color:#849870;margin-bottom:20px}.empty-symbol>.icon{width:25px;height:25px}.empty-symbol>i{position:absolute;right:-7px;bottom:-5px;background:#fff;border-radius:50%;height:22px;width:22px;border:1px solid #e1e7d8;font-style:normal;font-size:15px}.empty-state h3{font-size:18px;margin-bottom:10px}.empty-state p{font-size:11px;max-width:375px;margin:0 auto 22px;line-height:1.8}.empty-state>div{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.empty-state .btn{font-size:11px}.empty-state.compact{padding:40px 20px}.quiet-note{display:flex;align-items:flex-start;justify-content:center;gap:7px;color:#97a08d;font-size:9px;margin:23px 0 0;line-height:1.7}.quiet-note .icon{width:13px;height:13px;margin-top:1px}.app-footer{display:flex;align-items:center;justify-content:space-between;padding:19px 38px;border-top:1px solid #e7ebdf;font-size:9px;color:#a2aa98;gap:20px}.app-footer .status-dot{width:4px;height:4px;vertical-align:middle;margin-right:5px;background:#9db389}.list-toolbar{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:19px 22px;flex-wrap:wrap}.tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tab{background:transparent;border:0;padding:9px 11px;border-radius:7px;font-size:10px;color:#9ca48f;display:inline-flex;gap:7px;align-items:center;min-height:36px}.tab>span{font-size:8px;background:#edf0e5;border-radius:4px;padding:1px 5px}.tab.active{background:#ecf2e2;color:#5b754a;font-weight:600}.search-field{display:flex;align-items:center;gap:9px;border:1px solid #e5eadc;border-radius:7px;padding:8px 10px;width:235px}.search-field .icon{height:14px;width:14px;color:#a6ae9c}.search-field input{width:100%;border:0;background:transparent;outline:none;font-size:10px;padding:2px;color:var(--ink)}.search-field input::placeholder{color:#a9b19e}.two-col{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.stack-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.future-card{display:flex;gap:16px;padding:25px;color:#778567;border:1px dashed #d9e1cb;border-radius:14px}.future-card>.icon{width:28px;height:28px;color:#99ad7a}.future-card strong{font-size:12px}.future-card p{font-size:11px;margin:7px 0 0;line-height:1.8}.activity-list{margin-top:20px}.activity-list>div{display:flex;gap:13px;padding-bottom:20px;position:relative}.activity-list>div>span{border:1px solid #e1e9d7;border-radius:50%;background:#f6f9f0;width:26px;height:26px;display:flex;align-items:center;justify-content:center;color:#90a67b;flex-shrink:0}.activity-list>div>span>.icon{height:12px;width:12px}.activity-list strong{font-size:10px}.activity-list p{font-size:10px;margin:5px 0;line-height:1.4;max-width:300px;overflow-wrap:anywhere}.activity-list small{font-size:9px;color:#a1ab96}.settings-layout{display:grid;grid-template-columns:1.8fr 1fr;gap:25px}.settings-layout aside .panel h3{font-size:16px}.settings-layout aside .panel>.square-icon{margin-bottom:20px}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.document-grid>.empty-state{grid-column:1/-1}.document-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;display:block;transition:box-shadow .2s}.document-card:hover{box-shadow:var(--shadow);border-color:#c7d6b8}.document-card h3{font-size:15px;margin:25px 0 12px;overflow-wrap:anywhere}.document-card p{font-size:10px}.document-card>div{display:flex;justify-content:space-between;color:#a2ac96;font-size:9px;align-items:center;border-top:1px solid var(--line);padding-top:18px}.document-card>div>span{display:flex;align-items:center;gap:10px}.document-card .icon{width:16px;height:16px}.profile-header{display:flex;align-items:center;gap:19px;margin-bottom:30px}.profile-header h2{font-size:22px;margin:0 0 5px}.profile-header p{font-size:11px;margin:0 0 10px}
/* Formulare, Vorgänge, Vorschau */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 18px;margin:20px 0 23px}.form-grid.one{grid-template-columns:1fr}.field{display:flex;flex-direction:column;gap:8px;min-width:0;align-self:start}.field>span{font-size:11px;font-weight:500;color:#52664e;line-height:1.5}.required{color:#a89f6e}.field input,.field select,.field textarea{border:1px solid #dce4d5;border-radius:7px;min-height:43px;background:#fdfefa;padding:11px 12px;width:100%;font-size:12px;color:#3e523b;line-height:1.5;transition:border-color .15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7f9a65;outline:2px solid #dce7ca66}.field input:disabled,.field select:disabled,.field textarea:disabled{background:#f2f4ed;color:#8a9580}.field textarea{resize:vertical;min-height:78px}.field small{font-size:10px;line-height:1.7;color:#9ba58e}.span2{grid-column:1/-1}.field-note{display:flex;align-items:flex-start;gap:8px;color:#94a086;font-size:10px;line-height:1.75;margin:15px 0}.field-note>.icon{height:14px;width:14px;margin-top:2px}.checkline{display:flex;gap:10px;align-items:flex-start;margin-bottom:15px;cursor:pointer}.checkline input{accent-color:var(--green);width:16px;height:16px;margin:1px 0;flex-shrink:0}.checkline>span{font-size:11px;line-height:1.5;color:#627353}.checkline small{display:block;font-size:9px;line-height:1.7;margin-top:5px;color:#9ba58d}.form-error{display:none;background:#fbede7;border:1px solid #ecd7cc;border-radius:8px;padding:12px;font-size:11px;color:#a0654c;line-height:1.6;margin-bottom:15px}.form-error.visible{display:block}.modal-open{overflow:hidden}.modal-overlay{position:fixed;inset:0;background:#122d2680;z-index:100;display:flex;align-items:center;justify-content:center;padding:28px;backdrop-filter:blur(5px)}.modal{background:#fff;border:1px solid #e9efdf;border-radius:18px;width:540px;max-width:100%;max-height:calc(100dvh - 56px);overflow:auto;box-shadow:0 24px 100px #102b2940;animation:arrive .2s ease-out}.modal-heading{padding:25px 29px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:16px;position:sticky;top:0;background:#fff;z-index:3}.modal-heading h2{font-size:22px;line-height:1.25;margin:0;letter-spacing:-.5px}.modal-heading .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:9px;color:#96a083}.modal-heading>.icon-btn{margin-top:0}.modal-body{padding:27px 29px}.modal-body>p{font-size:12px;line-height:1.8}.modal-body .form-grid{margin-top:0}.modal-footer{padding:20px 29px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;align-items:center;position:sticky;bottom:0;background:#fff;z-index:3}.modal-footer>.btn{font-size:12px}.modal.wide-modal{width:850px}.modal.wide-modal .modal-body{padding:24px 28px}.modal.pdf-modal{width:1000px;height:90dvh}.pdf-frame{height:calc(90dvh - 185px);width:100%;display:block;border:0;background:#e8ecdf}.recovery-code{padding:22px 14px;border:1px dashed #c9d8b8;background:#f2f6e9;border-radius:9px;line-height:1.7;letter-spacing:1.3px;font-size:17px;font-family:Consolas,monospace;overflow-wrap:anywhere;margin:22px 0;color:#5c7946}.help-steps{padding-left:22px;color:#54703e;counter-reset:item}.help-steps li{padding-left:8px;margin-bottom:24px}.help-steps strong{font-size:13px}.help-steps p{font-size:11px;margin:7px 0 0}.help-steps+.quiet-note{justify-content:flex-start}.wizard{width:1030px}.wizard .modal-heading{padding-bottom:22px}.wizard-steps{padding:18px 30px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fcfdf8}.wizard-steps button{display:flex;align-items:center;gap:9px;color:#a2ad96;border:0;background:transparent;font-size:10px;font-weight:500;text-align:left;padding:3px 0}.wizard-steps button>span{height:25px;width:25px;border-radius:50%;display:flex;justify-content:center;align-items:center;border:1px solid #dce4d3;font-size:10px}.wizard-steps button.active{color:#416438}.wizard-steps button.active>span{background:var(--green);color:#fff;border-color:var(--green)}.wizard-steps button.completed{color:#668653}.wizard-steps button.completed>span{background:#eaf2df;border:0}.wizard-steps .icon{height:13px;width:13px}.wizard-layout{display:grid;grid-template-columns:1fr 260px;align-items:stretch;min-height:430px}.wizard-main{padding:29px 30px;min-width:0}.wizard-main>h3{font-size:17px;margin:0 0 20px}.wizard-main>p{font-size:11px}.wizard-aside{background:#f6f8f0;border-left:1px solid var(--line);padding:30px 25px}.wizard-aside>.eyebrow{font-size:8px;margin:22px 0 9px;letter-spacing:1.3px;color:#96a084}.wizard-aside>h3{font-size:19px;margin:0 0 13px}.aside-amount{font-size:26px;color:#3e6137;letter-spacing:-.7px;font-weight:600;display:block;margin-bottom:27px;font-variant-numeric:tabular-nums}.wizard-aside dl{margin:0}.wizard-aside dt{font-size:9px;color:#a3ac96;margin-top:19px}.wizard-aside dd{font-size:11px;line-height:1.8;margin:7px 0 0;color:#718164;overflow-wrap:anywhere}.wizard-info{border-top:1px solid #e2e9d8;margin-top:30px;padding-top:20px;display:flex;gap:8px;align-items:flex-start}.wizard-info>.icon{width:13px;height:13px;color:#a2b18c;margin-top:4px}.wizard-info p{font-size:9px;line-height:1.8;margin:0;color:#a0ab91}.kind-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:30px}.kind-option{border:1px solid #dfe7d7;background:#fff;border-radius:10px;padding:17px 8px 14px;display:flex;align-items:center;flex-direction:column;gap:12px;font-size:9px;position:relative;color:#89957b;min-height:89px}.kind-option>.icon{height:23px;width:23px}.kind-option>span{display:none}.kind-option.selected{background:#f0f6e6;border-color:#8aa570;color:#5d7e45}.kind-option.selected>span{display:flex;position:absolute;top:5px;right:5px;align-items:center;justify-content:center;height:12px;width:12px;background:#779c58;border-radius:50%;color:#fff}.kind-option.selected>span>.icon{height:8px;width:8px}.form-section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.form-section-heading h3{font-size:17px;margin-bottom:0}.donor-picker select{border:1px solid #e0e8d7;border-radius:6px;background:#f8faf4;padding:7px;font-size:9px;max-width:210px;color:#839570}.wizard-footer{justify-content:space-between;gap:20px;padding:19px 27px}.wizard-footer>span{font-size:9px;color:#a3ae95;max-width:240px;line-height:1.6}.wizard-footer>div{display:flex;gap:8px;align-items:center}.wizard-footer .btn{font-size:11px;min-height:39px;padding:10px 13px}.item-row{border:1px solid #e0e7d7;border-radius:10px;background:#fcfdf9;padding:18px;margin-bottom:15px}.item-row-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.item-row-head>strong{font-size:11px;color:#7c9069}.item-row-head .btn{font-size:9px;min-height:24px;padding:3px 0}.item-row-head .icon{height:12px;width:12px}.item-row .form-grid{margin-bottom:0;gap:13px}.upload-zone{position:relative;border:1px dashed #cfdcbd;border-radius:11px;background:#f9fbf5;padding:24px 12px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:9px}.upload-zone>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-zone>.square-icon{height:32px;width:32px;border-radius:10px;margin-bottom:4px}.upload-zone>.square-icon>.icon{height:16px;width:16px}.upload-zone strong{font-size:11px;font-weight:500;color:#7b9067}.upload-zone>span:not(.square-icon),.upload-zone>small{font-size:9px;color:#a3b18e}.upload-zone:focus-within{outline:3px solid #c7d6b6}.attachment-list{margin-top:15px}.attachment-list a{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:10px;color:#7a8b68}.attachment-list a>span{flex:1;overflow-wrap:anywhere}.attachment-list a>.icon{height:16px;width:16px;color:#9aad87}.attachment-list small{display:block;font-size:8px;color:#a7b29a;margin-top:4px}.verification-box{padding:18px;background:#f1f6e7;border:1px solid #dfe8d1;border-radius:10px;margin-top:23px}.verification-box .checkline:last-child{margin-bottom:0}.review-header{display:flex;gap:15px;align-items:flex-start;margin-bottom:25px}.review-header h3{font-size:18px;margin:0 0 7px}.review-header p{font-size:11px;line-height:1.7;margin:0}.missing-list{list-style:none;margin:0 0 25px;padding:17px;background:#faf5e6;border:1px solid #ece5cd;border-radius:10px}.missing-list li{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#998a5f;line-height:1.6;margin-bottom:9px}.missing-list li:last-child{margin-bottom:0}.missing-list .icon{height:13px;width:13px;margin-top:1px}.review-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;border:1px solid #dfe7d5;border-radius:11px;padding:21px;background:#fcfdf9}.review-summary>div>span{display:block;font-size:9px;color:#9cab89;margin-bottom:10px}.review-summary strong{font-size:14px;color:#5f7b4d;display:block;line-height:1.5;overflow-wrap:anywhere}.review-summary strong.review-amount{font-size:25px;line-height:1;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.review-summary p{font-size:10px;color:#9ba98b;margin:11px 0 0;line-height:1.8}.summary-meta{margin:25px 0}.summary-meta span{display:block;font-size:9px;color:#a4af97;margin-bottom:8px}.summary-meta strong{font-size:10px;color:#80956b;font-weight:500;line-height:1.7}.preview-action{display:flex;align-items:center;gap:13px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:23px}.preview-action>.btn{font-size:10px}.preview-action>span{font-size:9px;color:#a5af96;max-width:160px;line-height:1.7}.approval-box{background:#f3f7ec;padding:22px;border:1px solid #dfe8d1;border-radius:11px}.approval-box h3{font-size:13px;display:flex;gap:8px;align-items:center;margin:0 0 12px}.approval-box h3>.icon{height:15px;width:15px}.approval-box p{font-size:10px;line-height:1.8;margin-bottom:18px}.approval-box .field{max-width:240px;margin-bottom:20px}.approval-box>.btn{font-size:11px}.approved-box{padding:23px;border:1px solid #d8e5e4;background:#f1f7f6;border-radius:11px}.approved-box p{font-size:10px;margin:15px 0 20px}.approved-box .btn{font-size:10px;margin:0 8px 10px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);max-width:min(90vw,650px);background:var(--green);color:#eff4e6;border-radius:10px;padding:14px 22px;box-shadow:0 8px 40px #244a3e26;font-size:12px;z-index:200;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;line-height:1.7}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#8d4e37;color:#fff4e8}@keyframes arrive{from{opacity:.3;transform:translateY(10px)}to{opacity:1;transform:none}}
/* Responsiv und reduzierte Bewegung */
@media(min-width:1500px){.workspace{padding:46px 48px}.welcome-card{min-height:340px}.paper-stack{right:55px;width:240px}.paper{width:173px;height:235px}.paper.front>span{font-size:12px}.welcome-card h2{font-size:37px}.welcome-card>p{font-size:12px;max-width:55%}.kpi strong{font-size:32px}.next-card h3{font-size:23px}.next-card p{font-size:12px}}
@media(max-width:1150px){.sidebar{width:215px;padding-left:12px;padding-right:12px}.sidebar-brand{margin-left:5px}.sidebar-brand .brand{font-size:15px}.sidebar-brand .brand img{height:35px;width:35px}.sidebar-brand .brand-sub{font-size:9px}.app-main{margin-left:215px;width:calc(100% - 215px)}.workspace{padding:29px 26px}.app-topbar{padding:0 26px}.page-heading h1{font-size:27px}.page-heading>.btn{font-size:11px;padding:12px}.dashboard-grid{gap:17px;grid-template-columns:1.5fr 1fr}.welcome-card{padding:28px 24px}.welcome-card h2{font-size:26px;max-width:75%}.welcome-card>p{max-width:65%;font-size:10px}.welcome-card>.eyebrow{font-size:7px}.paper-stack{right:-35px;bottom:-20px;transform:rotate(13deg) scale(.83);transform-origin:right bottom}.next-card{padding:24px 20px}.next-card>.square-icon{display:none}.next-card>.eyebrow{font-size:7px}.kpi{padding:17px;gap:10px}.kpi strong{font-size:25px}.kpi .square-icon{height:31px;width:31px;border-radius:9px}.kpi .square-icon>.icon{height:16px;width:16px}.kpi>div>span{font-size:9px}.kpi small{font-size:8px}.kpi-grid{gap:15px}td,th{padding-left:18px;padding-right:18px}.hero{gap:35px;padding-left:35px;padding-right:35px}.hero-art>img{height:470px}.hero h1{font-size:54px}.hero-copy>p{font-size:13px}.art-caption{font-size:13px;padding:20px 45px 20px 20px;left:-15px}.art-caption strong{font-size:15px}.mission{grid-template-columns:1fr 1.2fr}.mission>.eyebrow{grid-column:1/-1;margin:0}.mission h2{font-size:27px}.project-grid{grid-template-columns:1.35fr 1fr}.water-project{grid-template-columns:1fr}.project-visual{min-height:190px;max-height:190px}.project-visual>svg{height:230px}.project-body{padding:25px}.community-project{display:flex;flex-direction:column}.community-project>.text-link{margin-top:auto}.join-section{margin-left:35px;margin-right:35px;gap:40px;padding:40px}.document-grid{grid-template-columns:repeat(2,1fr)}.wizard-layout{grid-template-columns:1fr 230px}.wizard-main{padding:25px}.wizard-aside{padding:25px 20px}}
@media(max-width:900px){.public-header{padding:20px 25px}.public-header nav{gap:20px;font-size:11px}.hero{padding:35px 25px 55px;gap:25px}.hero h1{font-size:45px}.hero .eyebrow{font-size:7px;letter-spacing:1px}.hero-art>img{height:410px}.hero-actions{gap:20px}.hero-actions>.btn{font-size:11px}.hero-actions>.text-link{font-size:11px}.mission{padding:35px 25px;gap:24px}.mission h2{font-size:26px}.projects{padding:50px 25px}.section-heading h2{font-size:28px}.section-heading>.mini-label{display:none}.project-body .eyebrow{font-size:7px}.join-section{margin-left:25px;margin-right:25px;padding:35px;gap:25px}.join-section h2{font-size:32px}.join-section .btn{font-size:11px}.public-footer{padding:25px;flex-wrap:wrap}.public-footer>span:not(.brand){display:none}.auth-story{padding:35px}.auth-story h1{font-size:40px}.auth-main{padding:35px}.auth-form-wrap h2{font-size:34px}.auth-footer{display:block;line-height:1.8}.auth-footer>span{display:block}.sidebar{width:195px}.sidebar-brand .brand{font-size:13px}.sidebar-brand .brand img{height:32px;width:32px}.nav-item{font-size:10px;gap:10px;padding:11px 10px}.nav-item>.icon{width:16px;height:16px}.app-main{margin-left:195px;width:calc(100% - 195px)}.workspace{padding:25px 22px}.app-topbar{padding:0 22px;height:66px}.page-heading{align-items:flex-start;gap:15px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px;max-width:330px}.page-heading>.btn{font-size:10px;min-height:38px;padding:9px 10px}.page-heading>.btn .icon{width:15px;height:15px}.dashboard-grid{grid-template-columns:1fr}.welcome-card{min-height:285px}.welcome-card h2{max-width:65%;font-size:30px}.welcome-card>p{font-size:11px;max-width:60%}.paper-stack{right:20px;bottom:0;transform:rotate(11deg) scale(.9)}.next-card{display:none}.kpi-grid{gap:10px}.kpi{padding:15px 10px;gap:0;display:block}.kpi>.square-icon{margin-bottom:14px}.kpi strong{font-size:24px}.kpi small{font-size:8px}.two-col{grid-template-columns:1fr;gap:0}.settings-layout{grid-template-columns:1fr}.settings-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.document-grid{gap:15px}.document-card{padding:20px}.wizard-layout{grid-template-columns:1fr 200px}.wizard-main{padding:23px}.wizard-aside{padding:25px 17px}.wizard-aside dd{font-size:10px}.kind-grid{grid-template-columns:repeat(2,1fr)}.kind-option{min-height:78px}.form-section-heading{display:block}.donor-picker{display:block;margin-top:15px}.donor-picker select{max-width:none;width:100%}.wizard-footer>span{display:none}.wizard-footer{justify-content:flex-end}.app-footer{padding:16px 22px}.app-footer>span:first-child{display:none}}
@media(max-width:650px){.public-note{font-size:8px;padding:8px;line-height:1.6}.public-header{padding:18px 20px}.public-header .brand{font-size:14px;gap:8px}.public-header .brand-sub{font-size:8px}.public-header .brand img{height:34px;width:34px}.public-header nav{display:none}.public-header>.btn{font-size:10px;padding:10px 11px;min-height:38px}.public-header>.btn>.icon{height:14px;width:14px}.hero{grid-template-columns:1fr;gap:30px;padding:15px 22px 55px}.hero-copy{padding-top:15px}.hero h1{font-size:clamp(42px,10vw,64px);line-height:1.08;letter-spacing:-1.8px;margin-top:22px}.hero h1 em{letter-spacing:-2px}.hero .eyebrow{font-size:8px;letter-spacing:1.1px}.hero-copy>p{font-size:13px;max-width:100%;margin-bottom:25px}.hero-actions{gap:25px}.hero-actions>.btn{font-size:12px}.hero-footnote{margin-top:25px}.hero-art{margin:0 8px}.hero-art>img{height:330px;border-radius:18px}.art-caption{bottom:20px;left:-9px;padding:15px 40px 15px 18px;font-size:12px}.art-caption strong{font-size:13px}.art-caption>.icon{width:24px;height:24px;right:11px;top:15px}.art-label{font-size:7px;padding:7px 9px;top:16px;left:16px}.mission{grid-template-columns:1fr;padding:34px 22px;gap:17px}.mission .eyebrow{font-size:9px}.mission h2{font-size:29px}.mission p{font-size:12px}.projects{padding:45px 22px}.section-heading{margin-bottom:23px}.section-heading h2{font-size:29px}.project-grid{grid-template-columns:1fr;gap:20px}.water-project{grid-template-columns:1fr 1.1fr}.project-visual{min-height:100%;max-height:none;overflow:hidden}.project-visual>svg{width:300px;max-width:none;height:250px;flex-shrink:0}.project-visual>.pill{font-size:7px;left:10px;top:14px;padding:5px 6px}.project-body{padding:25px 16px}.project-body h3{font-size:23px}.project-body p{font-size:10px;line-height:1.8}.project-body .eyebrow{font-size:6px;letter-spacing:.6px}.project-tag{font-size:8px;gap:5px}.project-tag .icon{height:12px;width:12px}.community-project{padding:25px;min-height:310px}.community-project h3{font-size:29px}.community-project .text-link{margin-top:15px}.join-section{margin:0 22px 32px;padding:30px 25px;grid-template-columns:1fr;gap:25px}.join-section h2{font-size:34px;margin-bottom:20px}.join-section .eyebrow{font-size:8px;letter-spacing:1.2px}.join-section p{font-size:12px}.join-section .btn{font-size:12px}.public-footer{padding:20px 22px 30px;gap:25px}.public-footer .brand{font-size:14px}.public-footer>div{gap:18px}.public-footer .btn{font-size:10px}.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.auth-main{padding:25px 25px 20px;min-height:100vh}.auth-form-wrap{margin:40px auto;max-width:400px}.auth-form-wrap h2{font-size:39px}.auth-footer{font-size:9px;display:flex}.auth-footer>span{display:inline}.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:0 0 100px #0e33272b}.sidebar.mobile-open{transform:none}.sidebar-brand .brand{font-size:17px}.sidebar-brand .brand img{height:38px;width:38px}.sidebar .nav-item{font-size:12px}.sidebar .nav-item>.icon{height:18px;width:18px}.app-main{margin-left:0;width:100%}.app-topbar{padding:0 18px;height:63px;gap:10px}.mobile-menu{display:inline-flex}.breadcrumb{font-size:9px;flex:1}.breadcrumb>span{padding:0 7px}.topbar-right{gap:8px}.topbar-right>.avatar{display:none}.topbar-right>.icon-btn{display:none}.topbar-right>.local-badge{font-size:8px;padding:5px 7px;gap:5px}.local-badge .status-dot{width:5px;height:5px}.workspace{padding:28px 18px}.page-heading{display:block;margin-bottom:23px}.page-heading h1{font-size:29px;letter-spacing:-1px;line-height:1.2;margin-bottom:11px}.page-heading .eyebrow{font-size:8px;margin-bottom:10px}.page-heading p{font-size:11px;line-height:1.7;max-width:100%}.page-heading>.btn{margin-top:18px;font-size:11px;padding:11px 14px;min-height:40px}.welcome-card{padding:25px;min-height:305px}.welcome-card .eyebrow{font-size:6px;letter-spacing:1.1px;margin-bottom:20px}.welcome-card h2{font-size:28px;max-width:75%}.welcome-card>p{font-size:10px;max-width:65%;margin-bottom:22px}.paper-stack{right:-30px;bottom:-10px;transform:rotate(11deg) scale(.72);opacity:.92}.welcome-card>.btn{font-size:10px}.dashboard-grid{margin-bottom:17px}.kpi-grid{gap:8px;margin-bottom:23px}.kpi{padding:14px 10px;border-radius:10px;min-width:0}.kpi strong{font-size:clamp(18px,5vw,25px);letter-spacing:-.7px;white-space:nowrap}.kpi>div>span{font-size:8px;line-height:1.5;min-height:25px;margin-bottom:7px}.kpi small{font-size:7px;line-height:1.6}.kpi .square-icon{height:29px;width:29px;margin-bottom:11px}.panel-heading{padding:20px 17px;gap:10px}.panel-heading h2{font-size:14px;line-height:1.4}.panel-heading p{font-size:9px;line-height:1.6;max-width:190px}.panel-heading>.btn{font-size:9px;min-height:30px}.panel-heading>.btn>.icon{height:13px;width:13px}.panel{border-radius:13px}.panel.padded{padding:23px;margin-bottom:20px}.panel.padded h2{font-size:20px}.empty-state{padding:31px 20px}.empty-state h3{font-size:17px}.empty-state p{font-size:10px}.empty-state>.btn{font-size:10px}.empty-state>div{gap:8px}.empty-state .btn{font-size:10px;padding:10px 11px;min-height:39px}.quiet-note{font-size:8px;justify-content:flex-start;line-height:1.8}.app-footer{padding:17px 18px;font-size:8px}.list-toolbar{padding:15px;gap:15px}.tabs{gap:2px}.tab{font-size:8px;padding:8px;gap:5px}.search-field{width:100%;padding:10px}.search-field input{font-size:11px}td,th{padding:14px 16px}.document-grid{grid-template-columns:1fr}.document-card{padding:23px}.settings-layout aside{grid-template-columns:1fr;gap:0}.form-grid{gap:15px;margin:20px 0}.field>span{font-size:11px}.field input,.field select,.field textarea{font-size:13px;min-height:44px}.field small{font-size:9px}.modal-overlay{padding:0;align-items:flex-end}.modal{border-radius:18px 18px 0 0;max-height:95dvh;width:100%;border-bottom:0}.modal-heading{padding:22px 20px}.modal-heading h2{font-size:20px}.modal-heading .eyebrow{font-size:7px}.modal-body{padding:23px 20px}.modal-footer{padding:17px 20px}.modal-footer .btn{font-size:11px}.wizard{max-height:100dvh;height:100dvh;border-radius:0}.wizard-layout{grid-template-columns:1fr;min-height:0}.wizard-aside{display:none}.wizard-main{padding:24px 20px}.wizard-steps{padding:15px 18px;gap:7px}.wizard-steps button{font-size:8px;gap:7px;line-height:1.6}.wizard-steps button>span{height:21px;width:21px;min-width:21px;font-size:9px}.wizard-footer{padding:14px 14px}.wizard-footer>div{width:100%;justify-content:flex-end;gap:6px;flex-wrap:wrap}.wizard-footer .btn{font-size:9px;padding:10px 11px;min-height:37px}.kind-grid{grid-template-columns:repeat(4,1fr);gap:7px}.kind-option{font-size:7px;gap:10px;min-height:81px;padding:15px 4px 12px}.kind-option>.icon{height:21px;width:21px}.wizard-main>h3{font-size:17px}.form-section-heading h3{font-size:17px}.item-row{padding:15px}.item-row .form-grid{grid-template-columns:1fr}.item-row .span2{grid-column:1}.review-summary{padding:18px;gap:13px}.review-summary strong{font-size:12px}.review-summary strong.review-amount{font-size:23px}.review-summary p{font-size:9px}.review-header h3{font-size:17px}.summary-meta{grid-template-columns:1fr;gap:18px}.approval-box{padding:19px}.approval-box>.btn{font-size:10px}.approved-box{padding:18px}.approved-box .btn{font-size:9px;padding:10px 12px}.preview-action{gap:10px}.preview-action>span{font-size:8px}.preview-action>.btn{font-size:9px;padding:10px 12px}.modal.pdf-modal{height:100dvh;max-height:100dvh;border-radius:0}.pdf-frame{height:calc(100dvh - 178px)}.recovery-code{font-size:16px;letter-spacing:1px}.toast{font-size:11px;padding:13px 18px;bottom:17px;width:max-content;max-width:92vw}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Eigenes visuelles System: lokale Schriften, Tusche und lebendige öffentliche Seite. */
@font-face{font-family:Manrope;src:url('/assets/manrope.woff2') format('woff2');font-weight:200 800;font-display:swap}@font-face{font-family:Bricolage;src:url('/assets/bricolagegrotesque.woff2') format('woff2');font-weight:200 800;font-display:swap}
:root{font-family:Manrope,"Segoe UI",Arial,sans-serif}h1,h2,h3,.brand{font-family:Bricolage,Manrope,"Segoe UI",Arial,sans-serif}.public-site h1{font-weight:750}.public-site h1 em{font-family:inherit;font-style:normal;font-weight:750;position:relative;display:inline-block}.public-site h1 em:after{content:"";position:absolute;left:0;right:2%;bottom:-7px;height:8px;border-top:3px solid #a5b86e;border-radius:50%;transform:rotate(-2deg);transform-origin:left;animation:underline 1.1s ease-out both .3s}.public-site h2{font-weight:680}.hero-art.ink-scene{transform:none;height:535px;isolation:isolate}.hero-art.ink-scene>img{position:absolute;left:0;bottom:0;width:100%;height:auto;max-height:100%;object-fit:contain;border-radius:0;z-index:2}.ink-circle{position:absolute;inset:30px 0 0;border-radius:45% 55% 48% 52% / 52% 41% 59% 48%;background:#e7edca;z-index:0;transform:rotate(-8deg)}.ink-scene .art-caption{z-index:4;bottom:13px;left:-9px;background:#f8ebd3;border:1px solid #e9dabd;box-shadow:none;transform:rotate(-5deg);font-family:Bricolage,sans-serif;font-size:15px}.ink-scene .art-label{z-index:3;top:13px;left:18px;background:transparent;border:0;font-size:8px;letter-spacing:1.2px;transform:rotate(-7deg)}.handdrawn-tag{position:absolute;top:56px;right:19px;z-index:3;font-family:Bricolage,sans-serif;font-weight:650;font-size:25px;line-height:1.05;letter-spacing:-1px;transform:rotate(8deg);color:#2e4d39}.handdrawn-tag>svg{display:block;width:130px;height:20px;margin-top:3px;fill:none;stroke:#728a45;stroke-width:2.5;stroke-linecap:round}.doodle-orbit{display:flex;position:absolute;z-index:3;color:#5e7849;align-items:center;justify-content:center}.doodle-orbit>.icon{height:36px;width:36px;stroke-width:1.2}.orbit-one{left:11px;top:120px;transform:rotate(-15deg);animation:public-turn 8s ease-in-out infinite}.orbit-two{right:2px;bottom:85px;transform:rotate(15deg);animation:public-heart 5s ease-in-out infinite}.orbit-two>.icon{height:27px;width:27px;color:#bc9671}.experiment-light{position:absolute;width:18px;height:18px;border-radius:50%;left:65.9%;top:48%;background:#f0e176;box-shadow:0 0 10px 6px #efdc5450;opacity:.4;z-index:3;mix-blend-mode:multiply;pointer-events:none;animation:public-light 3.2s ease-in-out infinite}.public-site .hero-art:hover .experiment-light{animation-duration:1s}.public-site .btn:hover:not(:disabled) .icon{transform:translateX(3px)}.public-site .btn .icon,.public-site .text-link .icon{transition:transform .2s}.public-site .project-grid>article{transition:box-shadow .25s,transform .25s}.public-site .project-grid>article:hover{transform:translateY(-5px);box-shadow:0 15px 36px #163d2910}.reveal-ready{opacity:0;transform:translateY(20px);transition:opacity .65s ease var(--reveal-delay,0ms),transform .65s ease var(--reveal-delay,0ms)}.revealed{opacity:1;transform:translateY(0)}.registration-link{font-size:11px!important;margin:18px 0 0}.registration-link a{font-weight:650;color:var(--green)}.modal{animation:none}.app-main h1{font-weight:650}.nav-item{font-size:12px}.breadcrumb{font-size:12px}.panel-heading p{font-size:11px}.cell-donor strong,td{font-size:12px}.cell-donor small,td>small{font-size:10px}.field>span{font-size:12px}.field input,.field select,.field textarea{font-size:13px}.field small{font-size:11px}.checkline>span{font-size:12px}.checkline small{font-size:10px}.wizard-main>p,.wizard-main .muted{font-size:12px}.wizard-steps button{min-height:40px;font-size:11px}.kind-option{font-size:10px}.wizard-aside dd{font-size:12px}.wizard-info p{font-size:10px}.modal-body>p{font-size:13px}.app-footer{font-size:10px}.auth-form-wrap h2{font-weight:650}.auth-form-wrap>.local-badge{font-size:11px}.auth-form-wrap p{font-size:13px}.public-site .eyebrow{font-size:10px}.hero .eyebrow{font-size:9px}.project-body .eyebrow{font-size:9px;letter-spacing:.7px}.project-body p{font-size:13px}.community-project p{font-size:13px}
@keyframes public-turn{0%,100%{transform:rotate(-15deg) scale(.95)}50%{transform:rotate(12deg) scale(1.06)}}@keyframes public-heart{0%,100%{transform:translateY(0) rotate(15deg)}50%{transform:translateY(-7px) rotate(8deg)}}@keyframes public-light{0%,100%{opacity:.15;box-shadow:0 0 4px 1px #efdc5420}50%{opacity:.65;box-shadow:0 0 14px 8px #efdc5455}}@keyframes underline{from{transform:rotate(-2deg) scaleX(0)}to{transform:rotate(-2deg) scaleX(1)}}
@media(max-width:1150px){.hero-art.ink-scene{height:470px}.handdrawn-tag{font-size:22px;right:6px;top:48px}.handdrawn-tag>svg{width:110px}.ink-scene .art-caption{font-size:13px}.project-body .eyebrow{font-size:8px}.wizard-steps button{font-size:10px}}
@media(max-width:900px){.hero-art.ink-scene{height:410px}.handdrawn-tag{font-size:20px;right:0;top:50px}.handdrawn-tag>svg{width:95px}.doodle-orbit>.icon{width:27px;height:27px}.ink-scene .art-label{font-size:7px}.orbit-one{top:104px;left:0}.experiment-light{height:13px;width:13px}.project-body .eyebrow{font-size:9px}.nav-item{font-size:11px}}
@media(max-width:650px){.hero-art.ink-scene{height:370px;margin:4px 0 10px;max-width:440px;width:100%;justify-self:center}.ink-scene .ink-circle{inset:5px 0 2px}.ink-scene .art-label{top:5px;left:6px;font-size:7px}.handdrawn-tag{right:2px;top:35px;font-size:23px}.handdrawn-tag>svg{width:110px}.ink-scene .art-caption{font-size:12px;left:-3px;bottom:0;padding:15px 40px 15px 16px}.ink-scene .art-caption strong{font-size:13px}.orbit-one{top:75px;left:2px}.orbit-two{bottom:75px;right:0}.experiment-light{left:66%;top:49%;height:13px;width:13px}.public-site h1 em:after{bottom:-5px;border-top-width:2px}.hero-footnote{font-size:11px}.public-site .eyebrow{font-size:9px}.hero .eyebrow{font-size:9px}.public-site .project-body .eyebrow{font-size:7px}.project-body p{font-size:11px}.community-project p{font-size:12px}.field>span{font-size:12px}.field input,.field select,.field textarea{font-size:16px}.field small{font-size:11px}.checkline>span{font-size:12px}.checkline small{font-size:11px}.wizard-steps button{font-size:9px;min-height:44px}.kind-option{font-size:8px}.tab{font-size:9px;min-height:44px}.badge{font-size:10px}.wizard-footer .btn{min-height:44px;font-size:10px}.nav-item{font-size:13px}.app-footer{font-size:9px}.breadcrumb{font-size:10px}}
@media(prefers-reduced-motion:reduce){.reveal-ready{opacity:1;transform:none}.experiment-light{opacity:.4}.public-site .project-grid>article:hover{transform:none}}

/* Automatische Bedienung auf Tablet und Handy. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.sidebar>nav,.sidebar-bottom{flex-shrink:0}
.sidebar-close,.menu-backdrop{display:none}
.app-main,.workspace,.field,.form-grid>*{min-width:0}
.field input,.field select,.field textarea{max-width:100%}
@media(max-width:900px){
  .sidebar{width:260px;max-width:85vw;transform:translateX(-100%);visibility:hidden;transition:transform .2s,visibility .2s;padding-top:64px;box-shadow:0 0 50px #0e33272b}
  .sidebar.mobile-open{transform:none;visibility:visible}
  .sidebar-close{display:inline-flex;position:absolute;top:12px;right:12px;width:44px;height:44px}
  .sidebar-brand{margin-bottom:24px}
  .sidebar .nav-item{font-size:13px;min-height:44px}
  .sidebar-card{display:none}
  .sidebar-bottom{padding-top:16px}
  .app-main{margin-left:0;width:100%}
  .mobile-menu{display:inline-flex;width:44px;height:44px}
  .sidebar.mobile-open+.menu-backdrop{display:block;position:fixed;inset:0;z-index:19;background:#102b2940;border:0}
  .field input,.field select,.field textarea{font-size:16px}
  .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}
  .modal-footer{flex-wrap:wrap}
}
@media(max-width:500px){
  .form-grid{grid-template-columns:minmax(0,1fr)}
  .form-grid .span2{grid-column:1}
  .breadcrumb{min-width:0;overflow-wrap:anywhere}
  .auth-footer{flex-wrap:wrap;gap:8px}
}

/* Gemeinsame Personenübersicht: Zuordnung immer auch als Text. */
.people-toolbar{display:flex;flex-wrap:wrap;gap:18px;padding:22px;align-items:flex-end;border-bottom:1px solid var(--line)}
.people-toolbar .field:first-child{flex:1 1 280px}
.people-toolbar .field:nth-child(2){flex:0 1 220px}
.directory-count{padding:14px 22px;margin:0;font-size:12px}
.person-labels,.person-actions{display:flex;gap:7px;flex-wrap:wrap}
.person-label{display:inline-flex;padding:5px 9px;border-radius:6px;background:#eef1ed;color:#45584c;font-size:11px;font-weight:600;line-height:1.5}
.person-label.member{background:#e3efdf;color:#245c38}
.person-label.donor{background:#f7e9df;color:#7a4b29}
.person-label.supporter{background:#fff0d6;color:#805c15}
.person-label.friend{background:#f0e9f8;color:#6b4589}
.person-label.company{background:#e7edf5;color:#375b81}
.person-label.school,.person-label.teacher{background:#e1f0ef;color:#216466}
.person-label.institution{background:#f1ebe1;color:#725935}
.people-table td{white-space:normal;overflow-wrap:anywhere;max-width:280px}
.people-table td strong{display:block}
.person-actions .btn{min-height:40px;padding:9px 12px}
.person-create-options{display:grid;grid-template-columns:1fr;gap:24px}
.person-create-options section+section{border-top:1px solid var(--line);padding-top:24px}
@media(max-width:650px){
  .people-toolbar{padding:18px;gap:14px}
  .people-toolbar .field:first-child,.people-toolbar .field:nth-child(2),.people-toolbar>.btn{flex:1 1 100%}
  .people-table,.people-table tbody,.people-table tr{display:block;width:100%}
  .people-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .people-table tr{padding:14px 18px;border-top:1px solid var(--line)}
  .people-table td{display:block;max-width:none;padding:7px 0;border:0}
  .people-table td:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
  .people-table td:first-child strong{font-size:16px}
  .person-actions .btn{min-height:44px}
}

.personal-doc-section{margin-bottom:36px}.personal-doc-section>h2{margin-bottom:8px}.personal-doc-section>.field{max-width:520px;margin-bottom:20px}.document-card h3,.document-card p{overflow-wrap:anywhere}.document-card .eyebrow{display:block;margin-top:16px}.document-card .stack-actions{display:flex;flex-wrap:wrap;gap:8px}.document-filters{padding:0 0 20px}.document-filters .field{max-width:280px}.personal-doc-section .section-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}

.personal-pdf-viewer{margin:16px 0 22px;min-width:0}.pdf-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}.pdf-controls label{margin-left:auto;font-size:12px}.pdf-controls select{min-height:40px;border:1px solid var(--line);border-radius:6px;background:white;padding:5px}.pdf-canvas-scroll{overflow:auto;max-height:52vh;background:#e7ece1;padding:12px;min-width:0}.pdf-canvas-scroll canvas{display:block;background:white;margin:auto}.pdf-error:empty{display:none}.pdf-controls [role=status]{font-size:12px}.pdf-modal .check-row{align-items:flex-start;line-height:1.6}.pdf-modal .check-row input{margin-top:4px}@media(max-width:650px){.pdf-controls label{margin-left:0}.pdf-canvas-scroll{max-height:48vh}.pdf-controls .btn{min-height:44px}}
.pdf-canvas-scroll{scrollbar-gutter:stable}

.finance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.finance-stats .stat-card{min-width:0;padding:22px}.finance-stats .stat-card strong{font-size:24px;overflow-wrap:anywhere}.finance-stats .stat-card>span{display:block;margin-bottom:12px;color:var(--muted);font-size:12px}.finance-account-panel{display:flex;align-items:center;justify-content:space-between;gap:18px}.finance-account-panel h2{margin-top:0}.finance-account-panel p{margin-bottom:0}.finance-notice{padding:20px;border:1px solid #e6d2a7;border-radius:12px;background:#fff9ec;margin:20px 0}.finance-notice p{margin:8px 0}.finance-income{color:#2e6441}.finance-expense{color:#9b482d}.finance-toolbar .field{flex:1 1 160px}.finance-toolbar .field:last-child{flex:2 1 260px}.finance-table small{white-space:normal;line-height:1.5}.finance-file{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.finance-file>span{flex:1 1 180px;overflow-wrap:anywhere}.finance-history{border-bottom:1px solid var(--line);padding:12px 0}.finance-history h3{margin:0}.finance-history p{margin:6px 0}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.task-card h2{font-size:20px;line-height:1.4}.task-card p{white-space:pre-wrap;overflow-wrap:anywhere}.task-toolbar{padding:0 0 22px;border:0}.task-toolbar .field{max-width:340px}.sidebar nav{overflow-y:auto;min-height:0;flex-shrink:1}.sidebar-bottom{flex-shrink:0}.finance-table .btn{min-height:42px}
@media(max-width:1100px){.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-account-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.finance-stats{gap:10px}.finance-stats .stat-card{padding:15px}.finance-stats .stat-card strong{font-size:19px}.finance-stats .stat-card>span{font-size:11px}.task-grid{grid-template-columns:1fr}.finance-toolbar .field,.finance-toolbar .field:last-child{flex:1 1 100%}.finance-account-panel .stack-actions{flex-wrap:wrap;display:flex;gap:10px}.finance-file .btn{min-height:44px}}
.receipt-inputs{margin:0 0 24px;padding:18px;background:#f3f6f2;border:1px solid #dce5dc;border-radius:14px}.receipt-inputs input[type=file]{max-width:100%;min-width:0}.receipt-preview{display:block;max-width:100%;height:auto;margin:auto}.ocr-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font:inherit}.ocr-result select{max-width:100%}.ocr-status{font-size:.9rem}.finance-file>span{overflow-wrap:anywhere;min-width:0}

.people-sections{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.people-table .pill{white-space:nowrap}
@media(max-width:600px){.people-sections>.btn{flex:1 1 auto}}

.shared-read-cards{display:grid;gap:16px}.shared-read-cards h3{overflow-wrap:anywhere}.shared-read-cards p{overflow-wrap:anywhere}.shared-read-cards .stack-actions{flex-wrap:wrap}

/* Gemeinsamer Personenstamm und begrenzter Dokumentenzugang */
.former-member-shell .app-topbar{height:auto;min-height:76px;padding:16px 38px}
.person-tags{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.membership-notice{border-left:5px solid #9d762e;margin-bottom:28px}.membership-notice h2{font-size:22px}.former-member-shell{max-width:1300px;margin:auto}.former-member-shell .app-topbar{gap:16px;flex-wrap:wrap}.former-member-shell .workspace{max-width:1100px;margin:auto}@media(max-width:600px){.former-member-shell .app-topbar{padding:16px}.former-member-shell .workspace{padding:22px 16px}.person-tags{grid-template-columns:1fr}}

.exit-request{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.exit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.exit-heading h2,.exit-heading h3{margin:0}.exit-history{margin:18px 0}.exit-history article{border-left:3px solid var(--line);padding:8px 14px;margin:8px 0}.exit-history small{display:block;color:var(--muted);margin-top:6px}.exit-history p{margin:8px 0}.exit-request p{overflow-wrap:anywhere}

/* Abstimmungen: schmale Karten und gut bedienbare Auswahl. */
.ballot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px}.ballot-card{margin:0;overflow-wrap:anywhere}.ballot-card h2{margin-top:18px}.ballot-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.ballot-rules summary{cursor:pointer;font-weight:650}.ballot-rules article{padding:12px 0}.ballot-rules small{color:var(--muted)}.ballot-people{border:1px solid #dce4de;border-radius:14px;padding:16px;margin-top:20px}.ballot-people legend{padding:0 6px;font-weight:600}.ballot-people .checkline{padding:8px 0;min-height:44px}.ballot-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.ballot-counts>div{padding:16px 8px;background:#eff4ef;border-radius:12px;text-align:center}.ballot-counts strong{display:block;font-size:28px;color:#174f45}.ballot-counts span{display:block}.ballot-result-list,.ballot-history{list-style:none;padding:0}.ballot-result-list li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e1e7e0;padding:12px 0;overflow-wrap:anywhere}.ballot-history li{border-left:2px solid #c4d8cd;padding:8px 14px;margin:12px 0}.ballot-history small{display:block}.ballot-history p{margin:6px 0}.ballot-people .stack-actions{gap:8px}

/* Beschlussdokumentation: auch auf kleinen Bildschirmen bedienbar. */
/* Schulportal */
.school-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-left:22px}.school-flow li{padding:8px;line-height:1.6}.school-actions{flex-wrap:wrap;justify-content:flex-start}.school-actions .btn{white-space:normal;min-height:44px}.school-pdf{min-width:0}#school-file-form input{max-width:100%;min-width:0}@media(max-width:900px){.school-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.school-flow{grid-template-columns:1fr;gap:4px}.school-actions .btn{width:100%}}
.resolution-person{border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0;min-width:0}.resolution-person legend{font-weight:600;padding:0 6px}.resolution-add-person{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.resolution-add-person .field{flex:1 1 230px}.resolution-roster{padding-left:20px;overflow-wrap:anywhere}.resolution-roster li{padding:10px 0}.resolution-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.resolution-counts>div{padding:14px 6px;background:#eff4ef;border-radius:12px;text-align:center}.resolution-counts strong{display:block;font-size:26px;color:#174f45}.resolution-counts span{display:block;font-size:13px}.resolution-person input,.resolution-person select,#resolution-evidence-form input{min-width:0;max-width:100%}.resolution-confirm-pdf{margin-top:16px}.wide-modal{max-width:850px}.resolution-person .btn{white-space:normal}.resolution-pdf,.resolution-confirm-pdf{min-width:0}@media(max-width:600px){.resolution-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.resolution-add-person{align-items:stretch}.resolution-add-person>.btn{width:100%}.resolution-person{padding:12px}.resolution-person .form-grid{grid-template-columns:1fr}}
:root{--letter-blue:#093373}
.letter-header-preview{display:block;width:100%;max-width:650px;height:auto;margin:0 auto 20px;background:white}
.letter-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#edf3f7;border:1px solid #c6d2dc;border-radius:10px 10px 0 0;position:sticky;top:0;z-index:2}
.letter-toolbar .btn{padding:8px 10px;font-size:12px;min-height:38px}
.letter-body-label{display:block;background:#fff;padding:10px 18px 0;border-left:1px solid #c6d2dc;border-right:1px solid #c6d2dc;font-weight:600}
.letter-editor{min-height:300px;max-height:65vh;overflow:auto;padding:16px 24px 30px;background:#fff;border:1px solid #c6d2dc;border-top:0;border-radius:0 0 10px 10px;font-family:Arial,sans-serif;font-size:16px;line-height:1.65;color:#20252c;overflow-wrap:anywhere}
.letter-editor:focus{outline:3px solid #91bbd0;outline-offset:2px}
.letter-editor p,.letter-read-preview p{margin:0 0 14px}.letter-editor h3,.letter-read-preview h3{color:var(--letter-blue);font-size:1.1em;margin:20px 0 12px}
.letter-editor ul,.letter-editor ol,.letter-read-preview ul,.letter-read-preview ol{padding-left:26px;margin:0 0 14px}
.letter-read-preview{padding:20px;background:#fff;border:1px solid #d9e0e5;border-radius:10px;overflow-wrap:anywhere}
.modal.letter-modal .modal-body{padding:24px}.letter-modal .modal-body>img{max-width:100%}
.letter-modal code{white-space:normal;overflow-wrap:anywhere}.letter-modal .modal-footer{flex-wrap:wrap}.letter-modal #letter-save-state{font-size:12px;color:#526072;margin-right:auto}
@media(max-width:600px){.letter-editor{padding:14px;font-size:16px;min-height:240px}.letter-toolbar{position:static}.letter-toolbar .btn{min-height:44px}.letter-header-preview{margin-bottom:12px}.letter-modal #letter-save-state{flex-basis:100%}}
@media(max-width:600px){.modal.letter-modal .modal-body{padding:18px}.letter-modal .letter-editor{padding:12px}}
/* Kontoauszüge: lesbare Karten und kontrolliert scrollbarere Originaltabellen. */
.bank-import-list,.bank-rows{display:grid;gap:16px;margin-top:20px}.bank-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.bank-summary>div{min-width:0}.bank-row{border:1px solid var(--line,#d9ded9);border-radius:12px;padding:18px;overflow-wrap:anywhere}.bank-row p{white-space:pre-wrap}.bank-review{border-left:4px solid #aa6c20;background:#fffcf5}.bank-table-scroll{max-width:100%;overflow:auto;margin:16px 0}.bank-table-scroll table{min-width:650px;font-size:13px}.bank-table-scroll td,.bank-table-scroll th{padding:10px;max-width:280px;white-space:normal;overflow-wrap:anywhere;text-align:left}.modal.bank-modal .modal-body{padding:24px}.modal.bank-modal .modal-footer{flex-wrap:wrap;gap:10px}.bank-part{margin:16px 0;padding:18px;border:1px solid #d9ded9;border-radius:12px;min-width:0}.bank-hash{font-size:12px;overflow-wrap:anywhere}.bank-modal select{max-width:100%}.bank-modal details{margin:16px 0}.bank-modal summary{cursor:pointer;font-weight:600;padding:10px 0}.bank-modal .field{min-width:0}.bank-modal .checkline{align-items:flex-start}.bank-modal .checkline input{flex-shrink:0}
@media(max-width:600px){.modal.bank-modal .modal-body{padding:18px}.bank-row,.bank-part{padding:14px}.bank-summary>.btn,.bank-modal .modal-footer>.btn{width:100%}.bank-modal .form-grid{grid-template-columns:minmax(0,1fr)}.bank-modal .span2{grid-column:auto}}

/* Eigene Zeichnung bleibt im Zeichenfeld; die Seite daneben bleibt verschiebbar. */
.signature-pad,.signature-view{display:block;width:100%;aspect-ratio:10/3;border-radius:10px;background:#fff;border:2px dashed #768a80;margin:16px 0;box-sizing:border-box}
.signature-pad{touch-action:none;user-select:none;cursor:crosshair}.signature-pad:focus-visible{outline:3px solid #b06f1b;outline-offset:3px}.signature-view{border:1px solid #dde4df}.signature-status{min-height:24px;color:#53685e;font-size:13px;margin:8px 0}.signature-saved{padding:16px;background:#f5f8f3;border-radius:12px;margin:18px 0}.modal.signature-modal .modal-body{padding:24px}.signature-modal .modal-footer{flex-wrap:wrap}.signature-modal details{margin-top:18px}.signature-modal summary{font-weight:600;cursor:pointer}.signature-modal .checkline{align-items:flex-start}.signature-modal .checkline input{flex-shrink:0}.signature-modal form>.btn{margin-top:14px}
@media(max-width:600px){.modal.signature-modal .modal-body{padding:18px}.signature-modal .stack-actions>.btn{width:100%}.signature-saved{padding:12px}}

/* Die Fußzeile ist auch im Editor sichtbar; Druckfassung bleibt vierteilig. */
.letter-footer-preview{margin:28px 0 20px;background:#fff;border:1px solid #dde3ec;border-radius:10px;padding:18px;scroll-margin:20px}.letter-footer-preview h3{margin:0 0 10px;color:#0b3f86}.letter-footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #0b3f86;margin-top:18px;padding-top:8px}.letter-footer-columns>div{padding:0 10px;border-right:1px solid #b8cde2;min-width:0}.letter-footer-columns>div:first-child{padding-left:0}.letter-footer-columns>div:last-child{border-right:0}.letter-footer-columns strong{font-size:10px;letter-spacing:.02em;color:#0b3f86}.letter-footer-columns p{font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.letter-footer-hint{font-size:12px;margin-bottom:0}.letter-footer-preview .muted{font-size:12px}
@media(max-width:600px){.letter-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}.letter-footer-columns>div:nth-child(2){border-right:0}.letter-footer-columns>div:nth-child(3){padding-left:0}.letter-footer-preview{padding:14px}}

.archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.archive-card{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.archive-card h2{font-size:22px;line-height:1.3;margin:12px 0}.archive-card .stack-actions{margin-top:auto;padding-top:14px}.archive-options{display:flex;gap:10px 28px;flex-wrap:wrap;margin-top:16px}.archive-pagination{display:flex;gap:18px;justify-content:center;align-items:center;flex-wrap:wrap;margin:24px 0}.archive-number{font-size:13px;color:#5c6e65}.person-label.archive-old{background:#fff2dd;color:#70481d}.archive-filters input,.archive-filters select{max-width:100%;min-width:0}.archive-card .person-label{white-space:normal}.archive-options .checkline{align-items:flex-start}.archive-options .checkline input{flex-shrink:0}
@media(max-width:800px){.archive-grid{grid-template-columns:minmax(0,1fr)}.archive-card h2{font-size:20px}}@media(max-width:600px){.archive-options{display:block}.archive-card .stack-actions>.btn,.archive-card .stack-actions>a{width:100%}.archive-filters{grid-template-columns:minmax(0,1fr)}.archive-filters .span2{grid-column:auto}}

.system-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.system-status-grid h3{margin-top:0}.system-status-backup{grid-column:1/-1}@media(max-width:600px){.system-status-grid{grid-template-columns:minmax(0,1fr)}}

.finance-case-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;overflow-wrap:anywhere}@media(max-width:600px){.finance-case-comparison{grid-template-columns:minmax(0,1fr)}}
.modal.wide-modal.finance-case-modal .modal-body{padding:24px 28px}.finance-case-modal form>.modal-body>.field{margin-bottom:18px}@media(max-width:600px){.modal.wide-modal.finance-case-modal .modal-body{padding:20px 18px}}

.letter-manual-fields{border:1px solid #d8e4d5;border-radius:12px;padding:20px;margin:24px 0;background:#f6f9f3}.letter-manual-fields[hidden]{display:none}.letter-library-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.letter-library-card{margin-bottom:18px}.letter-library-card h3{margin-top:0}.letter-manual-fields .form-grid{margin-bottom:0}@media(max-width:600px){.letter-manual-fields{padding:16px}}

.modal.wide-modal.office-help-modal .modal-body{padding:24px 28px}.office-help-topic{border:1px solid #dce5d7;border-radius:12px;padding:16px 18px;margin:12px 0;overflow-wrap:anywhere}.office-help-topic summary{cursor:pointer;font-weight:600;line-height:1.5}.office-help-topic ol{padding-left:22px}.office-help-topic li{margin-bottom:12px;font-size:13px;line-height:1.8}.office-help-modal #office-help-results{margin-top:22px}.office-help-modal .modal-footer{justify-content:space-between}@media(max-width:600px){.modal.wide-modal.office-help-modal .modal-body{padding:20px 18px}.office-help-topic{padding:14px}}

.task-toolbar{align-items:flex-end;gap:12px;flex-wrap:wrap}.task-toolbar .field{flex:1 1 190px;max-width:none;min-width:0}.task-toolbar input{width:100%;min-width:0}@media(max-width:650px){.task-toolbar .field{flex-basis:100%}.task-toolbar>.btn{width:100%}}

.start-overview{margin:24px 0 30px}.start-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.start-overview-card{min-width:0;display:flex;align-items:flex-start;flex-direction:column}.start-overview-card h3{margin:0 0 12px;font-size:18px;line-height:1.4}.start-overview-count{font-size:28px;color:var(--green-dark)}.start-overview-card p{flex:1;overflow-wrap:anywhere}.start-overview-card .btn{min-height:44px}@media(max-width:1050px){.start-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.start-overview-grid{grid-template-columns:1fr}.start-overview-card{padding:20px}}

.finance-check-modal{max-width:900px}.finance-check-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.finance-check-summary p{padding:14px;background:var(--paper);border-radius:10px;margin:0}.finance-check-list{display:grid;gap:14px}.finance-check-card h3,.finance-check-card p,.finance-check-card li{overflow-wrap:anywhere}.finance-check-card ul{padding-left:20px}.finance-check-card li{margin:8px 0}@media(max-width:650px){.finance-check-summary{grid-template-columns:1fr}}

.version-button{border:0;cursor:pointer;min-height:44px;max-width:100%;white-space:normal;text-align:left;font-family:inherit}.version-button:focus-visible{outline:3px solid #174f45;outline-offset:3px}
#person-reminder-results article{overflow-wrap:anywhere}
.finance-notice>summary{min-height:44px;cursor:pointer;padding:10px 0;line-height:1.5}

/* Zustimmung und Übernahme: eingeklappte Abschnitte auch schmal lesbar halten. */
.modal.wide-modal.acquisition-modal .modal-body{padding:24px 28px}
.acquisition-modal fieldset{border:0;padding:0;margin:0;min-width:0}
.acquisition-modal legend{font-weight:600;font-size:13px;margin:12px 0}
.acquisition-modal .ballot-rules summary{min-height:44px;display:list-item;padding-top:12px;padding-bottom:12px}
.acquisition-modal .ballot-rules{margin-bottom:14px}
@media(max-width:600px){.modal.wide-modal.acquisition-modal .modal-body{padding:20px 18px}}

.payment-modal{max-width:960px}.modal.wide-modal.payment-modal .modal-body{padding:24px 28px;overflow-wrap:anywhere}.payment-modal details summary{min-height:44px;padding:10px 0;cursor:pointer}.payment-modal .school-actions{flex-wrap:wrap}.payment-modal .school-actions .btn{white-space:normal}@media(max-width:600px){.modal.wide-modal.payment-modal .modal-body{padding:20px 18px}.payment-modal .modal-footer{padding:14px;gap:8px}.payment-modal .modal-footer .btn{flex:1 1 160px}}

/* Farbwelt der eigenen Schulansicht: Ziegelrot, Sand und warmes Weiß. */

#kemberg-live-scene{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182a3c;max-width:1280px;margin:0 auto;color-scheme:light dark}
#kemberg-live-scene .scene-frame{overflow:hidden;line-height:0;border-radius:10px;background:#11213a}
#kemberg-live-scene canvas{display:block;width:100%;height:auto;aspect-ratio:16/9}
#kemberg-live-scene .scene-bar{display:flex;gap:12px 20px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:15px 0 8px}
#kemberg-live-scene .scene-status{display:flex;flex-direction:column;gap:4px;min-width:200px}
#kemberg-live-scene [data-clock]{font-variant-numeric:tabular-nums;font-size:15px;font-weight:650}
#kemberg-live-scene [data-mood]{font-size:13px;line-height:1.4;color:#506174}
#kemberg-live-scene .scene-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#kemberg-live-scene select,#kemberg-live-scene input,#kemberg-live-scene button{font:inherit;font-size:14px;border:1px solid #cbd5df;background:#fff;color:#152a43;border-radius:8px;min-height:40px;padding:8px 11px;box-sizing:border-box}
#kemberg-live-scene button{font-weight:600;min-width:64px}
#kemberg-live-scene [data-manual]{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 0;font-size:14px}
#kemberg-live-scene [data-manual][hidden]{display:none}
#kemberg-live-scene [data-manual] label{display:flex;align-items:center;gap:7px}
@media(prefers-color-scheme:dark){#kemberg-live-scene{color:#e5edf5}#kemberg-live-scene [data-mood]{color:#b3c2d0}#kemberg-live-scene select,#kemberg-live-scene input,#kemberg-live-scene button{background:#182636;color:#e5edf5;border-color:#455a6e}}
@media(max-width:480px){#kemberg-live-scene .scene-actions{width:100%}#kemberg-live-scene [data-mode]{flex:1;min-width:0}#kemberg-live-scene .scene-frame{border-radius:6px}#kemberg-live-scene select,#kemberg-live-scene input,#kemberg-live-scene button{min-height:44px}}

.public-site{background:#faf7f2}.public-note{background:#f2e7db;color:#674a3d}.public-header nav{color:#665c54}.public-footer{border-color:var(--line)}
.school-intro{max-width:1280px;padding:20px 42px 44px;margin:auto}.school-intro-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.school-intro h1{font-size:clamp(24px,3.5vw,42px);letter-spacing:-.035em;line-height:1.18;margin:0}.school-intro-description{max-width:800px;margin:20px 0 0}.school-intro #kemberg-live-scene{color:var(--ink);color-scheme:light}.school-intro #kemberg-live-scene .scene-frame{border:1px solid var(--line);border-radius:16px}.school-intro #kemberg-live-scene select,.school-intro #kemberg-live-scene input,.school-intro #kemberg-live-scene button{color:var(--ink);background:#fffdf9;border-color:#d6c8bb;min-height:44px}.school-intro #kemberg-live-scene [data-mood]{color:var(--muted)}
.join-section{background:#783d2d}.community-project{background:#efe5d7}.water-project{background:#f5eee4;border-color:#e5d6c6}.project-visual{background:#e6e4d4}.sidebar-card{background:#f3e9dc}.sidebar-card strong{color:#713b2c}.nav-item.active{background:#f4e5da;color:#753322}.btn.secondary:hover{background:#f8f0e8}.btn.dark:hover,.btn.primary:hover{box-shadow:0 4px 12px #98432e22}.local-badge{background:#f4e7db;color:#734833}
@media(max-width:760px){.school-intro{padding:12px 22px 32px}.school-intro-heading{align-items:flex-start;flex-direction:column;gap:16px}.school-intro #kemberg-live-scene .scene-status{min-width:0}.school-intro #kemberg-live-scene .scene-actions{max-width:100%}.school-intro #kemberg-live-scene select{max-width:100%}.school-intro h1{font-size:28px}}
@media(max-width:420px){.school-intro{padding-left:16px;padding-right:16px}.school-intro h1{font-size:25px}}

/* Breiter öffentlicher Einstieg mit bedienbaren Links über der eigenen Animation. */
.school-intro.school-intro-wide{max-width:none;padding:0 0 30px;margin:0;width:100%}
.school-intro-wide #kemberg-live-scene{max-width:none}
.school-intro-wide #kemberg-live-scene .scene-frame{position:relative;border:0;border-radius:0;isolation:isolate}
.school-intro-wide #kemberg-live-scene canvas{aspect-ratio:16/9}
.school-intro-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding:clamp(24px,5vw,88px);background:linear-gradient(90deg,rgba(35,28,25,.61),rgba(35,28,25,.25) 46%,transparent 80%);pointer-events:none}
.school-intro-content{max-width:680px;color:#fff;text-shadow:0 2px 18px #18120f66}
.school-intro .school-intro-kicker{font-size:13px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#fff5e9;margin:0 0 18px}
.school-intro-wide h1{color:#fff;font-size:clamp(34px,4.7vw,76px);line-height:1.08;font-weight:750;letter-spacing:-.04em;margin:0 0 30px}
.school-intro-buttons{display:flex;flex-wrap:wrap;gap:12px;pointer-events:auto;text-shadow:none}
.school-intro-buttons .btn{font-size:14px;padding:15px 20px;border-radius:8px;min-height:48px}
.school-intro-buttons .school-support-btn{background:#fff3df;color:#472e25;border-color:#fff3df}
.school-intro-buttons .school-support-btn:hover{background:#fffaf0}
.school-intro-buttons .school-projects-btn{background:#63301ee6;border-color:#fff8;color:#fff}
.school-intro-buttons .school-projects-btn:hover{background:#783d2d}
.school-intro-buttons a:focus-visible{outline:3px solid #fff;outline-offset:5px}
.school-intro-wide #kemberg-live-scene .scene-bar,.school-intro-wide #kemberg-live-scene [data-manual],.school-intro-wide .school-intro-description{max-width:1280px;margin-left:auto;margin-right:auto;padding-left:42px;padding-right:42px}
.school-intro-wide #kemberg-live-scene .scene-bar{padding-top:16px;padding-bottom:12px}
.school-intro-wide .school-intro-description{margin-top:10px;margin-bottom:0}
@media(min-width:1600px){.school-intro-overlay{padding-left:max(5vw,calc((100vw - 1440px)/2))}}
@media(max-width:760px){.school-intro-wide #kemberg-live-scene .scene-bar,.school-intro-wide #kemberg-live-scene [data-manual],.school-intro-wide .school-intro-description{padding-left:22px;padding-right:22px}.school-intro-overlay{padding:22px}.school-intro .school-intro-kicker{font-size:10px;margin-bottom:10px}.school-intro-wide h1{font-size:clamp(26px,5vw,40px);margin-bottom:18px}.school-intro-buttons{gap:8px}.school-intro-buttons .btn{font-size:12px;padding:10px 12px;min-height:44px}.school-intro-buttons .icon{width:16px;height:16px}}
@media(max-width:420px){.school-intro-overlay{padding:16px}.school-intro-wide h1{font-size:25px;margin-bottom:14px}.school-intro-wide #kemberg-live-scene .scene-bar,.school-intro-wide #kemberg-live-scene [data-manual],.school-intro-wide .school-intro-description{padding-left:16px;padding-right:16px}.school-intro-buttons .btn{font-size:11px;padding:10px}.school-intro .school-intro-kicker{margin-bottom:8px;font-size:9px}}
@media(max-width:350px){.school-intro-buttons .btn{padding:9px 8px;font-size:10px;gap:5px}.school-intro-wide h1{font-size:23px}}

/* Gestaltungsprobe: etwas kleiner, rund und mit mehr Abstand zum Seitenrand. */
.school-intro.school-intro-preview{max-width:1244px;width:100%;padding:14px 32px 38px;margin:0 auto}
.school-intro-preview #kemberg-live-scene .scene-frame{border-radius:28px;border:1px solid #d9cbbc;box-shadow:0 16px 42px #5c362012}
.school-intro-preview .school-intro-overlay{padding:44px;background:linear-gradient(90deg,rgba(32,27,24,.70),rgba(32,27,24,.42) 47%,rgba(32,27,24,.03) 92%)}
.school-intro-preview .school-intro-content{max-width:650px}
.school-intro-preview .school-intro-kicker{font-size:11px;letter-spacing:.075em;line-height:1.6;margin-bottom:20px;max-width:540px}
.school-intro-preview h1{font-size:clamp(30px,3.4vw,49px);line-height:1.12;margin-bottom:22px;letter-spacing:-.035em}
.school-intro-preview .school-intro-motto{font-size:18px;line-height:1.6;color:#fff5e9;margin:0 0 30px;max-width:540px}
.school-intro-preview .school-intro-buttons{gap:14px}
.school-intro-preview #kemberg-live-scene .scene-bar,.school-intro-preview #kemberg-live-scene [data-manual],.school-intro-preview .school-intro-description{padding-left:4px;padding-right:4px;max-width:none}
.school-intro-preview #kemberg-live-scene .scene-bar{padding-top:22px;padding-bottom:12px}
.school-intro-preview .school-intro-description{max-width:850px;margin-left:4px;margin-right:4px;line-height:1.8}
@media(min-width:1600px){.school-intro-preview .school-intro-overlay{padding-left:44px}}
@media(min-width:651px) and (max-width:900px){.school-intro.school-intro-preview{padding-left:24px;padding-right:24px}.school-intro-preview .school-intro-overlay{padding:28px}.school-intro-preview h1{font-size:32px;max-width:470px;margin-bottom:16px}.school-intro-preview .school-intro-kicker{font-size:10px;margin-bottom:12px}.school-intro-preview .school-intro-motto{font-size:15px;margin-bottom:20px}}
@media(max-width:650px){.school-intro.school-intro-preview{padding:8px 16px 30px}.school-intro-preview #kemberg-live-scene .scene-frame{display:flex;flex-direction:column;border-radius:22px;background:#fffaf3}.school-intro-preview #kemberg-live-scene canvas{order:1;width:100%;aspect-ratio:16/9}.school-intro-preview .school-intro-overlay{position:relative;inset:auto;order:0;display:block;padding:26px 22px 28px;background:none}.school-intro-preview .school-intro-content{color:var(--ink);text-shadow:none}.school-intro-preview .school-intro-kicker{color:#7c4a36;font-size:10px;line-height:1.7;margin-bottom:18px}.school-intro-preview h1{font-size:clamp(26px,6.8vw,38px);color:var(--ink);line-height:1.15;margin-bottom:18px}.school-intro-preview .school-intro-motto{color:var(--muted);font-size:15px;line-height:1.7;margin-bottom:24px}.school-intro-preview .school-intro-buttons{gap:10px}.school-intro-preview .school-intro-buttons .btn{font-size:12px;min-height:46px;padding:12px 14px}.school-intro-preview .school-intro-buttons .school-support-btn{background:#98432e;color:#fff;border-color:#98432e}.school-intro-preview .school-intro-buttons .school-support-btn:hover{background:#753322}.school-intro-preview .school-intro-buttons .school-projects-btn{background:#fffaf3;color:#753322;border-color:#cdb6a3}.school-intro-preview .school-intro-buttons a:focus-visible{outline-color:#753322}.school-intro-preview #kemberg-live-scene .scene-bar{padding-top:20px}}
@media(max-width:350px){.school-intro-preview .school-intro-overlay{padding-left:18px;padding-right:18px}.school-intro-preview h1{font-size:25px}.school-intro-preview .school-intro-buttons .btn{font-size:11px;padding:11px 12px}}

/* Schulportal: Innenabstände und ein eigener Scrollbereich unter festem Dialogkopf. */
.modal.wide-modal.school-modal{display:flex;flex-direction:column;width:780px;max-width:calc(100vw - 32px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;margin:auto}
.school-modal>.modal-heading{flex:0 0 auto}
.school-modal>form{display:flex;flex-direction:column;min-height:0;overflow:hidden;flex:1 1 auto}
.modal.wide-modal.school-modal .modal-body{padding:24px 28px;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1 1 auto;overflow-wrap:anywhere}
.school-modal .modal-footer{position:static;flex:0 0 auto;flex-wrap:wrap;padding:18px 24px;gap:10px}
.school-modal .modal-footer .btn{white-space:normal;min-height:44px}
.school-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.school-modal .modal-body>.field{margin-bottom:18px}
@media(max-width:650px){.modal.wide-modal.school-modal{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px)}.modal.wide-modal.school-modal .modal-body{padding:20px 18px}.school-modal .modal-footer{padding:14px 18px}.school-modal .modal-footer .btn{flex:1 1 150px}.school-modal .form-grid{grid-template-columns:minmax(0,1fr)}}


/* Finanzübersicht: Filter und Aktionen passen sich der nutzbaren Breite an. */
.finance-page{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere}
.finance-page>.panel,.finance-page #finance-results{min-width:0;max-width:100%}
.finance-page .finance-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;align-items:end;padding:24px}
.finance-page .finance-toolbar .field{min-width:0;width:100%;max-width:100%;margin:0}
.finance-page .finance-toolbar .field:last-child{grid-column:1/-1}
.finance-page .finance-toolbar input,.finance-page .finance-toolbar select{min-width:0;width:100%;max-width:100%;min-height:44px}
.finance-page .finance-account-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:24px}
.finance-page .finance-account-panel>div{min-width:0}
.finance-page .finance-account-panel .stack-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;width:100%;margin:0;min-width:0}
.finance-page .finance-account-panel .btn{white-space:normal;min-height:44px;width:100%;text-align:center}
.finance-page .finance-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.finance-page .stat-card{max-width:100%;min-width:0}
.finance-page .directory-count{overflow-wrap:anywhere}
.finance-page #finance-results .empty-state{padding:30px 24px;min-height:0}
.finance-page #finance-results .empty-state h3{color:var(--ink);margin-bottom:12px}
.finance-page #finance-results .empty-state p{color:var(--muted);font-size:13px;line-height:1.8;max-width:540px}
.finance-page .table-scroll{width:100%;max-width:100%;min-width:0}
@media(max-width:1100px){.finance-page .finance-account-panel{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.finance-page .finance-toolbar{grid-template-columns:minmax(0,1fr);padding:18px;gap:18px}.finance-page .finance-account-panel .stack-actions{grid-template-columns:minmax(0,1fr)}.finance-page .finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-page .finance-toolbar .field>span{font-size:12px}.finance-page #finance-results .empty-state{padding:26px 18px}}

.modal.wide-modal.people-modal{display:flex;flex-direction:column;width:780px;max-width:calc(100vw - 32px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;margin:auto}
.people-modal>.modal-heading{flex:0 0 auto}
.modal.wide-modal.people-modal .modal-body{padding:24px 28px;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1 1 auto;overflow-wrap:anywhere}
.people-modal .modal-footer{position:static;flex:0 0 auto;padding:18px 24px;flex-wrap:wrap}
.people-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.person-overview{padding-bottom:8px}.person-overview .person-labels{margin-bottom:12px}.person-overview>p{margin-bottom:12px}
.person-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 26px}.person-actions .btn{min-height:44px;white-space:normal}
.person-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.person-section{border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0;background:#fdfbf8}
.person-section>h3{font-size:17px;margin:0 0 18px;line-height:1.4}.person-section>p{margin-bottom:16px}.person-section .btn{white-space:normal;min-height:44px;max-width:100%}
.person-contact-ways{margin:0}.person-contact-ways>div{margin:0 0 14px}.person-contact-ways>div:last-child{margin-bottom:0}.person-contact-ways dt{font-size:12px;font-weight:600;color:var(--ink);margin-bottom:5px}.person-contact-ways dd{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.person-history-section{grid-column:1/-1}.person-relation-card{padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.person-relation-card p{margin:10px 0}.person-duplicate-action{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:650px){.modal.wide-modal.people-modal{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.modal.wide-modal.people-modal .modal-body{padding:20px 18px}.people-modal .modal-footer{padding:14px 18px}.people-modal .form-grid,.person-detail-grid{grid-template-columns:minmax(0,1fr)}.person-section{padding:18px}.person-actions .btn{flex:1 1 180px}.person-history-section{grid-column:auto}}

@media(max-width:1000px){.finance-page .finance-table,.finance-page .finance-table tbody{display:block;width:100%}.finance-page .finance-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.finance-page .finance-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;width:100%;padding:20px 24px;border-top:1px solid var(--line)}.finance-page .finance-table td{display:block;max-width:none;min-width:0;padding:0;border:0}.finance-page .finance-table td:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.finance-page .finance-table td:last-child{grid-column:1/-1}.finance-page .finance-table .btn{white-space:nowrap;min-height:44px}.finance-page .finance-table .person-label{white-space:normal}}
@media(max-width:650px){.finance-page .finance-table tr{grid-template-columns:minmax(0,1fr);padding:18px}.finance-page .finance-table td:last-child{grid-column:auto}}

/* Wochenendruhe im freigabepflichtigen E-Mail-Postausgang */
.mail-quiet-notice{background:#fff8eb;border:1px solid #e3ca95;border-radius:14px;padding:18px;margin:18px 0;overflow-wrap:anywhere}.mail-quiet-notice p{margin:10px 0 0}.mail-hold-note{color:#765b26}.modal-footer:has([data-action="send-approved-mail"]){flex-wrap:wrap;gap:10px}@media(max-width:650px){.modal-footer:has([data-action="send-approved-mail"]) .btn{flex:1 1 100%;white-space:normal;min-height:44px}}

/* Tagesüberschrift und lokale Jahreszeitenansicht: scoped auf die Schulansicht. */
.school-intro-preview .daily-headline{white-space:pre-line;text-wrap:balance;max-width:650px;font-size:clamp(29px,3.2vw,47px);line-height:1.16;margin-bottom:20px}
.school-intro-preview .daily-headline-author{color:#fff5e9;font-size:15px;line-height:1.6;margin:0 0 26px}.daily-headline-author cite{font-style:normal}.daily-headline-author[hidden]{display:none}
.school-intro #kemberg-live-scene [data-season]{min-width:155px;max-width:100%}
@media(max-width:650px){.school-intro-preview .daily-headline{font-size:clamp(25px,6.3vw,36px);max-width:100%;margin-bottom:20px}.school-intro-preview .daily-headline-author{color:#765443;font-size:13px;margin-bottom:22px}.school-intro #kemberg-live-scene .scene-actions{width:100%}.school-intro #kemberg-live-scene [data-season]{flex:1 1 100%}.school-intro #kemberg-live-scene [data-manual]{max-width:100%;flex-wrap:wrap}.school-intro #kemberg-live-scene [data-manual] label{max-width:100%;min-width:0}}

/* Finanzfilter: gemeinsame Innenkante und Abstand der Rücksetz-Aktion. */
.finance-page .finance-stats{margin-bottom:18px}
.finance-page .finance-stats .stat-card strong{display:block;line-height:1.35}
.finance-page .directory-count{padding:14px 24px;line-height:1.7}
.finance-page>.panel>.padded{padding:4px 24px 18px}
.finance-page>.panel>.padded .btn{max-width:100%;white-space:normal}
@media(max-width:650px){.finance-page .directory-count{padding-inline:18px}.finance-page>.panel>.padded{padding:4px 18px 18px}}

/* Ferienpflege: Aktion, Bestätigung und Erläuterung klar trennen. */
.holiday-editor>details{margin:20px 0 26px}
.holiday-editor>h3{margin:26px 0 16px}
.holiday-editor #holiday-rows:not(:empty){margin:20px 0}
.holiday-editor>[data-action="holiday-row-add"]{margin:0 0 20px;max-width:100%;white-space:normal}
.holiday-editor>.checkline{margin:0 0 20px;gap:12px}
.holiday-editor>.field-note{margin:20px 0 0;line-height:1.8}
.delegations-panel>.stack-actions{margin-bottom:18px;row-gap:12px}
.delegations-panel>.stack-actions+p{margin-top:0;margin-bottom:20px}
.delegations-panel>.muted{margin-top:20px}
.resolution-procedure-help{margin-top:24px}
.resolution-procedure-help>summary{padding:6px 0;cursor:pointer;line-height:1.5}
.resolution-procedure-help[open]>summary{margin-bottom:18px}
.resolution-procedure-help>p{margin:0 0 18px;line-height:1.8}
.resolution-procedure-help>p:last-child{margin-bottom:0}
.fh-office [data-action="fhub-pp-config"]{margin:4px 0 18px;white-space:normal}
.fh-office [data-action="fhub-pp-config"]+p{margin-top:0}
.fh-office .fh-actions:has(>[data-action^="fhub-pp-"]){margin:18px 0 22px;gap:12px}
