:root{--text: #111;--text2: #444;--rahmen: #c8c8c8;--hintergrund: #fff;--hell: #f4f4f4;--sofort: #b00020;--hoch: #c75000;--ok: #2e7d32;--touch: 44px}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--hintergrund);color:var(--text)}body{font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.4;-webkit-text-size-adjust:100%}#root{min-height:100vh;display:flex;flex-direction:column}a{color:var(--text)}h1,h2,h3{margin:0 0 .5rem;line-height:1.25}h1{font-size:1.35rem}h2{font-size:1.15rem}h3{font-size:1rem}p{margin:0 0 .75rem}small,.klein{font-size:.875rem;color:var(--text2)}hr{border:0;border-top:1px solid var(--rahmen);margin:1rem 0}.kopf{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-bottom:1px solid var(--rahmen);position:sticky;top:0;background:var(--hintergrund);z-index:5;padding-top:calc(.5rem + env(safe-area-inset-top))}.kopf h1{flex:1;font-size:1.1rem;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kopf a,.kopf button{min-height:var(--touch)}.zurueck{display:inline-flex;align-items:center;justify-content:center;min-width:var(--touch);text-decoration:none;font-size:1.3rem}main{flex:1;padding:.75rem;max-width:900px;width:100%;margin:0 auto;padding-bottom:calc(1.5rem + env(safe-area-inset-bottom))}button,.knopf{font:inherit;color:var(--text);background:var(--hintergrund);border:1px solid var(--text);border-radius:4px;min-height:var(--touch);padding:.5rem .9rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;text-decoration:none}button:disabled{opacity:.5;cursor:default}button.primaer,.knopf.primaer{background:var(--text);color:#fff}button.leise,.knopf.leise{border-color:var(--rahmen);color:var(--text2)}button.gefahr{border-color:var(--sofort);color:var(--sofort)}button.klein-knopf{min-height:36px;padding:.25rem .6rem;font-size:.9rem}.knopfzeile{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.knopfzeile.rechts{justify-content:flex-end}.block{width:100%}form{margin:0}.feld{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem}.feld label{font-weight:600;font-size:.95rem}.feld small{color:var(--text2)}input,select,textarea{font:inherit;color:var(--text);background:var(--hintergrund);border:1px solid var(--rahmen);border-radius:4px;min-height:var(--touch);padding:.5rem .6rem;width:100%}textarea{resize:vertical;min-height:5rem}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--text);outline-offset:1px}.feld-schalter{flex-direction:row;align-items:center;gap:.6rem;min-height:var(--touch)}.feld-schalter input{width:1.5rem;height:1.5rem;min-height:0;margin:0}.feld-schalter label{font-weight:500}.zeile2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.zeile3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.75rem}@media(max-width:420px){.zeile3{grid-template-columns:1fr 1fr}}fieldset{border:1px solid var(--rahmen);border-radius:4px;padding:.75rem;margin:0 0 .75rem}legend{font-weight:600;padding:0 .3rem}.fehler{border:1px solid var(--sofort);color:var(--sofort);padding:.6rem .75rem;border-radius:4px;margin:.75rem 0;white-space:pre-wrap}.hinweis{border:1px solid var(--rahmen);background:var(--hell);padding:.6rem .75rem;border-radius:4px;margin:.75rem 0;color:var(--text2);font-size:.95rem}.laden,.leer{color:var(--text2);padding:.75rem 0}.erfolg{color:var(--ok)}.badge{display:inline-block;font-size:.78rem;line-height:1.2;padding:.2rem .45rem;border:1px solid var(--rahmen);border-radius:3px;color:var(--text2);margin-right:.3rem;vertical-align:middle;white-space:nowrap}.badge-quelle{background:var(--hell)}.prio-sofort,.status-fehler{border-color:var(--sofort);color:var(--sofort);font-weight:600}.prio-hoch{border-color:var(--hoch);color:var(--hoch)}.status-erledigt,.status-fertig,.status-uebernommen,.status-abgeschlossen,.badge-ok{border-color:var(--ok);color:var(--ok)}.status-verworfen{text-decoration:line-through}.sofort-text{color:var(--sofort);font-weight:600}.hoch-text{color:var(--hoch)}.ok-text{color:var(--ok)}.liste{list-style:none;margin:0;padding:0}.karte{border:1px solid var(--rahmen);border-radius:4px;padding:.75rem;margin-bottom:.6rem;background:var(--hintergrund)}.karte.sofort{border-color:var(--sofort);border-width:2px}.karte.verworfen{opacity:.6}.karte-link{display:block;text-decoration:none;color:inherit}.karte-link:active{background:var(--hell)}.karte-kopf{display:flex;justify-content:space-between;gap:.5rem;align-items:baseline}.karte-kopf h3{flex:1;margin:0}.karte-titel{font-weight:600}.karte-zeile{display:flex;flex-wrap:wrap;gap:.25rem .75rem;color:var(--text2);font-size:.9rem;margin-top:.35rem}.karte-zeile strong{color:var(--text)}.karte-text{white-space:pre-wrap;margin-top:.35rem}.kennzahlen{display:flex;flex-wrap:wrap;gap:.25rem .9rem;font-size:.9rem;margin-top:.35rem}.kennzahlen span{white-space:nowrap}.reiter{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid var(--rahmen);margin:0 -.75rem .75rem;padding:0 .75rem;scrollbar-width:thin}.reiter a{flex:0 0 auto;min-height:var(--touch);display:inline-flex;align-items:center;padding:.5rem .75rem;text-decoration:none;color:var(--text2);border-bottom:3px solid transparent;white-space:nowrap}.reiter a.aktiv{color:var(--text);border-bottom-color:var(--text);font-weight:600}.reiter .zaehl{font-size:.75rem;border:1px solid var(--rahmen);border-radius:10px;padding:0 .4rem;margin-left:.35rem}.objekt-kopf{margin-bottom:.75rem}.adresse{color:var(--text2)}.filterzeile{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}.filterzeile>*{flex:1 1 140px}.filterzeile .feld{margin:0}.suche{margin-bottom:.75rem}.galerie{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem}.foto-kachel{border:1px solid var(--rahmen);border-radius:4px;overflow:hidden;background:var(--hell)}.foto-kachel img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:var(--hell)}.foto-kachel .foto-info{padding:.35rem .45rem;font-size:.82rem;color:var(--text2)}.foto-kachel.verworfen img{opacity:.4}.foto-gross img{display:block;max-width:100%;max-height:70vh;margin:0 auto}.foto-aufnahme input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.foto-aufnahme label.knopf{cursor:pointer}.foto-vorschau{max-width:100%;max-height:240px;display:block;margin:.5rem 0;border:1px solid var(--rahmen)}.aufklapp{border:1px solid var(--rahmen);border-radius:4px;margin-bottom:.75rem}.aufklapp-kopf{width:100%;justify-content:flex-start;border:0;text-align:left;font-weight:600}.aufklapp-inhalt{padding:.25rem .75rem .75rem;border-top:1px solid var(--rahmen)}.login{max-width:420px;margin:2rem auto}.login h1{margin-bottom:1rem}.fuss{text-align:center;color:var(--text2);font-size:.8rem;padding:1rem 0 0}.unsichtbar{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
