Auf dem Handy (unter 880 px und Handys quer) sieht der Kundenbereich aus wie eine App; der Desktop bleibt pixelgleich. - Kopfzeile als App-Leiste: Logo, beim Scrollen der Seitentitel, Avatar - Navigation als Tab-Leiste unten mit Symbolen und Zaehlern; neuer Tab "Wartung" mit der Abo-Karte, Stundenkonto/Bestellung und Uebernahmegutschrift als Unterseiten mit Zurueck (auch Android-Geste) - Konto als Bottom-Sheet (Ansprechpartner, Vertraege kuendigen/widerrufen, Rechtliches, Abmelden), am Desktop als Popover unter dem Avatar - Rechnungen als Karten, Fortschritt als Zeitleiste, Chat fuellt den Bildschirm; bei offener Tastatur verschwindet die Tab-Leiste (kommt auch nach der Android-Zurueck-Geste wieder) - Installierbar: Manifest, App-Icons (WEBklar-Logo), Favicon, Hinweis "Zum Home-Bildschirm"; Service Worker nur fuer die Offline-Seite, Kundendaten werden nicht zwischengespeichert - Installierte App: Kuendigen/Widerrufen mit Link zurueck in den Kundenbereich (nur dort sichtbar, Texte unveraendert); Login-Links zu Bedingungen/Datenschutz/Impressum oeffnen wie im Dashboard ein neues Fenster - Login mit App-Icon und Abstaenden fuer Statusleiste/Home-Balken - Hinweise "in der Seitenleiste" haben auf dem Handy eine eigene Fassung Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
2.4 KiB
CSS
36 lines
2.4 KiB
CSS
:root { color-scheme: light; }
|
|
body { margin: 0; background: #f7f6f3; color: #1d1d1f; font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
|
|
main { max-width: 620px; margin: 0 auto; padding: 48px 20px 80px; }
|
|
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 10px; }
|
|
nav { font-size: 14px; margin-bottom: 26px; }
|
|
a { color: #6d1fd1; }
|
|
.card { background: #fff; border: 1px solid #e3e0da; border-radius: 16px; padding: 22px 24px; margin: 20px 0; }
|
|
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 4px; }
|
|
label small { font-weight: 400; color: #6b6b70; }
|
|
input, select, textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid #cfcac2; border-radius: 10px; background: #fff; }
|
|
textarea { min-height: 80px; }
|
|
.radio { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: 6px 0; }
|
|
.radio input { width: auto; }
|
|
.big-btn { display: inline-block; margin-top: 20px; background: #b3261e; color: #fff; border: none; font: inherit; font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 12px; cursor: pointer; }
|
|
.big-btn.primary { background: #6d1fd1; }
|
|
.big-btn:disabled { opacity: 0.55; cursor: default; }
|
|
.muted { color: #6b6b70; font-size: 14px; }
|
|
.error { color: #b3261e; font-weight: 600; }
|
|
.hidden { display: none !important; }
|
|
.ok { border-color: #3a8a4a; background: #f1faf2; }
|
|
dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0; }
|
|
dt { color: #6b6b70; }
|
|
dd { margin: 0; }
|
|
.brandline { font-weight: 800; letter-spacing: 0.12em; font-size: 13px; color: #6d1fd1; margin-bottom: 8px; }
|
|
fieldset { border: none; padding: 0; margin: 0; }
|
|
legend { font-weight: 600; font-size: 14px; margin: 14px 0 4px; }
|
|
#effective-date { margin-top: 6px; max-width: 220px; }
|
|
.print-btn { margin-top: 14px; background: #fff; color: #1d1d1f; border: 1px solid #cfcac2; border-radius: 10px; padding: 10px 16px; font: inherit; cursor: pointer; }
|
|
@media print { .print-btn, .no-print { display: none !important; } body { background: #fff; } .card { border: none; } }
|
|
/* Installierte App (Homescreen): Platz fuer die Statusleiste und ein Weg zurueck in den Kundenbereich */
|
|
.app-back { display: none; }
|
|
@media (display-mode: standalone) {
|
|
main { padding-top: max(48px, calc(env(safe-area-inset-top) + 20px)); }
|
|
.app-back { display: inline-block; margin-bottom: 18px; font-size: 15px; font-weight: 600; text-decoration: none; }
|
|
}
|