/* FF Deubach – neues Design am Handy.
   Wird NUR geladen, wenn js/43-ansicht.js am <html> die Klassen ffGross UND ffHandyNeu gesetzt hat (Schalter
   „Neues Design am Handy“ des Benutzers, js/66-handy-neu.js). JEDE Regel hier beginnt mit html.ffHandyNeu.
   Farben kommen ausschließlich aus den Variablen der Farbwelt in gross.css. Unschärfe nur an Kopf, Leiste unten
   und Blättern von unten (NAS und alte Handys). */

/* ---------- Farbe der Statusleiste je Farbwelt (liest js/66 aus und meldet sie der App-Hülle) ---------- */
html.ffGross.ffHandyNeu,html.ffGross.ffHandyNeu[data-farbe=lagune]{--hn-status:#e3f1ee}
html.ffGross.ffHandyNeu[data-farbe=nordsee]{--hn-status:#e8eff7}
html.ffGross.ffHandyNeu[data-farbe=salbei]{--hn-status:#eef4ea}
html.ffGross.ffHandyNeu[data-farbe=nebel]{--hn-status:#f3f5f5}
html.ffGross.ffHandyNeu[data-farbe=petrol]{--hn-status:#0f2f36}
html.ffGross.ffHandyNeu[data-farbe=tiefsee]{--hn-status:#0e1f33}
html.ffGross.ffHandyNeu[data-farbe=graphit]{--hn-status:#1a2125}
html.ffGross.ffHandyNeu{--hn-leiste:66px;--hn-unten:calc(var(--hn-leiste) + max(10px,env(safe-area-inset-bottom)) + 14px);--hn-rand:14px}

/* ---------- Grundfläche ---------- */
html.ffGross.ffHandyNeu{overflow-x:clip}
html.ffGross.ffHandyNeu main{padding:6px max(var(--hn-rand),env(safe-area-inset-right)) var(--hn-unten) max(var(--hn-rand),env(safe-area-inset-left))}
html.ffGross.ffHandyNeu.ffArbeit main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
html.ffGross.ffHandyNeu .grS{font-size:13px}
html.ffGross.ffHandyNeu input,html.ffGross.ffHandyNeu select,html.ffGross.ffHandyNeu textarea{font-size:16px}       /* iOS zoomt sonst beim Antippen */

/* ---------- Kopf: Titel links, Name (Kreis) rechts ---------- */
html.ffGross.ffHandyNeu #grKopf{position:sticky;top:0;width:100%;max-width:none;height:auto;min-height:56px;margin:0;border-radius:0;border:0;box-shadow:none;gap:8px;
  padding:max(8px,env(safe-area-inset-top)) max(var(--hn-rand),env(safe-area-inset-right)) 6px max(var(--hn-rand),env(safe-area-inset-left));
  background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
html.ffGross.ffHandyNeu #grKopf::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--glass);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  -webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
html.ffGross.ffHandyNeu #grMarke,html.ffGross.ffHandyNeu #grReiter,html.ffGross.ffHandyNeu #grScan,html.ffGross.ffHandyNeu #grSuchK{display:none!important}
html.ffGross.ffHandyNeu #hnKopfT{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.2}
html.ffGross.ffHandyNeu #hnKopfT b{font-size:21px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #hnKopfT span{font-size:13px;color:var(--tx2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
html.ffGross.ffHandyNeu[data-hnseite=seite] #hnKopfT{display:none}
html.ffGross.ffHandyNeu #grKopf #grIch{margin-left:auto;padding:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;flex:none}
html.ffGross.ffHandyNeu #grKopf #grIch .grIchT,html.ffGross.ffHandyNeu #grKopf #grIch>.gi{display:none}
html.ffGross.ffHandyNeu #grKopf #grIch .grIchK{width:42px;height:42px;font-size:15px}
/* Seiten mit eigenem Kopf (Zurück, Titel, Weg): Kreis rechts bleibt, Zeile wird schlank */
html.ffGross.ffHandyNeu[data-hnseite=seite] #grKopf{display:none}
html.ffGross.ffHandyNeu[data-hnseite=unter] #grKopf #grIch{display:none}
html.ffGross.ffHandyNeu.ffArbeit #grKopf,html.ffGross.ffHandyNeu.ffLogin #grKopf{display:none}

/* ---------- Leiste unten ---------- */
html.ffGross.ffHandyNeu #hnLeiste{position:fixed;z-index:30;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));height:var(--hn-leiste);
  display:grid;grid-template-columns:1fr 1fr 64px 1fr 1fr;align-items:center;padding:0 6px;border-radius:22px;background:var(--glass2);border:1px solid var(--gb);box-shadow:var(--sh)}
html.ffGross.ffHandyNeu:not(.hnOhneBlur) #hnLeiste{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html.ffGross.ffHandyNeu #hnLeiste.hide,html.ffGross.ffHandyNeu.ffArbeit #hnLeiste,html.ffGross.ffHandyNeu.ffLogin #hnLeiste,html.ffGross.ffHandyNeu.hnTastatur #hnLeiste,html.ffGross.ffHandyNeu.ffUnten #hnLeiste{display:none}
html.ffGross.ffHandyNeu #hnLeiste button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:54px;margin:0;padding:0;width:auto;min-height:0;
  background:transparent;border:0;box-shadow:none;border-radius:14px;color:var(--tx2);font-size:11.5px;font-weight:500}
html.ffGross.ffHandyNeu #hnLeiste button.an{color:var(--tx);font-weight:650}
html.ffGross.ffHandyNeu #hnLeiste button.an .gi{color:var(--acc)}
html.ffGross.ffHandyNeu #hnLeiste #hnScan{width:54px;height:54px;justify-self:center;border-radius:17px;background:var(--pri);color:var(--prit);box-shadow:0 6px 16px rgba(0,0,0,.18)}
html.ffGross.ffHandyNeu #hnLeiste .grBd{position:absolute;top:3px;left:calc(50% + 4px);font-style:normal;font-size:11px;min-width:18px;padding:0 5px;line-height:1.55}
html.ffGross.ffHandyNeu #hnLeiste .grBd.hide{display:none}

/* ---------- Seiten allgemein ---------- */
html.ffGross.ffHandyNeu .grSeite{padding:0;background:transparent;border:0;box-shadow:none}
html.ffGross.ffHandyNeu .grTitel{gap:8px;flex-wrap:wrap;margin-bottom:10px}
html.ffGross.ffHandyNeu .grTitel h2{font-size:20px}
html.ffGross.ffHandyNeu .hnSeite{padding-top:6px}
html.ffGross.ffHandyNeu .hnListe{display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu .hnUm{display:flex;width:100%;margin:2px 0 12px}
html.ffGross.ffHandyNeu .hnUm button{flex:1 1 0;min-width:0;white-space:nowrap;padding-left:4px;padding-right:4px}
html.ffGross.ffHandyNeu .hnUm.kl button{font-size:13px;min-height:36px}
html.ffGross.ffHandyNeu .hnFuss{margin:14px 4px 0;line-height:1.45}
html.ffGross.ffHandyNeu .hnHin{margin-top:14px}
html.ffGross.ffHandyNeu .hnLeer{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:38px 22px;color:var(--tx2)}
html.ffGross.ffHandyNeu .hnLeer b{color:var(--tx);font-size:16px;font-weight:600}
html.ffGross.ffHandyNeu .hnLeer .gi{color:var(--acc);opacity:.8}

/* Aufgaben-Zeile: Symbol, Text, Knopf rechts */
html.ffGross.ffHandyNeu .hnAufg{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--glass2);border:1px solid var(--gb);min-height:64px}
html.ffGross.ffHandyNeu .hnAufg.mein{border:1.5px solid var(--acc)}
html.ffGross.ffHandyNeu .hnAufg .grZt{flex:1 1 auto;min-width:0}
html.ffGross.ffHandyNeu .hnAufg .grZt b,html.ffGross.ffHandyNeu .hnAufg .grZt .grS{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu .hnAufgK{display:flex;flex-direction:column;gap:6px;flex:none;align-items:stretch}
html.ffGross.ffHandyNeu .hnAufgK .grMini{margin:0;white-space:nowrap}
html.ffGross.ffHandyNeu .hnAufgK>.gi{color:var(--tx2)}

/* Bereichs-Zeile und Treffer */
html.ffGross.ffHandyNeu .hnBz,html.ffGross.ffHandyNeu .hnTr{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:12px;min-height:64px;text-align:left;border-radius:16px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx);box-shadow:none}
html.ffGross.ffHandyNeu .hnBz .grZt,html.ffGross.ffHandyNeu .hnTr .grZt{flex:1 1 auto;min-width:0}
html.ffGross.ffHandyNeu .hnBz .grZt b,html.ffGross.ffHandyNeu .hnBz .grZt .grS,html.ffGross.ffHandyNeu .hnTr .grZt b,html.ffGross.ffHandyNeu .hnTr .grZt .grS{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu .hnBz>.gi:last-child,html.ffGross.ffHandyNeu .hnTr>.gi:last-child{color:var(--tx2);flex:none}
html.ffGross.ffHandyNeu .hnSuF{position:relative;margin:2px 0 14px}
html.ffGross.ffHandyNeu .hnSuF #hnSuX{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;min-height:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none;color:var(--tx2);display:flex;align-items:center;justify-content:center}
html.ffGross.ffHandyNeu .hnSuF #hnSuX.hide{display:none}
html.ffGross.ffHandyNeu .hnSuG{display:flex;align-items:baseline;justify-content:space-between;margin:16px 4px 8px}
html.ffGross.ffHandyNeu .hnSuG b{font-size:16px;font-weight:650}

/* ---------- Startseite ---------- */
html.ffGross.ffHandyNeu #viewGrStart .grTitel>div:first-child{display:none}                 /* Begrüßung steht im Kopf */
html.ffGross.ffHandyNeu #viewGrStart .grTitel{margin:0 0 10px}
html.ffGross.ffHandyNeu #viewGrStart .grTitel:empty{display:none}
html.ffGross.ffHandyNeu #grKomUmPlatz{flex:1 1 100%;order:-1}
html.ffGross.ffHandyNeu #grKomUmPlatz .grUm{display:flex;width:100%}
html.ffGross.ffHandyNeu #grKomUmPlatz .grUm button{flex:1}
html.ffGross.ffHandyNeu .grStempelPlatz{flex:1 1 100%}
html.ffGross.ffHandyNeu .grStp{width:100%;min-height:58px}
html.ffGross.ffHandyNeu .grStartLay{display:flex;flex-direction:column;gap:14px}
html.ffGross.ffHandyNeu .grStartL{display:contents}
html.ffGross.ffHandyNeu #grHeute{order:2;display:none;position:static;width:auto;max-height:none;padding:0;background:transparent;border:0;box-shadow:none}
html.ffGross.ffHandyNeu.hnMitHeute #grHeute:not(.hide){display:block}
html.ffGross.ffHandyNeu #viewGrStart .grTitel{order:0}
html.ffGross.ffHandyNeu #grHinweise{order:1}
html.ffGross.ffHandyNeu #grFav{order:3}
html.ffGross.ffHandyNeu #hnStand{order:4}
html.ffGross.ffHandyNeu #grRaster{order:5}
html.ffGross.ffHandyNeu #grHinweise:empty{display:none}
html.ffGross.ffHandyNeu #grHeute .grAufg{padding:12px}
html.ffGross.ffHandyNeu #grHeute .grListe{max-height:none;overflow:visible}
html.ffGross.ffHandyNeu #grHeute .grAufg:nth-child(n+4){display:none}                        /* Startseite: die ersten drei, alle unter „Aufgaben“ */
html.ffGross.ffHandyNeu .grFavZeile{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 calc(-1 * var(--hn-rand));padding:2px var(--hn-rand) 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html.ffGross.ffHandyNeu .grFavZeile::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu .grFavK{flex:none;width:auto;max-width:none;min-height:44px;padding:6px 14px 6px 8px}
html.ffGross.ffHandyNeu .grFavK .grIco{width:30px;height:30px}
/* Kacheln: zwei Spalten, Symbol, Titel und Unterzeile mittig, Zahl oben rechts */
html.ffGross.ffHandyNeu .grRaster,html.ffGross.ffHandyNeu .grRaster.grFunk,html.ffGross.ffHandyNeu #grRaster{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;grid-auto-rows:auto;height:auto;min-height:0}
html.ffGross.ffHandyNeu .grRaster .grLeer{display:none!important}
html.ffGross.ffHandyNeu .grRaster .grK.grKf{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:128px;height:auto;padding:14px 8px;margin:0;border-radius:20px}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grKo{display:block;width:auto}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grKo .grSp,html.ffGross.ffHandyNeu .grRaster .grK.grKf>.grSp{display:none}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grBd{position:absolute;top:10px;right:10px}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grIco{margin:0 auto}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grKt{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grKt b{font-size:16px;line-height:1.2;text-align:center;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grKt .grS{text-align:center;line-height:1.3}
html.ffGross.ffHandyNeu .grRaster .grK.grKf .grNurKom{margin:4px auto 0}
/* „Alles kompakt“ und „Stand auf einen Blick“: Bereiche klein, Symbol links */
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster{gap:10px}
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster .grK.grKf,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster .grK.grKf{flex-direction:row;justify-content:flex-start;text-align:left;min-height:58px;padding:9px 10px;gap:10px;border-radius:16px}
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster .grK.grKf .grKt,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster .grK.grKf .grKt{align-items:flex-start;min-width:0}
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster .grK.grKf .grKt b,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster .grK.grKf .grKt b{font-size:15px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster .grK.grKf .grKt .grS,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster .grK.grKf .grKt .grS{display:none}
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster .grK.grKf .grIco,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster .grK.grKf .grIco{width:36px;height:36px;margin:0}
html.ffGross.ffHandyNeu[data-hnstart=kompakt] #grRaster .grK.grKf .grBd,html.ffGross.ffHandyNeu[data-hnstart=stand] #grRaster .grK.grKf .grBd{top:-6px;right:-4px}
html.ffGross.ffHandyNeu[data-hnstart=kacheln] #grFav{display:none}                           /* große Kacheln: Favoriten liegen hinter dem Namen (Anpassen) */
/* Stand auf einen Blick */
html.ffGross.ffHandyNeu #hnStand{display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu .hnRingK{display:flex;align-items:center;gap:14px;width:100%;margin:0;padding:14px;text-align:left;border-radius:20px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx);box-shadow:none}
html.ffGross.ffHandyNeu .hnRing{--p:0;flex:none;width:74px;height:74px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--pri) calc(var(--p) * 1%),var(--accbg) 0)}
html.ffGross.ffHandyNeu .hnRing b{width:56px;height:56px;border-radius:50%;background:var(--ovbg);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:650}
html.ffGross.ffHandyNeu .hnRingK .grZt b{display:block;font-size:17px}
html.ffGross.ffHandyNeu .hnRingP{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
html.ffGross.ffHandyNeu .hnZahlen{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
html.ffGross.ffHandyNeu .hnZahl{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;padding:10px;min-height:0;text-align:left;border-radius:16px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx);box-shadow:none;min-width:0}
html.ffGross.ffHandyNeu .hnZahl b{font-size:20px;font-weight:650}
html.ffGross.ffHandyNeu .hnZahl .grPille{font-size:11.5px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* ---------- Menü eines Bereichs ---------- */
html.ffGross.ffHandyNeu #viewGrBereich .grTitel>div{display:none}
html.ffGross.ffHandyNeu #viewGrBereich .grTitel{margin:0}
html.ffGross.ffHandyNeu #viewGrBereich #grBZur:not(.hide){display:inline-flex;margin-bottom:10px}
html.ffGross.ffHandyNeu #viewGrBereich .grStempelPlatz{display:none}

/* ---------- Blatt von unten, Rückfrage, Benutzer-Menü ---------- */
html.ffGross.ffHandyNeu #grBlatt{align-items:flex-end;padding:0}
html.ffGross.ffHandyNeu #grBlatt .grBlattK{position:relative;width:100%;max-width:none;max-height:calc(100dvh - max(28px,env(safe-area-inset-top)) - var(--hn-tast,0px));overflow:auto;margin:0;margin-bottom:var(--hn-tast,0px);
  border-radius:24px 24px 0 0;padding:10px 18px calc(16px + env(safe-area-inset-bottom));background:var(--ovbg);border:0;-webkit-backdrop-filter:none;backdrop-filter:none;animation:hnHoch .22s ease-out}
html.ffGross.ffHandyNeu #grBlatt .grBlattK h3{padding-right:40px;font-size:18px}
html.ffGross.ffHandyNeu .hnGriff{width:42px;height:5px;border-radius:3px;background:var(--line);margin:0 auto 12px}
html.ffGross.ffHandyNeu .hnBlattX{position:absolute;top:14px;right:12px;width:38px;height:38px;min-height:0;margin:0;padding:0;border-radius:50%;background:var(--accbg);color:var(--tx);border:0;box-shadow:none;display:flex;align-items:center;justify-content:center}
html.ffGross.ffHandyNeu #grBlatt .grBlattK .grBlattF{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));margin:14px -18px calc(-16px - env(safe-area-inset-bottom));padding:10px 18px calc(14px + env(safe-area-inset-bottom));background:var(--ovbg);border-top:1px solid var(--line);gap:10px;flex-wrap:nowrap}
html.ffGross.ffHandyNeu #grBlatt .grBlattK .grBlattF button{flex:1 1 0;min-height:50px;margin:0;white-space:nowrap}
html.ffGross.ffHandyNeu #grBlatt .grBlattK .grBlattF .grSp{display:none}
/* Rückfrage: Karte in der Mitte */
html.ffGross.ffHandyNeu #grBlatt:has(.hnFrage){align-items:center;padding:0 22px}
html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage{border-radius:22px;padding:20px 18px 0;margin:0;animation:hnAuf .16s ease-out}
html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage .hnGriff,html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage .hnBlattX{display:none}
html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage h3{padding-right:0}
html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage .grBlattF{position:static;margin:16px -18px 0;padding:12px 18px 16px;border-radius:0 0 22px 22px}
@keyframes hnHoch{from{transform:translateY(40%);opacity:.4}to{transform:none;opacity:1}}
@keyframes hnAuf{from{transform:scale(.94);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){html.ffGross.ffHandyNeu #grBlatt .grBlattK{animation:none!important}}
/* Benutzer-Menü */
html.ffGross.ffHandyNeu #grPop.hnPop{position:fixed;z-index:60;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto;max-width:none;max-height:86dvh;overflow:auto;border-radius:24px 24px 0 0;
  padding:10px 16px calc(16px + env(safe-area-inset-bottom));background:var(--ovbg);border:0;box-shadow:0 0 0 100vmax var(--dim);-webkit-backdrop-filter:none;backdrop-filter:none;animation:hnHoch .22s ease-out}
html.ffGross.ffHandyNeu #grPop.hnPop .grPz{min-height:52px;font-size:16px}
html.ffGross.ffHandyNeu #grPop.hnPop .grPz small,html.ffGross.ffHandyNeu .hnEArt .grPz small{display:block;font-size:12.5px;color:var(--tx2);font-weight:400;margin-top:1px}
html.ffGross.ffHandyNeu #grPop.hnPop .grPz span{text-align:left}
html.ffGross.ffHandyNeu #grPop.hnPop .grPzRot{justify-content:center;margin-top:8px;background:var(--glass2)}
html.ffGross.ffHandyNeu #grPop.hnPop .grFarbe{width:36px;height:36px}

/* ---------- Kurze Meldung unten, Lade-Balken oben ---------- */
html.ffGross.ffHandyNeu #toast,html.ffGross.ffHandyNeu #grSnack{left:14px;right:14px;width:auto;max-width:none;transform:none;bottom:calc(var(--hn-unten) + 4px);text-align:center}
html.ffGross.ffHandyNeu.ffArbeit #toast,html.ffGross.ffHandyNeu.ffArbeit #grSnack{bottom:calc(96px + env(safe-area-inset-bottom))}

/* ---------- Einstellungen ---------- */
html.ffGross.ffHandyNeu .hnEArt{display:flex;flex-direction:column;gap:6px;margin:4px 0 8px}
html.ffGross.ffHandyNeu .hnEArt .grPz{min-height:54px;text-align:left;border:1px solid var(--line);border-radius:14px}
html.ffGross.ffHandyNeu .hnEArt .grPz.an{border-color:var(--acc);background:var(--accbg)}
html.ffGross.ffHandyNeu .hnRadio{flex:none;width:20px;height:20px;border-radius:50%;border:2px solid var(--tx2);box-sizing:border-box}
html.ffGross.ffHandyNeu .hnEArt .grPz.an .hnRadio{border:6px solid var(--acc)}

/* ---------- Kopf: Zurück-Knopf (Quadrat mit Pfeil) ---------- */
html.ffGross.ffHandyNeu #grKopf #hnZur{flex:none;width:42px;height:42px;min-height:0;padding:0;margin:0;border-radius:13px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx);display:flex;align-items:center;justify-content:center}
html.ffGross.ffHandyNeu #grKopf #hnZur.hide{display:none}
html.ffGross.ffHandyNeu[data-hnseite=unter] .grSeite>.grTitel>div:first-child{display:none}
/* Seiten mit dem Kopf „Zurück · Titel · Weg“ (js/48) */
html.ffGross.ffHandyNeu #grSKopf{position:sticky;top:0;z-index:20;width:100%;max-width:none;margin:0;gap:10px;flex-wrap:nowrap;align-items:center;
  padding:max(8px,env(safe-area-inset-top)) max(var(--hn-rand),env(safe-area-inset-right)) 8px max(var(--hn-rand),env(safe-area-inset-left))}
html.ffGross.ffHandyNeu #grSKopf::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--glass);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
html.ffGross.ffHandyNeu #grSKopf .grZur{flex:none;height:42px;min-height:0;max-width:112px;margin:0;padding:0 10px 0 6px;border-radius:13px;font-size:14px}
html.ffGross.ffHandyNeu #grSKopf .grZur span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ffGross.ffHandyNeu #grSKopf .grSKT{flex:1 1 auto;min-width:0}
html.ffGross.ffHandyNeu #grSKopf h2{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #grSKopf #grSPfad{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #grSKopf .grSp{display:none}
html.ffGross.ffHandyNeu #grSKopf #grSRechts{flex:none}
html.ffGross.ffHandyNeu #grSKopf #grSRechts:empty{display:none}
html.ffGross.ffHandyNeu #hnLeiste{transform:translateZ(0)}

/* ---------- Anmelden (Entwurf 01 V, C): Bild, darüber drei große Tasten; „Anmelden“ öffnet das Formular ---------- */
html.ffGross.ffHandyNeu body.login{display:flex;flex-direction:column;justify-content:flex-end;min-height:100dvh;padding:0}
html.ffGross.ffHandyNeu body.login main{padding:0 14px calc(46px + env(safe-area-inset-bottom));width:100%;max-width:none;display:flex;flex-direction:column;justify-content:flex-end;flex:1 1 auto}
html.ffGross.ffHandyNeu body.login #grLWehr{left:20px;right:20px;top:auto;bottom:auto;position:absolute;top:max(34dvh,180px);max-width:none}
html.ffGross.ffHandyNeu body.login #grLWehr b{font-size:30px}
html.ffGross.ffHandyNeu body.login #grLWehr span{font-size:14px}
html.ffGross.ffHandyNeu:not(.hnLWahl) body.login #grLWehr{top:max(20px,env(safe-area-inset-top))}
html.ffGross.ffHandyNeu body.login #grLFuss{left:0;right:0;justify-content:center;gap:10px;font-size:12px;bottom:max(12px,env(safe-area-inset-bottom))}
html.ffGross.ffHandyNeu body.login #viewLogin{width:100%;max-width:none;padding:20px 18px;border-radius:24px;-webkit-backdrop-filter:none;backdrop-filter:none;background:#f4f9f9}
html.ffGross.ffHandyNeu.hnLWahl body.login #viewLogin{background:transparent;border:0;box-shadow:none;padding:0}
html.ffGross.ffHandyNeu.hnLWahl body.login .grLOben{display:none}
html.ffGross.ffHandyNeu body.login #loginChoice:not(.hide){display:flex!important;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu body.login #loginUni.hide{display:none!important}
html.ffGross.ffHandyNeu body.login .grLOhne{display:none}
html.ffGross.ffHandyNeu body.login #uniBack{display:flex!important}
html.ffGross.ffHandyNeu body.login #loginChoice .lbtn{display:flex;align-items:center;gap:14px;width:100%;min-height:74px;margin:0;padding:12px 44px 12px 14px;border-radius:20px;text-align:left;position:relative;
  background:#f4f9f9;color:#12343b;border:1px solid rgba(255,255,255,.9);box-shadow:0 10px 26px rgba(0,0,0,.28);font-size:17px;font-weight:650}
html.ffGross.ffHandyNeu body.login #loginChoice .lbtn .ic{flex:none;width:46px;height:46px;border-radius:14px;background:rgba(18,106,116,.12);color:#126a74;display:flex;align-items:center;justify-content:center;font-size:0}
html.ffGross.ffHandyNeu body.login #loginChoice .lbtn>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
html.ffGross.ffHandyNeu body.login #loginChoice .lbtn>span:last-child::after{content:attr(data-x);font-size:13px;font-weight:400;color:#4a676f}
html.ffGross.ffHandyNeu body.login #loginChoice .lbtn::after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:translateY(-50%) rotate(45deg);opacity:.7}
html.ffGross.ffHandyNeu body.login #loginChoice #lbLogin{background:#126a74;color:#fff;border-color:transparent}
html.ffGross.ffHandyNeu body.login #loginChoice #lbLogin .ic{background:rgba(255,255,255,.18);color:#fff}
html.ffGross.ffHandyNeu body.login #loginChoice #lbLogin>span:last-child::after{color:rgba(255,255,255,.88)}
html.ffGross.ffHandyNeu body.login #hnLFehl{margin:6px 2px 0;font-size:13px;line-height:1.4;color:#8a1616}
html.ffGross.ffHandyNeu body.login #hnLFehl.hide{display:none}
html.ffGross.ffHandyNeu body.login #hnLFehl span{display:block;margin-top:8px;padding:10px 12px;border-radius:12px;background:rgba(18,52,59,.07);color:#35525a}
html.ffGross.ffHandyNeu body.login #viewLogin input.hnFehl{border:2px solid #b00000}
html.ffGross.ffHandyNeu body.login .grLBleib{display:flex;align-items:center;gap:10px;margin:12px 0 2px}
html.ffGross.ffHandyNeu body.login .grLBleib span{flex:1;font-size:14px}
html.ffGross.ffHandyNeu body.login .grLBleib .grTgl{flex:none}

/* ---------- Seitenkopf: Knöpfe der Seite in eine zweite Zeile ---------- */
html.ffGross.ffHandyNeu #grSKopf{flex-wrap:wrap}
html.ffGross.ffHandyNeu #grSKopf .grSKT{flex:1 1 0}
html.ffGross.ffHandyNeu #grSKopf #grSRechts{flex:1 1 100%;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:2px 0 0}
html.ffGross.ffHandyNeu #grSKopf #grSRechts::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu #grSKopf #grSRechts>*{flex:1 0 auto;margin:0;min-height:44px;white-space:nowrap;justify-content:center}
html.ffGross.ffHandyNeu .grSeite>.grTitel>button,html.ffGross.ffHandyNeu .grSeite>.grTitel>.grMini{flex:1 1 auto;justify-content:center;margin:0}
html.ffGross.ffHandyNeu .grSeite>.grTitel>.grSp{display:none}
/* ---------- Karten und Listen: weniger Rand, volle Breite ---------- */
html.ffGross.ffHandyNeu main>section.card{padding:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html.ffGross.ffHandyNeu .grZK,html.ffGross.ffHandyNeu .grKarte{padding:14px;border-radius:20px}
html.ffGross.ffHandyNeu .grM2,html.ffGross.ffHandyNeu .grM3,html.ffGross.ffHandyNeu .grZwei{display:flex;flex-direction:column;gap:12px}
html.ffGross.ffHandyNeu .grUm{max-width:100%;overflow-x:auto;scrollbar-width:none}
html.ffGross.ffHandyNeu .grUm::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu .grUm button{flex:1 0 auto}
/* feste Knopf-Zeile unten: über der Leiste, im Vollbild am unteren Rand, bei offener Tastatur darüber */
html.ffGross.ffHandyNeu .grM3Fuss{position:sticky;bottom:calc(var(--hn-unten) - 4px);z-index:15;display:flex;gap:10px;padding:10px;margin:12px 0 0;border-radius:18px;background:var(--ovbg);border:1px solid var(--line);box-shadow:var(--sh)}
html.ffGross.ffHandyNeu.ffArbeit .grM3Fuss,html.ffGross.ffHandyNeu.hnTastatur .grM3Fuss{bottom:max(8px,env(safe-area-inset-bottom))}
html.ffGross.ffHandyNeu .grM3Fuss>button{flex:1 1 0;margin:0;min-height:50px;min-width:0}
html.ffGross.ffHandyNeu .grM3Fuss>.grSp,html.ffGross.ffHandyNeu .grM3Fuss>span:empty{display:none}

/* ---------- Arbeits-Seite im Vollbild: schlanker Kopf (Zurück, Titel, Unterzeile) ---------- */
html.ffGross.ffHandyNeu.ffArbeit #grArbeit{position:sticky;top:0;width:100%;max-width:none;min-height:56px;margin:0;border-radius:0;border:0;box-shadow:none;gap:10px;flex-wrap:wrap;
  padding:max(8px,env(safe-area-inset-top)) max(var(--hn-rand),env(safe-area-inset-right)) 8px max(var(--hn-rand),env(safe-area-inset-left));background:var(--glass2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html.ffGross.ffHandyNeu #grArbeit #grArbMenue,html.ffGross.ffHandyNeu #grArbeit #grArbZeit,html.ffGross.ffHandyNeu #grArbeit .grSp{display:none}
html.ffGross.ffHandyNeu #grArbeit #grArbZurueck{flex:none;width:42px;height:42px;min-height:0;padding:0;justify-content:center;border-radius:13px}
html.ffGross.ffHandyNeu #grArbeit #grArbZurueck span{display:none}
html.ffGross.ffHandyNeu #grArbeit .grArbT{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
html.ffGross.ffHandyNeu #grArbeit .grArbT b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #grArbeit .grArbT .grS{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #grArbeit #grArbFort{flex:1 1 100%;margin:0}
html.ffGross.ffHandyNeu #grArbeit #grArbFort #grArbFortT{display:none}
html.ffGross.ffHandyNeu #grArbeit #grArbFort .grProg{width:100%;height:5px}
html.ffGross.ffHandyNeu.ffArbeit main{padding-top:10px}

/* ---------- Prüfmaske (js/70): Liste aller Punkte, Abschluss in zwei Schritten ---------- */
html.ffGross.ffHandyNeu #viewCheck:not(.hide){display:flex;flex-direction:column;gap:10px;background:transparent;border:0;padding:0}
html.ffGross.ffHandyNeu #viewCheck>*{margin-left:0;margin-right:0}
html.ffGross.ffHandyNeu #viewCheck>#grCheckSeite{position:static;display:flex;flex-direction:column;gap:0;margin:0}
html.ffGross.ffHandyNeu #viewCheck>#grCheckSeite>.grZK:first-child{display:none}
html.ffGross.ffHandyNeu #viewCheck>#grCheckSeite>.grZK{padding:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--hn-rand));padding:0 var(--hn-rand)}
html.ffGross.ffHandyNeu #viewCheck>#grCheckSeite>.grZK::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu #viewCheck>#grCheckSeite>.grZK h3{display:none}
html.ffGross.ffHandyNeu #viewCheck>#grCheckSeite .grPz{flex:none;width:auto;min-height:42px;padding:0 12px;border-radius:13px;background:var(--glass2);border:1px solid var(--gb);white-space:nowrap;font-size:14px}
html.ffGross.ffHandyNeu #viewCheck>.row{margin:0;display:flex;gap:10px}
html.ffGross.ffHandyNeu #viewCheck>.row>div{flex:1 1 0;min-width:0}
html.ffGross.ffHandyNeu #viewCheck #cTable,html.ffGross.ffHandyNeu #viewCheck #cTable tbody{display:flex;flex-direction:column;gap:10px;width:100%}
html.ffGross.ffHandyNeu #viewCheck #cTable tr{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;background:var(--glass2);border:1px solid var(--gb);position:relative}
html.ffGross.ffHandyNeu #viewCheck #cTable tr.grAkt{border:1.5px solid var(--acc)}
html.ffGross.ffHandyNeu #viewCheck #cTable td{display:block;padding:0;border:0;width:auto!important}
html.ffGross.ffHandyNeu #viewCheck #cTable td.grp{font-size:13px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--acc)}
html.ffGross.ffHandyNeu #viewCheck #cTable tr:has(td.grp){padding:6px 4px 0;background:transparent;border:0}
html.ffGross.ffHandyNeu #viewCheck #cTable td:first-child{font-size:15.5px;font-weight:550;line-height:1.35}
html.ffGross.ffHandyNeu #viewCheck #cTable td:last-child{display:flex;flex-direction:row;align-items:center;gap:8px}
html.ffGross.ffHandyNeu #viewCheck #cTable .note{flex:1 1 0;min-width:0;min-height:44px;margin:0}
html.ffGross.ffHandyNeu #viewCheck #cTable .seg{flex:none;display:flex;margin:0}
html.ffGross.ffHandyNeu #viewCheck #cTable .seg button{min-width:50px;min-height:44px;padding:0 8px;font-size:14.5px}
html.ffGross.ffHandyNeu #viewCheck>:is(#btnZwischen,#btnAbschluss,#btnAllJa,#btnSign,#btnSave){display:none!important}
html.ffGross.ffHandyNeu #viewCheck:not(.hnPrLesen)[data-hnschritt="1"]>:is(label,#cBemerkungPub,#cBemerkung,p.muted,#btnAusmustern,#cHint){display:none!important}
html.ffGross.ffHandyNeu #viewCheck[data-hnschritt="2"]>:is(#grCheckSeite,.row,#cTable,#grSchrittNav),html.ffGross.ffHandyNeu #viewCheck[data-hnschritt="3"]>:is(#grCheckSeite,.row,#cTable,#grSchrittNav,label,#cBemerkungPub,#cBemerkung,p.muted,#btnAusmustern,#cHint){display:none!important}
html.ffGross.ffHandyNeu #viewCheck>#btnAusmustern{width:100%!important;margin:10px 0 0}
html.ffGross.ffHandyNeu #viewCheck>label{margin:6px 2px 0}
html.ffGross.ffHandyNeu #hnPrZus.hide,html.ffGross.ffHandyNeu #hnPrFuss.hide{display:none}
html.ffGross.ffHandyNeu #hnPrZus{display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu .hnPrH{margin:2px 2px 0;font-size:17px}
html.ffGross.ffHandyNeu .hnPrErg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
html.ffGross.ffHandyNeu .hnPrErg>div{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:14px 6px;border-radius:16px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx2)}
html.ffGross.ffHandyNeu .hnPrErg>div b{font-size:14px;color:var(--tx)}
html.ffGross.ffHandyNeu .hnPrErg>div.an.ok{background:var(--okb);border-color:transparent;color:var(--okt)}
html.ffGross.ffHandyNeu .hnPrErg>div.an.ok b{color:var(--okt)}
html.ffGross.ffHandyNeu .hnPrErg>div.an.no{background:var(--nob);border-color:transparent;color:var(--not)}
html.ffGross.ffHandyNeu .hnPrErg>div.an.no b{color:var(--not)}
html.ffGross.ffHandyNeu .hnPrHin{margin:0 2px}
html.ffGross.ffHandyNeu .hnPrInfo{margin:0}
html.ffGross.ffHandyNeu #hnPrFuss{position:fixed;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--hn-tast,0px));margin:0;z-index:25}
html.ffGross.ffHandyNeu #hnPrFuss button{display:flex;align-items:center;justify-content:center;gap:8px}
html.ffGross.ffHandyNeu #hnPrFuss #hnPrWeiter,html.ffGross.ffHandyNeu #hnPrFuss #hnPrOk{flex:1.4 1 0}
html.ffGross.ffHandyNeu .hnFertig{width:64px;height:64px;border-radius:20px;background:var(--okb);color:var(--okt);display:flex;align-items:center;justify-content:center;margin:6px auto 12px}
html.ffGross.ffHandyNeu #grBlatt .grBlattK .grBlattF.hnHoch{flex-direction:column}
html.ffGross.ffHandyNeu #grBlatt .grBlattK .grBlattF.hnHoch button{flex:none;width:100%;display:flex;align-items:center;justify-content:center;gap:8px}

/* Prüfpunkt-Karte: Nummer links oben, Text daneben, darunter Wert und Ja / Nein / n. v. */
html.ffGross.ffHandyNeu #viewCheck #cTable tr:not(:has(td.grp)){align-items:stretch;text-align:left;padding:12px 12px 12px 46px}
html.ffGross.ffHandyNeu #viewCheck #cTable tr:not(:has(td.grp))::before{position:absolute;left:10px;top:11px;width:26px;height:26px;font-size:12.5px}
html.ffGross.ffHandyNeu #viewCheck #cTable tr:not(:has(td.grp)) td:first-child{text-align:left;flex:none}
html.ffGross.ffHandyNeu #viewCheck #cTable tr:not(:has(td.grp)) td:last-child{flex-direction:row-reverse;margin-left:-34px}
html.ffGross.ffHandyNeu #viewCheck #cTable tr:has(td.grp){text-align:left;align-items:flex-start}
html.ffGross.ffHandyNeu #viewCheck #cTable tr .seg button[class^=on-]{font-weight:650}
html.ffGross.ffHandyNeu #viewCheck{padding-bottom:84px!important}

/* ---------- Gewählter Eintrag = eigene Seite (am Tablet hochkant: Karte von unten, js/56) ---------- */
html.ffGross.ffHandyNeu.ffUnten :is(#grKat,#grBen,#grFzt,#viewGrFz,#grGhBox,#viewGrZeitAusw,#grAwBox) .grM2R,html.ffGross.ffHandyNeu.ffUnten #viewGrRep .grSpR,html.ffGross.ffHandyNeu.ffUnten #viewKomUebersicht .grGoR{
  position:fixed;z-index:40;left:0;right:0;top:0;bottom:0;width:auto;max-height:none;height:auto;margin:0;border-radius:0;border:0;box-shadow:none;overflow:auto;-webkit-overflow-scrolling:touch;
  padding:calc(max(8px,env(safe-area-inset-top)) + 54px) max(var(--hn-rand),env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(var(--hn-rand),env(safe-area-inset-left));
  background:var(--ovbg);-webkit-backdrop-filter:none;backdrop-filter:none;animation:hnRein .2s ease-out}
html.ffGross.ffHandyNeu.ffUnten :is(.grM2R,.grSpR,.grGoR)::before{display:none!important}
@keyframes hnRein{from{transform:translateX(24%);opacity:.3}to{transform:none;opacity:1}}
html.ffGross.ffHandyNeu.ffUnten #grUntenZu{position:fixed;z-index:41;left:max(var(--hn-rand),env(safe-area-inset-left))!important;right:auto!important;top:max(8px,env(safe-area-inset-top))!important;bottom:auto!important;width:42px;height:42px;min-height:0;border-radius:13px;background:var(--glass2);border:1px solid var(--line);color:var(--tx)}
/* Inhalt der Seite: eine Spalte */
html.ffGross.ffHandyNeu .grDKopf{display:flex;flex-direction:column;align-items:stretch;gap:12px}
html.ffGross.ffHandyNeu .grDKopf .grFoto,html.ffGross.ffHandyNeu .grDKopf>.grIco,html.ffGross.ffHandyNeu .grFoto.kl{width:100%;max-width:none;height:130px;aspect-ratio:auto;flex:none}
html.ffGross.ffHandyNeu .grDT{min-width:0}
html.ffGross.ffHandyNeu .grDT h3,html.ffGross.ffHandyNeu .grDT b{overflow-wrap:break-word}
html.ffGross.ffHandyNeu .grKv{grid-template-columns:minmax(96px,auto) minmax(0,1fr);gap:6px 12px}
html.ffGross.ffHandyNeu .grKv b{overflow-wrap:break-word;word-break:normal}
html.ffGross.ffHandyNeu .grDFuss{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px calc(-1 * var(--hn-rand)) calc(-20px - env(safe-area-inset-bottom));padding:10px var(--hn-rand) calc(14px + env(safe-area-inset-bottom));background:var(--ovbg);border-top:1px solid var(--line)}
html.ffGross.ffHandyNeu .grDFuss.hide{display:none}
html.ffGross.ffHandyNeu .grDFuss>*{margin:0;min-height:48px;width:100%;min-width:0}
html.ffGross.ffHandyNeu .grDFuss>.grSp{display:none}
html.ffGross.ffHandyNeu .grDFuss>:is(.grHaupt,.grBreit),html.ffGross.ffHandyNeu .grDFuss>:only-child{grid-column:1/-1}
html.ffGross.ffHandyNeu .grZweispalt{display:flex;flex-direction:column;gap:10px}
/* Listen links: volle Breite, Zeilen */
html.ffGross.ffHandyNeu :is(.grM2L,.grSpL,.grFzL){width:auto;max-width:none;position:static;max-height:none;overflow:visible}
html.ffGross.ffHandyNeu .grFzL .grListe,html.ffGross.ffHandyNeu #viewGrFz .grListe{display:flex;flex-direction:column;gap:10px;overflow:visible}
html.ffGross.ffHandyNeu .grFzZ,html.ffGross.ffHandyNeu .grLZ.grFzF{width:100%;min-width:0;flex:none}
html.ffGross.ffHandyNeu #grBen .grM2L .grListe,html.ffGross.ffHandyNeu #grFzt .grM2L .grListe,html.ffGross.ffHandyNeu #viewGrZeitAusw .grM2L .grListe,html.ffGross.ffHandyNeu #grGhBox .grM2L .grListe{display:flex;flex-direction:column;overflow:visible;gap:8px}
html.ffGross.ffHandyNeu #grBen .grM2L .grLZ,html.ffGross.ffHandyNeu #grFzt .grM2L .grLZ,html.ffGross.ffHandyNeu #viewGrZeitAusw .grM2L .grLZ,html.ffGross.ffHandyNeu #grGhBox .grM2L .grLZ{width:100%;min-width:0;flex:none}

/* ---------- Bestellungen: Liste nach Schritten, jeder Schritt mit Balken ---------- */
html.ffGross.ffHandyNeu .grBrett{display:flex;flex-direction:column;gap:12px;min-height:0}
html.ffGross.ffHandyNeu .grBrett .grSpalte{position:relative;padding:14px 14px 14px;gap:8px}
html.ffGross.ffHandyNeu .grBrett .grSpalte .grZKopf{padding-bottom:10px}
html.ffGross.ffHandyNeu .grBrett .grSpalte .grZKopf::after{content:"";position:absolute;left:14px;right:14px;top:44px;height:5px;border-radius:3px;background:linear-gradient(90deg,var(--pri) var(--bp,25%),var(--accbg) 0)}
html.ffGross.ffHandyNeu .grBrett .grSpalte:nth-child(2){--bp:50%}html.ffGross.ffHandyNeu .grBrett .grSpalte:nth-child(3){--bp:75%}html.ffGross.ffHandyNeu .grBrett .grSpalte:nth-child(4){--bp:100%}
html.ffGross.ffHandyNeu .grBrett .grSpalte:has(.grNix){padding-bottom:10px}
html.ffGross.ffHandyNeu .grBrett .grSpalte:has(.grNix)>.grS{display:none}
html.ffGross.ffHandyNeu :is(.grBPos,.grBeleg,.grBdKv){padding:12px}
html.ffGross.ffHandyNeu .grBD{display:flex;flex-direction:column;gap:12px}

/* Fahrzeug: drei Termine nebeneinander, Bezeichnung über dem Datum */
html.ffGross.ffHandyNeu .grFzTK{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html.ffGross.ffHandyNeu .grFzTerm{padding:10px 8px;min-width:0}
html.ffGross.ffHandyNeu .grFzTerm>span{flex-direction:column;align-items:flex-start;gap:4px}
html.ffGross.ffHandyNeu .grFzTerm .grPille{font-size:11px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu .grFzTerm b{font-size:15.5px;white-space:nowrap} html.ffGross.ffHandyNeu .grFzTerm :is(.grFzBis,.grFzDavor){font-size:11px;line-height:1.25;overflow-wrap:anywhere}
html.ffGross.ffHandyNeu .grFzAchs{font-size:14px}
/* Gerätehaus: Bereichs-Kacheln, Name ganz lesbar */
html.ffGross.ffHandyNeu .grGhB #ghBereichList .goItem{min-height:112px;padding:12px;flex-direction:column;align-items:flex-start;gap:6px;flex-wrap:nowrap}
html.ffGross.ffHandyNeu .grGhB #ghBereichList .goItem>*{min-width:0;max-width:100%}
html.ffGross.ffHandyNeu .grGhB #ghBereichList .goName{font-size:16px;white-space:normal;overflow-wrap:anywhere}
html.ffGross.ffHandyNeu #hmKacheln{order:4}
html.ffGross.ffHandyNeu #hmBox{order:6}
html.ffGross.ffHandyNeu #hmBox .hnAufg .grPille{flex:none}
/* Wiki-Ordner: Ordner als Zeile zum Wischen, Anleitungen zweispaltig */
html.ffGross.ffHandyNeu .grWo{display:flex;flex-direction:column;gap:12px}
html.ffGross.ffHandyNeu .grWoL{width:auto;max-width:none;position:static;padding:0;background:transparent;border:0;box-shadow:none}
html.ffGross.ffHandyNeu .grWoL>.grS,html.ffGross.ffHandyNeu .grWoL h3{display:none}
html.ffGross.ffHandyNeu .grWoL .grListe{display:flex;flex-direction:row;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--hn-rand));padding:0 var(--hn-rand)}
html.ffGross.ffHandyNeu .grWoL .grListe::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu .grWoL .grListe>*{flex:none;width:auto;white-space:nowrap;min-height:42px;border-radius:13px;background:var(--glass2);border:1px solid var(--gb)}
html.ffGross.ffHandyNeu .grWoR{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
html.ffGross.ffHandyNeu .grWoK{min-width:0;width:auto;padding:10px;display:flex;flex-direction:column;gap:6px;text-align:left;height:auto}
html.ffGross.ffHandyNeu .grWoK b{font-size:14.5px;overflow-wrap:anywhere;line-height:1.25}
html.ffGross.ffHandyNeu .grWoK .grWkBild{width:100%;height:auto;aspect-ratio:3/4}
@keyframes hnRein{from{transform:translateX(18%)}to{transform:none}}
html.ffGross.ffHandyNeu[data-hnseite=unter] .grSeite>.grTitel>.grZur{display:none}
html.ffGross.ffHandyNeu[data-hnseite=unter] .grSeite>.grTitel:not(:has(>:not(.grZur):not(div:first-of-type):not(.grSp))){display:none}

/* ---------- Bewegungsfahrt in vier Schritten (js/72) ---------- */
html.ffGross.ffHandyNeu.hnVoll #hnLeiste,html.ffGross.ffHandyNeu.hnVoll #grKopf,html.ffGross.ffHandyNeu.hnVoll #grSKopf{display:none!important}
html.ffGross.ffHandyNeu.hnVoll main{padding-top:0;padding-bottom:calc(96px + env(safe-area-inset-bottom))}
html.ffGross.ffHandyNeu #hnBwKopf.hide,html.ffGross.ffHandyNeu #hnBwFuss.hide{display:none}
html.ffGross.ffHandyNeu #hnBwKopf{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 calc(-1 * var(--hn-rand)) 10px;padding:max(8px,env(safe-area-inset-top)) var(--hn-rand) 8px;background:var(--glass2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html.ffGross.ffHandyNeu #hnBwKopf #hnBwZur{flex:none;width:42px;height:42px;min-height:0;margin:0;padding:0;border-radius:13px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx);display:flex;align-items:center;justify-content:center}
html.ffGross.ffHandyNeu #hnBwKopf .hnBwT{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
html.ffGross.ffHandyNeu #hnBwKopf .hnBwT b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #hnBwKopf .grProg{flex:1 1 100%;height:5px;border-radius:3px;background:var(--accbg);overflow:hidden}
html.ffGross.ffHandyNeu #hnBwKopf .grProg i{display:block;height:100%;background:var(--pri);border-radius:3px}
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt]>:is(#bfBack,h2,#bfMeta){display:none!important}
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt]>.row:has(#bfAllOk){display:none!important}
html.ffGross.ffHandyNeu #hnBwKopf{width:calc(100% + 2 * var(--hn-rand));max-width:none;box-sizing:border-box;flex:none}   /* Kopf über die ganze Breite (war rechts 28 px zu kurz) */
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt] #bfTable td.grp{padding-top:16px}
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt] #bfKmInfo{margin:6px 2px 0;font-size:14px}
/* seit 11.10.2026: 1 Vor der Fahrt (Fahrtdaten + „Vor“-Gruppen) · 2 übrige Checkliste · 3 Km-Stand Ende + Bemerkungen · 4 Unterschrift (js/72) */
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="1"]>:is(label,textarea,canvas,p.muted:not(:nth-of-type(1)),#bfKmERow),html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="1"]>.row:has(#bfSigClear),html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="1"] #bfTable tr[data-hnph="2"]{display:none!important}
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="2"]>:not(table):not(.grNeu),html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="2"] #bfTable tr[data-hnph="1"]{display:none!important}
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="3"]>:not(textarea):not(label):not(.grNeu):not(#bfKmERow),html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="3"]>label:has(+canvas){display:none!important}
html.ffGross.ffHandyNeu #viewBewFahrt[data-hnschritt="4"]>:not(canvas):not(label:has(+canvas)):not(.row:has(#bfSigClear)):not(p.muted:last-of-type):not(.grNeu){display:none!important}
html.ffGross.ffHandyNeu #viewBewFahrt .row{display:flex;gap:10px;margin:8px 0 0}
html.ffGross.ffHandyNeu #viewBewFahrt .row>div{flex:1 1 0;min-width:0}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable,html.ffGross.ffHandyNeu #viewBewFahrt #bfTable tbody{display:flex;flex-direction:column;gap:10px;width:100%}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable tr{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:var(--glass2);border:1px solid var(--gb)}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable tr:has(td.grp){padding:6px 4px 0;background:transparent;border:0}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable td{display:block;padding:0;border:0;width:auto!important;font-size:15.5px;font-weight:550}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable td.grp{font-size:13px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--acc)}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable .seg{display:flex;width:100%}
html.ffGross.ffHandyNeu #viewBewFahrt #bfTable .seg button{flex:1 1 0;min-height:46px}
html.ffGross.ffHandyNeu #viewBewFahrt canvas{height:200px}
html.ffGross.ffHandyNeu #hnBwFuss{position:fixed;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--hn-tast,0px));margin:0;z-index:25}
html.ffGross.ffHandyNeu #hnBwFuss button{display:flex;align-items:center;justify-content:center;gap:8px}
html.ffGross.ffHandyNeu #hnBwFuss #hnBwWeiter,html.ffGross.ffHandyNeu #hnBwFuss #hnBwSave{flex:1.6 1 0}
html.ffGross.ffHandyNeu #ghBereichList.hnAus{display:none!important}
html.ffGross.ffHandyNeu #hnGhTerm.hide{display:none}
html.ffGross.ffHandyNeu #hnGhTerm .grPille{flex:none}
/* Geräteprüfung: Jahres-Karte mit Ring */
html.ffGross.ffHandyNeu .grJahrK.hnMitRing{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center}
html.ffGross.ffHandyNeu .grJahrK.hnMitRing>.hnRing{grid-row:1/span 2}
html.ffGross.ffHandyNeu .grJahrK.hnMitRing>:not(.hnRing):not(.grJahrL):not(.grJahrM){grid-column:1/-1}
html.ffGross.ffHandyNeu .grJahrK.hnMitRing .grFort{display:none}
html.ffGross.ffHandyNeu .grRaster.grKatR .grK{min-height:86px;padding:12px;align-items:stretch;text-align:left}
html.ffGross.ffHandyNeu .grRaster.grKatR .grKatName{font-size:15.5px;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage .grBlattF{flex-direction:column-reverse;gap:8px}
html.ffGross.ffHandyNeu #grBlatt .grBlattK.hnFrage .grBlattF button{flex:none;width:100%;white-space:normal}
/* Kontrast (Werkzeug tools/kontrast, Aufruf mit „handy“) */
html.ffGross.ffHandyNeu #viewCheck #cTable td.grp,html.ffGross.ffHandyNeu #viewBewFahrt #bfTable td.grp{color:var(--tx)}
html.ffGross.ffHandyNeu .hnEArt .grPz,html.ffGross.ffHandyNeu .hnEArt .grPz.an{background:var(--ovbg);color:var(--tx);font-weight:550}
html.ffGross.ffHandyNeu .hnEArt .grPz small{color:var(--tx2)}
html.ffGross.ffHandyNeu .hnEArt .grPz.an{box-shadow:0 0 0 1.5px var(--acc)}
html.ffGross.ffHandyNeu #viewGwPdf #pdfDokumente{background:var(--ovbg);border:1px solid var(--line)}
html.ffGross.ffHandyNeu #viewGwPdf #pdfDokumente .dokSub{color:var(--tx2)}
html.ffGross.ffHandyNeu #viewWikiPdf #wikiPdfOpen{color:var(--tx);text-decoration:underline}
html.ffGross.ffHandyNeu main>section#viewGwPdf button#pdfDokumente{background:var(--ovbg)!important;border:1px solid var(--line)!important;color:var(--tx)!important}
html.ffGross.ffHandyNeu main>section#viewGwPdf button#pdfDokumente .dokSub{color:var(--tx2)!important}
html.ffGross.ffHandyNeu main>section#viewGwPdf button#pdfDokumente .ktIco{background:var(--accbg)!important;color:var(--tx)!important}
html.ffGross.ffHandyNeu main>section#viewGwPdf button#pdfDokumente .ktIco svg{color:var(--tx)!important}
html.ffGross.ffHandyNeu #hnPrFuss,html.ffGross.ffHandyNeu #hnBwFuss{transform:translateZ(0)}
html.ffGross.ffHandyNeu #hnPrFuss button,html.ffGross.ffHandyNeu #hnBwFuss button{font-size:15px;padding-left:6px;padding-right:6px;white-space:nowrap}

/* ---------- Ein Gerät als eigene Seite (js/74) ---------- */
html.ffGross.ffHandyNeu #hnGeraet{position:fixed;z-index:40;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;background:var(--ovbg);color:var(--tx);animation:hnRein .2s ease-out}
html.ffGross.ffHandyNeu .hnGKopf{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:max(8px,env(safe-area-inset-top)) max(var(--hn-rand),env(safe-area-inset-right)) 8px max(var(--hn-rand),env(safe-area-inset-left));background:var(--ovbg);border-bottom:1px solid var(--line)}
html.ffGross.ffHandyNeu .hnGKopf .hnBwT{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
html.ffGross.ffHandyNeu .hnGKopf .hnBwT b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu .hnGKopf .hnBwT .grS{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ffGross.ffHandyNeu #hnGZur{flex:none;width:42px;height:42px;min-height:0;margin:0;padding:0;border-radius:13px;background:var(--accbg);border:1px solid var(--line);color:var(--tx);display:flex;align-items:center;justify-content:center}
html.ffGross.ffHandyNeu .hnGInh{display:flex;flex-direction:column;gap:12px;padding:12px max(var(--hn-rand),env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(var(--hn-rand),env(safe-area-inset-left))}
html.ffGross.ffHandyNeu .hnGFoto{width:100%;height:190px;aspect-ratio:auto}
html.ffGross.ffHandyNeu .hnGKn{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html.ffGross.ffHandyNeu .hnGKn button{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;min-height:50px;width:100%;min-width:0;font-size:15px}
html.ffGross.ffHandyNeu .hnGKn .grHaupt{grid-column:1/-1;min-height:54px;font-size:16px}
html.ffGross.ffHandyNeu.hnGeraetAuf #hnLeiste{display:none}

/* ================= Nacharbeit 11.10.2026: nichts darf breiter sein als der Bildschirm =================
   Am Tablet haben viele Karten und Spalten eine Mindestbreite. Am Handy gilt: jede Fläche darf schrumpfen und ist höchstens so breit
   wie ihr Platz. Geprüft mit hjs.sh _br2.js bei 390, 360 und 320 Punkten (jede Ansicht, jedes Fenster). */
html.ffGross.ffHandyNeu,html.ffGross.ffHandyNeu body{max-width:100%;overflow-x:hidden}
html.ffGross.ffHandyNeu body{position:relative;width:100%}
html.ffGross.ffHandyNeu main{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
html.ffGross.ffHandyNeu main :is(div,section,aside,form,fieldset,label,ul,ol,table,tbody,nav,header,footer,article){min-width:0!important;box-sizing:border-box}
html.ffGross.ffHandyNeu main :is(div,section,aside,form,fieldset,p,h2,h3,button,input,select,textarea,img,canvas,table,label){max-width:100%}
html.ffGross.ffHandyNeu main :is(button,input,select,textarea){box-sizing:border-box}
html.ffGross.ffHandyNeu main :is(b,span,p,h2,h3,td,a){overflow-wrap:break-word}
html.ffGross.ffHandyNeu main>section{width:100%;max-width:100%}
html.ffGross.ffHandyNeu :is(#grBlatt .grBlattK,#hnGeraet,#grPop.hnPop) :is(div,form,label,fieldset){min-width:0!important;max-width:100%;box-sizing:border-box}
html.ffGross.ffHandyNeu :is(#grBlatt .grBlattK,#hnGeraet) :is(input,select,textarea,button){max-width:100%;box-sizing:border-box}
/* Zeilen, die am Tablet nebeneinander stehen: am Handy umbrechen */
html.ffGross.ffHandyNeu :is(.grStp,.grEZ,.grLeiste,.grZKopf,.grDKopf,.grBenKn,.grGhT,.grTitel){flex-wrap:wrap}
html.ffGross.ffHandyNeu .grStp .grStpInfo{flex:1 1 120px;min-width:0}
html.ffGross.ffHandyNeu .grEZ .grZt{flex:1 1 160px;min-width:0}
html.ffGross.ffHandyNeu .grEZ>:is(button,.grMini,select,input){flex:none}
html.ffGross.ffHandyNeu .grFarben.gross{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html.ffGross.ffHandyNeu .grFarben.gross .grFarbe{width:100%;min-width:0}
html.ffGross.ffHandyNeu #grFzt .grFarben.gross{display:flex;flex-wrap:wrap;gap:12px}
html.ffGross.ffHandyNeu #grFzt .grFarben.gross .grFarbe{flex:none;width:46px;min-width:46px;height:46px}   /* Fahrzeug-Tablets (js/77): runde Punkte */
html.ffGross.ffHandyNeu :is(.grLZ,.grAufg,.grPz,.grBPos,.grBeleg) :is(.grPille,.grMini,.grKn){flex:none;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ffGross.ffHandyNeu .hnAufg .hnAufgK :is(.grMini,.ebMini){max-width:none}   /* 12.10.2026: die 46 % bezogen sich hier auf die Knopf-Spalte selbst -> „Übernehmen“ war zu „Ü…“ abgeschnitten */
html.ffGross.ffHandyNeu :is(.grLZ,.grAufg,.grPz)>.gi{flex:none}
html.ffGross.ffHandyNeu :is(.grLZ,.grAufg,.grPz) .grZt{flex:1 1 120px;min-width:0}
html.ffGross.ffHandyNeu main :is(.grMini,.grHaupt,.grNeben,button.sec){white-space:normal}
html.ffGross.ffHandyNeu .lwHgBox{display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu .grEKarten{display:flex;flex-direction:column;gap:12px;max-width:none}
html.ffGross.ffHandyNeu #grHome .grM2L{display:flex;flex-direction:row;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none;width:100%}
html.ffGross.ffHandyNeu #grHome .grM2L::-webkit-scrollbar,html.ffGross.ffHandyNeu #grKat .grM2L .grListe::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu #grKat .grM2L{overflow:hidden;width:100%}
html.ffGross.ffHandyNeu #grKat .grM2L .grListe{display:flex;flex-direction:row;overflow-x:auto!important;scrollbar-width:none}
html.ffGross.ffHandyNeu #grKat .grM2L :is(#grKtNeu,.grLeiste){flex-wrap:wrap}
html.ffGross.ffHandyNeu #viewGhBereich .grKarte.eng{width:100%}
html.ffGross.ffHandyNeu .grGhBL .grLZ{flex-wrap:wrap}
html.ffGross.ffHandyNeu #viewGeraeteBearbeiten .grLZ{flex-wrap:wrap;row-gap:4px}
html.ffGross.ffHandyNeu .grEK .grFarben.gross .grFarbe{width:100%;min-width:0}
html.ffGross.ffHandyNeu .grEK .grFarben.gross{row-gap:26px}


/* ================= Nacharbeit 11.10.2026, Teil 2: Größen, Fahrzeuge, Wiki, Lade-Balken ================= */
/* --- alles etwas kleiner: Überschriften, Karten, Knöpfe --- */
html.ffGross.ffHandyNeu main :is(.grZK,.grKarte) h3,html.ffGross.ffHandyNeu .grEK h3{font-size:16.5px;margin:0 0 6px}
html.ffGross.ffHandyNeu main h2{font-size:19px}
html.ffGross.ffHandyNeu .grEInhalt>h2{font-size:19px;margin:6px 2px 10px}
html.ffGross.ffHandyNeu main :is(button,.grMini,.grHaupt,.grNeben){font-size:15px}
html.ffGross.ffHandyNeu main :is(.grHaupt,.grNeben){min-height:48px;padding:0 14px}
html.ffGross.ffHandyNeu main .grMini{min-height:40px;padding:0 12px;font-size:14px}
html.ffGross.ffHandyNeu main :is(input,select,textarea){min-height:46px}
html.ffGross.ffHandyNeu main label,html.ffGross.ffHandyNeu .grLab{font-size:13px}
html.ffGross.ffHandyNeu .grKv{font-size:14px}
html.ffGross.ffHandyNeu .grLZ{min-height:56px;padding:10px 12px;gap:10px}
html.ffGross.ffHandyNeu .grLZ .grZt b{font-size:15px}
html.ffGross.ffHandyNeu .grBild{width:44px;height:44px;border-radius:12px}
html.ffGross.ffHandyNeu .grHin{padding:10px 12px;font-size:14px;gap:10px}
/* --- Fahrzeuge: Liste --- */
html.ffGross.ffHandyNeu .grFzZ{min-height:0;padding:12px;align-items:flex-start;gap:12px}
html.ffGross.ffHandyNeu .grFzZ .grBild,html.ffGross.ffHandyNeu .grFzF .grBild{width:52px;height:52px;flex:none}
html.ffGross.ffHandyNeu .grFzZ .grFzKopf{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}
html.ffGross.ffHandyNeu .grFzZ .grFzKopf b{font-size:15px}
html.ffGross.ffHandyNeu .grFzZ .grFzKopf .grBd{flex:none;width:auto;margin-left:auto}
html.ffGross.ffHandyNeu .grSchild.kl{font-size:13px;padding:1px 7px 1px 19px}
html.ffGross.ffHandyNeu .grSchild.kl::before{width:12px}
html.ffGross.ffHandyNeu .grFzT{gap:5px;margin-top:6px}
html.ffGross.ffHandyNeu .grFzT .grPille{font-size:11.5px;padding:1px 7px}
/* --- Fahrzeug als Seite --- */
html.ffGross.ffHandyNeu.ffUnten #viewGrFz .grM2R{display:flex;flex-direction:column;align-items:stretch;gap:12px}
html.ffGross.ffHandyNeu.ffUnten #viewGrFz .grM2R>*{width:auto;max-width:none}
html.ffGross.ffHandyNeu .grFzD{display:flex;flex-direction:column;gap:10px;align-items:stretch}
html.ffGross.ffHandyNeu .grFzD .grBild.gr{width:100%;max-width:none;height:120px;border-radius:16px}
html.ffGross.ffHandyNeu .grFzD .grFzKopf{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}
html.ffGross.ffHandyNeu .grFzD .grFzKopf h3{font-size:18px;margin:0}
html.ffGross.ffHandyNeu .grSchild{font-size:17px;padding:2px 10px 2px 24px}
html.ffGross.ffHandyNeu .grSchild::before{width:15px}
html.ffGross.ffHandyNeu .grFzD .grKv{grid-template-columns:auto minmax(0,1fr);margin-top:8px}
html.ffGross.ffHandyNeu .grFzAchs>div{grid-template-columns:62px minmax(0,1fr) auto;gap:8px;padding:8px 2px}
html.ffGross.ffHandyNeu .grFzAchs>div>.grS{grid-column:2/-1;margin-top:-6px}
/* Reiter Bewegungsfahrten / Belege: Name oben, Knöpfe darunter */
html.ffGross.ffHandyNeu .grLZ.grFzF{display:grid;grid-template-columns:52px minmax(0,1fr) minmax(0,1fr);gap:8px 10px;align-items:center;padding:12px}
html.ffGross.ffHandyNeu .grLZ.grFzF .grZt{grid-column:2/-1}
html.ffGross.ffHandyNeu .grLZ.grFzF>button{grid-column:auto;width:100%;max-width:none;margin:0}
html.ffGross.ffHandyNeu .grLZ.grFzF>button:nth-of-type(1){grid-column:1/3}
html.ffGross.ffHandyNeu .grLZ.grFzF>button[data-a=neu]{grid-column:1/-1}
html.ffGross.ffHandyNeu .grHin>button,html.ffGross.ffHandyNeu .grHin>.grMini{flex:1 1 100%;max-width:none}
html.ffGross.ffHandyNeu .grHin{flex-wrap:wrap}
html.ffGross.ffHandyNeu .grHin>.grSp{display:none}
/* --- Fahrzeug bearbeiten / hinzufügen (Vollbild): Foto klein, Karten eng --- */
html.ffGross.ffHandyNeu :is(#viewFahrzeugEdit,#viewFahrzeuge,#viewGeraetEdit,#viewNeu,#viewWartungGeraet) :is(.grFoto,.grFotoFeld .grFoto,img.fePrev,#feBildPrev,#feBild){max-height:130px;height:130px;aspect-ratio:auto;width:100%;object-fit:cover}
html.ffGross.ffHandyNeu :is(#viewFahrzeugEdit,#viewFahrzeuge) .grKarte{padding:12px}
html.ffGross.ffHandyNeu :is(#viewFahrzeugEdit,#viewFahrzeuge) .row{display:flex;gap:8px;flex-wrap:wrap}
html.ffGross.ffHandyNeu :is(#viewFahrzeugEdit,#viewFahrzeuge) .row>*{flex:1 1 120px;min-width:0}
html.ffGross.ffHandyNeu .bpZeile{margin:8px 0 0!important;background:var(--glass2);border-color:var(--line)!important;color:var(--tx)}
html.ffGross.ffHandyNeu .bpZeile .muted{color:var(--tx2)}
/* --- Wiki-Anleitung: Seiten in voller Breite, keine Seiten-Leiste, Angaben darunter --- */
html.ffGross.ffHandyNeu #viewWikiPdf.grWp:not(.hide){display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu #viewWikiPdf.grWp>*{width:100%;max-width:100%}
html.ffGross.ffHandyNeu #viewWikiPdf.grWp>.grWpL{display:none!important}
html.ffGross.ffHandyNeu #viewWikiPdf.grWp>.grWpR{order:99;position:static;min-height:0;max-height:none;margin:6px 0 0;padding:14px}
html.ffGross.ffHandyNeu #viewWikiPdf #wikiPdfPages{width:100%}
html.ffGross.ffHandyNeu #viewWikiPdf #wikiPdfPages canvas{width:100%!important;height:auto!important;max-width:100%}
html.ffGross.ffHandyNeu #viewWikiPdf #wikiPdfPages iframe{width:100%!important;height:74dvh!important}
html.ffGross.ffHandyNeu :is(#viewPdfPreview,#viewDokPdf) canvas{width:100%!important;height:auto!important;max-width:100%}
/* --- Lade-Balken ganz oben (js/66: hnLade) --- */
html.ffGross.ffHandyNeu #hnLade{position:fixed;z-index:90;left:0;right:0;top:0;height:3px;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .15s}
html.ffGross.ffHandyNeu #hnLade.an{opacity:1}
html.ffGross.ffHandyNeu #hnLade i{position:absolute;top:0;bottom:0;left:-40%;width:40%;background:var(--pri);border-radius:2px;animation:hnLadeLauf 1.1s linear infinite}
@keyframes hnLadeLauf{from{left:-40%}to{left:100%}}
@media (prefers-reduced-motion:reduce){html.ffGross.ffHandyNeu #hnLade i{animation:none;left:0;width:100%;opacity:.7}}
/* Seitenwechsel: nur einblenden, nichts verschieben (das Verschieben wirkte auf manchen Geräten, als sei die Seite verrutscht) */
@keyframes hnRein{from{opacity:.35}to{opacity:1}}
/* --- Wiki-Ordner: Suche in voller Breite, Ordner als Zeile zum Wischen, Anleitungen zweispaltig --- */
html.ffGross.ffHandyNeu #grWoBox>.grLeiste{display:block;margin-bottom:10px}
html.ffGross.ffHandyNeu #grWoBox>.grLeiste .grSuche{max-width:none!important;width:100%}
html.ffGross.ffHandyNeu .grWo{display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu .grWoL{display:flex!important;flex-direction:row;gap:8px;overflow-x:auto;scrollbar-width:none;position:static;width:100%;padding:0;margin:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html.ffGross.ffHandyNeu .grWo.ohne .grWoL{display:none!important}
html.ffGross.ffHandyNeu .grWoL::-webkit-scrollbar{display:none}
html.ffGross.ffHandyNeu .grWoL>.grPt{display:none}
html.ffGross.ffHandyNeu .grWoL>.grPz{flex:none;width:auto;min-height:42px;padding:0 12px;border-radius:13px;background:var(--glass2);border:1px solid var(--gb);gap:8px}
html.ffGross.ffHandyNeu .grWoL>.grPz.an{border-color:var(--acc);box-shadow:0 0 0 1px var(--acc)}
html.ffGross.ffHandyNeu .grWoL>.grPz span{flex:none;overflow:visible}
html.ffGross.ffHandyNeu .grWoR{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%}
/* App-Anleitung: Themen-Liste in voller Breite; ein Thema öffnet sich als eigene Seite */
html.ffGross.ffHandyNeu #grAwBox .grM2L{width:100%;padding:12px}
html.ffGross.ffHandyNeu #grAwBox .grAwL{display:flex;flex-direction:column;gap:4px;max-height:none;overflow:visible}
html.ffGross.ffHandyNeu #grAwBox .grAwL .grPz{min-height:48px}
html.ffGross.ffHandyNeu:not(.ffUnten) #grAwBox .grM2R{display:none}
html.ffGross.ffHandyNeu #grAwR{font-size:15px;line-height:1.5}
html.ffGross.ffHandyNeu #grAwR h3{font-size:18px}
html.ffGross.ffHandyNeu .grNeuL{display:flex;flex-direction:column;gap:10px}
/* --- Spalten des Tablets: am Handy untereinander UND in voller Breite --- */
html.ffGross.ffHandyNeu :is(.grM2,.grM3,.grZwei,.grEKarten,.grSpalteK,.grELay,.grBenLay){align-items:stretch!important;justify-items:stretch}
html.ffGross.ffHandyNeu :is(.grM2,.grM3,.grZwei,.grEKarten,.grSpalteK)>*{width:100%;max-width:100%;flex:none}
html.ffGross.ffHandyNeu .grSpalteK{display:flex;flex-direction:column;gap:12px;min-height:0!important}
html.ffGross.ffHandyNeu .grM3>.grSpalteK>.grKarte:last-child{flex:none}
html.ffGross.ffHandyNeu main>section>.grNeu:not(.grM3Fuss):not(#hnPrZus):not(#hnBwKopf):not(#hnPrFuss):not(#hnBwFuss){width:100%}
html.ffGross.ffHandyNeu .grSeite>.grTitel>:is(button,.grMini,.grHaupt,.grNeben){flex:1 1 130px;min-width:0;overflow:hidden;padding-left:10px;padding-right:10px;gap:6px}
html.ffGross.ffHandyNeu .grSeite>.grTitel>:is(button,.grMini,.grHaupt,.grNeben) span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ffGross.ffHandyNeu #viewGrBest :is(.grBSum,.grBPos,.grBdKv,.grBeleg,.grBRepZ,.grZKopf){flex-wrap:wrap}
html.ffGross.ffHandyNeu #viewGrBest .grTitel>*{min-width:0;max-width:100%}
html.ffGross.ffHandyNeu #viewGrBest #grBdBetragAend{flex:1 1 100%;max-width:none}
html.ffGross.ffHandyNeu #viewGrBest .grTitel .gi{flex:none}
html.ffGross.ffHandyNeu #grBlatt{left:0;right:0;width:100%;max-width:100%;overflow:hidden}
html.ffGross.ffHandyNeu #grBlatt .grBlattK,html.ffGross.ffHandyNeu #grBlatt .grBlattK:is(.breit,.gross){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
html.ffGross.ffHandyNeu #grBlatt .grBlattK :is(.grZwei,.grM2,.grForm){display:flex;flex-direction:column;gap:10px}
html.ffGross.ffHandyNeu #grBestJahr{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;overflow:hidden;height:auto;white-space:normal;text-align:left}
html.ffGross.ffHandyNeu #grBestJahr>*{min-width:0}
html.ffGross.ffHandyNeu #grBestJahr .gi{flex:none}
html.ffGross.ffHandyNeu .grJahrK :is(b,span,div){min-width:0;white-space:normal}
html.ffGross.ffHandyNeu .grKatT{min-width:0;max-width:100%}
html.ffGross.ffHandyNeu .grKatT b,html.ffGross.ffHandyNeu .grKatName{min-width:0;max-width:100%;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto;font-size:15px}


/* ================= 11.10.2026: Anmeldeseite am Handy immer im neuen Design ================= */
/* „Feuerwehr Deubach“ steht immer ganz oben */
html.ffGross.ffHandyNeu body.login #grLWehr,html.ffGross.ffHandyNeu.hnLWahl body.login #grLWehr,html.ffGross.ffHandyNeu:not(.hnLWahl) body.login #grLWehr{position:fixed;left:20px;right:20px;top:max(18px,env(safe-area-inset-top));bottom:auto;max-width:none}
/* Handy-Bild: so, wie es eingestellt ist (Ausschnitt aus den Einstellungen), über den ganzen Bildschirm */
html.ffGross.ffHandyNeu body.login .loginBg{left:0;right:0;top:0;bottom:0;width:100%;max-width:none;transform:none;background-size:cover;background-repeat:no-repeat}
/* Seite „Bewegungsfahrten“ (ohne Benutzerkonto): Karte mit Zurück, „Fahrzeug scannen“ oben, darunter die Fahrzeuge */
html.ffGross.ffHandyNeu #viewBewegung:not(.hide){display:flex;flex-direction:column;gap:10px;padding:max(14px,env(safe-area-inset-top)) 0 20px;background:transparent;border:0;box-shadow:none}
html.ffGross.ffHandyNeu #viewBewegung>*{margin:0!important}
html.ffGross.ffHandyNeu #viewBewegung #bewLogout{order:-3;align-self:flex-start;width:auto!important;min-height:42px;padding:0 14px;border-radius:13px}
html.ffGross.ffHandyNeu #viewBewegung h2{order:-2;font-size:21px}
html.ffGross.ffHandyNeu #viewBewegung p.muted{order:-1;color:var(--tx2)}
html.ffGross.ffHandyNeu #viewBewegung #bewScanBtn{order:0;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px}
html.ffGross.ffHandyNeu #viewBewegung #bewListe{order:1;margin-top:6px!important}
html.ffGross.ffHandyNeu #viewBewegung .bewFzZ{min-height:60px;padding:10px 14px;border-radius:16px;background:var(--glass2);border:1px solid var(--gb);color:var(--tx);box-shadow:none}
html.ffGross.ffHandyNeu #viewBewegung .bewFzZ .muted{color:var(--tx2)}

/* ================= 11.10.2026: Wiki-Ordner am Handy – Kategorien als Liste, dann hineingehen (js/66 hnWikiOrdner) ================= */
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoL{display:flex!important;flex-direction:column;gap:8px;overflow:visible;width:100%}
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoL>.grPz{flex:none;width:100%;min-height:60px;padding:10px 12px;border-radius:16px;gap:12px;background:var(--glass2);border:1px solid var(--gb);box-shadow:none}
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoL>.grPz.an{border-color:var(--gb);box-shadow:none;font-weight:400;background:var(--glass2)}
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoL>.grPz>.gi:first-child{width:36px;height:36px;padding:8px;border-radius:11px;background:var(--accbg);box-sizing:border-box}
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoL>.grPz>span:not(.hnPfeil){flex:1 1 auto;min-width:0;font-size:15.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoL>.grPz small{flex:none;margin:0;padding:1px 9px;border-radius:10px;background:var(--accbg);color:var(--tx);font-size:12.5px}
html.ffGross.ffHandyNeu .grWoL .hnPfeil{flex:none;display:flex;color:var(--tx2)}
html.ffGross.ffHandyNeu .grWo.hnWoListe .grWoR{display:none}
html.ffGross.ffHandyNeu .grWo.hnWoInnen .grWoL{display:none!important}
html.ffGross.ffHandyNeu #hnWoKopf{display:flex;align-items:center;gap:10px;margin:0 0 10px;min-width:0}
html.ffGross.ffHandyNeu #hnWoKopf.hide{display:none}
html.ffGross.ffHandyNeu #hnWoKopf .grZur{flex:none;margin:0;min-height:40px;padding:0 12px 0 8px;border-radius:13px}
html.ffGross.ffHandyNeu #hnWoKopf b{flex:1 1 auto;min-width:0;font-size:16.5px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* ================= 11.10.2026: Geräte ohne Foto – kein Bild und kein Platzhalter (Wunsch Thomas) =================
   Gilt für Geräte in Listen, Karten und auf den Geräte-Seiten. Hat ein Gerät ein Foto, trägt der Platz data-foto (js/50) bzw. ein
   geladenes <img>. Nicht betroffen: Fahrzeuge und das Feld zum Foto-Aufnehmen beim Bearbeiten. */
html.ffGross.ffHandyNeu main>section:not(#viewGrFz) .grBild:not([data-foto]):not([data-fzfoto]):not(.fz){display:none!important}
html.ffGross.ffHandyNeu main .grDKopf .grFoto:not(:has(img[src]:not([style*="display: none"]):not([style*="display:none"]))){display:none!important}


/* ================= 11.10.2026: Demo- und Übungsmodus – der feste Balken unten verdeckt nichts mehr (--hn-demo aus js/66) ================= */
html.ffGross.ffHandyNeu{--hn-unten:calc(var(--hn-leiste) + max(10px,env(safe-area-inset-bottom)) + 14px + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu #hnLeiste{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu #hnPrFuss,html.ffGross.ffHandyNeu #hnBwFuss{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--hn-tast,0px) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu.ffArbeit .grM3Fuss,html.ffGross.ffHandyNeu.hnTastatur .grM3Fuss{bottom:calc(max(8px,env(safe-area-inset-bottom)) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu.ffArbeit main,html.ffGross.ffHandyNeu.hnVoll main{padding-bottom:calc(96px + env(safe-area-inset-bottom) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu body.login main{padding-bottom:calc(46px + env(safe-area-inset-bottom) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu body.login #grLFuss{bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu #grBlatt .grBlattK,html.ffGross.ffHandyNeu #grPop.hnPop{margin-bottom:calc(var(--hn-tast,0px) + var(--hn-demo,0px))}
html.ffGross.ffHandyNeu #grPop.hnPop{bottom:var(--hn-demo,0px)!important;margin-bottom:0}
html.ffGross.ffHandyNeu.ffUnten :is(.grM2R,.grSpR,.grGoR),html.ffGross.ffHandyNeu #hnGeraet{bottom:var(--hn-demo,0px)}

/* ================= 11.10.2026: keine Zeilen zum seitlichen Wischen mehr (Wunsch Thomas) =================
   Kategorien (Geräte bearbeiten / hinzufügen › Kategorien): Liste untereinander, ein Tipp öffnet die Kategorie als eigene Seite.
   Geräteprüfung: In einer Kategorie entfällt die Zeile mit den anderen Kategorien – gewechselt wird über „Alle Kategorien“ (Zurück). */
html.ffGross.ffHandyNeu #grKat .grM2L{overflow:visible;width:100%}
html.ffGross.ffHandyNeu #grKat .grM2L .grListe{display:flex!important;flex-direction:column!important;overflow:visible!important;gap:8px}
html.ffGross.ffHandyNeu #grKat .grM2L .grLZ{flex:none;width:100%!important;min-width:0!important;min-height:60px;border-radius:16px;background:var(--glass2);border:1px solid var(--gb)}
html.ffGross.ffHandyNeu #grKat .grM2L .grLZ.an{border-color:var(--gb);box-shadow:none}
html.ffGross.ffHandyNeu #grKat .grM2L .grLZ::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--tx2);border-top:2px solid var(--tx2);transform:rotate(45deg);margin:0 4px 0 6px}
html.ffGross.ffHandyNeu:not(.ffUnten) #grKat .grM2R{display:none}
html.ffGross.ffHandyNeu #grHome .grM2L{display:none!important}


/* ================= 11.10.2026: sofortige Rückmeldung beim Antippen (wirkt schneller, auch wenn der Server noch arbeitet) ================= */
html.ffGross.ffHandyNeu :is(button,.grK,.grLZ,.grAufg,.hnAufg,.grPz,[role=button]):active{transform:scale(.975);filter:brightness(.94);transition:none}
html.ffGross.ffHandyNeu :is(#hnLeiste button,#hnZur,#grSZur,#grArbZurueck,#hnBwZur,#hnGZur,#grUntenZu):active{background:var(--accbg);transform:scale(.94)}
html.ffGross.ffHandyNeu :is(button,.grK,.grLZ,.grAufg,.grPz,a,[role=button]){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
