/* Baustellen-App Minderlein – Vorführfassung.
   Richtung A „Zimmermannsbuch, leicht“ (Wahl Hannes, 17.10.2026, Entwürfe V2):
   eine Frage pro Bildschirm, Firmenfarben (Eisblau, Greige, Karminrot, rotes M),
   Rot nur für den Hauptknopf und Zusatzarbeit, viel Luft, keine schweren Rahmen.
   Systemschriften: die App lädt nichts aus dem Internet. */

:root {
  --eis: #B0D4D8; --eis-hell: #E7F2F3; --greige: #B8B4AC; --papier: #F7F5F1; --weiss: #FFFFFF;
  --rot: #D0002D; --rot-hell: #FCE8EC; --text: #1C1B19; --text2: #57534C; --linie: #E2DED6;
  --gelb-hell: #FFF4DB; --orange: #C77F00; --gruen: #1E6B34; --gruen-hell: #E3F1E5;
  --hand: "Segoe Print", "Ink Free", "Bradley Hand", "Marker Felt", cursive;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --schatten: 0 1px 2px rgba(0,0,0,.07);
  --rund: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--text); background: var(--papier); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
.unsichtbar { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.laden { padding: 40px 22px; font-size: 18px; }
.leer { color: var(--text2); font-size: 16px; margin: 8px 0; }
.klein { font-size: 14px; color: var(--text2); }

/* ---------------------------------------------------------------- Logo */
.logo { display: inline-flex; align-items: flex-end; gap: 2px; line-height: 1; text-decoration: none; }
.logo svg { width: 40px; height: 36px; flex: none; }
.logo .zw { display: flex; flex-direction: column; }
.logo .z { font-family: var(--hand); font-size: 13px; margin: 0 0 2px 3px; }
.logo .n { font-family: var(--hand); font-size: 21px; font-weight: 700; }

/* ---------------------------------------------------------------- Handy: Rahmen */
.handy { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.kopf { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 22px 0; }
.zurueck { width: 48px; height: 48px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: var(--text2); flex: none; }
.m-zeichen { display: inline-flex; flex: none; }
.m-zeichen svg { width: 34px; height: 31px; }
.punkte { display: flex; gap: 6px; flex: 1; }
.punkte i { height: 6px; flex: 1; border-radius: 3px; background: var(--linie); }
.punkte i.an { background: var(--text); }
.empfang-ort { margin-left: auto; }
.empfang { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 600; color: var(--text2); white-space: nowrap; }
.empfang i { width: 10px; height: 10px; border-radius: 50%; background: #2E9A5B; }
.empfang.aus i { background: #E39A00; }
.vorf { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--text2); background: var(--weiss); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.statusleiste { display: flex; gap: 10px; align-items: flex-start; margin: 4px 22px 0; padding: 12px 14px; border-radius: 14px; background: var(--gelb-hell); font-size: 15px; line-height: 1.4; }
.statusleiste i, .lage i { width: 10px; height: 10px; border-radius: 50%; background: #E39A00; flex: none; margin-top: 6px; }
.seite-handy { flex: 1; padding: 0 22px 24px; }
.frage { font-size: 30px; line-height: 1.15; font-weight: 700; margin: 24px 0 6px; letter-spacing: -.3px; }
.frage.hand { font-family: var(--hand); font-size: 32px; }
.mitte { text-align: center; }
.unter { font-size: 17px; color: var(--text2); margin: 0 0 24px; }
.liste { display: grid; gap: 12px; }
.zeile { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 12px 18px; background: var(--weiss); border-radius: var(--rund); text-align: left; box-shadow: var(--schatten); }
.zeile b { display: block; font-size: 20px; }
.zeile span span { display: block; font-size: 15px; color: var(--text2); margin-top: 2px; }
.zeile .pfeil { margin-left: auto; font-size: 26px; color: var(--greige); }
.zeile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--rot); }
.kreis { width: 48px; height: 48px; border-radius: 50%; background: var(--eis); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.leise { display: block; margin: 22px auto 0; min-height: 48px; font-size: 16px; color: var(--text2); text-decoration: underline; text-underline-offset: 4px; text-align: center; }
.leise.links { margin: 6px 0 0; text-align: left; }
.tage { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.tage button { min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--weiss); font-weight: 600; box-shadow: var(--schatten); }
.tage button[aria-pressed="true"] { background: var(--text); color: #fff; }

/* Fuß mit Hauptknopf und Bereichsleiste */
.fuss { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); padding: 12px 22px 14px; background: linear-gradient(to top, var(--papier) 75%, rgba(247,245,241,0)); }
.haupt-knopf { width: 100%; min-height: 64px; border-radius: var(--rund); background: var(--rot); color: #fff; font-size: 20px; font-weight: 700; }
.haupt-knopf.dunkel { background: var(--text); }
.zweit-knopf { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; border-radius: var(--rund); background: var(--weiss); font-size: 18px; font-weight: 600; text-decoration: none; box-shadow: var(--schatten); margin-top: 12px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; background: var(--weiss); border-top: 1px solid var(--linie); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; max-width: 160px; min-height: 64px; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--text2); text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--text); box-shadow: inset 0 3px 0 var(--rot); }

/* Schritt 2: Stunden */
.uhr { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 26px; }
.uhr button { width: 84px; height: 84px; border-radius: 50%; background: var(--eis); font-size: 42px; font-weight: 600; line-height: 1; }
.uhr .wert { text-align: center; }
.uhr .wert b { display: block; font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.uhr .wert span { font-size: 17px; color: var(--text2); }
.schnell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.schnell button, .taet button { min-height: 60px; border-radius: 16px; background: var(--weiss); font-size: 19px; font-weight: 600; box-shadow: var(--schatten); }
.schnell button[aria-pressed="true"], .taet button[aria-pressed="true"] { background: var(--text); color: #fff; }

/* Schritt 3: Tätigkeiten */
.taet { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.taet button { text-align: left; padding: 0 16px; font-size: 18px; }
.taet button[aria-pressed="true"]::after { content: " ✓"; }

/* Schritt 4: Noch was? */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kachel { position: relative; min-height: 112px; border-radius: var(--rund); background: var(--weiss); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px; text-align: left; box-shadow: var(--schatten); cursor: pointer; }
.kachel svg { width: 30px; height: 30px; }
.kachel b { display: block; font-size: 18px; }
.kachel span span { display: block; font-size: 14px; color: var(--text2); margin-top: 2px; overflow-wrap: anywhere; }
.kachel.an, .kachel[aria-pressed="true"] { background: var(--rot-hell); box-shadow: inset 0 0 0 2px var(--rot); }
.kachel input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kachel:focus-within { outline: 3px solid var(--rot); outline-offset: 2px; }
.vorschau { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.vorschau div { position: relative; }
.vorschau img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.vorschau button { position: absolute; top: -10px; right: -10px; width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: #fff; font-size: 22px; }

/* Material und Hinweis */
.matz { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; background: var(--weiss); border-radius: var(--rund); box-shadow: var(--schatten); }
.matz .name { flex: 1; font-size: 17px; font-weight: 600; line-height: 1.2; }
.matz .name small { display: block; font-weight: 400; color: var(--text2); font-size: 14px; }
.matz button { width: 52px; height: 52px; border-radius: 14px; background: var(--eis); font-size: 26px; font-weight: 600; flex: none; }
.matz .zahl { min-width: 44px; text-align: center; font-size: 20px; font-weight: 800; }
.matz .zahl.null { color: var(--text2); font-weight: 600; }
.neumat { display: grid; gap: 12px; margin-top: 18px; background: var(--weiss); border-radius: var(--rund); padding: 16px; }
.neumat label { display: grid; gap: 4px; font-size: 15px; font-weight: 600; }
.neumat input, .neumat select, .zufuegen input, .hochladen input[type=text] { min-height: 52px; border: 1px solid var(--greige); border-radius: 12px; padding: 0 12px; font-size: 17px; background: var(--weiss); min-width: 0; width: 100%; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notizfeld { display: grid; gap: 12px; }
.notizfeld textarea { min-height: 180px; border: 1px solid var(--greige); border-radius: 16px; padding: 14px; font-size: 18px; line-height: 1.4; background: var(--weiss); resize: vertical; }
.tipp { font-size: 14px; color: var(--text2); }
.ankreuz { display: flex; gap: 12px; align-items: center; min-height: 48px; font-size: 16px; }
.ankreuz input { width: 26px; height: 26px; accent-color: var(--text); flex: none; }

/* Gespeichert */
.fertig .haken { width: 96px; height: 96px; border-radius: 50%; background: var(--eis); display: grid; place-items: center; margin: 40px auto 20px; }
.fertig .haken svg { width: 46px; height: 46px; }
.fertig .frage { margin-top: 0; }
.lage { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 16px; font-size: 16px; line-height: 1.4; margin-top: 20px; }
.lage.wartet { background: var(--gelb-hell); }
.lage.ok { background: var(--gruen-hell); justify-content: center; }
.zusammen { background: var(--weiss); border-radius: 16px; padding: 4px 18px; margin: 18px 0 8px; }
.zusammen div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 16px; }
.zusammen div:last-child { border: 0; }
.zusammen span { color: var(--text2); }
.zusammen b { text-align: right; }

/* Baustellenakte */
.akte .titel { font-size: 28px; margin: 18px 0 4px; letter-spacing: -.3px; }
.akte .unter { margin-bottom: 18px; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.zwei a { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 56px; padding: 6px 10px; border-radius: 16px; background: var(--weiss); font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; box-shadow: var(--schatten); }
.zwei a span { min-width: 0; overflow-wrap: anywhere; }
.sym { flex: none; width: 22px; height: 22px; }
/* Sprechen statt tippen: großer Knopf unter dem Textfeld, Zwischenstand grau */
.sprech { margin-top: 10px; }
.sprech-knopf { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 16px; border-radius: var(--rund); background: var(--eis); color: var(--text); font-size: 19px; font-weight: 700; line-height: 1.2; text-align: center; box-shadow: var(--schatten); }
.sprech-knopf .sym { width: 30px; height: 30px; }
.sprech-knopf[aria-pressed="true"] { background: var(--rot); color: #fff; animation: sprech-puls 1.4s ease-in-out infinite; }
.sprech-zwischen { margin: 8px 2px 0; font-size: 17px; line-height: 1.4; color: #6B675F; font-style: italic; }
.sprech-zwischen:empty { display: none; }
@keyframes sprech-puls { 50% { box-shadow: 0 0 0 6px var(--rot-hell); } }
@media (prefers-reduced-motion: reduce) { .sprech-knopf[aria-pressed="true"] { animation: none; } }
/* Plan in der App: großer Zurück-Knopf oben, darunter das Dokument */
.plan-kopf { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top)) 22px 8px; background: var(--papier); border-bottom: 1px solid var(--linie); }
.plan-kopf h1 { margin: 0; min-width: 0; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.zurueck-gross { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 52px; padding: 0 18px 0 14px; border-radius: 16px; background: var(--weiss); box-shadow: var(--schatten); font-size: 18px; font-weight: 700; }
.plan-seite .unter { margin: 16px 0 14px; font-size: 15px; }
.plan-seite .unter .marke { margin-left: 6px; }
.plan-bild { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--weiss); box-shadow: var(--schatten); }
.plan-pdf { display: block; width: 100%; height: calc(100vh - 250px); min-height: 420px; margin-top: 12px; border: 0; border-radius: 12px; background: var(--weiss); }
.plan-extern { margin-top: 0; text-decoration: none; }
.plan-ansicht.chef { max-width: 1100px; padding-bottom: 24px; }
.offline-akte { margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--gelb-hell); font-size: 15px; }
.zettel { background: var(--weiss); border-radius: var(--rund); padding: 18px; border-left: 6px solid var(--rot); }
.zettel h2, .stand h2 { font-size: 14px; letter-spacing: .8px; text-transform: uppercase; margin: 0 0 10px; color: var(--rot); }
.zettel ul { list-style: none; margin: 0; padding: 0; }
.zettel li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 8px 0; font-size: 17px; line-height: 1.4; }
.zettel .von { display: block; font-size: 13px; color: var(--text2); margin-top: 2px; }
.klein-knopf { min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--papier); font-size: 14px; font-weight: 600; flex: none; }
.zufuegen { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.zufuegen .klein-knopf { min-height: 52px; background: var(--eis-hell); }
.stand { margin-top: 14px; background: var(--eis-hell); border-radius: var(--rund); padding: 18px; }
.stand h2 { color: var(--text); }
.stand p { margin: 0; font-family: var(--hand); font-size: 18px; line-height: 1.45; }
.stand small { display: block; margin-top: 8px; font-size: 14px; color: var(--text2); }
.klappen { margin-top: 14px; background: var(--weiss); border-radius: var(--rund); overflow: hidden; }
.klappe + .klappe { border-top: 1px solid var(--linie); }
.klappe-kopf { display: flex; width: 100%; align-items: center; min-height: 62px; padding: 0 18px; font-size: 18px; font-weight: 600; text-align: left; }
.klappe-kopf .zusatz { margin-left: auto; font-weight: 400; color: var(--text2); font-size: 16px; }
.klappe-kopf .zusatz::after { content: "›"; display: inline-block; margin-left: 10px; font-size: 22px; color: var(--greige); transition: transform .15s; }
.klappe-kopf[aria-expanded="true"] .zusatz::after { transform: rotate(90deg); }
.klappe-inhalt { padding: 0 18px 16px; }
.plan { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); text-decoration: none; font-size: 16px; }
.plan b { display: block; }
.marke { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--eis-hell); color: #1F5A60; white-space: nowrap; }
.marke.alt { background: var(--papier); color: var(--text2); }
.fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fotos button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--papier); }
.fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.punkt { display: flex; gap: 12px; align-items: center; min-height: 56px; width: 100%; font-size: 17px; text-align: left; border-bottom: 1px solid var(--linie); }
.punkt i { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--greige); flex: none; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.punkt[aria-pressed="true"] { color: var(--text2); text-decoration: line-through; }
.punkt[aria-pressed="true"] i { background: var(--text); border-color: var(--text); color: #fff; }
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zahlen b { display: block; font-size: 26px; }
.zahlen span { font-size: 14px; color: var(--text2); }

/* Meine */
.liste-block { background: var(--weiss); border-radius: var(--rund); padding: 6px 18px 10px; margin-bottom: 14px; }
.liste-block h2 { font-size: 15px; margin: 12px 0 4px; color: var(--text2); }
.liste-block .e { padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 16px; line-height: 1.45; }
.liste-block .e:last-child { border: 0; }
.etikett { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--papier); color: var(--text); margin-left: 6px; vertical-align: 1px; }
.etikett.rot { background: var(--rot); color: #fff; }
.etikett.gelb { background: #FFE29A; color: #5A4300; }
.etikett.gruen { background: var(--gruen-hell); color: var(--gruen); }
.schalterzeile { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; font-size: 17px; font-weight: 600; text-align: left; }
.schalterzeile small { display: block; font-weight: 400; font-size: 14px; color: var(--text2); }
.bahn { margin-left: auto; width: 58px; height: 34px; border-radius: 999px; background: var(--greige); position: relative; flex: none; }
.bahn::after { content: ""; position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s; }
[aria-pressed="true"] > .bahn { background: var(--rot); }
[aria-pressed="true"] > .bahn::after { left: 28px; }

/* Foto groß, Meldung, Dialog */
.gross-bild { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.gross-bild img { max-width: 100%; max-height: 78vh; border-radius: 12px; background: #fff; }
.gross-bild p { color: #fff; font-size: 17px; margin: 12px 0; text-align: center; }
.gross-bild button { min-height: 56px; padding: 0 28px; border-radius: 16px; background: #fff; font-weight: 700; font-size: 18px; }
.meldung { position: fixed; left: 50%; transform: translateX(-50%); top: 14px; z-index: 40; max-width: calc(100% - 24px); width: 460px; background: var(--text); color: #fff; padding: 14px 16px; border-radius: 16px; font-weight: 600; font-size: 16px; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.meldung.gut { background: var(--gruen); }
.dialog-hg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 35; display: grid; place-items: center; padding: 16px; }
.dialog { background: var(--weiss); border-radius: 20px; max-width: 560px; padding: 24px 26px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.dialog h2 { margin: 0 0 10px; font-size: 22px; }
.dialog p { font-size: 16px; line-height: 1.5; }
.knopf { min-height: 52px; padding: 0 22px; border-radius: 14px; background: var(--weiss); font-weight: 700; font-size: 16px; box-shadow: var(--schatten); }
.knopf.schwarz { background: var(--text); color: #fff; }

/* ---------------------------------------------------------------- Rechner (Chef) */
.rechner { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.seite { background: var(--weiss); border-right: 1px solid var(--linie); padding: 26px 18px; }
.seite > .logo { margin: 0 8px; }
.seite h2 { margin: 30px 8px 8px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text2); }
.bsl { display: block; padding: 12px; margin-bottom: 4px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.bsl b { display: block; font-size: 15px; }
.bsl span { font-size: 13px; color: var(--text2); }
.bsl[aria-current="page"] { background: var(--eis-hell); }
.bsl .neu { float: right; font-size: 11px; font-weight: 700; color: #fff; background: var(--rot); padding: 2px 7px; border-radius: 999px; }
.seite .unten { margin: 30px 8px 0; font-size: 13px; color: var(--text2); line-height: 1.45; }
.seite .qr { width: 140px; height: 140px; background: #fff; border-radius: 10px; border: 1px solid var(--linie); padding: 6px; margin-top: 8px; display: block; }
.textlink { display: block; min-height: 32px; margin-top: 10px; font-size: 13px; color: var(--text2); text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.haupt { padding: 34px 48px 60px; max-width: 1140px; min-width: 0; }
.haupt-kopf { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.haupt-kopf h1 { margin: 0; font-size: 32px; letter-spacing: -.4px; line-height: 1.15; }
.haupt-kopf .ort { color: var(--text2); margin-top: 6px; font-size: 15px; }
.haupt-kopf .zweit-knopf { width: auto; min-height: 46px; margin: 0 0 0 auto; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.hinweis { display: flex; gap: 10px; align-items: center; margin: 20px 0 0; font-size: 15px; }
.hinweis i { width: 10px; height: 10px; border-radius: 50%; background: var(--rot); flex: none; }
.hinweis .textlink { display: inline; margin: 0; font-size: 15px; color: var(--text); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 34px; }
.kpi { background: var(--weiss); border-radius: 20px; padding: 22px 24px; }
.kpi span { font-size: 14px; font-weight: 600; color: var(--text2); }
.kpi b { display: block; font-size: 44px; letter-spacing: -1px; margin: 6px 0 4px; line-height: 1.1; }
.kpi b em { font-style: normal; font-size: 20px; color: var(--text2); letter-spacing: 0; }
.kpi small { font-size: 14px; color: var(--text2); }
.kpi.rotf b { color: var(--rot); }
.leiste { height: 8px; border-radius: 4px; background: var(--linie); margin-top: 14px; overflow: hidden; }
.leiste i { display: block; height: 100%; background: var(--text); }
.abschnitt { font-size: 20px; margin: 0 0 12px; }
.eintragliste { background: var(--weiss); border-radius: 20px; padding: 2px 24px; }
.eintragliste .e { display: grid; grid-template-columns: 170px 1fr 80px; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--linie); font-size: 15px; line-height: 1.4; align-items: start; }
.eintragliste .e:last-child { border: 0; }
.eintragliste .wer b { font-size: 16px; }
.eintragliste .wer .klein { display: block; }
.eintragliste .std { text-align: right; font-weight: 700; font-size: 16px; }
.eintragliste .e > .klein-knopf { justify-self: end; grid-column: 3; }
.bereich .eintragliste { padding: 0; }
.bereich .eintragliste .e { grid-template-columns: 1fr auto; }
.bereiche { display: grid; gap: 10px; margin-top: 30px; }
.bereich { background: var(--weiss); border-radius: 16px; }
.bereich summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 24px; font-size: 17px; font-weight: 600; }
.bereich summary::-webkit-details-marker { display: none; }
.bereich summary .kurz { margin-left: auto; font-weight: 400; color: var(--text2); font-size: 15px; text-align: right; }
.bereich summary::after { content: "›"; font-size: 24px; color: var(--greige); transition: transform .15s; }
.bereich[open] summary::after { transform: rotate(90deg); }
.bereich-inhalt { padding: 0 24px 22px; }
.attrappe { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text2); border: 1px dashed var(--text2); padding: 2px 7px; border-radius: 6px; margin-left: 8px; vertical-align: 2px; }
.balken { display: grid; grid-template-columns: 170px 1fr 70px; align-items: center; gap: 12px; margin: 8px 0; font-size: 15px; }
.balken .b { height: 10px; border-radius: 5px; background: var(--linie); overflow: hidden; }
.balken .b i { display: block; height: 100%; background: var(--eis); }
.balken .b i.z { background: var(--rot); }
.balken b { text-align: right; }
.leute { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); }
.leute div { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.leute b { display: block; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--eis); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--text2); padding: 8px 10px; border-bottom: 1px solid var(--linie); }
td { padding: 10px; border-bottom: 1px solid var(--linie); }
td.r, th.r { text-align: right; }
td.diff { color: var(--rot); font-weight: 700; }
.notiz { font-family: var(--hand); font-size: 17px; line-height: 1.45; background: var(--eis-hell); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }
.notiz .klein { font-family: var(--sans); }
.hochladen { display: grid; grid-template-columns: 1fr 140px; gap: 8px; margin-top: 14px; }
.hochladen .zweit-knopf { grid-column: 1 / -1; position: relative; margin: 0; min-height: 50px; font-size: 16px; background: var(--eis-hell); cursor: pointer; }
.hochladen input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hochladen .zweit-knopf:focus-within { outline: 3px solid var(--rot); outline-offset: 2px; }
.fstreifen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fstreifen button { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--papier); }
.fstreifen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.beleg { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 14px; }
.beleg:last-child { border: 0; }
.beleg .txt { flex: 1; min-width: 200px; }
.beleg b { display: block; font-size: 15px; }
.beleg .txt span { color: var(--text2); }
.beleg .st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.beleg .st.ok { background: var(--gruen-hell); color: var(--gruen); }
.beleg .st.p { background: #FFE29A; color: #5A4300; }
.beleg .wahl { width: 100%; display: flex; gap: 8px; flex-wrap: wrap; }
.beleg .wahl .klein-knopf { background: var(--eis-hell); }

@media (max-width: 900px) {
  .rechner { grid-template-columns: 1fr; }
  .seite { border-right: 0; border-bottom: 1px solid var(--linie); }
  .haupt { padding: 22px 16px 40px; }
  .kpis { grid-template-columns: 1fr; }
  .eintragliste { padding: 2px 16px; }
  .eintragliste .e { grid-template-columns: 1fr auto; }
  .eintragliste .e .was { grid-column: 1 / -1; grid-row: 2; }
  .bereich summary { padding: 10px 16px; flex-wrap: wrap; }
  .bereich-inhalt { padding: 0 16px 18px; }
  .balken { grid-template-columns: 110px 1fr 56px; }
  .haupt-kopf .zweit-knopf { margin-left: 0; }
  .hochladen { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Produkt: Chef-Bereiche, Verwaltung */
.empfang[role="status"] { cursor: default; }
.hauptnav { display: grid; gap: 4px; margin-top: 26px; }
.hauptnav .nav { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px; line-height: 1.25; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; }
.hauptnav .nav[aria-current="page"] { background: var(--eis-hell); }
.hauptnav .neu { margin-left: auto; float: none; white-space: nowrap; }
.neu.gelb { background: #FFE29A; color: #5A4300; }
.seite .leer.klein { margin: 4px 8px; }
.fertige { margin-top: 8px; }
.fertige summary { cursor: pointer; list-style: none; padding: 10px 12px; font-size: 13px; color: var(--text2); font-weight: 600; }
.fertige summary::-webkit-details-marker { display: none; }
.fertige summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .15s; }
.fertige[open] summary::before { transform: rotate(90deg); }
.kopf-knoepfe { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.kopf-knoepfe .zweit-knopf { width: auto; min-height: 46px; margin: 0; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.zwischen { font-size: 14px; letter-spacing: .6px; text-transform: uppercase; color: var(--text2); margin: 18px 0 6px; }
.eintragliste .wer .av { margin-right: 10px; vertical-align: middle; display: inline-grid; }
.bsliste { display: grid; gap: 10px; }
.bsz { display: grid; grid-template-columns: 1.4fr 1fr 130px 1fr; gap: 18px; align-items: center; background: var(--weiss); border-radius: 16px; padding: 16px 22px; text-decoration: none; font-size: 15px; }
.bsz .name b { display: block; font-size: 17px; }
.bsz .std b { display: block; font-size: 20px; }
.bsz .leiste { display: block; margin-top: 8px; max-width: 160px; }
.bsz .marken { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bsz .marken .etikett { margin: 0; }
.karte { background: var(--papier); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.karte h3 { margin: 0 0 12px; font-size: 18px; }
.formular label { display: grid; gap: 4px; font-size: 15px; font-weight: 600; }
.formular input, .formular select, .formular textarea { min-height: 52px; border: 1px solid var(--greige); border-radius: 12px; padding: 0 12px; font-size: 17px; background: var(--weiss); min-width: 0; width: 100%; font-weight: 400; }
.felder { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 16px; }
.knoepfe { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.knoepfe .leise { margin: 0; }
.haupt-knopf.schmal, .zweit-knopf.schmal { width: auto; min-height: 50px; padding: 0 22px; font-size: 16px; margin: 0; }
.zweit-knopf.schmal { background: var(--eis-hell); }
.vliste { display: grid; gap: 8px; margin-top: 14px; }
.vz { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 16px; border-radius: 14px; background: var(--papier); font-size: 15px; }
.vz .txt { flex: 1; }
.vz b { display: block; font-size: 16px; }
.vz .klein { display: block; }
.vz .etikett { margin-left: auto; }
.liste-text { width: 100%; max-width: 420px; border: 1px solid var(--greige); border-radius: 12px; padding: 12px; font-size: 16px; line-height: 1.5; background: var(--weiss); resize: vertical; }
.mattab input { min-height: 44px; border: 1px solid var(--greige); border-radius: 10px; padding: 0 10px; font-size: 15px; width: 100%; min-width: 70px; background: var(--weiss); }
.mattab td { padding: 6px 6px; }
.mattab td:first-child { width: 45%; }
@media (max-width: 900px) {
  .bsz { grid-template-columns: 1fr 1fr; }
  .bsz .marken { justify-content: flex-start; grid-column: 1 / -1; }
  .kopf-knoepfe { margin-left: 0; }
}

/* ---------- Anmeldung im Betrieb (Stufe 2): PIN-Tastatur, Passwort, erster Start ---------- */
.anmeldung .pinfeld { display: flex; justify-content: center; gap: 14px; margin: 10px 0 26px; min-height: 22px; }
.anmeldung .pinfeld i { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--text); }
.anmeldung .pinfeld i.an { background: var(--text); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 340px; margin: 0 auto; }
.pinpad button { min-height: 72px; border-radius: var(--rund); background: var(--weiss); box-shadow: var(--schatten); font-size: 28px; font-weight: 700; color: var(--text); }
.pinpad button.weg { font-size: 16px; font-weight: 600; color: var(--text2); background: var(--papier); box-shadow: none; }
.pinpad button.ok { background: var(--rot); color: #fff; }
.pinpad button:disabled { opacity: .35; }
.anmeldung form.formular { display: grid; gap: 14px; margin-top: 6px; }
.anmeldung form.formular .haupt-knopf { margin-top: 8px; }
.anmeldung .zeile { text-decoration: none; color: inherit; }
.hinweisbox { background: var(--eis-hell); border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.45; margin: 0 0 18px; color: var(--text); }
.seite .unten .klein { display: block; margin-top: 10px; }
button.leise { width: 100%; }
