@font-face{font-family:Vazirmatn;src:url(schrift/Vazirmatn-Regular.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200D}@font-face{font-family:Vazirmatn;src:url(schrift/Vazirmatn-Bold.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200D}:root{--haupt: #7b2d5f;--haupt-dunkel: #5c1f46;--haupt-hell: #f6e9f1;--gold: #b8894a;--hg: #f7f2ef;--karte: #fff;--text: #2b2024;--leise: #6c5f66;--rand: #e6dbe0;--rot: #c62828;--rot-hg: #fdecec;--gruen: #2e7d32;--gruen-hg: #e8f5e9;--warn: #9a5b00;--warn-hg: #fff3df;--blau: #1f5f9e;--blau-hg: #e7f0fa;--r: 14px;--leiste: 64px;--kopf: 56px;--schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Vazirmatn", Tahoma, sans-serif;color-scheme:light}html[lang=fa]{--schrift: "Vazirmatn", Tahoma, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;background:var(--hg);color:var(--text);font:16px/1.5 var(--schrift);overflow-x:hidden;-webkit-tap-highlight-color:transparent}h1,h2,h3{line-height:1.25;margin:0 0 12px}h2{font-size:1.08rem}a{color:var(--haupt)}img{max-width:100%}[hidden]{display:none!important}bdi{unicode-bidi:isolate}.geld,.zahl{white-space:nowrap;font-variant-numeric:tabular-nums}.fett{font-weight:700}.rot{color:var(--rot)}.gruen{color:var(--gruen)}.leise-text{color:var(--leise);font-size:.92rem;margin:4px 0 10px}.unsichtbar{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}[dir=rtl] .zurueck .ic{transform:scaleX(-1)}.laden{min-height:100vh;display:grid;place-items:center}.kreisel{width:42px;height:42px;border:4px solid var(--haupt-hell);border-top-color:var(--haupt);border-radius:50%;animation:dreh .9s linear infinite}@keyframes dreh{to{transform:rotate(360deg)}}.anmelde-seite{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:16px}.anmelden{width:100%;max-width:400px}.marke-logo{text-align:center;margin-bottom:8px}.marke-logo img{border-radius:18px}.marke-logo h1{font-size:1.45rem;margin:10px 0 2px;color:var(--haupt-dunkel)}.sprachwahl{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:8px 0 14px}.pw{position:relative}.pw input{padding-inline-end:52px}.auge{position:absolute;inset-block:0;inset-inline-end:0;width:48px;border:0;background:none;color:var(--leise);display:grid;place-items:center;cursor:pointer}.auge[aria-pressed=true]{color:var(--haupt)}.kopf{position:sticky;top:0;z-index:20;height:calc(var(--kopf) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;display:flex;align-items:center;gap:4px;background:var(--haupt);color:#fff;box-shadow:0 1px 4px #00000026}.kopf-titel{flex:1;min-width:0;margin:0;padding-inline:8px;font-size:1.08rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zurueck,.glocke{width:44px;height:44px;display:grid;place-items:center;border:0;background:none;color:#fff;border-radius:50%;position:relative;cursor:pointer;text-decoration:none}.zurueck:active,.glocke:active{background:#ffffff26}.zahl-punkt{position:absolute;top:4px;inset-inline-end:2px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#ffcf5c;color:#3a2600;font-size:12px;font-weight:700;line-height:19px;text-align:center}.offline-leiste{background:var(--warn-hg);color:var(--warn);padding:8px 14px;font-size:.9rem;border-bottom:1px solid #f0d9ad}#inhalt{max-width:880px;margin:0 auto;padding:12px 12px calc(var(--leiste) + 24px + env(safe-area-inset-bottom));outline:none}.leiste{position:fixed;z-index:20;inset-inline:0;bottom:0;height:calc(var(--leiste) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--rand)}.nav-p{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--leise);text-decoration:none;font-size:.72rem;min-width:0}.nav-p span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}.nav-p.aktiv{color:var(--haupt);font-weight:700}@media(min-width:900px){.leiste{inset-inline-end:auto;top:var(--kopf);bottom:0;width:210px;height:auto;display:flex;flex-direction:column;padding:12px 8px;border-top:0;border-inline-end:1px solid var(--rand);gap:4px}.nav-p{flex-direction:row;justify-content:flex-start;gap:12px;font-size:.98rem;padding:10px 12px;border-radius:10px}.nav-p.aktiv{background:var(--haupt-hell)}#inhalt{margin-inline-start:max(222px,calc(50% - 335px));padding-bottom:32px}}.seite{display:block}.karte{background:var(--karte);border-radius:var(--r);padding:16px;margin:0 0 12px;box-shadow:0 1px 2px #3c14280f,0 1px 8px #3c14280a;border:1px solid #efe6ea}.rot-rand{border-inline-start:4px solid var(--rot)}.hinweis-karte{display:block;text-decoration:none;color:var(--warn);background:var(--warn-hg);border-color:#f0d9ad}.knopf{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:10px;border:1px solid var(--rand);background:#fff;color:var(--text);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;touch-action:manipulation}.knopf:disabled{opacity:.55;cursor:default}.knopf.haupt{background:var(--haupt);border-color:var(--haupt);color:#fff}.knopf.haupt:active{background:var(--haupt-dunkel)}.knopf.gefahr{color:var(--rot);border-color:#f1c4c4}.knopf.leise{background:transparent}.knopf.klein{min-height:36px;padding:4px 12px;font-size:.92rem}.knopf.breit{width:100%}.knopf.gross{min-height:52px;font-size:1.05rem}.knopf.aktiv{background:var(--haupt-hell);border-color:var(--haupt);color:var(--haupt-dunkel)}.knopf-icon{width:40px;height:40px;display:inline-grid;place-items:center;border:0;border-radius:50%;background:none;color:var(--leise);cursor:pointer}.knopf-icon.gefahr{color:var(--rot)}.knopfreihe{display:flex;flex-wrap:wrap;gap:10px}.neu-knopf{width:100%;margin-bottom:12px}:focus-visible{outline:3px solid #e2a8cd;outline-offset:2px}.feld{margin:0 0 14px;position:relative;min-width:0}.feld label{display:block;font-weight:600;font-size:.93rem;margin-bottom:5px}input,select,textarea{width:100%;min-height:46px;padding:10px 12px;font:inherit;font-size:16px;color:var(--text);background:#fff;border:1px solid #d5c6cd;border-radius:10px}textarea{min-height:70px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--haupt);outline:2px solid var(--haupt-hell)}input:disabled{background:#f4eff1;color:var(--leise)}input[type=checkbox]{width:22px;min-height:22px;height:22px;accent-color:var(--haupt);flex:none}input[type=date]{min-width:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}[aria-invalid=true]{border-color:var(--rot)!important;background:snow}.hinweis{font-size:.86rem;color:var(--leise);margin-top:5px}.hinweis.rot{color:var(--rot)}.hinweis.gruen{color:var(--gruen)}.reihe{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:0 12px}.schalter{display:flex;align-items:center;gap:10px;margin-bottom:14px;cursor:pointer}.fehlerbox{background:var(--rot-hg);color:#8e1b1b;border:1px solid #f3c2c2;padding:10px 12px;border-radius:10px;margin:0 0 12px;white-space:pre-line}.erfolg{color:var(--gruen);display:flex;align-items:center;gap:8px;font-weight:600;margin:8px 0}.leer{color:var(--leise);text-align:center;padding:14px 4px;margin:0}.mehr{display:block;text-align:center;padding:10px;font-weight:600;text-decoration:none}.notiz{background:#faf6f8;border-radius:8px;padding:8px 10px;white-space:pre-wrap;overflow-wrap:anywhere}.umbruch{white-space:pre-wrap;overflow-wrap:anywhere}.werkzeug{display:flex;gap:8px;margin-bottom:10px}.suche-rahmen{flex:1;min-width:0;position:relative;display:flex;align-items:center}.suche-rahmen .ic{position:absolute;inset-inline-start:12px;color:var(--leise);pointer-events:none}.suche{padding-inline-start:42px}.chips{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 8px;margin:0 -2px 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;min-height:36px;padding:4px 14px;border-radius:18px;border:1px solid var(--rand);background:#fff;font:inherit;font-size:.9rem;color:var(--text);cursor:pointer}.chip.aktiv{background:var(--haupt);border-color:var(--haupt);color:#fff}.segment{display:flex;border:1px solid var(--rand);border-radius:10px;overflow:hidden;margin-bottom:12px}.seg{flex:1;min-height:44px;border:0;background:#fff;font:inherit;font-size:.93rem;color:var(--text);cursor:pointer;padding:6px 4px}.seg+.seg{border-inline-start:1px solid var(--rand)}.seg.aktiv{background:var(--haupt);color:#fff;font-weight:700}.liste{display:flex;flex-direction:column}.zeile{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:10px 4px;border-bottom:1px solid #f1e9ed;color:inherit;text-decoration:none;min-width:0}.zeile:last-child{border-bottom:0}.zeile.ueberfaellig .zeile-titel{color:var(--rot)}.zeile-mitte{display:flex;flex-direction:column;min-width:0}.zeile-titel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zeile-unter{color:var(--leise);font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zeile-rechts{display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:.9rem;text-align:end}.offen{font-size:.84rem;color:var(--warn);white-space:nowrap}.offen.rot{color:var(--rot);font-weight:700}.foto-klein{width:56px;height:56px;border-radius:10px;object-fit:cover;background:#f1e8ec;display:grid;place-items:center;color:#b9a5ae}.rund{width:44px;height:44px;border-radius:50%;background:var(--haupt-hell);color:var(--haupt);display:grid;place-items:center;font-weight:700}.marke{display:inline-block;padding:2px 10px;border-radius:12px;font-size:.78rem;font-weight:700;white-space:nowrap;background:#eef0f3;color:#46505e}.marke.st-verschickt{background:var(--blau-hg);color:var(--blau)}.marke.st-angekommen{background:#f1e8fb;color:#5b2d91}.marke.st-bezahlt{background:var(--gruen-hg);color:var(--gruen)}.marke.rot,.marke.ueberfaellig{background:var(--rot-hg);color:var(--rot)}.marken{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.kacheln{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}@media(min-width:700px){.kacheln{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:1100px){.kacheln{grid-template-columns:repeat(4,minmax(0,1fr))}}.kachel{background:#fff;border:1px solid #efe6ea;border-radius:var(--r);padding:12px 14px;display:flex;flex-direction:column;gap:4px;color:inherit;text-decoration:none;min-width:0}.kachel-titel{color:var(--leise);font-size:.85rem}.kachel strong{font-size:1.18rem;overflow-wrap:anywhere}.kachel .zwei{font-size:.95rem;line-height:1.5}.kachel small{color:var(--leise);font-weight:400}.kachel.warn strong{color:var(--warn)}.kachel.rot strong{color:var(--rot)}.kachel.gruen strong{color:var(--gruen)}.kopf-karte{display:grid;grid-template-columns:minmax(96px,38%) 1fr;gap:14px;align-items:start}@media(max-width:380px){.kopf-karte{grid-template-columns:1fr}}.kopf-text{min-width:0}.kopf-text h2{font-size:1.2rem;overflow-wrap:anywhere;margin-bottom:4px}.kopf-text p{margin:0 0 4px;color:var(--leise)}.foto-knopf{padding:0;border:0;background:none;cursor:zoom-in;width:100%}.foto-gross{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#f1e8ec;display:grid;place-items:center;color:#b9a5ae}.foto-gross .ic{width:40px;height:40px}.kunde-link{display:inline-flex;align-items:center;gap:6px;font-weight:600;text-decoration:none;margin:4px 0}.werte{margin:0 0 10px;display:grid;gap:6px}.werte>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px dashed #efe4e9}.werte dt{color:var(--leise)}.werte dd{margin:0;text-align:end}.werte.gross dd{font-size:1.08rem}.werte .rot dd,.werte .rot dt{color:var(--rot)}.werte .gruen dd{color:var(--gruen)}.balken{height:10px;background:#f0e6eb;border-radius:6px;overflow:hidden;margin:6px 0 12px}.balken-fuell{display:block;height:100%;width:0;background:var(--gold);border-radius:6px;transition:width .3s}.balken-fuell.gruen{background:var(--gruen)}.tabelle{width:100%;border-collapse:collapse;margin:6px 0 12px;font-size:.95rem}.tabelle th,.tabelle td{padding:8px 6px;border-bottom:1px solid #f1e9ed;text-align:start;vertical-align:middle}.tabelle td:nth-child(2),.rechnung td{text-align:end}.rechnung th{font-weight:400;color:var(--leise)}.rechnung .summe th,.rechnung .summe td{font-weight:700;color:var(--text);font-size:1.05rem;border-bottom:0;border-top:2px solid var(--rand)}.rechnung-live{background:#fbf7f9;border-radius:10px;padding:6px 10px}.zahlung-form{border-top:1px solid var(--rand);padding-top:14px;margin-top:6px}.verlauf{display:flex;flex-direction:column;gap:8px}.verlauf-zeile{display:flex;flex-direction:column;font-size:.92rem;padding-bottom:8px;border-bottom:1px solid #f3ecef;overflow-wrap:anywhere}.verlauf-zeile.rot{color:var(--rot)}.verlauf-zeit{color:var(--leise);font-size:.8rem}.foto-teil{display:flex;flex-direction:column;gap:6px}.foto-waehlen{display:flex;align-items:center;gap:14px;cursor:pointer;flex-wrap:wrap}.foto-vorschau img,.foto-vorschau .leer-foto{width:110px;height:110px;border-radius:12px;object-fit:cover;background:#f1e8ec;display:grid;place-items:center;color:#b9a5ae}.foto-vorschau .ic{width:38px;height:38px}.kundenwahl .vorschlaege{position:absolute;z-index:15;inset-inline:0;top:100%;margin-top:4px;background:#fff;border:1px solid var(--rand);border-radius:10px;box-shadow:0 8px 24px #3c142826;max-height:320px;overflow-y:auto}.vorschlag{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:8px 12px;border:0;border-bottom:1px solid #f3ecef;background:#fff;font:inherit;text-align:start;cursor:pointer;color:var(--text)}.vorschlag.aktiv,.vorschlag:hover{background:var(--haupt-hell)}.vorschlag.neu{color:var(--haupt);font-weight:600}.kunde-gewaehlt{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:#fbf7f9;border-radius:10px;padding:10px}.neu-kunde{border:1px dashed #d8c3cd;border-radius:10px;padding:12px}.formular .knopf.breit{margin-bottom:20px}details summary{cursor:pointer;font-weight:600;min-height:32px}.schritte{padding-inline-start:22px;margin:0}.schritte li{margin-bottom:6px}.nachricht{display:flex;flex-direction:column;gap:2px;padding:12px;margin-bottom:8px;background:#fff;border-radius:12px;border:1px solid #efe6ea;color:inherit;text-decoration:none;overflow-wrap:anywhere}.nachricht.neu{border-inline-start:4px solid var(--gold)}.nachricht span{color:var(--leise);font-size:.92rem}.toast{position:fixed;z-index:60;inset-inline:12px;bottom:calc(var(--leiste) + 14px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;padding:12px 16px;border-radius:12px;background:#2b2024;color:#fff;box-shadow:0 6px 20px #00000040;transform:translateY(30px);opacity:0;pointer-events:none;transition:.25s}.toast.zeigen{transform:none;opacity:1}.toast.fehler{background:#8e1b1b}.toast.warn{background:#7a4a00}@media(min-width:900px){.toast{bottom:24px}}.dialog-hg,.foto-hg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#1e0a148c;display:grid;place-items:center;padding:16px}.dialog{background:#fff;border-radius:16px;padding:20px;max-width:420px;width:100%;box-shadow:0 12px 40px #0000004d}.dialog p{margin:0 0 18px;font-size:1.02rem;overflow-wrap:anywhere}.knoepfe{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.foto-hg img{max-width:100%;max-height:90vh;border-radius:10px;background:#fff}.schliessen{position:fixed;top:calc(12px + env(safe-area-inset-top));inset-inline-end:12px;width:44px;height:44px;border-radius:50%;border:0;background:#ffffffe6;font-size:28px;line-height:1;cursor:pointer}
