.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.app-kopf {
  background: #0f1728; color: #fff; padding: calc(14px + env(safe-area-inset-top)) 18px 54px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.firmenlogo-app { display: block; background: #fff; border-radius: 8px; padding: 5px 9px; }
.firmenlogo-app img { display: block; height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.app-wer { text-align: right; font-size: 13px; color: #cdd5df; min-width: 0; }
.app-wer strong { display: block; color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-inhalt { flex: 1; padding: 0 14px 20px; margin-top: -40px; display: grid; gap: 14px; align-content: start; }
.app-fuss { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); }
.link-knopf { border: 0; background: none; color: var(--text3); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

.status { padding: 20px 18px; display: grid; gap: 4px; text-align: center; }
.status-zeile { display: flex; justify-content: center; }
.status-uhr { font-size: 46px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.status-unter { color: var(--text3); font-size: 14px; }

.stempel { padding: 18px; display: grid; gap: 14px; border-color: var(--primaer); box-shadow: 0 0 0 3px var(--primaer-hell), var(--schatten); }
.stempel-ort { display: flex; gap: 12px; align-items: center; }
.stempel-ort .kreis { background: var(--primaer); color: var(--auf-primaer); }
.stempel-ort .kreis svg { width: 18px; height: 18px; }
.stempel-ort strong { display: block; font-size: 17px; line-height: 1.2; }
.gps { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text2); }
.gps-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); flex: none; }
.gps.bereit .gps-punkt { background: var(--gut-kraeftig); }
.gps.fehler .gps-punkt { background: var(--krit); }
.gps.sucht .gps-punkt { animation: puls 1.2s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .25; } }
.gross {
  min-height: 64px; font-size: 19px; font-weight: 650; border-radius: 14px; width: 100%; border: 0; cursor: pointer;
  color: #fff; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.gross:disabled { opacity: .55; cursor: wait; }
.gross.kommen { background: #067647; }
.gross.gehen { background: #b42318; }
.gross.pause { background: #b54708; }
.gross:focus-visible { outline: 3px solid var(--primaer); outline-offset: 3px; }
.zwei-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zwei-knoepfe .gross { font-size: 17px; }

.hinweis-karte { padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.hinweis-karte .kreis svg { width: 18px; height: 18px; }
.erfolg-karte { padding: 22px 18px; text-align: center; display: grid; gap: 6px; background: var(--gut-bg); border-color: transparent; }
.erfolg-haken { width: 52px; height: 52px; border-radius: 50%; background: var(--gut-kraeftig); color: #fff; display: grid; place-items: center; margin: 0 auto 4px; }
.erfolg-haken svg { width: 30px; height: 30px; }
.erfolg-karte strong { font-size: 19px; color: var(--gut); }

.woche { padding: 16px 18px; display: grid; gap: 10px; }
.woche-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.woche-kopf strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.fortschritt { height: 8px; border-radius: 999px; background: var(--neutral-bg); overflow: hidden; }
.fortschritt span { display: block; height: 100%; border-radius: 999px; background: var(--balken); }
.verlauf-zeile { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 18px; border-bottom: 1px solid var(--rand); }
.verlauf-zeile:last-child { border-bottom: 0; }
.verlauf-zeile .marken { grid-column: 1 / -1; margin-top: 2px; }
