:root { --bg: #0f1218; --card: #1a1f2a; --card2: #232a37; --text: #eef1f5; --muted: #9aa4b2; --orange: #ff7a1a; --orange-soft: #3a2614; --ok: #2e7d4f; --bad: #b0392b; --warn: #8a6a15; }
* { box-sizing: border-box; } html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; } button { font: inherit; }
.top { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 18px) 22px 14px; gap: 12px; }
.top h1 { font-size: 24px; margin: 0; font-weight: 700; } .top .back, .top .homebtn { font-size: 26px; color: var(--muted); padding: 4px 8px; } .top .homebtn { color: var(--orange); }
.conn { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; } .conn .dot { width: 10px; height: 10px; border-radius: 50%; background: #2ecc71; display: inline-block; }
.page { padding: 10px 18px calc(env(safe-area-inset-bottom) + 90px); max-width: 760px; margin: 0 auto; }
.card { background: var(--card); border-radius: 18px; padding: 18px 20px; margin: 0 0 16px; } .card h3 { margin: 0 0 10px; font-size: 18px; } .card h4 { margin: 18px 0 6px; font-size: 15px; }
.summary .big { font-size: 22px; margin-top: 4px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.tile { background: var(--card); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; min-height: 160px; } .tile .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; } .tile b { font-size: 22px; } .tile span:not(.ic) { color: var(--muted); font-size: 15px; }
.foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 22px calc(env(safe-area-inset-bottom) + 14px); display: flex; justify-content: space-between; align-items: center; background: linear-gradient(transparent, var(--bg) 30%); } .foot .link { color: var(--orange); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 999px; border: 1px solid #3a4352; background: var(--card2); color: var(--text); font-weight: 600; cursor: pointer; } .btn.primary { background: var(--orange); border-color: var(--orange); color: #111; } .btn.big { width: 100%; padding: 15px; font-size: 17px; margin-top: 10px; } .btn.danger { color: #ff8a7a; border-color: #6a2b22; }
.link { background: none; border: 0; color: var(--orange); cursor: pointer; padding: 0; font-weight: 600; } .link.danger { color: #ff8a7a; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0; } .row.between { justify-content: space-between; align-items: center; }
.field { margin: 12px 0; } .field label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; } input, select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #3a4352; background: #0f1218; color: var(--text); font: inherit; } .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } @media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.muted { color: var(--muted); } .small { font-size: 14px; } .right { text-align: right; } .warn { background: #2a2210; border: 1px solid #5a4716; border-radius: 12px; padding: 10px 14px; margin: 10px 0; color: #f0d089; } .err { color: #ff8a7a; min-height: 1.4em; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; } .badge.ok { background: #1f3f2d; color: #8fe0b3; } .badge.bad { background: #44231f; color: #ff9d8f; } .badge.warn { background: #3f3416; color: #f0d089; }
.firma { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 12px; font-size: 15px; } .kv > div:nth-child(odd) { color: var(--muted); }
.list .le { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #2a3140; } .list .le:last-child { border-bottom: 0; }
.code { background: #0f1218; border-radius: 12px; padding: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; white-space: pre-wrap; margin: 10px 0; }
.login { max-width: 420px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 60px) 22px 40px; text-align: center; } .login .logo { width: 96px; height: 96px; border-radius: 24px; display: block; margin: 0 auto 16px; box-shadow: 0 6px 24px rgba(0,0,0,.45); } .login h1 { margin: 0; } .login .field { text-align: left; } .login .nf { margin-top: 18px; text-align: left; color: var(--muted); } .login .nf summary { cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 90px); transform: translateX(-50%); background: #2d3542; color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 15px; z-index: 50; max-width: 90%; } .toast.bad { background: var(--bad); }
/* Paket-Auswahl in der Firmenansicht */
.pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.paket { text-align: left; background: #171c25; border: 1.5px solid #2a3140; border-radius: 14px; padding: 12px; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: inherit; }
.paket b { font-size: 17px; } .paket span { font-size: 12.5px; color: #9aa3b2; line-height: 1.35; }
.paket.on { border-color: #ff7a1a; box-shadow: 0 0 0 1px #ff7a1a inset; } .paket.on b { color: #ff7a1a; }
@media (max-width: 560px) { .pakete { grid-template-columns: 1fr; } }
/* Gelbes Ausrufezeichen: Firma über Paket (Speicher, Konten, Läden) */
.bang { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f5c518; color: #1a1400; font-weight: 900; font-size: 16px; flex: none; }
.tile { position: relative; } .tile .bang { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; font-size: 18px; box-shadow: 0 0 0 4px rgba(245,197,24,.18); }
.bang.klein { width: 20px; height: 20px; font-size: 13px; margin-right: 8px; vertical-align: 2px; }
.bangtxt { color: #f5c518; }
.warnkarte { border: 1.5px solid #f5c518; } .warnkarte .row { gap: 10px; align-items: center; } .warnkarte ul { margin: 10px 0 0 18px; padding: 0; } .warnkarte li { margin: 4px 0; }
.sichzeile { margin-top: 8px; } .sichzeile.ok { color: #7fd3a0; } .sichzeile code { font-size: 12px; }

/* Rückmeldungen aus den Kundenbüchern */
.fbzahl { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #3b2f6b; color: #e7e0ff; margin-left: 6px; vertical-align: middle; }
.fbz { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); } .fbz:first-of-type { border-top: 0; } .fbz.erledigt { opacity: .55; }

/* Server-Speicher auf der Startseite */
.spbar { height: 10px; border-radius: 6px; background: rgba(127,127,127,.25); overflow: hidden; margin: 8px 0 6px; } .spbar i { display: block; height: 100%; border-radius: 6px; }

/* Notfall-Codes: Fenster zum Kopieren */
.nfov { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.nfkarte { max-width: 460px; width: 100%; }
.nfcodes { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: 1px; line-height: 1.6; padding: 12px 14px; border-radius: 10px; background: rgba(127,127,127,.15); user-select: all; -webkit-user-select: all; white-space: pre; overflow-x: auto; margin: 10px 0 14px; }
