/* =====================================================================
   HANDY-DESIGN „Marine & Gold" (21.10.2026) — gehört zu handy-marine.js.
   Wirkt nur mit <html data-design="neu"> UND <body class="hmg"> (Handy < 700 px).
   Farben der eigenen App: Marine #1F2A40/#0E1422, Gold #E0A83F/#C48F2C/#F2C66B.
   ===================================================================== */
html[data-design="neu"] body.hmg,
html[data-design="neu"] body.hmg main.content,
html[data-design="neu"] body.hmg .layout { background: #ECEEF3; }

/* ---------- Kopf: Marine-Band mit Goldschein ---------- */
html[data-design="neu"] body.hmg header.topbar {
  margin: 0 !important; min-height: 56px; padding: 6px 12px 10px !important; border-radius: 0 0 22px 22px !important;
  border: 0 !important;
  background: radial-gradient(70% 140% at 100% 0%, rgba(224, 168, 63, .28) 0%, rgba(224, 168, 63, 0) 62%), linear-gradient(160deg, #24324F 0%, #141D31 70%, #0E1422 100%) !important;
  box-shadow: 0 14px 30px -14px rgba(14, 20, 34, .55), 0 0 30px -12px rgba(242, 198, 107, .35) !important;
}
html[data-design="neu"] body.hmg.view-home header.topbar .h-gruss { display: none !important; }
html[data-design="neu"] body.hmg header.topbar .h-gruss-name { font-size: 15px; letter-spacing: -.01em; }
html[data-design="neu"] body.hmg header.topbar .h-kopf-knopf,
html[data-design="neu"] body.hmg header.topbar .h-kopf-tat {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .1) !important;
  color: #FFFFFF !important; --ico: #FFFFFF; box-shadow: 0 0 14px -6px rgba(242, 198, 107, .5);
}
html[data-design="neu"] body.hmg header.topbar .h-kopf-zahl {
  background: #E0A83F !important; color: #1F2A40 !important; border: 2px solid #1B2640 !important; font-weight: 800;
  animation: hmg-pop .5s 1s cubic-bezier(.3, 1.6, .5, 1) both;
}
/* Firma: Falax-Zeichen in weißer Kachel + Name in Weiß (ein eigenes Logo ersetzt das Zeichen) */
html[data-design="neu"] body.hmg header.topbar .h-firma { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; gap: 8px; display: inline-flex; align-items: center; color: #FFFFFF !important; --ico: #AAB4C8; }
html[data-design="neu"] body.hmg header.topbar .h-firma:has(.h-firma-logo[hidden])::before {
  content: ""; width: 28px; height: 28px; flex: none; border-radius: 8px; background: #FFFFFF url(/falax-symbol.svg) center / 18px no-repeat; box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}
html[data-design="neu"] body.hmg header.topbar .h-firma-logo { height: 28px; border-radius: 8px; background: #FFFFFF; padding: 2px 5px; }
html[data-design="neu"] body.hmg header.topbar .h-firma-kurz { color: #FFFFFF !important; font-size: 12.5px; font-weight: 800; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Untere Leiste: schlank, schwebend, Marine ---------- */
html[data-design="neu"] body.hmg .h-leiste {
  bottom: 12px; height: 50px; padding: 0 5px; border-radius: 18px; border: 0;
  background: linear-gradient(160deg, #24324F, #0E1422) !important;
  box-shadow: 0 18px 40px rgba(14, 20, 34, .5), 0 0 0 1px rgba(224, 168, 63, .15), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
html[data-design="neu"] body.hmg .h-leiste-knopf { height: 40px; border-radius: 12px; color: #8F9AB0; --ico: #8F9AB0; gap: 1px; }
html[data-design="neu"] body.hmg .h-leiste-knopf svg { width: 16px; height: 16px; }
html[data-design="neu"] body.hmg .h-leiste-knopf .h-leiste-wort { font-size: 9px; }
html[data-design="neu"] body.hmg .h-leiste-knopf.aktiv { color: #F2C66B; --ico: #F2C66B; background: rgba(224, 168, 63, .16) !important; box-shadow: 0 0 16px rgba(224, 168, 63, .35); }
html[data-design="neu"] body.hmg .h-leiste-knopf.aktiv svg,
html[data-design="neu"] body.hmg .h-leiste-knopf.aktiv .ico { background: none !important; padding: 0 !important; box-shadow: none !important; }
html[data-design="neu"] body.hmg .h-leiste-scan .h-leiste-wort { display: none !important; }
html[data-design="neu"] body.hmg .h-leiste-scan svg {
  width: 17px; height: 17px; padding: 8px; border-radius: 11px; background: linear-gradient(160deg, #F2C66B, #C48F2C); --ico: #1F2A40; color: #1F2A40;
  animation: hmg-glut 2.6s ease-in-out infinite;
}
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="karten"],
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="tasks"] { display: none !important; }
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="home"] { order: 1; }
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="kalender"] { order: 2; }
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="scan"] { order: 3; }
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="customers"] { order: 4; }
html[data-design="neu"] body.hmg .h-leiste-knopf[data-ziel="menue"] { order: 5; }
html:not([data-design="neu"]) .hmg-nur, body:not(.hmg) .hmg-nur { display: none !important; }

/* ---------- Startseite ---------- */
.hmg-start { padding: 0 2px 20px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #18202F; }
.hmg-start button { font: inherit; color: inherit; }
.hmg-karte {
  background: #FFFFFF; border: 1px solid #E1E5EC; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 20px rgba(20, 30, 50, .08), 0 14px 32px -14px rgba(224, 168, 63, .32);
}
.hmg-suche {
  width: 100%; display: flex; gap: 9px; align-items: center; margin: 2px 0 12px; padding: 10px 12px; border-radius: 13px;
  background: #FFFFFF; border: 1px solid #E3E6EE; color: #5D6779; font-size: 13.5px; text-align: left; cursor: pointer;
  box-shadow: 0 14px 34px -6px rgba(14, 20, 34, .22), 0 2px 6px rgba(14, 20, 34, .06);
}
.hmg-schnell { display: grid; gap: 4px; padding: 11px 6px 9px; }
.hmg-schnell > button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.hmg-schnell b { font-size: 10px; font-weight: 700; color: #18202F; }
.hmg-app {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #24324F, #0E1422);
  box-shadow: 0 8px 18px -6px rgba(14, 20, 34, .55), 0 0 14px -6px rgba(242, 198, 107, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.hmg-schnell > button:active .hmg-app { transform: scale(.94); }

.hmg-kpis { display: grid; gap: 8px; margin-top: 12px; }
.hmg-kpi { position: relative; overflow: hidden; text-align: left; padding: 9px 10px 8px; cursor: pointer; border-top: 2.5px solid var(--f) !important; box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--f) 55%, transparent), 0 2px 4px rgba(20, 30, 50, .06); }
.hmg-kpi-ic { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--f) 14%, #FFFFFF); }
.hmg-kpi small { display: block; font-size: 10.5px; font-weight: 700; color: #5D6779; }
.hmg-kpi b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; margin-top: 3px; white-space: nowrap; }
.hmg-kpi em { display: block; font-style: normal; font-size: 9.5px; color: #5D6779; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmg-kpi em.rot { color: #B3261E; font-weight: 800; }

.hmg-einsatz {
  position: relative; overflow: hidden; margin-top: 12px; padding: 13px 14px 12px; border-radius: 20px; color: #FFFFFF;
  background: radial-gradient(90% 70% at 100% 0%, rgba(224, 168, 63, .35), transparent 60%), linear-gradient(160deg, #24324F 0%, #0E1422 100%);
  box-shadow: 0 18px 40px -8px rgba(14, 20, 34, .55), 0 0 0 1px rgba(224, 168, 63, .18), 0 0 46px -6px rgba(224, 168, 63, .5);
}
.hmg-schimmer { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .13) 50%, transparent 65%); background-size: 250% 100%; animation: hmg-schimmer 3.8s 1.4s ease-in-out infinite; }
.hmg-einsatz-kopf { text-transform: uppercase; }
.hmg-einsatz-kopf .hmg-pille { text-transform: none; }
.hmg-einsatz-kopf { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #E0A83F; }
.hmg-pille { font-size: 10.5px; letter-spacing: 0; color: #FFFFFF; background: rgba(255, 255, 255, .1); padding: 3px 8px; border-radius: 999px; }
.hmg-einsatz-titel { position: relative; display: block; font-size: 17px; font-weight: 800; letter-spacing: -.015em; margin-top: 6px; }
.hmg-einsatz > small { position: relative; display: block; font-size: 11.5px; color: #AAB4C8; margin-top: 1px; }
.hmg-einsatz-knoepfe { position: relative; display: flex; gap: 8px; margin-top: 11px; }
.hmg-einsatz-knoepfe .hmg-gold { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 0; border-radius: 12px; font-size: 12px; font-weight: 800; color: #FFFFFF; text-decoration: none; background: linear-gradient(180deg, #F2C66B, #C48F2C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 28px rgba(224, 168, 63, .7); }
.hmg-einsatz-knoepfe .hmg-glas { width: 40px; display: grid; place-items: center; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); cursor: pointer; }

.hmg-kopf { display: flex; justify-content: space-between; align-items: center; margin: 22px 2px 9px; padding-top: 14px; border-top: 1px solid #DCE0E8; }
.hmg-kopf b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; letter-spacing: -.015em; }
.hmg-kopf b::before { content: ""; width: 4px; height: 16px; border-radius: 3px; background: var(--f); box-shadow: 0 0 10px var(--f); }
.hmg-kopf > span, .hmg-kopf > button { font-size: 11.5px; font-weight: 800; color: #C48F2C; background: #FBF1DC; padding: 3px 9px; border-radius: 999px; border: 0; cursor: pointer; }

.hmg-woche { display: grid; grid-template-columns: repeat(7, 1fr); padding: 10px 6px; }
.hmg-woche > button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.hmg-woche small { font-size: 10px; font-weight: 700; color: #5D6779; }
.hmg-woche b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800; }
.hmg-woche .heute b { background: #1F2A40; color: #F2C66B; box-shadow: 0 0 14px rgba(242, 198, 107, .55); }
.hmg-woche > button > span { display: flex; gap: 2px; height: 5px; }
.hmg-woche i { width: 5px; height: 5px; border-radius: 50%; background: #E0A83F; }
.hmg-woche i.alt { background: #CDD3DE; }

.hmg-liste { display: grid; gap: 8px; }
.hmg-woche > button.gewaehlt b { background: linear-gradient(160deg, #F2C66B, #C48F2C); color: #1F2A40; box-shadow: 0 0 14px rgba(242, 198, 107, .7); }
.hmg-termine { margin-top: 9px; }
.hmg-termin { animation: hmg-termin .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hmg-termin { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.hmg-zeit { width: 46px; flex: none; }
.hmg-zeit b { display: block; font-size: 13px; font-weight: 800; }
.hmg-zeit small { display: block; font-size: 9.5px; color: #5D6779; font-weight: 700; }
.hmg-gleich { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 800; color: #1A8F4C; background: #E3F3EA; padding: 2px 7px; border-radius: 999px; }
.hmg-gleich i { width: 6px; height: 6px; border-radius: 50%; background: #1A8F4C; animation: hmg-puls 1.6s ease-out infinite; }
@keyframes hmg-puls { 0% { box-shadow: 0 0 0 0 rgba(26, 143, 76, .7); } 100% { box-shadow: 0 0 0 7px rgba(26, 143, 76, 0); } }
.hmg-ort { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(160deg, #24324F, #0E1422); box-shadow: 0 6px 12px -6px rgba(14, 20, 34, .6); }
.hmg-zeile {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; min-width: 0; overflow: hidden; cursor: pointer;
  border-left: 3.5px solid var(--f) !important; box-shadow: 0 2px 4px rgba(20, 30, 50, .06), 0 12px 28px -12px var(--f);
}
.hmg-kreis { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #CDD3DE; background: #FFFFFF; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s; }
.hmg-kreis.an { background: linear-gradient(160deg, #2BB673, #1A8F4C); border-color: #1A8F4C; box-shadow: 0 0 12px rgba(26, 143, 76, .5); }
.hmg-text { flex: 1; min-width: 0; }
.hmg-text b, .hmg-text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmg-text b { font-size: 12.5px; font-weight: 700; }
.hmg-text small { font-size: 10.5px; color: #5D6779; }
.hmg-plakette { flex: none; font-size: 9px; font-weight: 800; color: var(--f); background: color-mix(in srgb, var(--f) 12%, #FFFFFF); padding: 2px 7px; border-radius: 999px; }
.hmg-leer { margin: 0; padding: 12px; text-align: center; font-size: 12px; color: #8A93A5; }

.hmg-projekte { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hmg-projekt { text-align: left; padding: 10px 11px; cursor: pointer; min-width: 0; }
.hmg-projekt em { font-style: normal; font-size: 10px; font-weight: 800; }
.hmg-projekt b { display: block; font-size: 13px; font-weight: 800; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmg-projekt small { display: block; font-size: 10.5px; color: #5D6779; }
.hmg-balken { display: block; height: 4px; margin-top: 8px; border-radius: 9px; background: #E8EBF0; overflow: hidden; }
.hmg-balken i { display: block; height: 100%; border-radius: 9px; background: #C48F2C; animation: hmg-fuell 1.3s .5s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- Kennzahl-Kacheln in der ganzen App kleiner (Wunsch 21.10.2026: „all diese bitte kleiner
   machen in der ganzen App") — Belege, Buchhaltung, BWA, Projekte, Warenbestand ---------- */
html[data-design="neu"] body.hmg .bilanz-kacheln { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px !important; overflow: visible !important; margin: 2px 0 10px !important; }
html[data-design="neu"] body.hmg .bilanz-kacheln > .bilanz-kachel,
html[data-design="neu"] body.hmg .bilanz-kachel,
html[data-design="neu"] body.hmg .bwa-kachel,
html[data-design="neu"] body.hmg .pj-kennzahl,
html[data-design="neu"] body.hmg .wb-stat {
  min-width: 0 !important; max-width: none !important; padding: 7px 9px !important; gap: 0 !important; border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 18px -10px rgba(20, 30, 50, .25), 0 10px 22px -14px rgba(224, 168, 63, .35) !important;
}
html[data-design="neu"] body.hmg .bilanz-kachel-kopf { font-size: 9.5px !important; gap: 4px !important; letter-spacing: .04em; }
html[data-design="neu"] body.hmg .bilanz-kachel-kopf svg { width: 11px !important; height: 11px !important; }
html[data-design="neu"] body.hmg .bilanz-kachel b,
html[data-design="neu"] body.hmg .bwa-kachel b,
html[data-design="neu"] body.hmg .pj-kennzahl b,
html[data-design="neu"] body.hmg .wb-stat b { font-size: 14px !important; line-height: 1.25 !important; margin: 1px 0 0 !important; }
html[data-design="neu"] body.hmg .bilanz-kachel small,
html[data-design="neu"] body.hmg .bwa-kachel small,
html[data-design="neu"] body.hmg .pj-kennzahl small,
html[data-design="neu"] body.hmg .wb-stat small { font-size: 9.5px !important; }

/* Belege-Übersicht: Kennzahlen 2-spaltig und kompakt, Schnellaktionen als kleine Marine-Kacheln */
html[data-design="neu"] body.hmg .rd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px !important; }
html[data-design="neu"] body.hmg .rd-kpi {
  padding: 8px 10px !important; gap: 1px !important; border-radius: 12px !important; border-top-width: 2.5px !important; min-width: 0;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 10px 22px -10px color-mix(in srgb, var(--rd-f, #E0A83F) 45%, transparent) !important;
}
html[data-design="neu"] body.hmg .rd-kpi-label { font-size: 10px !important; }
html[data-design="neu"] body.hmg .rd-kpi b { font-size: 15px !important; }
html[data-design="neu"] body.hmg .rd-kpi small, html[data-design="neu"] body.hmg .rd-kpi span:not(.rd-kpi-label) { font-size: 9.5px !important; padding: 1px 6px !important; }
html[data-design="neu"] body.hmg .rd-qas { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px !important; }
html[data-design="neu"] body.hmg .rd-qa {
  min-height: 0 !important; padding: 8px 4px !important; gap: 4px !important; border-radius: 12px !important; font-size: 10px !important; line-height: 1.2; text-align: center;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 18px -10px rgba(20, 30, 50, .25) !important;
}
html[data-design="neu"] body.hmg .rd-qa .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(160deg, #24324F, #0E1422); --ico: #F2C66B !important; color: #F2C66B; }
html[data-design="neu"] body.hmg .rd-qa .ico svg { width: 14px !important; height: 14px !important; stroke: #F2C66B !important; }

/* =====================================================================
   UNTERSEITEN (21.10.2026): Aufgaben, Kalender, Kunden, Belege, Postfach, Zeiten, Mehr —
   dieselben Bausteine wie auf der Startseite: kompakte Karten mit Farbstreifen und
   leuchtendem Schatten, Marine-Kacheln mit Gold, kleine Schrift. Nur Aussehen, keine Funktion geändert.
   ===================================================================== */
html[data-design="neu"]:has(body.hmg) { background: #ECEEF3; }
html[data-design="neu"] body.hmg #falaxHintergrund { display: none !important; }
html[data-design="neu"] body.hmg main.content { padding-top: 12px !important; }

/* Karten allgemein */
html[data-design="neu"] body.hmg main.content .card {
  border-radius: 16px !important; border: 1px solid #E1E5EC !important; padding: 12px !important;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 10px 24px -12px rgba(20, 30, 50, .22), 0 14px 32px -16px rgba(224, 168, 63, .3) !important;
}
html[data-design="neu"] body.hmg main.content .card h2,
html[data-design="neu"] body.hmg main.content .card h3 { font-size: 15px !important; letter-spacing: -.01em; }

/* Seitenknöpfe (+ Aufgabe, + Kunde, + Angebot …): kompakt, Gold mit Schein */
html[data-design="neu"] body.hmg .rech-toolbar-actions .btn,
html[data-design="neu"] body.hmg .rech-toolbar-actions button {
  min-height: 36px !important; height: 36px; padding: 0 14px !important; border-radius: 12px !important; font-size: 13px !important; font-weight: 800 !important;
}
html[data-design="neu"] body.hmg .rech-toolbar-actions .btn:not(.secondary) {
  background: linear-gradient(160deg, #F2C66B, #C48F2C) !important; color: #1F2A40 !important; --ico: #1F2A40; border: 0 !important;
  box-shadow: 0 10px 22px -8px rgba(224, 168, 63, .75), 0 0 16px rgba(242, 198, 107, .35), inset 0 1px 0 rgba(255, 255, 255, .4) !important;
}
html[data-design="neu"] body.hmg .rech-toolbar-actions .btn.secondary { background: #FFFFFF !important; border: 1px solid #E1E5EC !important; color: #1F2A40 !important; box-shadow: 0 6px 14px -8px rgba(20, 30, 50, .3) !important; }

/* Filter-Chips (Offen / Erledigt / Alle, Rechnungsstatus, Kunden-Filter) */
html[data-design="neu"] body.hmg .rech-status,
html[data-design="neu"] body.hmg .dn-kchip {
  min-height: 30px !important; padding: 5px 11px !important; font-size: 11.5px !important; border-radius: 999px !important;
  background: #FFFFFF; border: 1px solid #E1E5EC !important; box-shadow: 0 6px 14px -8px rgba(20, 30, 50, .25);
}
html[data-design="neu"] body.hmg .rech-status.aktiv,
html[data-design="neu"] body.hmg .dn-kchip.aktiv {
  background: linear-gradient(160deg, #24324F, #0E1422) !important; color: #F2C66B !important; border-color: transparent !important;
  box-shadow: 0 8px 18px -6px rgba(14, 20, 34, .55), 0 0 14px -6px rgba(242, 198, 107, .5) !important;
}

/* Suchfelder */
html[data-design="neu"] body.hmg main.content input[type="search"],
html[data-design="neu"] body.hmg .hl-suche input,
html[data-design="neu"] body.hmg .rech-suche input { min-height: 38px !important; border-radius: 12px !important; font-size: 13.5px !important; box-shadow: 0 10px 24px -10px rgba(14, 20, 34, .2); }

/* ---------- Aufgaben ---------- */
html[data-design="neu"] body.hmg .dn-aufg-fortschritt {
  border-radius: 16px !important; padding: 11px 13px !important; color: #FFFFFF !important;
  background: radial-gradient(90% 70% at 100% 0%, rgba(224, 168, 63, .32), transparent 60%), linear-gradient(160deg, #24324F 0%, #0E1422 100%) !important;
  box-shadow: 0 16px 34px -10px rgba(14, 20, 34, .55), 0 0 36px -8px rgba(224, 168, 63, .45) !important; border: 0 !important;
}
html[data-design="neu"] body.hmg .dn-aufg-fortschritt b { font-size: 14px !important; }
html[data-design="neu"] body.hmg .task-card {
  padding: 8px 10px !important; gap: 9px !important; border-radius: 14px !important; border-left-width: 3.5px !important;
  box-shadow: 0 2px 4px rgba(20, 30, 50, .06), 0 12px 26px -14px rgba(224, 168, 63, .55) !important;
}
html[data-design="neu"] body.hmg .task-card .task-text2 { font-size: 12.5px !important; font-weight: 700; }
html[data-design="neu"] body.hmg .task-card .aufg-notiz { font-size: 10.5px !important; }
html[data-design="neu"] body.hmg .task-card .aufg-faellig { font-size: 9.5px !important; padding: 1px 7px !important; }
html[data-design="neu"] body.hmg .task-card input[type="checkbox"] { width: 20px !important; height: 20px !important; border-radius: 50% !important; }
html[data-design="neu"] body.hmg .task-card button { width: 28px !important; height: 28px !important; min-height: 0 !important; border-radius: 9px !important; }

/* ---------- Kalender ---------- */
html[data-design="neu"] body.hmg .kday { min-height: 44px !important; border-radius: 9px !important; font-size: 11px !important; }
html[data-design="neu"] body.hmg .kday.today, html[data-design="neu"] body.hmg .kday.heute { box-shadow: 0 0 0 2px #E0A83F, 0 0 16px rgba(242, 198, 107, .55) !important; }
html[data-design="neu"] body.hmg .cal-liste-zeile {
  padding: 8px 10px !important; border-radius: 13px !important; background: #FFFFFF; border: 1px solid #E1E5EC; margin-bottom: 7px;
  box-shadow: 0 2px 4px rgba(20, 30, 50, .06), 0 10px 22px -12px rgba(94, 127, 168, .5);
}
html[data-design="neu"] body.hmg .cal-liste-text { font-size: 12.5px !important; font-weight: 700; }

/* ---------- Kunden ---------- */
html[data-design="neu"] body.hmg .hl-karte {
  padding: 9px 11px !important; border-radius: 14px !important; border-left: 3.5px solid #E0A83F !important;
  box-shadow: 0 2px 4px rgba(20, 30, 50, .06), 0 12px 26px -14px rgba(224, 168, 63, .55) !important;
}
html[data-design="neu"] body.hmg .hl-name { font-size: 13px !important; }
html[data-design="neu"] body.hmg .hl-marke { width: 32px !important; height: 32px !important; font-size: 11px !important; border-radius: 50% !important; }
html[data-design="neu"] body.hmg .hl-chip { font-size: 9.5px !important; padding: 1px 7px !important; }
html[data-design="neu"] body.hmg .hl-taten { gap: 6px !important; margin-top: 7px !important; }
html[data-design="neu"] body.hmg .hl-tat { min-height: 30px !important; padding: 4px 8px !important; font-size: 11px !important; border-radius: 10px !important; }
html[data-design="neu"] body.hmg .hl-tat:not(.aus) { background: linear-gradient(160deg, #24324F, #0E1422) !important; color: #F2C66B !important; --ico: #F2C66B; border: 0 !important; box-shadow: 0 6px 12px -6px rgba(14, 20, 34, .6); }

/* ---------- Mehr ---------- */
html[data-design="neu"] body.hmg .dn-mehr { gap: 8px !important; }
html[data-design="neu"] body.hmg .dn-mehr-karte {
  padding: 10px !important; gap: 8px !important; border-radius: 14px !important; min-height: 0 !important; background: #FFFFFF !important; border: 1px solid #E1E5EC !important;
  box-shadow: 0 2px 4px rgba(20, 30, 50, .06), 0 12px 26px -14px rgba(224, 168, 63, .5) !important;
}
html[data-design="neu"] body.hmg .dn-mehr-ic {
  width: 34px !important; height: 34px !important; border-radius: 11px !important; background: linear-gradient(160deg, #24324F, #0E1422) !important;
  box-shadow: 0 8px 16px -6px rgba(14, 20, 34, .55), 0 0 12px -6px rgba(242, 198, 107, .45) !important;
}
html[data-design="neu"] body.hmg .dn-mehr-ic svg { width: 17px !important; height: 17px !important; stroke: #F2C66B !important; }
html[data-design="neu"] body.hmg .dn-mehr-text b { font-size: 12.5px !important; }
html[data-design="neu"] body.hmg .dn-mehr-text small { font-size: 10px !important; }

/* „Alle Bereiche" im Mehr-Menü (Klassen der App: .hm-liste/.hm-zeile/.hm-sym) — Marine-Kacheln mit Gold */
html[data-design="neu"] body.hmg .hm-sym,
html[data-design="neu"] body.hmg .hm-abschnitt .hm-sym {
  background: linear-gradient(160deg, #24324F, #0E1422) !important; color: #F2C66B !important; --ico: #F2C66B !important;
  box-shadow: 0 8px 16px -6px rgba(14, 20, 34, .55), 0 0 12px -6px rgba(242, 198, 107, .45) !important;
}
html[data-design="neu"] body.hmg .hm-abschnitt .hm-sym svg, html[data-design="neu"] body.hmg .hm-sym svg { stroke: #F2C66B !important; }
html[data-design="neu"] body.hmg .hm-name { font-size: 11.5px !important; }

/* ---------- Bewegung ---------- */
.hmg-rein { animation: hmg-rein .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hmg-rein { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes hmg-fuell { from { width: 0; } }
@keyframes hmg-pop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes hmg-glut { 0%, 100% { box-shadow: 0 4px 12px rgba(224, 168, 63, .35); } 50% { box-shadow: 0 4px 22px rgba(224, 168, 63, .75); } }
@keyframes hmg-schimmer { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) {
  .hmg-rein, .hmg-balken i, .hmg-schimmer, .hmg-termin, .hmg-gleich i, html[data-design="neu"] body.hmg .h-leiste-scan svg, html[data-design="neu"] body.hmg header.topbar .h-kopf-zahl { animation: none !important; }
}
